S390: Do not call memcpy, memcmp, memset within libc.so via ifunc-plt.
[glibc.git] / ChangeLog
blob1054ca771fbc8136be60a28e98ac3f3c005e49b5
1 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4         Remove __GI_ symbol.
5         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
9         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
12 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15         Use cghi instead of chi to compare 64bit value.
17 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20         Jump to 1MB check before executing mvc-loop.
22 2016-05-24  Florian Weimer  <fweimer@redhat.com>
24         [BZ #6527]
25         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
26         unconditionally.
27         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
29 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31         * stdlib/tst-strtod6.c (do_test): Use new type generic
32         invocation of the test function.
33         (test): Refactor into ...
34         (TEST_STRTOD): New macro base function.
36 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
38         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
39         (TEST_STRTOD): New macro.
40         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
42 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
44         * stdlib/tst-strtod6.c (do_test): Use new type generic
45         invocation of the test function.
46         (test): Refactor into ...
47         (TEST_STRTOD): New macro base function.
49 2016-05-23  Florian Weimer  <fweimer@redhat.com>
51         CVE-2016-4429
52         [BZ #20112]
53         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
54         payload.
56 2016-05-23  Florian Weimer  <fweimer@redhat.com>
58         [BZ #20111]
59         * bits/sockaddr.h (_SS_SIZE): Define.
60         * bits/socket.h (_SS_SIZE): Remove.
61         (_SS_PADSIZE): Adjust to account for all padding.
62         (struct sockaddr_storage): Update comment.  Avoid implicit
63         padding.
64         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
65         (_SS_PADSIZE): Adjust to account for all padding.
66         (struct sockaddr_storage): Update comment.  Avoid implicit
67         padding.
68         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
69         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
70         (_SS_PADSIZE): Adjust to account for all padding.
71         (struct sockaddr_storage): Update comment.  Avoid implicit
72         padding.
73         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
74         __SS_SIZE is 126 in this version.
75         * inet/tst-sockaddr.c: New file.
76         * inet/Makefile (tests): Add tst-sockaddr.c
77         (tst-sockaddr.c): Compile with non-strict aliasing.
79 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
81         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
82         [XPG3 || XPG4].
83         (NL_ARGMAX): Also expect for [XPG3].
84         (NL_LANGMAX): Likewise.
85         (NL_MSGMAX): Likewise.
86         (NL_NMAX): Likewise.
87         (NL_SETMAX): Likewise.
88         (NL_TEXTMAX): Likewise.
89         (NZERO): Likewise.
90         (TMP_MAX): Likewise.
91         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
92         variable.
94         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
95         (PF_MAX): Update value.
96         (AF_KCM): New macro.
97         (SOL_NETBEUI): Likewise.
98         (SOL_LLC): Likewise.
99         (SOL_DCCP): Likewise.
100         (SOL_NETLINK): Likewise.
101         (SOL_TIPC): Likewise.
102         (SOL_RXRPC): Likewise.
103         (SOL_PPPOL2TP): Likewise.
104         (SOL_BLUETOOTH): Likewise.
105         (SOL_PNPIPE): Likewise.
106         (SOL_RDS): Likewise.
107         (SOL_IUCV): Likewise.
108         (SOL_CAIF): Likewise.
109         (SOL_ALG): Likewise.
110         (SOL_NFC): Likewise.
111         (SOL_KCM): Likewise.
112         (MSG_BATCH): New enum value and macro.
114 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
116         [BZ #18185]
117         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
118         sharing L2 cache to 2 for Knights Landing.
120 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
122         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
123         (FTW_DP): Do not expect for [XPG3 || XPG4].
124         (FTW_SL): Do not expect for [XPG3].
125         (FTW_SLN): Likewise.
126         (FTW_PHYS): Likewise.
127         (FTW_MOUNT): Likewise.
128         (FTW_DEPTH): Likewise.
129         (FTW_CHDIR): Likewise.
130         (nftw): Likewise.
131         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
132         variable.
134 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
136         * manual/errno.texi: Fix various typos & grammar errors.
138 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
140         * manual/intro.texi: Fix duplicated typo.
142 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
144         [BZ #13304]
145         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
146         <float.h>, <math_private.h> and <stdlib.h>.
147         (add_split): New function.
148         (mul_split): Likewise.
149         (ext_val): New typedef.
150         (store_ext_val): New function.
151         (mul_ext_val): New function.
152         (compare): New function.
153         (add_split_ext): New function.
154         (__fmal): After checking for Inf, NaN and zero, compute result as
155         an exact sum of scaled double values in round-to-nearest before
156         adding those up and adjusting for other rounding modes.
157         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
158         tests of fma.
159         * math/auto-libm-test-out: Regenerated.
161 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
163         [BZ #20119]
164         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
165         processor level type mask for CPUID with EAX == 11.
167 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
169         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
170         logical threads if the HTT bit is 0.
171         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
172         (index_cpu_HTT): Likewise.
173         (reg_HTT): Likewise.
175 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
177         [BZ #20115]
178         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
179         Remove alignments on jump targets.
181 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
183         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
184         (getpwent): Likewise.
185         (setpwent): Likewise.
186         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
187         variable.
189         * conform/data/search.h-data (insque): Do not expect for [XPG3].
190         (remque): Likewise.
191         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
192         variable.
194 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
196         * math/libm-test.inc: Update comment not to refer to signs of NaNs
197         not being tested.
199 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
201         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
202         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
203         call.
204         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
205         (__condvar_cleanup1): Likewise.
207 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
209         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
210         New
211         (__pthread_unwind): Renamed to ...
212         (PTHREAD_UNWIND): This.
213         (__pthread_enable_asynccancel): Replace
214         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
216 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
218         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
219         (CLONE_NEWCGROUP): New macro.
221         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
222         (Q_GETNEXTQUOTA): New macro.
224 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
226         [BZ #19907]
227         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
228         buffer updated by the previous run.
229         * string/test-memcpy.c (do_one_test): Likewise.
230         * benchtests/bench-memmove.c (do_one_test): Add a comment.
231         * string/test-memmove.c (do_one_test): Likewise.
233 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
235         [BZ #20094]
236         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
237         not [__USE_XOPEN].
238         (unlockpt): Likewise.
239         (ptsname): Likewise.
240         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
241         variable.
243         [BZ #20076]
244         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
245         instead of [__USE_UNIX98].
246         (S_ISSOCK): Likewise.
247         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
248         variable.
250         [BZ #20074]
251         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
252         [__USE_POSIX].
253         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
254         variable.
256         [BZ #20051]
257         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
258         (ttyslot): Do not declare.
259         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
260         (ttyslot): New prototype.
261         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
262         variable.
263         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
265 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
267         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
269 2016-05-13  Florian Weimer  <fweimer@redhat.com>
271         Fix race condition in tst-mallocfork2, use fewer resources.
272         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
273         to current process group.
274         (signal_sender): Yield in the non-sleeping case.
276 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
278         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
279         (ecvt): Likewise.
280         (fcvt): Likewise.
281         (gcvt): Likewise.
282         (getsubopt): Likewise.
283         (grantpt): Likewise.
284         (initstate): Likewise.
285         (l64a): Likewise.
286         (mktemp): Likewise.
287         (mkstemp): Likewise.
288         (ptsname): Likewise.
289         (random): Likewise.
290         (realpath): Likewise.
291         (setstate): Likewise.
292         (srandom): Likewise.
293         (ttyslot): Likewise.
294         (unlockpt): Likewise.
295         (valloc): Likewise.
297         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
298         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
299         variable.
301 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
303         [BZ #20072]
304         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
305         init_cpu_features only if SHARED is defined.
306         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
308 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
310         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
311         non-inclusive caches on Intel processors.
313 2016-05-13  Florian Weimer  <fweimer@redhat.com>
315         * malloc/malloc.c (dumped_main_arena_start)
316         (dumped_main_arena_end): New variables.
317         (DUMPED_MAIN_ARENA_CHUNK): New macro.
318         (do_check_chunk): Skip dumped fake mmapped chunks.
319         (munmap_chunk): Likewise.
320         (__libc_free): Do not adjust statistics for fake mmapped chunks.
321         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
322         mmapped chunks.
323         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
324         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
325         and dumped_main_arena_end to cover the dumped heap.
327 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
329         * conform/data/time.h-data (getdate_err): Do not expect for
330         [XPG3].
331         (getdate): Likewise.
332         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
333         variable.
335         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
336         (F_ULOCK): Likewise.
337         (F_TEST): Likewise.
338         (F_TLOCK): Likewise.
339         (useconds_t): Likewise.
340         (intptr_t): Do not expect for [XPG3] or [XPG4].
341         (brk): Do not expect for [XPG3]
342         (fchown): Likewise.
343         (fchdir): Likewise.
344         (ftruncate): Likewise.
345         (getdtablesize): Likewise.
346         (gethostid): Likewise.
347         (getpagesize): Likewise.
348         (getpgid): Likewise.
349         (getsid): Likewise.
350         (getwd): Likewise.
351         (lchown): Likewise.
352         (lockf): Likewise.
353         (readlink): Likewise.
354         (sbrk): Likewise.
355         (setpgrp): Likewise.
356         (setregid): Likewise.
357         (setreuid): Likewise.
358         (symlink): Likewise.
359         (sync): Likewise.
360         (truncate): Likewise.
361         (ualarm): Likewise.
362         (usleep): Likewise.
363         (vfork): Likewise.
364         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
365         variable.
367         [BZ #20054]
368         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
369         not [__USE_UNIX98].
370         * conform/data/unistd.h-data (gethostname): Do not expect for
371         [XPG3].
373         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
374         [!POSIX] (S_IFBLK): Likewise.
375         [!POSIX] (S_IFCHR): Likewise.
376         [!POSIX] (S_IFIFO): Likewise.
377         [!POSIX] (S_IFREG): Likewise.
378         [!POSIX] (S_IFDIR): Likewise.
379         [!POSIX] (S_IFLNK): Likewise.
380         [!POSIX] (S_IFSOCK): Likewise.
381         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
382         variable.
383         (test-xfail-XPG4/fcntl.h/conform): Likewise.
385 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
387         * sysdeps/aarch64/memset.S (__memset):
388         Rewrite of optimized memset.
390 2016-05-12  Florian Weimer  <fweimer@redhat.com>
392         [BZ #19703]
393         Partially async-signal-safe fork for single-threaded processes.
394         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
395         variable.  Do not acquire and reset/release malloc and libio locks
396         in single-threaded processes.
397         * malloc/tst-mallocfork2.c: New file.
398         * malloc/Makefile (tests): Add it.
400 2016-05-12  Florian Weimer  <fweimer@redhat.com>
402         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
403         argument.  Use scratch buffer instead of extend_alloca.
404         (gethosts): Use scratch buffer instead of extend_alloca.
405         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
406         extend_alloca.
407         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
409 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
411         [BZ #20055]
412         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
413         instead of [__USE_UNIX98].
414         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
415         [__USE_UNIX98].
416         * conform/data/termios.h-data (tcgetsid): Do not expect for
417         [XPG3].
418         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
419         variable.
420         (test-xfail-XPG4/termios.h/conform): Likewise.
422 2016-05-11  Florian Weimer  <fweimer@redhat.com>
424         Do not use mcheck in localedef.
425         * locale/programs/localedef.c (turn_on_mcheck)
426         (__malloc_initialize_hook): Remove.
428 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
430         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
431         * sysdeps/s390/s390-64/Makefile: Likewise.
433 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
435         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
436         Remove ifunc-defines.sym.
437         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
438         Likewise.
439         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
440         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
441         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
442         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
443         rtld-global-offsets.sym.
444         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
445         * sysdeps/x86/cpu-features-offsets.sym: This.
446         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
447         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
449 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
451         [BZ #20073]
452         * io/sys/stat.h (fchmod): Declare for
453         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
454         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
455         variable.
457         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
458         [XPG3] (S_IFSOCK): Likewise.
459         [XPG3] (S_ISVTX): Likewise.
460         [XPG3] (S_ISLNK): Likewise.
461         [XPG3] (S_ISSOCK): Likewise.
462         [XPG3] (fchmod): Likewise.
463         [XPG3] (lstat): Likewise.
464         [XPG3] (mknod): Likewise.
466         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
467         [XPG3].  Expect type long and XFAIL for [XPG4].
468         (st_blocks): Likewise.
470         [BZ #20044]
471         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
472         (pthread_atfork): New prototype.
473         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
474         variable.
476         [BZ #20043]
477         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
478         prototype.
480 2016-05-10  Florian Weimer  <fweimer@redhat.com>
482         [BZ #20017]
483         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
484         gmtime.
486 2016-05-10  Florian Weimer  <fweimer@redhat.com>
488         [BZ #19994]
489         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
490         flag in _res.options.
492 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
494         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
495         [XPG3 || XPG4].
496         (blksize_t): Likewise.
497         (clockid_t): Likewise.
498         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
499         variable.
500         (test-xfail-XPG4/sys/types.h/conform): Likewise.
502 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
504         * sysdeps/unix/sysv/linux/s390/init-first.c:
505         Add VDSO_SYMBOL(getcpu).
506         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
507         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
508         Add VDSO_SYMBOL(getcpu).
509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
510         New define HAVE_GETCPU_VSYSCALL.
511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
513 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
515         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
516         instead of <sysdeps/x86_64/cacheinfo.c>.
517         * sysdeps/x86_64/cacheinfo.c: Moved to ...
518         * sysdeps/x86/cacheinfo.c: Here.
520 2016-05-04  Florian Weimer  <fweimer@redhat.com>
522         * malloc/malloc-internal.h: Adjust header file guard.
524 2016-05-04  Florian Weimer  <fweimer@redhat.com>
526         [BZ #19787]
527         * inet/getnameinfo.c (check_sprintf_result): New function.
528         (CHECKED_SNPRINTF): New macro.
529         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
530         to the host buffer.
531         (gni_host_local): Use checked_copy to copy the host name.
532         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
533         (gni_serv_local): Use checked_copy to copy the service name.
534         (getnameinfo): Remove unnecessary truncation of result buffers.
536 2016-05-04  Florian Weimer  <fweimer@redhat.com>
538         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
539         in case of inet_ntop failure.
541 2016-05-04  Florian Weimer  <fweimer@redhat.com>
543         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
544         avoid long lines.
545         (gni_host_inet_numeric): Likewise.  Reduce scope of local
546         variables.
547         (gni_host_inet, gni_host_local): Add comment.
548         (gni_host): Add comment.  Use temporary to avoid long lines.
550 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
552         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
553         registers specifiers where general purpose registers specifiers should
554         have been used.
556 2016-05-04  Florian Weimer  <fweimer@redhat.com>
558         [BZ #19779]
559         CVE-2016-1234
560         Avoid copying names of directory entries.
561         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
562         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
563         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
564         (struct readdir_result): New type.
565         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
566         (GL_READDIR): New macros.
567         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
568         (convert_dirent, convert_dirent64): New functions.
569         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
570         convert_dirent64.  Adjust references to the readdir result.
571         * sysdeps/unix/sysv/linux/i386/glob64.c:
572         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
573         * posix/bug-glob2.c (LONG_NAME): Define.
574         (filesystem): Add LONG_NAME.
575         (my_DIR): Increase the size of room_for_dirent.
577 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
579         [BZ #20041]
580         * misc/sys/select.h (__need_timespec): Only define if
581         [__USE_XOPEN2K].
582         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
583         variable.
584         (test-xfail-XPG4/utmpx.h/conform): Likewise.
585         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
586         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
588 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
589             Segher Boessenkool  <segher@gcc.gnu.org>
591         [BZ #20004]
592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
593         (__novec_swapcontext): Add missing load.
595 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
597         [BZ #20023]
598         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
599         <time.h>.
600         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
601         variable.
602         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
604 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
607         flags CLONE_VM compare.
609 2016-05-02  Florian Weimer  <fweimer@redhat.com>
611         [BZ #20031]
612         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
613         completely empty.
615 2016-05-02  Florian Weimer  <fweimer@redhat.com>
617         [BZ #19573]
618         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
619         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
620         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
621         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
622         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
623         (hesiod_free_list): Mark as hidden.
624         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
625         res_set, res_get.
626         * hesiod/hesiod.c: Remove unnecessary forward declarations.
627         (init, __hesiod_res_get, __hesiod_res_set): Remove.
628         (hesiod_init): Remove obsolete res_ninit call.
629         (hesiod_end): Do not free resolver state.  Do not invoke callback.
630         (hesiod_bind): Do not call init.
631         (get_txt_records): Use res_mkquery, res_send instead of
632         res_nmkquery, res_nsend.
633         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
634         instead of _nss_hesiod_init.
635         (_nss_hesiod_initgroups_dyn): Likewise.
636         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
637         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
638         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
640 2016-05-02  Florian Weimer  <fweimer@redhat.com>
642         * hesiod/hesiod_p.h (DEF_RHS): Remove.
643         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
645 2016-05-02  Florian Weimer  <fweimer@redhat.com>
647         * hesiod/hesiod.h: Remove RCS keyword.
648         * hesiod/hesiod_p.h: Likewise.
650         * hesiod/hesiod.c: Likewise.
652 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
654         [BZ #12450]
655         * locale/iso-639.def: Add Samogitian/sgs.
657 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
659         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
661         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
663 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
664             Carlos O'Donell  <carlos@redhat.com>
666         [BZ #19072]
667         * grp/Makefile (headers): Add grp-merge.h
668         (routines): Add grp-merge.
669         * grp/getgrgid_r.c: Include grp-merge.h.
670         (DEEPCOPY_FN): Define.
671         (MERGE_FN): Define.
672         * grp/getgrname_r.c: Include grp-merge.h.
673         (DEEPCOPY_FN): Define.
674         (MERGE_FN): Define.
675         * grp/grp-merge.c: New file.
676         * grp/grp-merge.h: New file.
677         * include/grp-merge.h: New file.
678         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
679         __copy_grp@GLIBC_PRIVATE.
680         * manual/nss.texi (Actions in the NSS configuration): Describe
681         return, continue, and merge.
682         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
683         (DEEPCOPY_FN): Define.
684         (MERGE_FN): Define.
685         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
686         (DEEPCOPY_FN): Define.
687         (MERGE_FN): Define.
688         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
689         [!MERGE_FN]: Define __merge_einval.
690         (CHECK_MERGE): Define.
691         (REENTRANT_NAME): Process merge if do_merge is true.
692         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
693         (__nss_getent_r): Likewise.
694         * nss/nsswitch.c (nss_parse_service_list): Likewise.
695         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
697 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
699         [BZ #20012]
700         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
701         length to calculate the buffer to read.
702         (fmemopen_write): Set the buffer position based on bytes written.
703         (fmemopen_seek): Return EINVAL for invalid whence modes.
705         [BZ #19957]
706         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
707         tst-getpid2.
708         (test): Add tst-clone2.
709         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
710         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
711         pid/tid fields for CLONE_VM.
712         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
713         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
714         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
715         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
716         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
717         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
718         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
719         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
721         Likewise.
722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
723         Likewise.
724         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
725         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
726         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
727         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
728         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
729         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
730         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
731         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
733 2016-04-29  Florian Weimer  <fweimer@redhat.com>
735         [BZ #19642]
736         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
737         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
738         (gni_serv_local, gni_serv): New functions extracted from
739         getnameinfo.
740         (getnameinfo): Call gni_host and gni_serv to perform the
741         processing.  Always free scratch buffer.
743 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
745         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
746         remaining bytes in the dest string, with zeros.
748 2016-04-29  Florian Weimer  <fweimer@redhat.com>
750         [BZ #20010]
751         CVE-2016-3706
752         * sysdeps/posix/getaddrinfo.c
753         (convert_hostent_to_gaih_addrtuple): New function.
754         (gethosts): Call convert_hostent_to_gaih_addrtuple.
755         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
756         AF_INET data.
758 2016-04-29  Florian Weimer  <fweimer@redhat.com>
760         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
761         callback function gl_readdir.
762         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
763         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
764         (glob_in_dir): Remove len.  Use strdup instead of malloc and
765         memcpy to copy the name.
766         * manual/pattern.texi (Calling Glob): Document requirements for
767         implementations of the gl_readdir callback function.
768         * manual/examples/mkdirent.c: New example.
769         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
770         per the manual guidance.
771         * posix/tst-gnuglob.c (my_readdir): Likewise.
773 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
775         [BZ #20014]
776         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
777         not [__USE_POSIX].
778         (getchar_unlocked): Likewise.
779         (putc_unlocked): Likewise.
780         (putchar_unlocked): Likewise.
781         (flockfile): Likewise.
782         (ftrylockfile): Likewise.
783         (funlockfile): Likewise.
784         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
785         variable.
786         (test-xfail-XPG4/stdio.h/conform): Likewise.
788         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
789         Expect constant.
790         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
791         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
792         variable.
793         (test-xfail-XPG4/langinfo.h/conform): Likewise.
794         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
796         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
797         [__USE_LARGEFILE64] (off64_t): Likewise.
798         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
799         variable.
801 2016-04-28  Florian Weimer  <fweimer@redhat.com>
803         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
805 2016-04-28  Florian Weimer  <fweimer@redhat.com>
807         * resolv/inet_addr.c: Reindent preprocessor conditionals.
808         * resolv/res_init.c: Likewise.
809         * resolv/res_mkquery.c: Likewise.
811 2016-04-28  Florian Weimer  <fweimer@redhat.com>
813         * resolv/res_init.c (isascii): Do not define.  Use definition in
814         <ctype.h>.
815         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
816         (LOG_AUTH): Remove.
817         (SPRINTF): Remove, adjust caller.
818         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
820 2016-04-28  Florian Weimer  <fweimer@redhat.com>
822         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
823         SUNSECURITY conditional.
824         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
826 2016-04-28  Florian Weimer  <fweimer@redhat.com>
828         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
829         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
830         Remove BSD-related preprocessor conditionals.
831         * conf/portability.h: Remove.
833 2016-04-28  Florian Weimer  <fweimer@redhat.com>
835         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
836         * resolv/res_data.c: Likewise.
838 2016-04-28  Florian Weimer  <fweimer@redhat.com>
840         * resolv/res_comp.c: Remove code conditional on __ultrix__.
841         * resolv/res_data.c: Remove code conditional on ultrix.
843 2016-04-28  Florian Weimer  <fweimer@redhat.com>
845         * resolv/res_init.c (RFC1535): Do not define.  Remove
846         RFC1535 preprocessor conditionals.
847         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
848         because there configuration options which make the resolver
849         behavior different.
851 2016-04-28  Florian Weimer  <fweimer@redhat.com>
853         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
854         RESOLVSORT preprocessor conditionals.
855         * resolv/nss_dns/dns-host.c: Likewise.
856         * resolv/res_init.c: Likewise.
858 2016-04-28  Florian Weimer  <fweimer@redhat.com>
860         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
861         is never defined.
863 2016-04-28  Florian Weimer  <fweimer@redhat.com>
865         * inet/inet_lnaof.c: Remove SCSS keyword.
866         * inet/inet_mkadr.c: Likewise.
867         * inet/inet_net.c: Likewise.
868         * inet/inet_netof.c: Likewise.
869         * inet/rcmd.c: Likewise.
870         * inet/rexec.c: Likewise.
871         * inet/ruserpass.c: Likewise.
873 2016-04-28  Florian Weimer  <fweimer@redhat.com>
875         * resolv/inet_addr.c: Remove _LIBC conditionals.
876         * resolv/res_data.c: Likewise.
877         * resolv/res_init.c: Likewise.
878         * resolv/res_mkquery.c: Likewise.
879         * resolv/res_libc.c: Update comment.
880         * resolv/README: Update.
882 2016-04-28  Florian Weimer  <fweimer@redhat.com>
884         * resolv/gethnamaddr.c: Remove SCSS keyword.
885         * resolv/herror.c: Likewise.
886         * resolv/inet_addr.c: Likewise.
887         * resolv/inet_net_ntop.c: Likewise.
888         * resolv/inet_net_pton.c: Likewise.
889         * resolv/inet_neta.c: Likewise.
890         * resolv/inet_ntop.c: Likewise.
891         * resolv/inet_pton.c: Likewise.
892         * resolv/ns_date.c: Remove RCS keyword.
893         * resolv/ns_name.c: Likewise.
894         * resolv/ns_netint.c: Likewise.
895         * resolv/ns_parse.c: Likewise.
896         * resolv/ns_print.c: Likewise.
897         * resolv/ns_samedomain.c: Likewise.
898         * resolv/ns_ttl.c: Likewise.
899         * resolv/nsap_addr.c: Likewise.
900         * resolv/res_comp.c: Remove SCSS and RCS keyword.
901         * resolv/res_data.c: Remove RCS keyword.
902         * resolv/res_debug.c: Remove SCSS and RCS keyword.
903         * resolv/res_init.c: Likewise.
904         * resolv/res_mkquery.c: Likewise.
905         * resolv/res_query.c: Likewise.
906         * resolv/res_send.c: Likewise.
908 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
910         * conform/data/stdio.h-data (fdopen): Expect also for
911         [XPG3 || XPG4].
913         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
914         (fseeko): Likewise.
915         (ftello): Likewise.
916         (ftrylockfile): Likewise.
917         (funlockfile): Likewise.
918         (getc_unlocked): Likewise.
919         (getchar_unlocked): Likewise.
920         (putc_unlocked): Likewise.
921         (putchar_unlocked): Likewise.
923 2016-04-27  Florian Weimer  <fweimer@redhat.com>
925         [BZ #19868]
926         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
927         DNS packet syntax checks (which were not needed before).  Skip
928         over non-PTR records.
930 2016-04-27  Florian Weimer  <fweimer@redhat.com>
932         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
933         definition.  Include <stddef.h> instead.
935 2016-04-27  Florian Weimer  <fweimer@redhat.com>
937         [BZ #19831]
938         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
939         function.
940         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
941         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
943 2016-04-27  Florian Weimer  <fweimer@redhat.com>
945         [BZ #19862]
946         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
947         (getanswer_r): Do not call syslog.
948         (gaih_getanswer_slice): Likewise.
949         * resolv/gethnamaddr.c (AskedForGot): Remove.
950         (getanswer): Do not call syslog.
951         (gethostbyaddr): Likewise.
953 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
955         * conform/data/signal.h-data (union sigval): Expect also if
956         [XOPEN2K].
957         (struct sigevent): Likewise.
958         (SIGEV_NONE): Likewise.
959         (SIGEV_SIGNAL): Likewise.
960         (SIGEV_THREAD): Likewise.
961         (SIGRTMIN): Likewise.
962         (SIGRTMAX): Likewise.
963         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
964         variable.
965         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
967 2016-04-27  Florian Weimer  <fweimer@redhat.com>
969         [BZ #19830]
970         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
971         (gaih_getanswer_slice): Likewise.
972         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
973         Also check for availability of RR metadata.
975 2016-04-27  Florian Weimer  <fweimer@redhat.com>
977         [BZ #19825]
978         * resolv/res_send.c (send_vc): Remove early *resplen2
979         initialization.  Set *resplen2 on socket error.  Call
980         close_and_return_error for other errors.
982 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
984         * sysdeps/unix/sysv/linux/netiucv/iucv.h
985         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
986         (SCM_IUCV_TRGCLS): New define.
988 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
990         [BZ #20005]
991         * libio/fmemopen.c (fmemopen_write): Update internal position after
992         write.
993         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
994         * stdio-common/tst-fmemopen4.c: New file..
996 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
998         [BZ #19996]
999         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1000         not [__USE_XOPEN2K].
1001         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1002         variable.
1004         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1005         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1006         variable.
1008         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1009         [__USE_XOPEN2K8].
1010         [__USE_LARGEFILE64] (off64_t): Likewise.
1011         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1012         variable.
1014 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #19989]
1017         * libio/stdio.h (cuserid): Do not declare if
1018         [__USE_XOPEN2K && !__USE_GNU].
1019         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1020         variable.
1022 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1024         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1025         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1027         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1028         ifunc'ed strcspn.
1029         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1030         [EALIGN]: Removed.
1031         [END]: Likewise
1032         [STRSPN]: Define instead of the above to control symbol name.
1033         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1034         New file.
1035         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1036         Likewise.
1037         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1038         Likewise.
1039         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1040         Likewise.
1041         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1042         [INITIAL_MASK]: New macro.
1043         [STRCSPN]: Likewise.
1044         [UPDATE_MASK]: Likewise.
1045         [USE_AS_STRCSPN]: Lisewise.
1047 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1049         [BZ #19931]
1050         * stdio-common/tst-vfprintf-width-prec.c: New file.
1051         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1052         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1053         (generated): Add mtrace-related files.
1054         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1055         (tst-%-mem.out): New pattern rule, replaces
1056         tst-printf-bz18872-mem.out.
1057         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1058         specifier, deallocate any previously allocated work buffer.
1060 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1062         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1063         Add nop before __startcontext, add explaining comments.
1065 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1067         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1068         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1069         completely different API.
1071         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1072         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1073         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1074         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1075         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1076         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1077         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1078         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1079         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1080         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1082 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1084         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1086 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1088         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1089         when it is the default of 0.
1091 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1093         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1094         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1095         (sysdep_routines): Add new strcasestr targets.
1096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1097         (__libc_ifunc_impl_list): Likewise.
1098         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1099         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1100         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1101         * sysdeps/powerpc/powerpc64/power8/Makefile:
1102         New file to add strcasestr-ppc64 to sysdep_routines.
1103         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1104         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1106 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1108         * benchtests/Makefile (wcsmbs-benchset): Include only for
1109         native builds and runs.
1110         (LOCALES): Likewise.
1111         (bench-build): Build timing-type here instead of the bench
1112         target.  Generate locale only for native builds.
1113         * benchtests/README: Add note for cross-building.
1115         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1117         * benchtests/README: Update README to include instructions on
1118         using bench-build.
1120         * Makefile.in (bench-build): New target.
1121         * Rules (PHONY): Add bench-build target.
1122         * benchtests/Makefile (bench): Depend on bench-build.
1123         (bench-build): New target.
1125 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1127         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1128         profil_reply_port.
1129         (profile_waiter): Do not initialize profil_reply_port.
1130         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1131         frequency instead of tick length in us.
1133 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1135         [BZ #18712]
1136         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1137         (__old_mempcpy_small): Likewise.
1138         (__old_strcpy_small): Likewise.
1139         (__old_stpcpy_small): Likewise.
1140         (__old_strpbrk_c2): Fix compat symbol name.
1141         (__old_strpbrk_c3): Likewise.
1142         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1143         (__mempcpy_small): Remove.
1144         (__strcpy_small): Remove.
1145         (__stpcpy_small): Remove.
1147 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1149         [BZ #19400]
1150         * locale/iso-639.def: Add the Talossan/tzl language.
1152 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1154         [BZ #16983]
1155         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1156         comment.  Add "ln" to strchr check on postal_fmt.
1158 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1160         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1161         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1162         tel_dom_fmt.
1164 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1166         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1167         (sysdep_routines): Added __strlen_power8.
1168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1169         __strlen_power8 entry.
1170         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1171         Implementation for POWER8.
1172         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1173         for __strlen_power8.
1174         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1175         Implementation for POWER8.
1177 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1179         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1181 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1183         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1184         Goldmont and Airmont processors.
1186 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1188         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1189         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1190         (__STRING2_SMALL_GET32): Remove.
1191         (memset): Remove.
1192         (__memset_1): Remove.
1193         (__memset_gc): Remove.
1194         (__mempcpy): Remove.
1195         (mempcpy): Remove.
1196         (__mempcpy_args): Remove.
1197         (strchr): Remove.
1198         (strcpy): Remove.
1199         (strcpy_args): Remove.
1200         (__stpcpy_args): Remove.
1201         (__strcmp_cc): Remove.
1202         (__strcmp_gc): Remove.
1203         (strstr): Remove.
1205 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1207         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1208         * nis/nis_call.c (nis_server_cache_add): Likewise.
1210 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1212         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1214 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1216         * malloc/arena.c (__malloc_fork_lock_parent)
1217         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1218         internal_function attribute.
1220 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1222         * stdio-common/printf_fp.c (__printf_fp_l):
1223         Rename ___printf_fp_l to __printf_fp_l and
1224         remove strong alias. Use libc_hidden_def instead
1225         of ldbl_hidden_def macro.
1227 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1229         Remove malloc hooks from fork handler.  They are no longer needed
1230         because malloc runs right before fork, and no malloc calls from
1231         other fork handlers are not possible anymore.
1232         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1233         declarations.
1234         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1235         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1236         (atfork_recursive_cntr): Remove.
1237         (__malloc_fork_lock_parent): Do not override malloc hooks and
1238         thread_arena.
1239         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1240         thread_arena.
1241         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1242         thread_arena instead of save_arena.
1244 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1246         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1247         (thread_atfork, thread_atfork_static): Remove.
1248         * sysdeps/mach/hurd/malloc-machine.h:
1249         (thread_atfork, thread_atfork_static): Remove.
1251 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1253         [BZ #19431]
1254         Run the malloc fork handler as late as possible to avoid deadlocks.
1255         * malloc/malloc-internal.h: New file.
1256         * malloc/malloc.c: Include it.
1257         * malloc/arena.c (ATFORK_MEM): Remove.
1258         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1259         Update comment.
1260         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1261         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1262         Remove outdated comment.
1263         (ptmalloc_init): Do not call thread_atfork.  Remove
1264         thread_atfork_static.
1265         * malloc/tst-malloc-fork-deadlock.c: New file.
1266         * Makefile (tests): Add tst-malloc-fork-deadlock.
1267         (tst-malloc-fork-deadlock): Link against libpthread.
1268         * manual/memory.texi (Aligned Memory Blocks): Update safety
1269         annotation comments.
1270         * sysdeps/nptl/fork.c (__libc_fork): Call
1271         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1272         __malloc_fork_unlock_child.
1273         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1275 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1277         [BZ #19613]
1278         Remove union wait.
1279         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1280         (w_stopsig, w_stopval): Remove.
1281         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1282         stat_loc argument.
1283         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1284         (__WAIT_STATUS_DEFN): Remove.
1285         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1286         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1287         (wait, wait3, wait4): Use int * for the stat_loc argument.
1288         * posix/wait.c (__wait): Likewise.
1289         * posix/wait3.c (__wait3): Likewise.
1290         * posix/wait4.c (__wait4): Likewise.
1291         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1292         (__WAIT_STATUS_DEFN): Remove.
1293         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1294         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1295         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1296         argument.
1297         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1298         * sysdeps/posix/wait3.c (__wait3): Likewise.
1299         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1300         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1301         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1302         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1303         stat_loc argument.
1304         * manual/process.texi (BSD Wait Functions): Remove union wait.
1306 2016-04-13  Andreas Schwab  <schwab@suse.de>
1308         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1309         (test-extras): Add tst-tlsalign-vars.
1310         * math/Makefile: Wrap long lines.
1311         (libm-vec-test-wrappers): Define.
1312         (test-extras): Add $(libm-vec-test-wrappers).
1313         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1314         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1315         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1316         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1317         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1318         (extra-test-objs): Add corresponding objects.
1320 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1322         [BZ #19928]
1323         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1324         New.
1325         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1326         times of shared cache size.
1327         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1328         (VMOVNT): New.
1329         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1330         (VMOVNT): Likewise.
1331         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1332         (VMOVNT): Likewise.
1333         (VMOVU): Changed to movups for smaller code sizes.
1334         (VMOVA): Changed to movaps for smaller code sizes.
1335         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1336         comments.
1337         (PREFETCH): New.
1338         (PREFETCH_SIZE): Likewise.
1339         (PREFETCHED_LOAD_SIZE): Likewise.
1340         (PREFETCH_ONE_SET): Likewise.
1341         Rewrite to use forward and backward loops, which move 4 vector
1342         registers at a time, to support overlapping addresses and use
1343         non temporal store if size is above the threshold and there is
1344         no overlap between destination and source.
1346 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1348         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1349         Include dl-vdso.
1350         * sysdeps/unix/sysv/linux/mips/Versions: Add
1351         __vdso_clock_gettime.
1352         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1353         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1354         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1355         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1356         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1357         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1358         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1359         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1360         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1362 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1364         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1365         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1368         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1369         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1372         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1373         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1374         syscalls generation.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1376         [__NR_pwrite64] (__NR_write): Remove define.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1378         [__NR_pwrite64] (__NR_write): Remove define.
1379         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1380         Remove define.
1381         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1382         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1383         Remove define.
1384         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1385         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1386         Linux implementation as base.
1387         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1389         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1390         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1391         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1395         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1396         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1397         syscall generation.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1399         [__NR_pread64] (__NR_pread): Remove define.
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1401         [__NR_pread64] (__NR_pread): Likewise.
1402         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1403         define.
1404         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1405         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1406         Remove define.
1407         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1408         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1409         Linux implementation as base.
1410         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1411         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1412         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1414         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1415         definition.
1416         (__ALIGNMENT_COUNT): Likewise.
1417         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1418         (__ALIGNMENT_COUNT): Likewise.
1419         (SYSCALL_LL): New define.
1420         (SYSCALL_LL64): Likewise.
1421         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1422         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1423         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1424         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1427         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1429         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1430         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1431         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1433 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1435         [BZ #19865]
1436         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1437         original buffer before retry.
1439 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1441         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1442         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1443         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1444         GLRO(dl_auxv) list.
1445         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1446         including <ldsodefs.h>.
1447         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1449 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1451         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1452         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1453         $(CPPFLAGS).
1455 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1457         [BZ #17950]
1458         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1459         Add -mfpmath=387.
1461 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1463         * sysdeps/i386/configure.ac: Change == to = when calling test.
1464         * sysdeps/x86_64/configure.ac: Likewise.
1465         * sysdeps/i386/configure: Regenerated.
1466         * sysdeps/x86_64/configure: Likewise.
1468 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1470         [BZ #16137]
1471         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1472         * benchtests/bench-strcoll.c (input_files): Likewise.
1473         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1474         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1475         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1477 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1479         [BZ #19929]
1480         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1481         [__USE_XOPEN2K8 && !__USE_GNU].
1482         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1483         variable.
1485         [BZ #19925]
1486         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1487         define if [!__USE_MISC && __USE_XOPEN2K].
1488         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1489         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1490         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1491         Likewise.
1492         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1493         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1494         variable.
1495         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1497 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1499         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1500         (sysdep_routines): Add new strspn targets.
1501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1502         (__libc_ifunc_impl_list): Add strspn.
1503         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1504         New file.
1505         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1506         Likewise.
1507         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1508         Likewise.
1509         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1510         Likewise.
1512 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1514         * misc/hsearch_r.c: Include <limits.h>.
1516 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1518         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1520 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1522         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1523         (MEMCPY_SYMBOL): New.
1524         (MEMPCPY_SYMBOL): Likewise.
1525         (MEMMOVE_CHK_SYMBOL): Likewise.
1526         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1527         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1528         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1529         Provide alias for memcpy in libc.a and ld.so.
1531 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1533         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1534         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1535         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1536         Disabled fro now.
1537         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1538         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1540 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1542         * benchtests/Makefile (string-benchset): Add memcpy-large,
1543         memmove-large and memset-large.
1544         * benchtests/bench-memcpy-large.c: New file.
1545         * benchtests/bench-memmove-large.c: Likewise.
1546         * benchtests/bench-memmove-large.c: Likewise.
1547         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1549 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1551         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1552         32-bit displacement to avoid long nop between instructions.
1554 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1556         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1557         a comment on VMOVU and VMOVA.
1559 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1561         [BZ #19633]
1562         Use specified locale for number formatting in strfmon_l.
1563         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1564         (__nl_lookup_word): New inline functions.
1565         * include/printf.h (__print_fp_l): Declare.
1566         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1567         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1568         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1569         (___printf_fp): New function.
1570         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1571         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1572         * stdlib/tst-strfmon_l.c (do_test): New test.
1573         * stdlib/Makefile (tests): Add kt.
1574         (LOCALES): Build additional locales.
1575         (tst-strfmon_l.out): Require locales.
1577 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1579         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1580         if not in libc.
1581         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1582         Likewise.
1583         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1584         Likewise.
1585         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1586         Likewise.
1588 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1590         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1591         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1592         with unaligned_erms.
1593         (__memmove_erms): Skip if source == destination.
1594         (__memmove_unaligned_erms): Don't check source == destination
1595         first.
1597 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1599         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1600         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1602 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1604         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1605         * string/strspn.c (strspn): Likewise.
1607 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1609         * benchtests/bench-memset.c (do_test): Support 64-byte
1610         alignment.
1611         (test_main): Test 64-byte alignment.
1613 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1615         * benchtests/bench-memmove.c (test_main): Test 64-byte
1616         alignment.
1618 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1620         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1622 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1624         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1625         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1626         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1628         * string/strpbrk.c (strpbrk): Rewrite function.
1629         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1630         (__strpbrk_c2): Likewise.
1631         (__strpbrk_c3): Likewise.
1632         * string/string-inlines.c
1633         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1634         Likewise.
1635         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1636         Likewise.
1638         * string/strspn.c (strcspn): Rewrite function.
1639         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1640         (__strspn_c1): Remove inline function.
1641         (__strspn_c2): Likewise.
1642         (__strspn_c3): Likewise.
1643         * string/string-inlines.c
1644         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1645         compatibility symbol.
1646         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1647         Likewise.
1648         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1649         Likewise.
1650         * string/string-inlines.c: Include generic version.
1652 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1653             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1655         * string/Version (libc): Add GLIBC_2.24.
1656         * string/strcspn.c (strcspn): Rewrite function.
1657         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1658         (__strcspn_c1): Remove inline function.
1659         (__strcspn_c2): Likewise.
1660         (__strcspn_c3): Likewise.
1661         * string/string-inline.c
1662         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1663         compatibility symbol.
1664         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1665         Likewise.
1666         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1667         Likewise.
1668         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1670 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1672         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1673         Use ahi instead of aghi to adjust stack pointer.
1675 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1677         [BZ #19853]
1678         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1679         TEST to take significant digits as second parameter.
1680         [TEST]: Redefine in terms of TEST_N taking 30
1681         significant digits.
1682         (do_test): Add test case to demonstrate precision
1683         failure in the ldbl-128ibm printf.
1684         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1685         (__mpn_extract_long_double): Carry 7 extra intermediate
1686         bits of precision to aide computing difference when
1687         signs differ.
1689 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1691         [BZ #19881]
1692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1693         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1694         memset-avx512-unaligned-erms.
1695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1696         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1697         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1698         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1699         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1700         __memset_sse2_unaligned_erms, __memset_erms,
1701         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1702         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1703         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1704         file.
1705         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1706         Likewise.
1707         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1708         Likewise.
1709         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1710         Likewise.
1712 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1714         [BZ #19776]
1715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1716         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1717         memmove-avx512-unaligned-erms.
1718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1719         (__libc_ifunc_impl_list): Test
1720         __memmove_chk_avx512_unaligned_2,
1721         __memmove_chk_avx512_unaligned_erms,
1722         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1723         __memmove_chk_sse2_unaligned_2,
1724         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1725         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1726         __memmove_avx512_unaligned_erms, __memmove_erms,
1727         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1728         __memcpy_chk_avx512_unaligned_2,
1729         __memcpy_chk_avx512_unaligned_erms,
1730         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1731         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1732         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1733         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1734         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1735         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1736         __mempcpy_chk_avx512_unaligned_erms,
1737         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1738         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1739         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1740         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1741         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1742         __mempcpy_erms.
1743         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1744         file.
1745         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1746         Likwise.
1747         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1748         Likwise.
1749         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1750         Likwise.
1752 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1754         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1755         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1756         (La_s390_64_regs): Likewise.
1757         (La_s390_32_retval): Append vector register lrv_v24.
1758         (La_s390_64_retval): Likeweise.
1759         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1760         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1761         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1762         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1764 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1766         [BZ #19916]
1767         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1768         to create a non-vector/vector version for _dl_runtime_resolve and
1769         _dl_runtime_profile. Move implementation to ...
1770         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1771         (_dl_runtime_resolve) Save and restore fpr/vrs.
1772         (_dl_runtime_profile) Save and restore vrs and fix some issues
1773         if _dl_call_pltexit is called.
1774         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1775         Choose the correct resolver function if running on a machine with vx.
1776         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1777         to create a non-vector/vector version for _dl_runtime_resolve and
1778         _dl_runtime_profile. Move implementation to ...
1779         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1780         (_dl_runtime_resolve) Save and restore fpr/vrs.
1781         (_dl_runtime_profile) Save and restore vrs and fix some issues
1782         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1783         Choose the correct resolver function if running on a machine with vx.
1785 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1787         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1789 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1791         [BZ #19509]
1792         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1793         skip_map != NULL.
1794         * elf/tst-dlsym-error.c: New file.
1795         * elf/Makefile (tests): Add tst-dlsym-error.
1796         (tst-dlsym-error): Link against libdl.
1798 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1800         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1801         (__ASSUME_FUTIMESAT): Remove macro.
1802         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1804 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1806         [BZ #19879]
1807         CVE-2016-3075
1808         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1809         copy name.
1811 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1813         [BZ #19837]
1814         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1815         error if parse_line fails.
1817 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1819         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1820         (index_cpu_ERMS): Likewise.
1821         (reg_ERMS): Likewise.
1823 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1825         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1826         PER_LINUX_FDPIC): Add.
1828 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1831         memcpy-avx512-no-vzeroupper.
1832         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1833         to ...
1834         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1835         (MEMCPY): Don't define.
1836         (MEMCPY_CHK): Likewise.
1837         (MEMPCPY): Likewise.
1838         (MEMPCPY_CHK): Likewise.
1839         (MEMPCPY_CHK): Renamed to ...
1840         (__mempcpy_chk_avx512_no_vzeroupper): This.
1841         (MEMPCPY_CHK): Renamed to ...
1842         (__mempcpy_chk_avx512_no_vzeroupper): This.
1843         (MEMCPY_CHK): Renamed to ...
1844         (__memmove_chk_avx512_no_vzeroupper): This.
1845         (MEMCPY): Renamed to ...
1846         (__memmove_avx512_no_vzeroupper): This.
1847         (__memcpy_avx512_no_vzeroupper): New alias.
1848         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1850 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1852         [BZ #18858]
1853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1854         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1855         and mempcpy-avx512-no-vzeroupper.
1856         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1857         New.
1858         (MEMPCPY): Likewise.
1859         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1860         (MEMPCPY_CHK): New.
1861         (MEMPCPY): Likewise.
1862         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1863         (MEMPCPY): Likewise.
1864         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1865         (MEMPCPY): Likewise.
1866         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1867         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1868         Likewise.
1869         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1870         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1872 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1873              Amit Pawar  <Amit.Pawar@amd.com>
1875         [BZ #19583]
1876         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1877         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1878         processors.  Set Fast_Copy_Backward for AMD Excavator
1879         processors.
1880         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1881         New.
1882         (index_arch_Fast_Unaligned_Copy): Likewise.
1883         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1884         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1886 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1888         [BZ #19791]
1889         * resolv/res_send.c (close_and_return_error): New function.
1890         (send_dg): Initialize *resplen2 after reopen failure.  Call
1891         close_and_return_error for error returns.  On error paths without
1892         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1893         successful return.
1895 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1897         [BZ# 19860]
1898         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1899         zero if the compiler does not provide the AVX512F bit.
1901 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1903         [BZ #19848]
1904         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1905         from 8 to 4.
1906         (__ieee754_powl): Compare integer exponent against 4 not 8.
1907         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1908         from 8 to 4.
1909         (__ieee754_powl): Compare integer exponent against 4 not 8.
1910         * math/auto-libm-test-in: Add more tests of pow.
1911         * math/auto-libm-test-out: Regenerated.
1912         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1915 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1917         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1918         Make code unconditional.
1919         [!__NR_utimensat]: Remove conditional code.
1920         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1921         Make code unconditional.
1922         [!__NR_utimensat]: Remove conditional code.
1923         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1924         Make code unconditional.
1925         [!__NR_utimensat]: Remove conditional code.
1927 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1929         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1930         Make code unconditional.
1932 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1934         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1935         call-clobbered %eax on retry path.
1936         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1938 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1940         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1941         Don't set %rcx twice before "rep movsb".
1943 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1945         [BZ #19583]
1946         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1947         inline.  Check family before setting family, model and
1948         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1949         bits here.
1950         (init_cpu_features): Replace HAS_CPU_FEATURE and
1951         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1952         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1953         for Intel processors with usable AVX2.  Call get_common_indeces
1954         for other processors with family == NULL.
1955         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1956         (CPU_FEATURES_ARCH_P): Likewise.
1957         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1958         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1960 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1962         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1963         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1964         $(shared-thread-library) instead of hardcoding the path to libpthread.
1966 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1968         * sysdeps/unix/sysv/linux/kernel-features.h
1969         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1970         * sysdeps/unix/sysv/linux/getdents.c
1971         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1972         [!have_no_getdents64_defined]: Likewise.
1973         (__GETDENTS): Remove __have_no_getdents64 conditional.
1975 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1977         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1978         Remove macro.
1979         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1980         <kernel-features.h>.
1981         (signalfd) [__NR_signalfd4]: Make code unconditional.
1982         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1984 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1986         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1987         style.
1989 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1991         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1992         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1993         __pthread_unwind.
1994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1995         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1997         (__condvar_cleanup1): Likewise.
1999 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2001         [BZ #19822]
2002         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2003         move it to the final $@ location.
2005 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2007         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2008         access where posix_spawn success and pid argument is null.
2009         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2010         success case.
2012 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2014         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2016         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2018         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2019         and __fcntl.
2020         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2021         __fcntl only.
2022         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2023         adding attribute_hidden to __open and __fcntl.
2025         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2026         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2027         depend on libc-modules.h,
2028         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2030 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2032         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2033         Remove macro.
2034         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2035         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2036         entry.
2038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2039         Remove macro.
2040         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2041         include <kernel-features.h>.
2042         [!__ASSUME_FALLOCATE]: Remove conditional code.
2043         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2045 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2048         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2049         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2050         (_ZGVdN4v_cos_avx2): Likewise.
2051         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2052         (_ZGVdN4v_cos): Likewise.
2053         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2054         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2056         (_ZGVdN4v_exp_avx2): Likewise.
2057         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2058         (_ZGVdN4v_exp): Likewise.
2059         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2060         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2061         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2062         (_ZGVdN4v_log_avx2): Likewise.
2063         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2064         (_ZGVdN4v_log): Likewise.
2065         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2066         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2068         (_ZGVdN4vv_pow_avx2): Likewise.
2069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2070         (_ZGVdN4vv_pow): Likewise.
2071         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2072         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2073         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2074         (_ZGVdN4v_sin_avx2): Likewise.
2075         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2076         (_ZGVdN4v_sin): Likewise.
2077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2078         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2079         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2080         (_ZGVdN4vvv_sincos_avx2): Likewise.
2081         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2082         (_ZGVdN4vvv_sincos): Likewise.
2083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2084         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2086         (_ZGVbN4v_cosf_sse4): Likewise.
2087         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2088         (_ZGVdN8v_cosf_avx2): Likewise.
2089         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2090         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2091         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2092         (_ZGVbN4v_expf_sse4): Likewise.
2093         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2094         (_ZGVdN8v_expf_avx2): Likewise.
2095         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2096         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2098         (_ZGVbN4v_logf_sse4): Likewise.
2099         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2100         (_ZGVdN8v_logf_avx2): Likewise.
2101         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2102         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2103         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2104         (_ZGVbN4vv_powf_sse4): Likewise.
2105         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2106         (_ZGVdN8vv_powf_avx2): Likewise.
2107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2108         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2109         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2110         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2111         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2112         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2113         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2114         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2116         (_ZGVbN4v_sinf_sse4): Likewise.
2117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2118         (_ZGVdN8v_sinf_avx2): Likewise.
2119         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2120         Use JUMPTARGET to call callee.
2121         (WRAPPER_IMPL_SSE2_ff): Likewise.
2122         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2123         (WRAPPER_IMPL_AVX): Likewise.
2124         (WRAPPER_IMPL_AVX_ff): Likewise.
2125         (WRAPPER_IMPL_AVX_fFF): Likewise.
2126         (WRAPPER_IMPL_AVX512): Likewise.
2127         (WRAPPER_IMPL_AVX512_ff): Likewise.
2128         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2129         Likewise.
2130         (WRAPPER_IMPL_SSE2_ff): Likewise.
2131         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2132         (WRAPPER_IMPL_AVX): Likewise.
2133         (WRAPPER_IMPL_AVX_ff): Likewise.
2134         (WRAPPER_IMPL_AVX_fFF): Likewise.
2135         (WRAPPER_IMPL_AVX512): Likewise.
2136         (WRAPPER_IMPL_AVX512_ff): Likewise.
2137         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2139 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2141         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2142         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2143         qualifier.
2144         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2145         internal_function qualifiers.
2147 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2149         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2150         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2151         * math/atest-exp.c (exp_mpn): Mark chk unused.
2152         * math/atest-exp2.c (exp_mpn): Likwise.
2153         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2154         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2156 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2159         Remove macro.
2160         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2161         <kernel-features.h>.
2162         [__NR_ppoll]: Make code unconditional.
2163         [!__ASSUME_PPOLL]: Remove conditional code.
2165         * sysdeps/unix/sysv/linux/kernel-features.h
2166         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2167         (__ASSUME_ACCEPT4): Likewise.
2168         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2169         Define.
2170         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2171         Likewise.
2172         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2173         Likewise.
2174         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2175         Likewise.
2176         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2177         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2178         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2179         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2180         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2181         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2182         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2183         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2184         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2185         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2186         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2187         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2188         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2189         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2190         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2191         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2192         Likewise.
2193         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2194         Likewise.
2195         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2196         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2197         0x040300].
2198         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2199         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2200         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2201         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2202         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2203         0x030300].
2204         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2205         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2206         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2207         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2208         0x040300].
2209         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2210         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2211         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2212         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2213         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2214         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2215         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2216         0x030300].
2217         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2218         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2219         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2220         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2221         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2222         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2223         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2224         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2225         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2226         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2227         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2228         0x040300].
2229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2230         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2231         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2232         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2233         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2234         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2235         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2236         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2237         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2238         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2240         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2241         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2242         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2243         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2244         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2245         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2246         Likewise.
2247         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2248         Likewise.
2250 2016-03-15  Andreas Schwab  <schwab@suse.de>
2252         [BZ #19257]
2253         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2254         statp->_u._ext.nscount as loop count.
2256 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2258         * math/test-signgam-finite-c99.c: Also #undef
2259         __LIBC_INTERNAL_MATH_INLINES.
2260         * math/test-signgam-main.c: Likewise.
2262 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2264         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2265         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2266         (MADV_FREE): Likewise.
2267         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2268         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2269         EPOLLEXCLUSIVE.
2271 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2273         * timezone/README: Remove mention of checktab.awk. Mention wiki
2274         SharedSourceFiles.
2276 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2278         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2279         WUNTRACED.
2281 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2283         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2284         order to match the type of p when calling atomic_exchange_acq().
2286 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2288         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2289         cfi_offset calls.
2290         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2291         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2292         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2293         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2294         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2296 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2298         * timezone/checktab.awk: Removed.
2300 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2302         * manual/math.texi (Errors in Math Functions): Document relaxed
2303         accuracy goals for IBM long double.
2304         * math/libm-test.inc (test_exceptions): Always allow spurious
2305         "underflow" and "inexact" exceptions for IBM long double.
2307 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2309         [BZ #19762]
2310         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2311         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2312         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2313         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2314         (bit_arch_*): This for feature array.
2315         (bit_*): Renamed to ...
2316         (bit_cpu_*): This for cpu array.
2317         (index_*): Renamed to ...
2318         (index_arch_*): This for feature array.
2319         (index_*): Renamed to ...
2320         (index_cpu_*): This for cpu array.
2321         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2322         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2323         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2324         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2325         bit_##name with index_cpu_##name and bit_cpu_##name.
2326         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2327         bit_##name with index_arch_##name and bit_arch_##name.
2329 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2331         [BZ #19792]
2332         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2333         Terminate FDE before return label.
2335 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2337         [BZ #19790]
2338         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2339         (rintl): Define as macro.
2340         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2341         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2342         of fesetround.  Ensure results are evaluated before end of scope.
2343         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2344         USE_AS_NEARBYINTL and include s_rintl.c.
2345         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2346         Disable exception traps in new environment.
2347         (libc_feholdsetround_ppc_ctx): Likewise.
2349 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2351         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2352         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2353         (tst_audit10_aux) [__AVX512F__]: ... here.
2355 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2357         * include/sys/auxv.h: New file.
2359 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2361         [BZ #19759]
2362         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2364 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2366         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2367         operand modifier.
2368         (feclearexcept): Likewise.
2370 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2372         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2373         to reflect the entire 32-bit HWCAP.
2374         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2375         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2377 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2379         [BZ #19783]
2380         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2381         $(test-via-rtld-prefix).
2382         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2384 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2386         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2387         union wait.  Report any non-zero exit status as error.
2389 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2391         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2392         configured with --enable-hardcoded-path-in-tests.
2394 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2396         [BZ #19677]
2397         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2398         (__ieee754_remainderl): Put zero low parts in canonical form.
2399         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2400         file.  Based on
2401         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2402         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2403         with wrapper round test-fmodrem-ldbl-128ibm.c.
2404         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2405         file.
2406         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2407         Likewise.
2408         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2409         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2411 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2413         [BZ #19610]
2414         * elf/ldconfig.c (opt_link): Update comment.
2415         (options): Update help string for option -X.
2416         (search_dir): Unlink stale symbolic link only if updating symbolic
2417         links.
2418         * elf/tst-ldconfig-X.sh: New file.
2419         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2420         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2422 2016-03-07  Andreas Schwab  <schwab@suse.de>
2424         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2425         needed arguments.
2427 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2429         [BZ #15333]
2430         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2431         to lstat64.
2433 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2435         * libio/filedoalloc.c (isatty): Remove.
2436         (local_isatty): Add comment.  Call __isatty directly.
2437         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2438         * libio/wfiledoalloc.c (isatty): Remove.
2439         (_IO_wfile_doallocate): Update comment.
2441 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2443         [BZ #19269]
2444         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2445         tst-audit4-aux.o.
2446         (tst-audit10): Depend on tst-audit10-aux.o.
2447         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2448         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2449         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2450         instead of inline AVX code.
2451         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2452         instead of inline AVX512 code.
2453         * sysdeps/x86_64/tst-audit4-aux.c: New file
2454         * sysdeps/x86_64/tst-audit10-aux.c: New file
2456         [BZ #19648]
2457         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2459 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2461         [BZ #14750]
2462         [BZ #10354]
2463         [BZ #18433]
2464         * include/sched.h (__clone): Add hidden prototype.
2465         (__clone2): Likewise.
2466         * include/unistd.h (__dup): Likewise.
2467         * posix/Makefile (tests): Add tst-spawn2.
2468         * posix/tst-spawn2.c: New file.
2469         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2470         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2471         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2472         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2473         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2474         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2475         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2476         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2477         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2478         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2479         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2481         Likewise.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2483         Likewise.
2484         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2485         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2486         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2487         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2488         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2489         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2490         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2491         * sysdeps/unix/sysv/linux/nptl-signals.h
2492         (____nptl_is_internal_signal): New function.
2493         * sysdeps/unix/sysv/linux/spawni.c: New file.
2495         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2496         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2497         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2498         * posix/tst-execvp2.c (do_test): Likewise.
2499         * posix/tst-execvp3.c (do_test): Likewise.
2500         * posix/tst-execvp4.c (do_test): Likewise.
2501         * posix/tst-execvpe1.c: New file.
2502         * posix/tst-execvpe2.c: Likewise.
2503         * posix/tst-execvpe3.c: Likewise.
2504         * posix/tst-execvpe4.c: Likewise.
2505         * posix/tst-execvpe5.c: Likewise.
2506         * posix/tst-execvpe6.c: Likewise.
2508         [BZ #19534]
2509         * posix/execl.c (execl): Remove dynamic memory allocation.
2510         * posix/execle.c (execle): Likewise.
2511         * posix/execlp.c (execlp): Likewise.
2513 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2515         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2516         Replace .text with .text.avx512.
2517         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2518         Likewise.
2520 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2522         * sysdeps/generic/libnsl.abilist: New file.
2523         * sysdeps/generic/libutil.abilist: New file.
2525 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2527         [BZ #19762]
2528         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2529         HAS_ARCH_FEATURE with Fast_Rep_String.
2530         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2531         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2532         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2533         Likewise.
2534         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2535         Likewise.
2536         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2537         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2538         Likewise.
2539         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2540         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2541         Likewise.
2543 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2545         [BZ #19745]
2546         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2547         with *%rax in call.
2549 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2551         [BZ #19745]
2552         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2553         with *__libc_start_main@GOTPCREL(%rip) in call.
2555 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2557         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2558         inside conditional for nonempty $(CXX).
2560         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2561         nonempty.
2563         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2564         to test for empty $(CXX) rather than $(CXX) of "no".
2566 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2568         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2570 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2571             H.J. Lu  <hongjiu.lu@intel.com>
2573         [BZ #18880]
2574         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2575         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2576         enable __memcpy_ssse3_back.
2578 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2580         [BZ #19758]
2581         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2582         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2584 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2586         [BZ #19490]
2587         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2588         (__fentry__): Likewise.
2590 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2592         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2593         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2595 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2597         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2598         __mcount_internal directly.
2599         (C_LABEL(__fentry__)): Likewise.
2600         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2601         directly.
2603 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2605         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2606         (__start_context): Call __setcontext directly.
2608 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2610         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2611         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2612         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2613         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2614         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2615         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2616         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2617         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2618         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2619         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2620         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2621         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2622         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2623         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2624         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2625         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2626         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2628         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2629         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2630         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2631         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2632         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2633         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2634         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2635         Remove conditional code.
2636         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2637         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2638         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2639         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2640         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2641         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2642         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2643         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2644         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2645         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2646         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2647         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2649 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2651         * NEWS (2.23): Fix typo in bug 19048 text.
2653 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2655         [BZ #14259]
2656         * Makeconfig: Rename msgcatdir to localedir.
2657         Rename inst_msgcatdir to inst_localedir.
2658         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2659         * config.make.in: Add localedir.
2660         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2661         (ldd-rewrite): Likewise.
2662         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2663         (install-others): Use inst_localedir.
2664         (CPPFLAGS): Use localedir.
2665         * locale/Makefile (locale-CPPFLAGS): Likewise.
2666         * po/Makefile (mo-installed): Use inst_localedir.
2668         [BZ #19575]
2669         * localedata/charmaps/GB18030: Update comments regarding PAU to
2670         non-PUA mappings.
2672 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2674         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2675         test for header.
2676         * sysdeps/unix/sysv/linux/configure: Regenerated.
2677         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2678         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2679         Remove conditional code.
2680         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2682         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2683         Define to 3.2.0.
2684         (arch_minimum_kernel): Likewise.
2685         * sysdeps/unix/sysv/linux/configure: Regenerated.
2686         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2687         Define to 2.6.32.
2688         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2689         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2690         (arch_minimum_kernel): Define to 2.6.32.
2691         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2692         * README: Document Linux 3.2 requirement.
2693         * manual/install.texi (Linux): Document Linux 3.2 headers
2694         requirement.
2695         * INSTALL: Regenerated.
2697 2016-02-24  Andreas Schwab  <schwab@suse.de>
2699         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2700         if !NO_LONG_DOUBLE.
2702 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2704         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2705         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2707 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2709         [BZ #19512]
2710         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2712 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2714         * posix/tst-dir.c: Include libc-internal.h.
2716 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2718         [BZ #19056]
2719         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2720         * manual/filesys.texi (Reading/Closing Directory): Mention
2721         deprecaion.
2722         * posix/tst-dir.c (main): Disable deprecation warning in test.
2724 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2726         [BZ #19679]
2727         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2728         Renamed to ...
2729         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2730         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2731         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2732         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2733         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2734         * sysdeps/x86_64/dl-trampoline.h
2735         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2736         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2738 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2740         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2742 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2744         * elf/elf.h (R_386_GOT32X): New.
2745         (R_386_NUM): Update.
2746         (R_X86_64_GOTPCRELX: New.
2747         (R_X86_64_REX_GOTPCRELX): New.
2748         (R_X86_64_NUM): Update.
2750 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2752         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2754 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2756         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2757         assign attr->stackaddr to it, and adjust it down when
2758         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2759         [_STACK_GROWS_UP]: Delete assert.
2760         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2761         Implement stack grows up logic.
2762         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2763         stack grows up logic.
2765 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2767         * NEWS: Update with 2.24 template.
2769 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2771         [BZ #19678]
2772         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2773         Ensure +0.0 is returned when taking the next value below the least
2774         positive value.
2776 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2778         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2779         available.  Do not define NO_THREADS.
2780         * malloc/malloc.c: Do not check NO_THREADS.
2781         * malloc/arena.c: Likewise.
2783 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2785         * malloc/malloc.c (__libc_mallinfo): Update comment.
2786         (struct malloc_par): Remove max_total_mem member, it was always 0.
2787         (int_mallinfo): Store 0 into usmblks (no functional change).
2788         * malloc/hooks.c (struct malloc_state): Document that
2789         max_total_mem is always 0.
2790         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2791         always 0.
2792         * manual/memory.texi (Statistics of Malloc): Likewise.
2794 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2796         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2797         * malloc/arena.c (arena_max): Remove.
2798         (heap_trim, _int_new_arena): Do not update arena_max.
2800 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2802         * resolv/res_init.c (res_ninit): Update comment.
2804 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2806         [BZ #19505]
2807         * posix/spawn_int.h: Add headers and include guard.
2808         (__spawn_valid_fd): New function.
2809         * posix/spawn_faction_addopen.c
2810         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2811         * posix/spawn_faction_addclose.c
2812         (posix_spawn_file_actions_addclose): Likewise.
2813         * posix/spawn_faction_adddup2.c
2814         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2815         second file descriptor.
2816         * posix/spawn_valid_fd.c: New file.
2817         * posix/tst-posix_spawn-fd.c: New file.
2818         * posix/Makefile (routines): Add spawn_valid_fd.
2819         (tests): Add tst-posix_spawn-fd.
2821 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2823         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2824         (do_test): Limit the number of arenas, so that we can use fewer
2825         outer threads.  Limit timeout to 3 seconds, in preparation for a
2826         larger TIMEOUT value.
2828 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2830         [BZ #19674]
2831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2832         sign in overflowing and underflowing results when overflow or
2833         underflow is detected early.  Include sign in result before rather
2834         than after scaling.
2836         [BZ #19603]
2837         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2838         (__ieee754_remainderl): Adjust sign of integer version of low part
2839         when taking absolute value of high part.
2840         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2841         * math/libm-test.inc (remainder_test_data): Add another test.
2842         (remquo_test_data): Likewise.
2844 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2846         [BZ #19602]
2847         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2848         equal high parts and both low parts zero specially.
2849         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2850         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2851         Add test-fmodl-ldbl-128ibm.
2853         [BZ #19595]
2854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2855         common logic for all cases of shifting subnormal results.  Do not
2856         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2857         exponent to ldbl_insert_mantissa in subnormal case.
2859         [BZ #19594]
2860         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2861         on high and low parts then adjust result and use
2862         ldbl_canonicalize_int if needed.
2864         [BZ #19593]
2865         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2866         on high part and __floor or __ceil on low part then use
2867         ldbl_canonicalize_int if needed.
2869         [BZ #19592]
2870         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2871         high and low parts then use ldbl_canonicalize_int if needed.
2873         [BZ #17899]
2874         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2875         New function.
2876         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2877         on high and low parts then use ldbl_canonicalize_int if needed.
2879 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2881         * configure: Regenerated.
2883         * po/libc.pot: Regenerated.
2885         * po/be.po: Updated translation.
2886         * po/bg.po: Likewise.
2887         * po/ca.po: Likewise.
2888         * po/cs.po: Likewise.
2889         * po/da.po: Likewise.
2890         * po/el.po: Likewise.
2891         * po/eo.po: Likewise.
2892         * po/es.po: Likewise.
2893         * po/fi.po: Likewise.
2894         * po/fr.po: Likewise.
2895         * po/gl.po: Likewise.
2896         * po/hr.po: Likewise.
2897         * po/hu.po: Likewise.
2898         * po/ia.po: Likewise.
2899         * po/id.po: Likewise.
2900         * po/it.po: Likewise.
2901         * po/ja.po: Likewise.
2902         * po/lt.po: Likewise.
2903         * po/nb.po: Likewise.
2904         * po/nl.po: Likewise.
2905         * po/pt_BR.po: Likewise.
2906         * po/rw.po: Likewise.
2907         * po/sk.po: Likewise.
2908         * po/sl.po: Likewise.
2909         * po/sv.po: Likewise.
2910         * po/tr.po: Likewise.
2911         * po/zh_CN.po: Likewise.
2912         * po/zh_TW.po: Likewise.
2914         * version.h (RELEAES): Set to "development".
2915         (VERSION): Set to 2.23.90.
2917         * version.h (RELEASE): Set to "stable".
2918         (VERSION): Set to 2.23.
2919         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2921         * NEWS: Updated fixed bugs.
2923 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2924             Wilco Dijkstra  <wdijkstr@arm.com>
2926         [BZ #19462]
2927         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2928         (_STRING_INLINE_unaligned): This.
2929         * include/string.h: Include <string_private.h>.
2930         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2931         _STRING_INLINE_unaligned.
2932         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2933         (_STRING_INLINE_unaligned): New.
2934         * sysdeps/aarch64/string_private.h: New file.
2935         * sysdeps/generic/string_private.h: Likewise.
2936         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2937         * sysdeps/s390/string_private.h: Likewise.
2938         * sysdeps/x86/string_private.h: Likewise.
2939         * sysdeps/m68k/m680x0/m68020/bits/string.h
2940         (_STRING_ARCH_unaligned): Renamed to ...
2941         (_STRING_INLINE_unaligned): This.
2942         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2943         to ...
2944         (_STRING_INLINE_unaligned): This.
2945         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2946         to ...
2947         (_STRING_INLINE_unaligned): This.
2948         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2949         to ...
2950         (_STRING_INLINE_unaligned): This.
2952 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2953             H.J. Lu  <hongjiu.lu@intel.com>
2955         [BZ #19590]
2956         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2957         relocation.
2959 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2961         [BZ #18665]
2962         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2963         *herrno_p.
2964         (gaih_getanswer): Document functional behviour. Return tryagain
2965         if any result is tryagain.
2966         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2967         when freed.
2968         * resolv/res_send.c: Add copyright text.
2969         (__libc_res_nsend): Document that MAXPACKET is expected.
2970         (send_vc): Document. Remove buffer reuse.
2971         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2972         size of the buffer. Add Dprint for truncated UDP buffer.
2974 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2976         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2977         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2978         * INSTALL: Regenerate.
2980 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2981             Jonathan Wakely  <jwakely@redhat.com>
2982             Carlos O'Donell  <carlos@redhat.com>
2984         [BZ 19439]
2985         * math/Makefile (tests): Add test-math-isinff.
2986         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2987         * math/bits/mathcalls.h [__USE_MISC]: Use
2988         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2989         functions not in C++11 and which don't conflict e.g. isinff,
2990         isinfl etc.
2991         * math/test-math-isinff.cc: New file.
2993 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2995         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2997 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2999         [BZ #19529]
3000         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3002 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3004         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3006 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3008         [BZ #19550]
3009         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3010         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3011         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3012         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3013         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3014         New syscall entry.
3015         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3016         New syscall entry.
3017         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3018         syscall entry.
3020 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3022         [BZ #18240]
3023         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3024         unsigned int wraparound.
3026 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3028         [BZ #18240]
3029         * misc/bug18240.c: New test.
3030         * misc/Makefile (tests): Add it.
3032 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3033             Joseph Myers  <joseph@codesourcery.com>
3035         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3036         load in branch delay slot when less than a word of input left.
3038 2016-01-27  Andreas Schwab  <schwab@suse.de>
3040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3041         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3042         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3043         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3045 2016-01-26  David S. Miller  <davem@davemloft.net>
3047         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3049 2016-01-25  David S. Miller  <davem@davemloft.net>
3051         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3052         __sqrtl_finite.
3053         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3054         instead using versioned_symbol.
3055         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3056         of entries.
3058         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3059         __sqrtl_finite to GLIBC_2.23
3061 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3063         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3065 2016-01-25  Andreas Schwab  <schwab@suse.de>
3067         [BZ #17514]
3068         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3069         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3070         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3071         * nptl/tst-mutex-errorcheck.c: New file.
3073 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3075         [BZ #18560]
3076         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3077         (IPCOP_semop): Likewise.
3078         (IPCOP_semget): Likewise.
3079         (IPCOP_semctl): Likewise.
3080         (IPCOP_msgsnd): Likewise.
3081         (IPCOP_msgrcv): Likewise.
3082         (IPCOP_msgget): Likewise.
3083         (IPCOP_msgctl): Likewise.
3084         (IPCOP_shmat): Likewise.
3085         (IPCOP_shmdt): Likewise.
3086         (IPCOP_shmget): Likewise.
3087         (IPCOP_shmctl): Likewise.
3089 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3091         * string/tst-endian.c: Include <libc-internal.h>.
3092         (do_test): Ignore tautological-compare warnings around
3093         "htobeXX (beXXtoh (i)) != i" and
3094         "htoleXX (leXXtoh (i)) != i" if-statements.
3096 2016-01-24  David S. Miller  <davem@davemloft.net>
3098         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3099         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3100         alias.
3101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3102         __sqrtl_finite.
3104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3106 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3108         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3109         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3110         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3112 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3114         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3115         (thread_func): Use new function to simplify barrier check.
3116         (do_test): Use new function to simplify checking barrier exit
3117         code, and actually join the child thread.
3119 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3121         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3122         semicolon.
3123         (__libc_tend): Likewise.
3124         (__libc_tabort): Likewise.
3126 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3128         * sysdeps/nios2/libm-test-ulps: Update.
3129         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3130         (__gtsf2): Likewise.
3131         (__unorddf2): Likewise.
3132         (__unordsf2): Likewise.
3133         (__ledf2): Likewise.
3135 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3137         * nis/nis_table.c (__follow_path): Disable diagnostic for
3138         uninitialized variable that is a false positive for gcc 4.7.
3139         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3141 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3143         * sysdeps/nacl/lowlevellock-futex.h
3144         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3145         Always evaluate PRIVATE argument.
3147 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3149         [BZ #19490]
3150         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3151         (pthread_cond_broadcast): Use ENTRY/END
3152         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3153         (pthread_cond_signal): Likewise.
3154         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3155         Likewise.
3156         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3157         Likewise.
3158         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3159         Likewise.
3161 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3163         * sysdeps/ieee754/dbl-64/s_finite.c
3164         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3165         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3166         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3167         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3168         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3171         (__gtsf2): Add as optional for libc.so.
3172         (__unordsf2): Likewise.
3173         (__signbit): Remove for libc.so.
3174         (__signbitl): Likewise.
3176 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3178         * iconvdata/bug-iconv11.c (test_ibm93x):
3179         Use %zu printf format specifier for size_t argument.
3181 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3183         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3184         already-recorded ulps.
3185         * sysdeps/arm/libm-test-ulps: Regenerated.
3186         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3187         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3188         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3190 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3191             Paul Pluzhnikov  <ppluzhnikov@google.com>
3193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3194         assembler not supporting AVX-512.
3196 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3198         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3200 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3202         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3203         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3205         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3207         * sysdeps/arm/libm-test-ulps: Regenerated.
3209 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3211         [BZ #19451]
3212         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3214 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3216         [BZ #19486]
3217         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3218         * sysdeps/generic/fix-fp-int-convert-overflow.h
3219         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3220         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3221         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3222         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3223         Likewise.
3224         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3225         Avoid conversions to long int where inexact exceptions
3226         could be raised.
3227         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3228         Likewise.
3229         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3230         Avoid conversions to long long int where inexact exceptions
3231         could be raised.
3232         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3233         Likewise.
3235 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3237         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3238         * configure: Regenerated.
3240 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3242         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3244 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3246         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3247         outside of comment.
3249 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3251         * nptl/tst-barrier1.c: Add description on first line.
3252         * nptl/tst-barrier2.c: Likewise.
3253         * nptl/tst-barrier3.c: Likewise.
3254         * nptl/tst-barrier4.c: Likewise.
3255         * nptl/tst-barrier5.c: Likewise.
3257 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3259         [BZ #18868]
3260         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3262 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3266         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3267         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3268         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3269         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3270         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3271         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3272         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3273         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3274         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3276 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3278         [BZ #13065]
3279         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3280         new implementation.
3281         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3282         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3283         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3284         (BARRIER_IN_THRESHOLD): New macro.
3285         * nptl/pthread_barrierattr_setpshared.c
3286         (pthread_barrierattr_setpshared): Clean up.
3287         * nptl/tst-barrier4.c: Correct comment.
3288         * nptl/tst-barrier5.c: New file.
3289         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3290         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3291         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3292         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3293         * nptl/lowlevelbarrier.sym: Remove.
3294         * nptl/DESIGN-barrier.txt: Remove.
3295         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3296         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3297         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3298         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3299         error.
3300         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3301         implementation.
3303 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3305         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3306         (do_child): Mask SIGRTMIN while thr is running.
3308 2016-01-15  Martin Sebor  <msebor@redhat.com>
3310         [BZ #19432]
3311         * iconvdata/Makefile: Add bug-iconv11.
3312         * iconvdata/bug-iconv11.c: New test.
3313         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3314         * iconvdata/ibm933.c: Same.
3315         * iconvdata/ibm935.c: Same.
3316         * iconvdata/ibm937.c: Same.
3317         * iconvdata/ibm939.c: Same.
3319 2016-01-15  Martin Sebor  <msebor@redhat.com>
3321         [BZ #19443]
3322         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3323         [DEBUG] (_ufc_set_bits): Declare used.
3324         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3325         [DEBUG] (print_all): Declare used.
3326         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3327         operands of the ternary ?: expression to target type.
3328         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3329         calling the undeclared abort.
3330         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3332 2016-01-15  Martin Sebor  <msebor@redhat.com>
3334         [BZ #18755]
3335         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3336         warnings.
3337         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3338         (__gai_create_helper_thread): Same.
3339         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3340         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3341         to suppress -Wmaybe-uninitialized warnings.
3343 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3345         [BZ #19465]
3346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3347         inside if.
3348         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3349         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3352 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3354         [BZ #19466]
3355         * time/tst-mktime2.c (time_t_max): Removed.
3356         (time_t_min): Likewise.
3357         (TYPE_SIGNED): New.
3358         (TYPE_MINIMUM): Likewise.
3359         (TYPE_MAXIMUM): Likewise.
3360         (TIME_T_MIN): Likewise.
3361         (TIME_T_MAX): Likewise.
3362         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3363         and TIME_T_MIN.
3364         (do_test): Likewise.
3366 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3368         [BZ #19467]
3369         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3370         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3372 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3374         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3376 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3378         * benchtests/Makefile (PYTHON): Define.
3379         (bench-func): Use $(PYTHON) to run python scripts.
3380         ($(objpfx)bench-%.c): Likewise.
3382 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3384         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3385         leading slash when `file_name' is "/".
3387 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3389         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3390         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3391         Likewise.
3392         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3393         Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3397         enum constant and macro.
3398         (PTRACE_SETSIGMASK): Likewise.
3399         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3400         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3401         (PTRACE_GETSIGMASK): Likewise.
3402         (PTRACE_SETSIGMASK): Likewise.
3403         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3404         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3405         Likewise.
3406         (PTRACE_SETSIGMASK): Likewise.
3407         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3408         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3409         (PTRACE_GETSIGMASK): Likewise.
3410         (PTRACE_SETSIGMASK): Likewise.
3411         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3412         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3413         Likewise.
3414         (PTRACE_SETSIGMASK): Likewise.
3415         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3417         Likewise.
3418         (PTRACE_SETSIGMASK): Likewise.
3419         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3420         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3421         Likewise.
3422         (PTRACE_SETSIGMASK): Likewise.
3423         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3425 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3426             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3428         [BZ #19439]
3429         * math/bits/mathcalls.h
3430         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3431         prototype.
3432         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3434 2016-01-11  Andreas Schwab  <schwab@suse.de>
3436         [BZ #19253]
3437         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3438         cache when TZDEFRULES was used.
3439         * time/tst-tzname.c: New file.
3440         * time/Makefile (test): Add tst-tzname.
3441         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3442         * timezone/Makefile (test-zones): Add $(posixrules-file).
3443         ($(testdata)/$(posixrules-file)): New rule.
3445 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3447         Fix doc quoting problems with Texinfo 5
3448         Without this change, in the info file output, Texinfo 5 quotes code
3449         in text with undirected single quotes 'like this' and generates
3450         code examples that with many PDF readers cannot be cut out of PDFs
3451         and pasted into code.
3452         * manual/libc.texinfo: Configure the libc manual like the GNU
3453         Emacs manual, by using @documentencoding and setting
3454         txicodequoteundirected and txicodequotebacktick.  This way,
3455         Texinfo 5 quotes code in text with directed single quotes ‘like
3456         this’ and produces examples that can be cut out of PDFs.  This
3457         change causes Texinfo 5 to generate info files that contain UTF-8
3458         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3459         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3461 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3463         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3464         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3465         barriers to their respective compiler built-ins.
3466         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3467         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3468         * sysdeps/powerpc/sysdep.h: Likewise.
3469         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3470         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3471         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3473 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3475         * scripts/config.guess: Revert previous shebang change.
3476         * scripts/config.sub: Likewise.
3477         * scripts/mkinstalldirs: Likewise.
3479 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3481         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3482         PPC_FEATURE2_HAS_IEEE128.
3483         * sysdeps/powerpc/dl-procinfo.c:
3484         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3486 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3488         [BZ #19415]
3489         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3490         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3491         (_dl_lookup_address): Rewrite using function resolver trampoline.
3492         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3493         two bits in address.
3495 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3497         * longlong.h: Change !__SHMEDIA__ to
3498         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3499         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3501 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3502             Joseph Myers  <joseph@codesourcery.com>
3503             Mark Shinwell  <shinwell@codesourcery.com>
3504             Andrew Stubbs  <ams@codesourcery.com>
3505             Rich Felker <dalias@libc.org>
3507         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3509 2016-01-07  Richard Henderson  <rth@redhat.com>
3511         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3513 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3515         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3516         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3517         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3518         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3519         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3521 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3522             Joseph Myers  <joseph@codesourcery.com>
3524         * timezone/private.h: Update from tzcode 2015g.
3525         * timezone/tzfile.h: Likewise.
3526         * timezone/tzselect.ksh: Likewise.
3527         * timezone/zdump.c: Likewise.
3528         * timezone/zic.c: Likewise.
3529         * timezone/ialloc.c: Remove file.
3530         * timezone/scheck.c: Likewise.
3531         * timezone/Makefile (extra-objs): Remove variable.
3532         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3533         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3534         -Wno-maybe-uninitialized.
3535         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3536         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3537         (CFLAGS-ialloc.c): Remove variable.
3538         (CFLAGS-scheck.c): Likewise.
3539         * timezone/README: Update list of files from tzcode.
3541 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3543         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3544         instead of __fxprintf when _LIBC is undefined.
3546 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3548         * catgets/test-gencat.sh: Remove space after shebang.
3549         * conform/GlibcConform.pm: Likewise.
3550         * conform/check-header-lists.sh: Likewise.
3551         * conform/conformtest.pl: Likewise.
3552         * conform/linknamespace.pl: Likewise.
3553         * conform/list-header-symbols.pl: Likewise.
3554         * debug/catchsegv.sh: Likewise.
3555         * elf/genrtldtbl.awk: Likewise.
3556         * elf/tst-pathopt.sh: Likewise.
3557         * elf/tst-rtld-load-self.sh: Likewise.
3558         * grp/tst_fgetgrent.sh: Likewise.
3559         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3560         * iconvdata/gen-8bit-gap.sh: Likewise.
3561         * iconvdata/gen-8bit.sh: Likewise.
3562         * iconvdata/run-iconv-test.sh: Likewise.
3563         * intl/tst-gettext.sh: Likewise.
3564         * intl/tst-gettext2.sh: Likewise.
3565         * intl/tst-gettext4.sh: Likewise.
3566         * intl/tst-gettext6.sh: Likewise.
3567         * intl/tst-translit.sh: Likewise.
3568         * io/ftwtest-sh: Likewise.
3569         * libio/test-freopen.sh: Likewise.
3570         * locale/gen-translit.pl: Likewise.
3571         * malloc/tst-mtrace.sh: Likewise.
3572         * manual/check-safety.sh: Likewise.
3573         * manual/libc-texinfo.sh: Likewise.
3574         * manual/tsort.awk: Likewise.
3575         * manual/xtract-typefun.awk: Likewise.
3576         * nptl/tst-cancel-wrappers.sh: Likewise.
3577         * nptl/tst-tls6.sh: Likewise.
3578         * posix/globtest.sh: Likewise.
3579         * posix/tst-getconf.sh: Likewise.
3580         * posix/wordexp-tst.sh: Likewise.
3581         * scripts/check-c++-types.sh: Likewise.
3582         * scripts/check-local-headers.sh: Likewise.
3583         * scripts/config.guess: Likewise.
3584         * scripts/config.sub: Likewise.
3585         * scripts/cpp: Likewise.
3586         * scripts/cross-test-ssh.sh: Likewise.
3587         * scripts/documented.sh: Likewise.
3588         * scripts/evaluate-test.sh: Likewise.
3589         * scripts/gen-libc-abis: Likewise.
3590         * scripts/gen-sorted.awk: Likewise.
3591         * scripts/list-fixed-bugs.py: Likewise.
3592         * scripts/merge-test-results.sh: Likewise.
3593         * scripts/mkinstalldirs: Likewise.
3594         * scripts/rellns-sh: Likewise.
3595         * scripts/test-installation.pl: Likewise.
3596         * scripts/update-copyrights: Likewise.
3597         * stdio-common/tst-printf.sh: Likewise.
3598         * stdio-common/tst-unbputc.sh: Likewise.
3599         * stdlib/tst-fmtmsg.sh: Likewise.
3600         * stdlib/tst-setcontext3.sh: Likewise.
3601         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3602         * sysdeps/unix/make-syscalls.sh: Likewise.
3604 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3606         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3607         asm stw with atomic_exchange_rel.  Add explanatory comment.
3608         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3609         Likewise.
3611 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3613         [BZ #19122]
3614         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3615         * sysdeps/generic/dl-unistd.h: New file.
3616         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3618 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3620          [BZ #19122]
3621          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3622          * sysdeps/generic/dl-mman.h: New file.
3623          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3625 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3627         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3628         trailing whitespace removed.
3629         * scripts/config.guess: Update to version 2016-01-01.
3630         * scripts/config.sub: Update to version 2016-01-01.
3631         * scripts/move-if-change: Update from gnulib.
3633 2016-01-04  Anton Blanchard  <anton@samba.org>
3635         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3636         for array indices.
3637         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3639 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3641         * NEWS: Update copyright dates.
3642         * catgets/gencat.c (print_version): Likewise.
3643         * csu/version.c (banner): Likewise.
3644         * debug/catchsegv.sh: Likewise.
3645         * debug/pcprofiledump.c (print_version): Likewise.
3646         * debug/xtrace.sh (do_version): Likewise.
3647         * elf/ldconfig.c (print_version): Likewise.
3648         * elf/ldd.bash.in: Likewise.
3649         * elf/pldd.c (print_version): Likewise.
3650         * elf/sotruss.sh: Likewise.
3651         * elf/sprof.c (print_version): Likewise.
3652         * iconv/iconv_prog.c (print_version): Likewise.
3653         * iconv/iconvconfig.c (print_version): Likewise.
3654         * locale/programs/locale.c (print_version): Likewise.
3655         * locale/programs/localedef.c (print_version): Likewise.
3656         * login/programs/pt_chown.c (print_version): Likewise.
3657         * malloc/memusage.sh (do_version): Likewise.
3658         * malloc/memusagestat.c (print_version): Likewise.
3659         * malloc/mtrace.pl: Likewise.
3660         * manual/libc.texinfo: Likewise.
3661         * nptl/version.c (banner): Likewise.
3662         * nscd/nscd.c (print_version): Likewise.
3663         * nss/getent.c (print_version): Likewise.
3664         * nss/makedb.c (print_version): Likewise.
3665         * posix/getconf.c (main): Likewise.
3666         * scripts/test-installation.pl: Likewise.
3667         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3669         * All files with FSF copyright notices: Update copyright dates
3670         using scripts/update-copyrights.
3671         * intl/plural.c: Regenerated.
3672         * locale/programs/charmap-kw.h: Likewise.
3673         * locale/programs/locfile-kw.h: Likewise.
3675 2016-01-02  Helge Deller  <deller@gmx.de>
3677         [BZ #19285]
3678         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3679         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3680         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3681         (MADV_xxK_PAGES): Remove.
3683 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3685         [BZ #15421]
3686         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3687         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3688         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3689         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3691 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3693         [BZ #19408]
3694         * sysdeps/unix/sysv/linux/personality.c: New file.
3695         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3696         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3697         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3698         (sysdep_routines): Add personality.
3699         (tests): Add tst-personality.
3700         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3701         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3702         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3703         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3704         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3705         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3706         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3707         Likewise.
3708         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3709         Likewise.
3710         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3711         Likewise.
3712         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3713         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3714         Likewise.
3716 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3718         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3719         (PATH_ARM_SYSTYPE): Remove.
3720         (PATH_CPUINFO): Likewise.
3721         (IO_BASE_FOOTBRIDGE): Likewise.
3722         (IO_SHIFT_FOOTBRIDGE): Likewise.
3723         (struct platform): Likewise.
3724         (init_iosys): Remove compatibility code for 2.4 kernels.
3725         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3727 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3729         * malloc/tst-malloc-thread-fail.c: New file.
3730         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3731         (tst-malloc-thread-fail): Link against libpthread.
3733 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3735         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3736         (get_parser): New function.
3737         (main): New function.
3739 2015-12-29  Rob Wu  <rob@robwu.nl>
3741         [BZ #19369]
3742         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3744 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3746         [BZ #19270]
3747         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3749 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3751         [BZ #15421]
3752         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3754 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3756         [BZ #13690]
3757         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3758         after releasing it.
3759         (__lll_robust_unlock): Likewise.
3760         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3761         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3762         (lll_robust_unlock): Likewise.
3763         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3764         Prevent warnings in callers.
3766 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3768         * malloc/arena.c (list_lock): Update comment.
3770 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3772         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3773         __parse_hwcap_and_convert_at_platform to libc.a.
3775 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3777         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3778         platform and feature support for POWER9.
3779         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3780         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3781         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3782         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3783         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3784         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3785         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3786         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3788 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3790         Harmonize generic stdio-lock support with nptl
3792         This fixes build when _IO_funlockfile is a macro, fixes build where
3793         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3794         stack unwind.
3796         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3797         _IO_release_lock ): Use cleanup attribute on new
3798         _IO_acquire_lock_file variable instead of assuming that
3799         _IO_release_lock will be called.
3800         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3801         _IO_acquire_lock_needs_exceptions_enabled.
3802         (_IO_acquire_lock_clear_flags2): New macro.
3804 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3806         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3808 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3810         [BZ #19182]
3811         * malloc/arena.c (list_lock): Document lock ordering requirements.
3812         (free_list_lock): New lock.
3813         (ptmalloc_lock_all): Comment on free_list_lock.
3814         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3815         (detach_arena): Update comment.  free_list_lock is now needed.
3816         (_int_new_arena): Use free_list_lock around detach_arena call.
3817         Acquire arena lock after list_lock.  Add comment, including FIXME
3818         about incorrect synchronization.
3819         (get_free_list): Switch to free_list_lock.
3820         (reused_arena): Acquire free_list_lock around detach_arena call
3821         and attached threads counter update.  Add two FIXMEs about
3822         incorrect synchronization.
3823         (arena_thread_freeres): Switch to free_list_lock.
3824         * malloc/malloc.c (struct malloc_state): Update comments to
3825         mention free_list_lock.
3827 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3829         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3830         Remove functions.
3831         (sloww, sloww1): Accept argument to offset quadrant.
3832         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3833         quadrant.
3834         (__sin, __cos): Consolidate common code into new functions.
3835         (reduce_sincos_1, do_sincos_1): New functions.
3836         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3839         code to new functions.
3840         (reduce_sincos_2, do_sincos_2): New functions.
3841         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3844         common code for sincos.
3845         (__cos) [!IN_SINCOS]: Likewise.
3846         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3847         New function.
3848         (__sincos): Use it.
3850 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3852         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3853         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3854         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3856 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3858         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3861         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3862         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3863         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3864         index_Prefer_No_VZEROUPPER): New feature.
3865         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3866         Prefer_No_VZEROUPPER for Knights Landing.
3868 015-12-18  Torvald Riegel  <triegel@redhat.com>
3870         * math/atest-exp2.c (mp_exp_m1): Remove.
3872 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3874         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3875         syscalls.
3876         (__SYSCALL0): New macro.
3877         (__SYSCALL1): Likewise.
3878         (__SYSCALL2): Likewise.
3879         (__SYSCALL3): Likewise.
3880         (__SYSCALL4): Likewise.
3881         (__SYSCALL5): Likewise.
3882         (__SYSCALL6): Likewise.
3883         (__SYSCALL_CONCAT_X): Likewise.
3884         (__SYSCALL_CONCAT): Likewise.
3885         (__SYSCALL_DIST): Likewise.
3886         (__SYSCALL_CALL): Likewise.
3888 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3890         [BZ #19363]
3891         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3893 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3895         [BZ #19375]
3896         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3897         negative subnormals.
3899 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3901         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3902         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3903         (INTERNAL_SYSCALL_NCS): Use it.
3904         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3906 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3908         [BZ #19243]
3909         * malloc/arena.c (get_free_list): Remove assert and adjust
3910         reference count handling.  Add comment about reused_arena
3911         interaction.
3912         (reused_arena): Add comments abount get_free_list interaction.
3913         * malloc/tst-malloc-thread-exit.c: New file.
3914         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3915         (tst-malloc-thread-exit): Link against libpthread.
3917 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3919         [BZ #19367]
3920         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3921         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3922         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3923         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3924         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3926 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3928         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3929         Silvermont optimizations for Knights Landing.
3931 2015-12-15  Andreas Schwab  <schwab@suse.de>
3933         [BZ #17197]
3934         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3935         immediately after emitting SI.
3936         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3937         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3938         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3939         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3940         * iconvdata/bug-iconv10.c: New file.
3941         * iconvdata/Makefile (tests): Add bug-iconv10.
3942         ($(objpfx)bug-iconv10.out): New rule.
3944 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3946         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3947         aliasing violation.
3949 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3951         [BZ #18472]
3952         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3953         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3954         conditionals for them.
3955         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3956         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3958         sys/kdaemon.h.
3959         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3960         compat-only syscall, obsoleted in glibc 2.23.
3961         (create_module): Likewise.
3962         (get_kernel_syms): Likewise.
3963         (query_module): Likewise.
3964         (uselib): Likewise.
3965         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3967 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3969         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3970         <linux/version.h>.
3971         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3972         conditional code.
3973         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3974         and ioshift_name initialization.
3976 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3978         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3979         Fix indentation.
3981 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3983         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3985 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3987         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3989 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3990             Jakub Wilk  <jwilk@debian.org>
3992         [BZ #19347]
3993         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3994         to change the group of the device to the tty group.
3996 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3998         Split large string section; add truncation advice
3999         * manual/examples/strncat.c: Remove.
4000         This example was misleading, as the code would have undefined
4001         behavior if "hello" was longer than SIZE.  Anyway, the manual
4002         shouldn't encourage strncpy+strncat for this sort of thing.
4003         * manual/string.texi (Copying Strings and Arrays): Split into
4004         three sections Copying Strings and Arrays, Concatenating Strings,
4005         and Truncating Strings, as this section was way too long.  All
4006         cross-referenced changed.  Add advice about string-truncation
4007         functions.  Remove misleading strncat example.
4009 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4011         * manual/nss.texi (NSS Modules Interface): Document
4012         NSS_STATUS_NOTFOUND and SUCCESS.
4014 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4016         [BZ 18568]
4017         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4018         201505L, for Unicode 8.
4020 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4022         * locale/C-translit.h: Regenerate.
4024 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4026         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4027         and U+0153.
4029 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4031         [BZ #19351]
4032         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4033         expanding log(1+z), compare z rather than its square with epsilon
4034         to determine when to avoid evaluating the expansion.
4036         [BZ #19350]
4037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4038         Increase overflow threshold.
4040         [BZ #19349]
4041         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4042         when small.
4044         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4045         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4046         New macro.
4047         [__LINUX_KERNEL_VERSION >= 0x040300]
4048         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4049         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4050         Likewise.
4051         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4052         Likewise.
4053         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4054         Likewise.
4055         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4056         Likewise.
4057         [__LINUX_KERNEL_VERSION >= 0x040300]
4058         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4059         [__LINUX_KERNEL_VERSION >= 0x040300]
4060         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4061         [__LINUX_KERNEL_VERSION >= 0x040300]
4062         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4063         [__LINUX_KERNEL_VERSION >= 0x040300]
4064         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4065         [__LINUX_KERNEL_VERSION >= 0x040300]
4066         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4067         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4068         Likewise.
4069         [__LINUX_KERNEL_VERSION >= 0x040300]
4070         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4072         Likewise.
4073         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4074         Likewise.
4075         [__LINUX_KERNEL_VERSION >= 0x040300]
4076         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4077         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4078         Likewise.
4079         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4082         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4083         Likewise.
4084         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4085         Likewise.
4086         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4087         Likewise.
4088         [__LINUX_KERNEL_VERSION >= 0x040300]
4089         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4090         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4091         Likewise.
4092         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4093         Likewise.
4094         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4095         Likewise.
4096         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4097         Likewise.
4098         [__LINUX_KERNEL_VERSION >= 0x040300]
4099         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4100         [__LINUX_KERNEL_VERSION >= 0x040300]
4101         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4102         [__LINUX_KERNEL_VERSION >= 0x040300]
4103         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4104         [__LINUX_KERNEL_VERSION >= 0x040300]
4105         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4106         [__LINUX_KERNEL_VERSION >= 0x040300]
4107         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4108         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4109         Likewise.
4110         [__LINUX_KERNEL_VERSION >= 0x040300]
4111         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4112         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4113         Likewise.
4114         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4115         Likewise.
4116         [__LINUX_KERNEL_VERSION >= 0x040300]
4117         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4118         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4119         Likewise.
4120         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4121         Likewise.
4122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4123         (__ASSUME_SOCKET_SYSCALL): Likewise.
4124         (__ASSUME_BIND_SYSCALL): Likewise.
4125         (__ASSUME_CONNECT_SYSCALL): Likewise.
4126         (__ASSUME_LISTEN_SYSCALL): Likewise.
4127         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4128         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4129         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4130         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4131         (__ASSUME_SEND_SYSCALL): Likewise.
4132         (__ASSUME_SENDTO_SYSCALL): Likewise.
4133         (__ASSUME_RECV_SYSCALL): Likewise.
4134         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4135         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4136         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4137         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4138         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4139         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4140         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4141         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4142         Likewise.
4143         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4144         Likewise.
4145         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4146         Likewise.
4147         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4148         Likewise.
4149         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4150         Likewise.
4151         [__LINUX_KERNEL_VERSION >= 0x020625]
4152         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4153         [__LINUX_KERNEL_VERSION >= 0x020625]
4154         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4155         [__LINUX_KERNEL_VERSION >= 0x020625]
4156         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4157         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4158         Likewise.
4159         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4160         Likewise.
4161         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4162         Likewise.
4163         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4164         Likewise.
4165         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4166         Likewise.
4167         [__LINUX_KERNEL_VERSION >= 0x020625]
4168         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4169         [__LINUX_KERNEL_VERSION >= 0x020625]
4170         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4171         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4172         Likewise.
4173         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4174         Likewise.
4176 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4178         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4179         record the current if the current ABI and CPU support the FP64
4180         extension.
4181         (has-modd-spreg): Define to record the current if the current ABI and
4182         CPU support 32-bit floating point values in odd FPU registers.
4183         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4184         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4185         $(has-modd-spreg) equals yes.
4186         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4187         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4188         $(has-modd-spreg) equal yes.
4190 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4192         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4193         basename.
4195 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4197         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4198         (bench-string): ... here.
4199         (bench): Add bench-string.
4200         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4201         to *-benchset to reflect what they are.
4202         (benchset): Adjust.
4204         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4205         cos-inputs.
4207 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4209         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4210         __attribute__ ((__simd__)) for vector math function declarations.
4212 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4214         Fix typo in strncat, wcsncat manual entries
4215         * manual/string.texi (Copying and Concatenation): Fix typos in
4216         sample implementations of strncat and wcsncat, by having them use
4217         the old value of the destination length, not the new one.
4219 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4221         [BZ #16961]
4222         [BZ #16962]
4223         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4224         string on the stack for strtod.
4225         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4226         a string on the stack for strtof.
4227         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4228         constructing a string on the stack for strtold.
4229         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4230         __strtold_nan to GLIBC_PRIVATE.
4231         * math/test-nan-overflow.c: New file.
4232         * math/test-nan-payload.c: Likewise.
4233         * math/Makefile (tests): Add test-nan-overflow and
4234         test-nan-payload.
4236 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4238         Consistency about byte vs character in string.texi
4239         * manual/string.texi (String and Array Utilities):
4240         Distinguish more carefully among bytes, multibyte characters,
4241         and wide characters.  Use "byte" when talking about C 'char',
4242         to distinguish it more clearly from multibyte characters.
4243         Say "wide character" or "multibyte character" instead of
4244         "character", when a wide or multibyte character is intended.
4245         Similarly for "multibyte string" versus "string".
4246         Define these terms more carefully.
4248 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4250         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4251         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4252         Likewise.
4253         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4254         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4255         * sysdeps/sh/math_private.h: New file.
4256         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4257         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4258         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4259         long double function name.
4260         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4261         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4262         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4263         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4264         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4266         Remove __finitel, __isinfl, and __isnanl.
4267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4268         Likewise.
4269         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4271         Remove __finitel.
4272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4273         Likewise.
4274         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4276 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4278         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4279         installed libmvec_nonshared.a.
4281 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4283         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4284         (sysdep_routines): Likewise.
4285         (sysdep-rtld-routines): Likewise.
4286         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4287         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4288         * sysdeps/powerpc/Versions: Added new
4289         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4290         * sysdeps/powerpc/hwcapinfo.c: New file.
4291         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4292         and parse hwcap, hwcap2 and platform number information.
4293         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4294         to store HWCAP+HWCAP2 and platform number.
4295         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4296         for HWCAP+HWCAP2 and platform number in the TCB.
4297         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4298         the HWCAP, HWCAP2 and platform number in the TCB.
4299         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4300         (TLS_INIT_TP): Included calls to add the hwcap and
4301         at_platform values in the TCB in TP initialization.
4302         (TLS_DEFINE_INIT_TP): Likewise.
4303         (THREAD_GET_HWCAP): New macro.
4304         (THREAD_SET_HWCAP): Likewise.
4305         (THREAD_GET_AT_PLATFORM): Likewise.
4306         (THREAD_SET_AT_PLATFORM): Likewise.
4307         * sysdeps/powerpc/powerpc32/dl-machine.h:
4308         (dl_platform_init): New function that calls
4309         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4310         powerpc32.
4311         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4312         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4313         this functionality, static linking case.
4314         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4315         linking case.
4316         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4317         __parse_hwcap_and_convert_at_platform for the static linking case.
4318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4319         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4320         ABI list for GLIBC 2.23.
4321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4322         Likewise.
4323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4324         Likewise.
4326 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4328         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4329         * configure: Regenerate.
4330         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4331         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4333 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4335         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4336         * iconvdata/ibm933.c: Likewise.
4337         * iconvdata/ibm935.c: Likewise.
4338         * iconvdata/ibm937.c: Likewise.
4339         * iconvdata/ibm939.c: Likewise.
4341 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4343         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4344         pthread_join.
4345         * nptl/tst-cancel21.c (tf): Likewise.
4347 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4349         [BZ #19313]
4350         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4351         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4352         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4353         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4358         Likewise.
4359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4360         Likewise.
4361         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4362         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4363         unsigned long int with __CPU_MASK_TYPE.
4365 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4367         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4369 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4371         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4372         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4373         t512.x.
4374         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4376 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4378         [BZ #19214]
4379         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4380         argument to return extended model.  Update family and model
4381         with extended family and model when family == 0x0f.
4382         (init_cpu_features): Updated.
4384 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4386         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4387         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4389         * sysdeps/mach/hurd/mmap64.c: New file.
4391 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4393         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4394         rights for its main user thread in NEWTASK.
4396 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4398         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4399         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4401 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4403         [BZ #14259]
4404         * Makeconfig: Rename localedir to complocaledir.
4405         Rename inst_localedir to inst_complocaledir.
4406         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4407         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4408         * configure.ac: Use libc_cv_complocaledir.
4409         * configure: Regenerate.
4410         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4411         -DCOMPLOCALEDIR.
4412         * locale/findlocale.c: Use COMPLOCALEDIR.
4413         * locale/loadarchive.c: Likewise.
4414         * locale/programs/locale.c: Likewise.
4415         * locale/programs/localedef.c: Likewise.
4416         * locale/programs/locarchive.c: Likewise.
4417         * localedata/Makefile: Use inst_complocaledir.
4418         * sysdeps/gnu/configure: Regenerate.
4419         * sysdeps/hppa/configure: Regenerate.
4420         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4421         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4423         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4424         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4425         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4426         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4428 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4430         [BZ #19058]
4431         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4432         AS_NEEDED.
4433         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4434         workaround.
4435         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4436         libmvec-static-only-routines): Added new file.
4437         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4439 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4441         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4442         of interrupted RPC instead of restoring it.
4444         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4445         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4446         libc_hidden_def.
4447         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4448         into initialized data instead of common. Define rtld_hidden_data_def.
4449         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4450         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4451         libc_hidden_def.
4452         (if_freenameindex): Add libc_hidden_weak.
4453         (if_nameindex): Add libc_hidden_weak.
4454         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4455         __open64.
4456         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4457         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4458         * sysdeps/mach/nanosleep.c: Include <time.h>
4459         (__nanosleep): Rename to __libc_nanosleep.
4460         (__nanosleep): Add weak_alias.
4461         (nanosleep): Update alias.
4463 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4465         * stdlib/strtod_nan.c: New file.
4466         * stdlib/strtod_nan_double.h: Likewise.
4467         * stdlib/strtod_nan_float.h: Likewise.
4468         * stdlib/strtod_nan_main.c: Likewise.
4469         * stdlib/strtod_nan_narrow.h: Likewise.
4470         * stdlib/strtod_nan_wide.h: Likewise.
4471         * stdlib/strtof_nan.c: Likewise.
4472         * stdlib/strtold_nan.c: Likewise.
4473         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4474         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4475         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4476         * wcsmbs/wcstod_nan.c: Likewise.
4477         * wcsmbs/wcstof_nan.c: Likewise.
4478         * wcsmbs/wcstold_nan.c: Likewise.
4479         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4480         strtold_nan.
4481         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4482         wcstof_nan.
4483         * include/stdlib.h (__strtof_nan): Declare and use
4484         libc_hidden_proto.
4485         (__strtod_nan): Likewise.
4486         (__strtold_nan): Likewise.
4487         (__wcstof_nan): Likewise.
4488         (__wcstod_nan): Likewise.
4489         (__wcstold_nan): Likewise.
4490         * include/wchar.h (____wcstoull_l_internal): Declare.
4491         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4492         (____strtoull_l_internal): Remove declaration.
4493         (STRTOF_NAN): Define macro.
4494         (SET_MANTISSA): Remove macro.
4495         (STRTOULL): Likewise.
4496         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4497         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4498         (STRTOF_NAN): Define macro.
4499         (SET_MANTISSA): Remove macro.
4500         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4501         (SET_MANTISSA): Remove macro.
4502         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4503         macro.
4504         (SET_MANTISSA): Remove macro.
4505         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4506         macro.
4507         (SET_MANTISSA): Remove macro.
4508         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4509         (SET_MANTISSA): Remove macro.
4510         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4511         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4512         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4514         [BZ #19266]
4515         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4516         upper case and lower case letters inside NAN(), not using TOLOWER.
4517         * stdlib/tst-strtod-nan-locale-main.c: New file.
4518         * stdlib/tst-strtod-nan-locale.c: Likewise.
4519         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4520         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4521         Depend on $(gen-locales).
4522         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4523         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4524         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4525         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4526         Depend on $(gen-locales).
4527         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4529 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4531         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4533         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4535         __finitel, __isinfl, and __isnanl.
4536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4537         Likewise.
4538         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4540         __finitel.
4541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4542         Likewise.
4543         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4545 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4547         * malloc/memusage.c (me): Remove redundant getenv call.
4549 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4551         [BZ #19143]
4552         [BZ #19164]
4553         * nptl/check-cpuset.h: Remove.
4554         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4555         Remove CPU set size check.
4556         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4557         Likewise.
4558         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4559         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4560         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4561         (__pthread_setaffinity_new): Remove CPU set size check.
4562         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4563         (__kernel_cpumask_size): Remove.
4564         (__sched_setaffinity_new): Remove CPU set size check.
4565         * manual/threads.texi (Default Thread Attributes): Remove stale
4566         reference to check_cpuset_attr, determine_cpumask_size in comment.
4567         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4568         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4569         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4570         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4571         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4572         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4573         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4574         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4575         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4576         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4577         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4578         skeleton test file.
4579         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4580         tst-affinity-pid.
4582 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4584         * scripts/update-abilist.sh: New file.
4585         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4586         * Makerules (update-all-abi-%, update-all-abi)
4587         (subdir_update-all-abi): New targets.
4588         * elf/Makefile (update-all-abi): New target.
4590 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4592         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4593         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4594         (__libc_lock_define_initialized): Use it.
4595         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4596         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4597         * malloc/malloc.c (main_arena): Likewise.
4598         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4599         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4601 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4603         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4604         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4605         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4606         (PTRACE_O_MASK): Update value.
4607         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4608         New value in enum __ptrace_setoptions.
4609         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4610         (PTRACE_O_MASK): Update value.
4611         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4612         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4613         (PTRACE_O_MASK): Update value.
4614         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4615         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4616         (PTRACE_O_MASK): Update value.
4617         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4618         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4619         (PTRACE_O_MASK): Update value.
4620         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4621         New value in enum __ptrace_setoptions.
4622         (PTRACE_O_MASK): Update value.
4623         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4624         New value in enum __ptrace_setoptions.
4625         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4626         (PTRACE_O_MASK): Update value.
4628         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4629         New macro.
4630         (PACKET_AUXDATA): Likewise.
4631         (PACKET_ORIGDEV): Likewise.
4632         (PACKET_VERSION): Likewise.
4633         (PACKET_HDRLEN): Likewise.
4634         (PACKET_RESERVE): Likewise.
4635         (PACKET_TX_RING): Likewise.
4636         (PACKET_LOSS): Likewise.
4637         (PACKET_VNET_HDR): Likewise.
4638         (PACKET_TX_TIMESTAMP): Likewise.
4639         (PACKET_TIMESTAMP): Likewise.
4640         (PACKET_FANOUT): Likewise.
4641         (PACKET_TX_HAS_OFF): Likewise.
4642         (PACKET_QDISC_BYPASS): Likewise.
4643         (PACKET_ROLLOVER_STATS): Likewise.
4644         (PACKET_FANOUT_DATA): Likewise.
4645         (PACKET_MR_UNICAST): Likewise.
4647         [BZ #19242]
4648         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4649         (TOUPPER): Likewise.
4650         * stdlib/tst-strtol-locale-main.c: New file.
4651         * stdlib/tst-strtol-locale.c: Likewise.
4652         * stdlib/Makefile (tests): Add tst-strtol-locale.
4653         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4654         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4655         Depend on $(gen-locales).
4656         * wcsmbs/tst-wcstol-locale.c: New file.
4657         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4658         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4659         tr_TR.ISO-8859-9.
4660         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4661         Depend on $(gen-locales).
4663 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4665         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4666         __glibc_likely instead of __builtin_expect.  After falling back to
4667         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4668         system interface to register the code pages as occupied.
4670 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4672         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4673         [!ARM_MATH_PRIVATE_H].
4674         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4675         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4676         [!HPPA_MATH_PRIVATE_H].
4677         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4678         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4679         to [!I386_MATH_PRIVATE_H].
4680         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4681         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4682         Change guard to [!M68K_MATH_PRIVATE_H].
4683         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4684         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4685         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4686         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4687         macro.
4688         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4689         [!MIPS_MATH_PRIVATE_H].
4690         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4691         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4692         [!NIO2_MATH_PRIVATE_H].
4693         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4694         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4695         [!TILE_MATH_PRIVATE_H].
4696         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4698         [BZ #15421]
4699         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4700         initialize with 0 and define as weak alias of __signgam.
4701         * include/math.h [!_ISOMAC] (__signgam): Declare.
4702         * math/Makefile (libm-calls): Add w_lgamma_compat.
4703         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4704         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4705         test-signgam-ullong-init.
4706         (tests-static): Add test-signgam-uchar-static,
4707         test-signgam-uchar-init-static, test-signgam-uint-static,
4708         test-signgam-uint-init-static, test-signgam-ullong-static and
4709         test-signgam-ullong-init-static.
4710         (CFLAGS-test-signgam-uchar.c): New variable.
4711         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4712         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4713         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4714         (CFLAGS-test-signgam-uint.c): Likewise.
4715         (CFLAGS-test-signgam-uint-init.c): Likewise.
4716         (CFLAGS-test-signgam-uint-static.c): Likewise.
4717         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4718         (CFLAGS-test-signgam-ullong.c): Likewise.
4719         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4720         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4721         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4722         * math/Versions (libm): Add GLIBC_2.23.
4723         * math/lgamma-compat.h: New file.
4724         * math/test-signgam-main.c: Likewise.
4725         * math/test-signgam-uchar-init-static.c: Likewise.
4726         * math/test-signgam-uchar-init.c: Likewise.
4727         * math/test-signgam-uchar-static.c: Likewise.
4728         * math/test-signgam-uchar.c: Likewise.
4729         * math/test-signgam-uint-init-static.c: Likewise.
4730         * math/test-signgam-uint-init.c: Likewise.
4731         * math/test-signgam-uint-static.c: Likewise.
4732         * math/test-signgam-uint.c: Likewise.
4733         * math/test-signgam-ullong-init-static.c: Likewise.
4734         * math/test-signgam-ullong-init.c: Likewise.
4735         * math/test-signgam-ullong-static.c: Likewise.
4736         * math/test-signgam-ullong.c: Likewise.
4737         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4738         wrapper of w_lgamma_main.c.
4739         * math/w_lgamma_compat.c: New file.
4740         * math/w_lgamma_compatf.c: Likewise.
4741         * math/w_lgamma_compatl.c: Likewise.
4742         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4743         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4744         defining compatibility symbols.
4745         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4746         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4747         wrapper of w_lgammaf_main.c.
4748         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4749         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4750         defining compatibility symbols.
4751         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4752         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4753         wrapper of w_lgammal_main.c.
4754         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4755         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4756         defining compatibility symbols.
4757         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4758         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4759         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4760         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4761         <lgamma-compat.h>.
4762         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4763         (__ieee754_gamma): Define as alias.
4764         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4765         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4766         <lgamma-compat.h>.
4767         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4768         (__ieee754_gammaf): Define as alias.
4769         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4770         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4771         <lgamma-compat.h>.
4772         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4773         (__ieee754_gammal): Define as alias.
4774         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4775         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4776         <math/w_lgamma_compat.c>.
4777         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4778         Define as alias of __lgamma_compat and use in defining lgammal.
4779         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4780         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4781         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4782         (USE_AS_COMPAT): New macro.
4783         (LGAMMA_OLD_VER): Undefine and redefine.
4784         (lgammal): Do not define here.
4785         (gammal): Only define here if [GAMMA_ALIAS].
4786         * conform/linknamespace.pl (@whitelist): Remove signgam.
4787         * sysdeps/nacl/libm.abilist: Update.
4788         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4793         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4794         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4795         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4796         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4797         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4799         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4801         Likewise.
4802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4803         Likewise.
4804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4805         Likewise.
4806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4807         Likewise.
4808         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4810         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4814         Likewise.
4815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4816         Likewise.
4817         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4821 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4823         [BZ #16364]
4824         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4825         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4827 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4829         * sysdeps/s390/fpu/bits/mathinline.h:
4830         Use __asm__ [__volatile__] instead of asm [volatile].
4831         * sysdeps/s390/abort-instr.h: Likewise.
4832         * sysdeps/s390/atomic-machine.h: Likewise.
4833         * sysdeps/s390/bits/string.h: Likewise.
4834         * sysdeps/s390/dl-tls.h: Likewise.
4835         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4836         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4837         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4838         * sysdeps/s390/fpu/fesetround.c: Likewise.
4839         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4840         * sysdeps/s390/fpu/s_fma.c: Likewise.
4841         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4842         * sysdeps/s390/memusage.h: Likewise.
4843         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4844         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4845         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4846         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4847         * sysdeps/s390/nptl/tls.h: Likewise.
4848         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4849         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4850         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4851         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4852         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4853         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4854         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4855         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4856         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4857         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4858         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4859         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4860         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4861         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4862         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4863         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4864         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4865         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4866         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4868         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4869         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4870         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4872 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4873             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4875         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4876         Add lwarx hint, and use macro for acquire instruction.
4877         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4878         Likewise.
4879         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4880         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4881         update to use new atomic macros.
4883 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4885         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4886         (__lll_trylock_elision): Fix setting of adapt_count.
4887         * sysdeps/unix/sysv/linux/powerpc/htm.h
4888         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4889         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4890         (_ABORT_SYSCALL): Renumber, and clarify definition.
4891         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4893 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4895         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4896         after system headers to prevent MIN/MAX redefinition.  Define
4897         HAVE_ALLOCA to preserve builtin alloca usage.
4899 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4901         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4902         static and don't set or restore rounding.
4903         (__cos)[IN_SINCOS]: Likewise.
4904         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4905         (__sincos): Set and restore rounding mode.  Remove check for infinite
4906         or NaN input.
4908         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4910         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4911         as used.
4913 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4915         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4917 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4919         * config.make.in (have-glob-dat-reloc): New.
4920         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4921         target supports GLOB_DAT relocaton. AC_SUBST.
4922         * configure: Regenerated.
4923         * elf/Makefile (tests): Add tst-prelink.
4924         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4925         (tst-prelink-ENV): New.
4926         ($(objpfx)tst-prelink-conflict.out): Likewise.
4927         ($(objpfx)tst-prelink-cmp.out): Likewise.
4928         * sysdeps/x86/tst-prelink.c: Moved to ...
4929         * elf/tst-prelink.c: Here.
4930         * sysdeps/x86/tst-prelink.exp: Moved to ...
4931         * elf/tst-prelink.exp: Here.
4932         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4933         (tst-prelink-ENV): Removed.
4934         ($(objpfx)tst-prelink-conflict.out): Likewise.
4935         ($(objpfx)tst-prelink-cmp.out): Likewise.
4936         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4938 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4940         [BZ #14551]
4941         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4942         (__mpn_construct_long_double): If high part overflows to infinity,
4943         set errno and recompute overflowed result of the correct sign.
4944         * sysdeps/ieee754/ldbl-128ibm/Makefile
4945         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4946         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4947         $(libm).
4948         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4950 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4952         [BZ #15479]
4953         [BZ #19238]
4954         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4955         floating-point state after first operation on input.  Restore full
4956         state rather than just rounding mode.
4957         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4958         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4959         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4961         [BZ #19235]
4962         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4963         add 0.5 to integer arguments.
4964         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4965         Likewise.
4966         (.LC2): New object.
4968 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4970         * scripts/pylintrc (reports): Set to no.
4972 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4974         * elf/dl-load.c (open_verify): Take new argument FD.
4975         Skip __open call if passed FD is not -1.
4976         (_dl_map_object, open_path): Update callers.
4977         * elf/dl-sysdep-open.h: New file.
4978         * elf/dl-load.c: Include it.
4979         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4980         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4981         * sysdeps/nacl/dl-sysdep-open.h: New file.
4982         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4983         from libc to rtld.
4985 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4987         [BZ #19228]
4988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4989         and restore full floating-point state.
4990         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4991         Likewise.
4992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4993         Likewise.
4994         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4995         Likewise.
4996         * math/test-nearbyint-except-2.c: New file.
4997         * math/Makefile (tests): Add test-nearbyint-except-2.
4999 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5001         [BZ #19178]
5002         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5003         (tst-prelink-ENV): New.
5004         ($(objpfx)tst-prelink-conflict.out): Likewise.
5005         ($(objpfx)tst-prelink-cmp.out): Likewise.
5006         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5007         * sysdeps/x86/tst-prelink.c: New file.
5008         * sysdeps/x86/tst-prelink.exp: Likewise.
5010 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5012         * math/auto-libm-test-in: Add another test of pow.
5013         * math/auto-libm-test-out: Regenerated.
5014         * math/libm-test.inc (pow_test_data): Add another test.
5016 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5018         [BZ #19219]
5019         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5020         weak_alias to nearbyintl.
5022 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5024         * sysdeps/aarch64/bits/string.h: New file.
5025         (_STRING_ARCH_unaligned): Define.
5027 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5029         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5030         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5031         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5032         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5035 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5037         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5038         for original name of the DSO.  Add it to the name list of the DSO
5039         if it is actually given.
5040         (_dl_map_object): Keep track of whether an audit module rewrote
5041         the file name.  If yes, pass the original name to
5042         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5043         debugging is enabled, log the change of the file name.
5044         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5045         _dl_map_object_from_fd.
5046         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5047         * elf/tst-audit11.c: New file
5048         * elf/tst-auditmod11.c: New file.
5049         * elf/tst-audit11mod1.c: New file.
5050         * elf/tst-audit11mod2.c: New file.
5051         * elf/tst-audit11mod2.map: New file.
5052         * elf/tst-audit12.c: New file
5053         * elf/tst-auditmod12.c: New file.
5054         * elf/tst-audit12mod1.c: New file.
5055         * elf/tst-audit12mod2.c: New file.
5056         * elf/tst-audit12mod2.map: New file.
5057         * elf/tst-audit12mod3.c: New file.
5059 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5061         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5062         Don't create weak aliases,
5063         because versioned symbols are created later.
5064         * sysdeps/s390/s390-32/setjmp.S
5065         (setjmp, _setjmp): Remove weak and rename to an unique name
5066         in SHARED case due to existing versioned symbols.
5067         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5068         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5069         (getcontext): Create weak alias only in non SHARED case.
5070         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5072 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5074         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5075         (__ASSUME_*_SYSCALL) Define new macros.
5076         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5077         Remove socketcall syscalls.
5078         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5079         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5080         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5081         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5082         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5083         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5085 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5087         [BZ #12926]
5088         Terminate process on invalid netlink response.
5089         * sysdeps/unix/sysv/linux/netlinkaccess.h
5090         (__netlink_assert_response): Declare.
5091         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5092         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5093         (sysdep_routines): Add netlink_assert_response.
5094         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5095         __netlink_assert_response.
5096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5097         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5098         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5099         __netlink_assert_response.
5101 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5103         [BZ #19178]
5104         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5105         (RTYPE_CLASS_PLT): Likewise.
5106         (RTYPE_CLASS_COPY): Likewise.
5107         (RTYPE_CLASS_TLS): Likewise.
5108         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5109         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5110         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5111         DL_DEBUG_PRELINK.
5113 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5115         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5116         calls with argument -0.5.
5117         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5119         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5120         (libc_cv_z_nodlopen): Likewise.
5121         (libc_cv_z_initfirst): Likewise.
5122         * configure: Regenerated.
5124 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5126         Simplify abilist format to be line-based.
5127         * scripts/abilist.awk: Collect descriptors in the descs variable.
5128         (emit): Write descs variable and sort it
5129         externally, with sort.
5130         * sysdeps/**/*.abilist: Convert to new format.
5132 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5134         [BZ #11460]
5135         * io/Makefile (routines): Add fts64.
5136         (tests): Add tst-fts and tst-fts-lfs.
5137         (CFLAGS-fts64.c): New.
5138         * io/Versions (GLIBC_2.23): New.
5139         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5140         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5141         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5142         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5143         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5144         (FTSENT64): Likewise.
5145         (fts64_children): Likewise.
5146         (fts64_close): Likewise.
5147         (fts64_open): Likewise.
5148         (fts64_read): Likewise.
5149         (fts64_set): Likewise.
5150         * io/fts64.c: New file.
5151         * io/tst-fts.c: New test.
5152         * io/tst-fts-lfs.c: Likewise.
5153         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5154         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5155         fts64_set.
5156         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5157         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5158         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5159         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5160         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5161         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5164         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5165         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5166         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5167         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5170         Likewise.
5171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5172         Likewise.
5173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5175         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5176         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5177         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5178         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5179         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5182         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5183         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5184         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5185         * sysdeps/wordsize-64/fts.c: New file.
5186         * sysdeps/wordsize-64/fts64.c: Likewise.
5187         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5188         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5189         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5190         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5192 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5194         * math/libm-test.inc (NON_FINITE): New macro.
5195         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5196         * math/gen-libm-test.pl (show_exceptions): Add argument
5197         $non_finite.
5198         (parse_args): Update call to show_exceptions.
5199         * math/test-math-finite.h: New file.
5200         * math/test-math-no-finite.h: Likewise.
5201         * math/test-double-finite.c: Likewise.
5202         * math/test-float-finite.c: Likewise.
5203         * math/test-ldouble-finite.c: Likewise.
5204         * math/test-double.c: Include "test-math-no-finite.h".
5205         * math/test-float.c: Include "test-math-no-finite.h".
5206         * math/test-ldouble.c: Include "test-math-no-finite.h".
5207         * math/test-math-inline.h (TEST_FINITE): New macro.
5208         * math/test-math-vector.h (TEST_FINITE): Likewise.
5209         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5210         (libm-tests): Add test-float-finite and test-double-finite.
5211         ($(objpfx)test-float-finite.o): New dependency on
5212         $(objpfx)libm-test.stmp.
5213         ($(objpfx)test-double-finite.o): Likewise.
5214         ($(objpfx)test-ldouble-finite.o): Likewise.
5215         (libm-test-no-inline-cflags): New variable.
5216         (libm-test-finite-cflags): Likewise.
5217         (CFLAGS-test-float-finite.c): Likewise.
5218         (CFLAGS-test-double-finite.c): Likewise.
5219         (CFLAGS-test-ldouble-finite.c): Likewise.
5220         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5221         (CFLAGS-test-double.c): Likewise.
5222         (CFLAGS-test-ldouble.c): Likewise.
5224 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5226         * io/fcntl.c (__fcntl): Add ... to prototype.
5227         * misc/ioctl.c (__ioctl): Likewise.
5228         * misc/syscall.c (syscall): Likewise.
5230 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5232         * scripts/list-fixed-bugs.py: New file.
5234         [BZ #19213]
5235         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5236         returned for argument 1.
5237         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5238         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5239         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5240         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5241         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5242         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5244         [BZ #19211]
5245         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5246         __USE_XOPEN], not if [!__USE_ISOC99].
5247         (lgammaf): Likewise.
5248         (lgammal): Likewise.
5249         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5250         (gammaf): Likewise.
5251         (gammal): Likewise.
5252         * math/test-signgam-finite-c11.c: New file.
5253         * math/test-signgam-finite-c99.c: Likewise.
5254         * math/test-signgam-finite.c: Likewise.
5255         * math/Makefile (tests): Add test-signgam-finite,
5256         test-signgam-finite-c99 and test-signgam-finite-c11.
5257         (CFLAGS-test-signgam-finite.c): New variable.
5258         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5259         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5261         [BZ #19212]
5262         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5263         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5264         500].
5265         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5266         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5267         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5268         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5269         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5270         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5271         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5272         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5273         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5274         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5276         [BZ #19209]
5277         * math/bits/math-finite.h (ldexp): Remove declaration.
5278         (ldexpf): Likewise.
5279         (ldexpl): Likewise.
5281         [BZ #19205]
5282         * math/bits/math-finite.h (acosf): Condition declaration on
5283         [__USE_ISOC99].
5284         (acosl): Likewise.
5285         (acoshf): Likewise.
5286         (acoshl): Likewise.
5287         (asinf): Likewise.
5288         (asinl): Likewise.
5289         (atan2f): Likewise.
5290         (atan2l): Likewise.
5291         (atanhf): Likewise.
5292         (atanhl): Likewise.
5293         (coshf): Likewise.
5294         (coshl): Likewise.
5295         (expf): Likewise.
5296         (expl): Likewise.
5297         (fmodf): Likewise.
5298         (fmodl): Likewise.
5299         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5300         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5301         (j0l): Likewise.
5302         (y0f): Likewise.
5303         (y0l): Likewise.
5304         (j1f): Likewise.
5305         (j1l): Likewise.
5306         (y1f): Likewise.
5307         (y1l): Likewise.
5308         (jnf): Likewise.
5309         (jnl): Likewise.
5310         (ynf): Likewise.
5311         (ynl): Likewise.
5312         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5313         (lgammal_r): Likewise.
5314         (__lgamma_r_finite): New declaration.
5315         (__lgammaf_r_finite): Likewise.
5316         (__lgammal_r_finite): Likewise.
5317         (lgamma): Use __lgamma_r_finite.
5318         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5319         __lgammaf_r_finite.
5320         (lgammal): Condition definition on [__USE_ISOC99].  Use
5321         __lgammal_r_finite.
5322         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5323         __lgamma_r_finite.
5324         (gammaf): Condition definition on [__USE_ISOC99].  Use
5325         __lgammaf_r_finite.
5326         (gammal): Condition definition on [__USE_ISOC99].  Use
5327         __lgammal_r_finite.
5328         (logf): Condition declaration on [__USE_ISOC99].
5329         (logl): Likewise.
5330         (log10f): Likewise.
5331         (log10l): Likewise.
5332         (ldexpf): Likewise.
5333         (ldexpl): Likewise.
5334         (powf): Likewise.
5335         (powl): Likewise.
5336         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5337         __USE_ISOC99].
5338         (remainderf): Condition declaration on [__USE_ISOC99].
5339         (remainderl): Likewise.
5340         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5341         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5342         (scalbl): Likewise.
5343         (sinhf): Condition declaration on [__USE_ISOC99].
5344         (sinhl): Likewise.
5345         (sqrtf): Likewise.
5346         (sqrtl): Likewise.
5348 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5350         * sysdeps/arm/atomic-machine.h
5351         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5352         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5353         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5354         Remove conditional code.
5355         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5356         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5357         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5358         Change conditional to [__ASSEMBLER__].
5359         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5360         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5361         [!__ASSEMBLER__].
5362         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5363         code.
5364         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5365         conditional macro definitions.
5366         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5367         (__arch_compare_and_exchange_val_16_acq): Likewise.
5368         (__arch_compare_and_exchange_val_32_acq): Likewise.
5369         (atomic_exchange_and_add): Likewise.
5370         (atomic_add): Likewise.
5371         (atomic_add_negative): Likewise.
5372         (atomic_add_zero): Likewise.
5373         (atomic_bit_set): Likewise.
5374         (atomic_bit_test_set): Likewise.
5375         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5376         code unconditional.
5377         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5379         * math/test-math-errno.h: New file.
5380         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5381         empty.
5382         (TEST_ERRNO): New macro.
5383         (TEST_EXCEPTIONS): Likewise.
5384         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5385         (TEST_EXCEPTIONS): Likewise.
5386         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5387         * math/test-double.c: Include "test-math-errno.h".
5388         * math/test-float.c: Likewise.
5389         * math/test-ldouble.c: Likewise.
5390         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5391         code unconditional.
5392         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5393         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5394         unconditional.
5395         (test_errno): Only run code if TEST_ERRNO.
5396         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5398 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5400         * nptl/tst-once5.cc: Remove attribution.
5402 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5404         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5405         sqrt, tan, tanh, y0, y1 and yn.
5406         * math/auto-libm-test-out: Regenerated.
5407         * math/libm-test.inc (scalb_test_data): Add more tests.
5408         (scalbn_test_data): Likewise.
5409         (scalbln_test_data): Likewise.
5410         (signbit_test_data): Likewise.
5411         (sin_test_data): Likewise.
5412         (sincos_test_data): Likewise.
5413         (sinh_test_data): Likewise.
5414         (sqrt_test_data): Likewise.
5415         (tan_test_data): Likewise.
5416         (tanh_test_data): Likewise.
5417         (tgamma_test_data): Likewise.
5418         (y0_test_data): Likewise.
5419         (y1_test_data): Likewise.
5420         (yn_test_data): Likewise.
5421         (significand_test_data): Likewise.
5422         * sysdeps/i386/fpu/libm-test-ulps: Update.
5424 2015-11-03  David Kastrup  <dak@gnu.org>
5426         [BZ #18604]
5427         * assert/assert.h (assert): Don't macro-expand failed assertion
5428         expression in error message.
5429         * malloc/malloc.c (assert): Likewise.
5431 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5433         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5434         test.
5435         * configure: Regenerated.
5437 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5439         * math/libm-test.inc (modf_test_data): Add more tests.
5440         (nearbyint_test_data): Likewise.
5441         (nextafter_test_data): Likewise.
5442         (nexttoward_test_data): Likewise.
5443         (pow_test_data): Likewise.
5444         (remainder_test_data): Likewise.
5445         (remquo_test_data): Likewise.
5446         (rint_test_data): Likewise.
5448         [BZ #19201]
5449         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5450         Check for zero remainder in case of large exponents and ensure
5451         correct sign of result in that case.
5452         * math/libm-test.inc (remainder_test_data): Add more tests.
5454         [BZ #6799]
5455         * math/s_nextafter.c: Include <errno.h>.
5456         (__nextafter): Set errno on overflow and underflow.
5457         * math/s_nexttowardf.c: Include <errno.h>.
5458         (__nexttowardf): Set errno on overflow and underflow.
5459         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5460         (__nextafterl): Set errno on overflow and underflow.
5461         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5462         (__nexttoward): Set errno on overflow and underflow.
5463         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5464         (__nexttowardf): Set errno on overflow and underflow.
5465         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5466         (__nextafterf): Set errno on overflow and underflow.
5467         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5468         (__nextafterl): Set errno on overflow and underflow.
5469         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5470         (__nexttoward): Set errno on overflow and underflow.
5471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5472         (__nexttowardf): Set errno on overflow and underflow.
5473         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5474         (__nextafterl): Set errno on overflow and underflow.
5475         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5476         (__nexttoward): Set errno on overflow and underflow.
5477         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5478         (__nexttowardf): Set errno on overflow and underflow.
5479         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5480         (__nexttoward): Set errno on overflow and underflow.
5481         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5482         (__nexttowardf): Set errno on overflow and underflow.
5483         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5484         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5485         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5486         (__nextafterl): Set errno on overflow and underflow.
5487         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5488         setting to be missing on overflow.  Add more tests.
5489         (nexttoward_test_data): Likewise.
5491         * configure.ac (libc_cv_initfini_array): Remove configure test.
5492         * configure: Regenerated.
5494 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #19189]
5497         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5498         non-finite argument handle arguments with negative sign.
5500         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5501         result from infinite argument.
5502         (j1_test_data): Likewise.
5503         (jn_test_data): Likewise.
5504         (y0_test_data): Likewise.
5505         (y1_test_data): Likewise.
5506         (yn_test_data): Likewise.
5508         [BZ #16171]
5509         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5510         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5511         * math/w_remainderf.c (dremf): Define as weak alias of
5512         __remainderf.
5513         * math/w_remainderl.c (dreml): Define as weak alias of
5514         __remainderl.
5515         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5516         __remainder.
5517         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5518         __remainderf.
5519         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5520         __remainderl.
5521         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5522         weak alias of remainderl.
5523         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5524         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5525         alias of __remainder.
5526         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5527         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5528         strong alias of __remainderl.
5529         (dreml): Use long_double_symbol.
5530         * math/Makefile (libm-calls): Remove w_drem.
5531         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5532         (CFLAGS-nldbl-drem.c): Remove variable.
5533         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5534         * math/w_drem.c: Remove file.
5535         * math/w_dremf.c: Likewise.
5536         * math/w_dreml.c: Likewise.
5537         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5538         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5539         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5541         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5542         * sysdeps/i386/configure: Regenerated.
5543         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5544         * sysdeps/x86_64/configure: Regenerated.
5546         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5547         test.
5548         (libc_cv_visibility_attribute): Likewise.
5549         (libc_cv_protected_data): Test unconditionally.
5550         (libc_cv_broken_visibility_attribute): Remove configure test.
5551         (libc_cv_have_sdata_section): Test unconditionally.
5552         * configure: Regenerated.
5554         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5555         * include/scratch_buffer.h: Include <stddef.h> instead of
5556         <libc-internal.h>.
5557         (struct scratch_buffer): Use max_align_t instead of
5558         libc_max_align_t.
5560 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5562         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5563         instead of extend_alloca.  Change control flow to avoid a goto.
5564         Remove assert which is trivially always true.
5566 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5568         [BZ #16068]
5569         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5570         (FE_ALL_EXCEPT_X86): New macro.
5571         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5572         FE_ALL_EXCEPT.  Ensure precision control is included in
5573         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5574         handle "denormal operand exception" and clear FZ and DAZ bits.
5575         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5576         (FE_ALL_EXCEPT_X86): New macro.
5577         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5578         FE_ALL_EXCEPT.  Ensure precision control is included in
5579         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5580         handle "denormal operand exception" and clear FZ and DAZ bits.
5581         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5582         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5583         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5584         test-fenv-x87 and test-fenv-sse-2.
5585         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5587         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5588         * math/test-double.h (BUILD_COMPLEX): New macro.
5589         * math/test-float.h (BUILD_COMPLEX): Likewise.
5590         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5592         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5593         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5594         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5596         instead of DBL_DENORM_MIN in comment.
5597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5598         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5599         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5600         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5602         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5604 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5606         [BZ# 19048]
5607         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5608         attached_threads member.
5609         (main_arena): Initialize attached_threads.
5610         * malloc/arena.c (list_lock): Update comment.
5611         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5612         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5613         (deattach_arena): New function.
5614         (_int_new_arena): Initialize arena reference count and deattach
5615         replaced arena.
5616         (get_free_list, reused_arena): Update reference count and deattach
5617         replaced arena.
5618         (arena_thread_freeres): Update arena reference count and only put
5619         unreferenced arenas on the free list.
5621 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5623         [BZ #19181]
5624         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5625         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5626         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5627         * math/test-fenv-clear-main.c: New file.
5628         * math/test-fenv-clear.c: Likewise.
5629         * math/Makefile (tests): Add test-fenv-clear.
5630         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5631         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5632         test-fenv-clear-sse.
5633         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5635         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5636         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5637         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5639 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5641         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5642         static libc.
5644 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5646         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5647         test.
5648         * sysdeps/i386/configure: Regenerated.
5649         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5650         test.
5651         * sysdeps/x86_64/configure: Regenerated.
5652         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5654         memset-avx2 unconditionally instead of conditionally on
5655         [$(config-cflags-avx2) = yes].
5656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5657         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5658         unconditional.
5659         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5660         * sysdeps/x86_64/multiarch/memset_chk.S
5661         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5662         to [IS_IN (libc) && SHARED].
5664 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5666         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5667         configure test.
5668         * sysdeps/arm/configure: Regenerated.
5669         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5670         Define variable if not already defined.
5672         [BZ #17404]
5673         * sysdeps/mips/atomic-machine.h
5674         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5675         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5676         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5678         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5679         unconditional.
5680         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5681         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5682         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5683         unconditional.
5684         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5685         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5686         unconditional.
5687         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5688         * stdlib/setenv.c
5689         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5690         code unconditional.
5691         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5692         Remove conditional code.
5693         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5694         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5695         unconditional.
5696         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5697         code.
5698         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5699         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5700         unconditional.
5701         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5702         code.
5703         * sysdeps/ieee754/ldbl-128/k_tanl.c
5704         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5705         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5706         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5707         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5708         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5709         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5710         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5711         unconditional.
5712         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5713         code.
5714         * sysdeps/ieee754/ldbl-96/k_tanl.c
5715         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5716         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5718         * nptl/tst-initializers1-c11.c: New file.
5719         * nptl/tst-initializers1-gnu11.c: Likewise.
5720         * nptl/Makefile (tests): Add these new tests.
5721         (CFLAGS-tst-initializers1-c11.c): New variable.
5722         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5724         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5725         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5726         instead of -std=gnu99.
5727         * configure.ac (systemtap): Test with -std=gnu11 instead of
5728         -std=gnu99.
5729         * configure: Regenerated.
5730         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5731         in compilation command in comment.
5733         * sysdeps/nptl/configure.ac: Remove file.
5734         * sysdeps/nptl/configure: Remove generated file.
5735         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5736         * configure: Regenerated.
5737         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5738         * config.make.in (have-forced-unwind): Remove variable.
5739         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5740         unconditional.
5741         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5742         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5743         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5744         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5745         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5746         unconditional.
5748 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5750         [BZ #19174]
5751         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5752         .skip_lock_out_of_tbegin_retries.
5753         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5754         (__lll_lock_elision): Likewise, and respect a value of
5755         try_tbegin <= 0.
5757 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5759         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5760         statement.
5762 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5764         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5765         variable.
5766         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5767         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5769         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5770         of -std=c1x -D_ISOC11_SOURCE.
5772         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5773         * configure: Regenerated.
5774         * manual/install.texi (Tools for Compilation): Document
5775         requirement for GCC 4.7 or later.
5776         * INSTALL: Regenerated.
5778 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5780         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5781         on CNT to a conditional jump to 'puntdata'.
5783 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5785         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5786         (libc_cv_gcc_tls_model_attr): Likewise.
5787         * configure: Regenerated.
5789         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5790         * configure: Regenerated.
5791         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5793 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5795         * configure.ac (old_glibc_headers): Remove configure test.
5796         * configure: Regenerated.
5797         * config.make.in (old-glibc-headers): Remove variable.
5798         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5799         (install): Remove dependency on remove-old-headers.
5800         (headers2_0): Remove variable.
5801         (remove-old-headers): Remove rule.
5803         * configure.ac (libc_cv_dot_text): Remove configure test.
5804         (libc_cv_asm_set_directive): Use .text instead of
5805         ${libc_cv_dot_text} in configure test.
5806         * configure: Regenerated.
5808 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5810         [BZ #19168]
5811         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5813 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5815         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5816         not support static linking.
5817         * configure: Regenerate.
5819 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5821         * math/libm-test.inc (check_float_internal): Do not special-case
5822         errors up to 0.5 ulp.
5824         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5825         log2.
5826         * math/auto-libm-test-out: Regenerated.
5827         * math/libm-test.inc (MAX_EXP): New macro.
5828         (ilogb_test_data): Add more tests.
5829         (isfinite_test_data): Likewise.
5830         (isgreater_test_data): Likewise.
5831         (isgreaterequal_test_data): Likewise.
5832         (isinf_test_data): Likewise.
5833         (isless_test_data): Likewise.
5834         (islessequal_test_data): Likewise.
5835         (islessgreater_test_data): Likewise.
5836         (isnan_test_data): Likewise.
5837         (isnormal_test_data): Likewise.
5838         (issignaling_test_data): Likewise.
5839         (isunordered_test_data): Likewise.
5840         (j0_test_data): Likewise.
5841         (j1_test_data): Likewise.
5842         (jn_test_data): Likewise.
5843         (lgamma_test_data): Likewise.
5844         (log_test_data): Likewise.
5845         (log10_test_data): Likewise.
5846         (log1p_test_data): Likewise.
5847         (log2_test_data): Likewise.
5848         (logb_test_data): Likewise.
5849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5851         [BZ #18611]
5852         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5853         avoid excess range and precision on underflow.
5854         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5855         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5856         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5857         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5858         underflow.
5859         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5860         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5861         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5862         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5863         * math/auto-libm-test-in: Do not allow missing errno setting for
5864         tests of j1 and jn.
5865         * math/auto-libm-test-out: Regenerated.
5867 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5869         [BZ #15491]
5870         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5871         floating-point environment instead of clearing all exceptions.
5872         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5873         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5874         merging in "invalid" exceptions from frndint.
5875         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5876         * math/test-nearbyint-except.c: New file.
5877         * math/Makefile (tests): Add test-nearbyint-except.
5879 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5881         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5883         * sysdeps/tile/libm-test-ulps: Regenerated.
5885 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5888         (__NR_sync_file_range2): Assume it is always defined.
5889         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5890         (__NR_sync_file_range): Assume it is always defined.
5892 2015-10-22  Andreas Schwab  <schwab@suse.de>
5894         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5895         INTERNAL_SYSCALL_ERRNO.
5896         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5897         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5898         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5899         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5900         Likewise.
5901         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5903 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5905         * io/tst-fcntl.c (fd): New static variable.
5906         (do_prepare): Open temporary file here....
5907         (do_test): ...not here.
5909         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5911 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5913         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5914         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5915         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5916         Moved before "#ifdef __ASSEMBLER__".
5918 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5920         [BZ #19156]
5921         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5922         arguments very close to 0.
5924 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5926         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5927         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5929 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5931         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5932         New.  Defined for GCC 5 and above when not compiling for
5933         profiling.
5934         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5936         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5937         Renamed to ...
5938         (CFLAGS-epoll_pwait.o): This.
5939         (CFLAGS-mmap.c): Renamed to ...
5940         (CFLAGS-mmap.o): This.
5941         (CFLAGS-mmap64.c): Renamed to ...
5942         (CFLAGS-mmap64.o): This.
5943         (CFLAGS-epoll_pwait.os): New.
5944         (CFLAGS-mmap.os): Likewise.
5945         (CFLAGS-mmap64.os): Likewise.
5946         (CFLAGS-semtimedop.os): Likewise.
5947         (CFLAGS-semtimedop.c): Renamed to ...
5948         (CFLAGS-semtimedop.o): This.
5950 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5952         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5953         warning message.
5955 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5957         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5958         * Makefile ($(objpfx)c++-types-check.out): Filter out
5959         $(+gccwarn-c) instead of -Wstrict-prototypes.
5961         * io/fts.c (fts_open): Convert to prototype-style function
5962         definition.
5963         * malloc/mcheck.c (mcheck): Likewise.
5964         (mcheck_pedantic): Likewise.
5965         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5966         internal_function.
5967         (re_search_internal): Likewise.
5968         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5969         prototype-style function definition.
5970         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5971         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5972         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5973         (xdr_utmpptr): Likewise.
5974         (xdr_utmparr): Likewise.
5975         (xdr_utmpidle): Likewise.
5976         (xdr_utmpidleptr): Likewise.
5977         (xdr_utmpidlearr): Likewise.
5979         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5980         log, log10 and log2.
5981         * math/auto-libm-test-out: Regenerated.
5982         * math/libm-test.inc (fmod_test_data): Add more tests.
5983         (fpclassify_test_data): Likewise.
5984         (frexp_test_data): Likewise.
5985         (hypot_test_data): Likewise.
5986         (ilogb_test_data): Likewise.
5988 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5990         * debug/fortify_fail.c (__fortify_fail): Convert to
5991         prototype-style function definition.  Use internal_function.
5992         * libio/genops.c (save_for_backup): Convert to prototype-style
5993         function definition.
5994         * libio/wgenops.c (save_for_wbackup): Likewise.
5995         * login/grantpt.c (grantpt): Likewise.
5996         * login/ptsname.c (ptsname): Likewise.
5997         (__ptsname_r): Likewise.
5998         * login/unlockpt.c (unlockpt): Likewise.
5999         * mach/msgserver.c (__mach_msg_server): Likewise.
6000         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6001         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6002         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6003         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6004         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6005         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6006         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6007         Likewise.
6008         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6009         internal_function.
6010         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6011         prototype-style function definition.
6012         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6013         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6014         (__pthread_create_2_0): Likewise.
6015         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6016         * nptl/register-atfork.c (__register_atfork): Likewise.
6017         * posix/glob.c (glob): Likewise.
6018         * posix/regcomp.c (re_comp): Likewise.
6019         * posix/regexec.c (re_exec): Likewise.
6020         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6021         [!__STDC__]: Remove conditional code.
6022         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6023         [!__STDC__]: Remove conditional code.
6024         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6025         [!__STDC__]: Remove conditional code.
6026         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6027         [!__STDC__]: Remove conditional code.
6028         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6029         [!__STDC__]: Remove conditional code.
6030         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6031         [!__STDC__]: Remove conditional code.
6032         * stdlib/mul.c [__STDC__]: Make code unconditional.
6033         [!__STDC__]: Remove conditional code.
6034         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6035         [!__STDC__]: Remove conditional code.
6036         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6037         [!__STDC__]: Remove conditional code.
6038         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6039         function definition.
6040         (STRTOF): Likewise.
6041         * stdlib/strtod_l.c (__STRTOF): Likewise.
6042         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6043         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6044         (__strtol_l): Likewise.
6045         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6046         [!__STDC__]: Remove conditional code.
6047         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6048         definition.
6049         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6050         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6051         type.
6052         (__strcasecmp): Convert to prototype-style function definition.
6053         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6054         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6055         type.
6056         (__strncasecmp): Convert to prototype-style function definition.
6057         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6058         * sunrpc/xdr.c (xdr_union): Likewise.
6059         * sunrpc/xdr_array.c (xdr_array): Likewise.
6060         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6061         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6062         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6063         Likewise.
6064         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6065         Likewise.
6066         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6067         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6068         Likewise.
6069         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6070         (LOCALE_PARAM_PROTO): Likewise.
6071         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6072         argument type.
6073         (ut_argument_spec): Remove macro.
6074         (ut_argument_spec_iso): Rename to ut_argument_spec.
6075         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6076         prototype-style function definition.
6077         (memcpy_uppcase): Likewise.
6078         (__strftime_internal): Likewise.
6079         (my_strftime): Likewise.
6080         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6081         (LOCALE_PARAM_DECL): Likewise.
6082         [_LIBC] (LOCALE_PARAM): Include argument type.
6083         (__strptime_internal): Convert to prototype-style function
6084         definition.
6085         (strptime): Likewise.
6086         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6087         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6088         type.
6089         (__wcscasecmp): Convert to prototype-style function definition.
6090         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6091         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6092         type.
6093         (__wcsncasecmp): Convert to prototype-style function definition.
6095         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6096         function definition.
6097         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6098         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6099         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6100         * elf/dl-minimal.c (_itoa): Likewise.
6101         * hurd/hurdmalloc.c (malloc): Likewise.
6102         (free): Likewise.
6103         (realloc): Likewise.
6104         * inet/inet6_option.c (inet6_option_space): Likewise.
6105         (inet6_option_init): Likewise.
6106         (inet6_option_append): Likewise.
6107         (inet6_option_alloc): Likewise.
6108         (inet6_option_next): Likewise.
6109         (inet6_option_find): Likewise.
6110         * io/ftw.c (FTW_NAME): Likewise.
6111         (NFTW_NAME): Likewise.
6112         (NFTW_NEW_NAME): Likewise.
6113         (NFTW_OLD_NAME): Likewise.
6114         * libio/iofwide.c (_IO_fwide): Likewise.
6115         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6116         (_IO_str_init_static): Likewise.
6117         (_IO_str_init_readonly): Likewise.
6118         (_IO_str_overflow): Likewise.
6119         (_IO_str_underflow): Likewise.
6120         (_IO_str_count): Likewise.
6121         (_IO_str_seekoff): Likewise.
6122         (_IO_str_pbackfail): Likewise.
6123         (_IO_str_finish): Likewise.
6124         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6125         (_IO_wstr_overflow): Likewise.
6126         (_IO_wstr_underflow): Likewise.
6127         (_IO_wstr_count): Likewise.
6128         (_IO_wstr_seekoff): Likewise.
6129         (_IO_wstr_pbackfail): Likewise.
6130         (_IO_wstr_finish): Likewise.
6131         * locale/programs/localedef.c (normalize_codeset): Likewise.
6132         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6133         (add_locales_to_archive): Likewise.
6134         (delete_locales_from_archive): Likewise.
6135         * malloc/malloc.c (__libc_mallinfo): Likewise.
6136         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6137         * misc/tsearch.c (__tfind): Likewise.
6138         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6139         * nptl/pthread_attr_getdetachstate.c
6140         (__pthread_attr_getdetachstate): Likewise.
6141         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6142         Likewise.
6143         * nptl/pthread_attr_getinheritsched.c
6144         (__pthread_attr_getinheritsched): Likewise.
6145         * nptl/pthread_attr_getschedparam.c
6146         (__pthread_attr_getschedparam): Likewise.
6147         * nptl/pthread_attr_getschedpolicy.c
6148         (__pthread_attr_getschedpolicy): Likewise.
6149         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6150         Likewise.
6151         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6152         Likewise.
6153         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6154         Likewise.
6155         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6156         Likewise.
6157         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6158         (__pthread_attr_init_2_0): Likewise.
6159         * nptl/pthread_attr_setdetachstate.c
6160         (__pthread_attr_setdetachstate): Likewise.
6161         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6162         Likewise.
6163         * nptl/pthread_attr_setinheritsched.c
6164         (__pthread_attr_setinheritsched): Likewise.
6165         * nptl/pthread_attr_setschedparam.c
6166         (__pthread_attr_setschedparam): Likewise.
6167         * nptl/pthread_attr_setschedpolicy.c
6168         (__pthread_attr_setschedpolicy): Likewise.
6169         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6170         Likewise.
6171         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6172         Likewise.
6173         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6174         Likewise.
6175         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6176         Likewise.
6177         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6178         Likewise.
6179         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6180         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6181         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6182         use internal_function.
6183         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6184         prototype-style function definition.
6185         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6186         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6187         internal_function.
6188         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6189         Convert to prototype-style function definition.
6190         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6191         Likewise.
6192         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6193         Likewise.
6194         (__pthread_mutex_unlock): Likewise.
6195         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6196         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6197         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6198         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6199         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6200         * nss/makedb.c (process_input): Likewise.
6201         * posix/fnmatch.c (__strchrnul): Likewise.
6202         (__wcschrnul): Likewise.
6203         (fnmatch): Likewise.
6204         * posix/fnmatch_loop.c (FCT): Likewise.
6205         * posix/glob.c (globfree): Likewise.
6206         (__glob_pattern_type): Likewise.
6207         (__glob_pattern_p): Likewise.
6208         * posix/regcomp.c (re_compile_pattern): Likewise.
6209         (re_set_syntax): Likewise.
6210         (re_compile_fastmap): Likewise.
6211         (regcomp): Likewise.
6212         (regerror): Likewise.
6213         (regfree): Likewise.
6214         * posix/regexec.c (regexec): Likewise.
6215         (re_match): Likewise.
6216         (re_search): Likewise.
6217         (re_match_2): Likewise.
6218         (re_search_2): Likewise.
6219         (re_search_stub): Likewise.  Use internal_function
6220         (re_copy_regs): Likewise.
6221         (re_set_registers): Convert to prototype-style function
6222         definition.
6223         (prune_impossible_nodes): Likewise.  Use internal_function.
6224         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6225         prototype-style function definition.
6226         (inet_net_pton_ipv4): Likewise.
6227         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6228         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6229         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6230         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6231         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6232         Make variadic.
6233         * time/strptime_l.c (localtime_r): Convert to prototype-style
6234         function definition.
6235         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6236         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6237         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6238         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6240         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6241         definition.
6242         (_ufc_doit_r): Likewise.
6243         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6244         (_ufc_output_conversion_r): Likewise.
6245         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6246         * inet/rcmd.c (rcmd_af): Likewise.
6247         (rcmd): Likewise.
6248         (ruserok_af): Likewise.
6249         (ruserok): Likewise.
6250         (ruserok2_sa): Likewise.
6251         (ruserok_sa): Likewise.
6252         (iruserok_af): Likewise.
6253         (iruserok): Likewise.
6254         (__ivaliduser): Likewise.
6255         (__validuser2_sa): Likewise.
6256         * inet/rexec.c (rexec_af): Likewise.
6257         (rexec): Likewise.
6258         * inet/ruserpass.c (ruserpass): Likewise.
6259         * locale/programs/xmalloc.c (xcalloc): Likewise.
6260         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6261         * math/w_drem.c (__drem): Likewise.
6262         * math/w_dremf.c (__dremf): Likewise.
6263         * math/w_dreml.c (__dreml): Likewise.
6264         * misc/daemon.c (daemon): Likewise.
6265         * resolv/res_debug.c (p_fqnname): Likewise.
6266         * stdlib/div.c (div): Likewise.
6267         * string/memcmp.c (memcmp_bytes): Likewise.
6268         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6269         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6271         * crypt/cert.c (main): Convert to prototype-style function
6272         definition.
6273         * io/pipe.c (__pipe): Likewise.
6274         * io/pipe2.c (__pipe2): Likewise.
6275         * misc/futimesat.c (futimesat): Likewise.
6276         * misc/utimes.c (__utimes): Likewise.
6277         * posix/execve.c (__execve): Likewise.
6278         * posix/execvp.c (execvp): Likewise.
6279         * posix/execvpe.c (__execvpe): Likewise.
6280         * posix/fexecve.c (fexecve): Likewise.
6281         * socket/socketpair.c (socketpair): Likewise.
6282         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6283         * stdlib/erand48.c (erand48): Likewise.
6284         * stdlib/erand48_r.c (__erand48_r): Likewise.
6285         * stdlib/jrand48.c (jrand48): Likewise.
6286         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6287         * stdlib/lcong48.c (lcong48): Likewise.
6288         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6289         * stdlib/nrand48.c (nrand48): Likewise.
6290         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6291         * stdlib/seed48.c (seed48): Likewise.
6292         * stdlib/seed48_r.c (__seed48_r): Likewise.
6293         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6294         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6295         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6297 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6299         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6300         * configure: Regenerated.
6301         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6302         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6303         unconditional.
6304         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6305         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6306         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6307         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6308         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6309         unconditional.
6310         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6312         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6313         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6315         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6316         function definition.
6317         * crypt/crypt_util.c (__encrypt_r): Likewise.
6318         * libio/genops.c (_IO_no_init): Likewise.
6319         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6320         (_IO_old_fopencookie): Likewise.
6321         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6322         * libio/iogetline.c (_IO_getline): Likewise.
6323         (_IO_getline_info): Likewise.
6324         * libio/iogetwline.c (_IO_getwline): Likewise.
6325         (_IO_getwline_info): Likewise.
6326         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6327         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6328         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6329         (find_entry): Likewise.
6330         (iterate_table): Likewise.
6331         (lookup): Likewise.
6332         * login/forkpty.c (forkpty): Likewise.
6333         * misc/hsearch_r.c (__hsearch_r): Likewise.
6334         * misc/select.c (__select): Likewise.
6335         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6336         Likewise.
6337         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6338         Likewise.
6339         * nptl/old_pthread_cond_timedwait.c
6340         (__pthread_cond_timedwait_2_0): Likewise.
6341         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6342         * nptl/pthread_barrierattr_getpshared.c
6343         (pthread_barrierattr_getpshared): Likewise.
6344         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6345         Likewise.
6346         * nptl/pthread_mutex_setprioceiling.c
6347         (pthread_mutex_setprioceiling): Likewise.
6348         * nptl/pthread_mutexattr_getprioceiling.c
6349         (pthread_mutexattr_getprioceiling): Likewise.
6350         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6351         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6352         Likewise.
6353         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6354         Likewise.
6355         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6356         Likewise.
6357         * socket/recvfrom.c (__recvfrom): Likewise.
6358         * socket/sendto.c (__sendto): Likewise.
6359         * socket/setsockopt.c (__setsockopt): Likewise.
6360         * stdio-common/_itoa.c (_itoa): Likewise.
6361         * stdio-common/_itowa.c (_itowa): Likewise.
6362         * stdio-common/reg-printf.c (__register_printf_specifier):
6363         Likewise.
6364         (__register_printf_function): Likewise.
6365         * stdio-common/tempname.c (__path_search): Likewise.
6366         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6367         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6368         * stdlib/random_r.c (__initstate_r): Likewise.
6369         * stdlib/setenv.c (__add_to_environ): Likewise.
6370         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6371         * streams/getpmsg.c (getpmsg): Likewise.
6372         * streams/putmsg.c (putmsg): Likewise.
6373         * streams/putpmsg.c (putpmsg): Likewise.
6374         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6375         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6376         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6377         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6378         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6379         * sunrpc/svc_udp.c (cache_get): Likewise.
6380         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6381         * sysdeps/mach/hurd/getcwd.c
6382         (__canonicalize_directory_name_internal): Likewise.
6383         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6384         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6385         * sysdeps/mach/hurd/select.c (__select): Likewise.
6386         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6387         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6388         * sysdeps/sparc/nptl/pthread_barrier_init.c
6389         (__pthread_barrier_init): Likewise.
6390         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6391         (__pthread_cond_timedwait): Likewise.
6392         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6393         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6394         Likewise.
6395         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6396         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6397         Likewise.
6398         * sysvipc/semtimedop.c (semtimedop): Likewise.
6399         * time/setitimer.c (__setitimer): Likewise.
6400         * time/strftime_l.c (emacs_strftime): Likewise.
6402 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6404         * config.make.in (have-ssp): Delete.
6405         (stack-protector): New variable.
6406         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6407         cache test for -fstack-protector-strong.  Export stack_protector to
6408         the best ssp flag.
6409         * configure: Regenerated.
6410         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6411         * nscd/Makefile (CFLAGS-nscd): Likewise.
6412         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6414 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6416         [BZ #19122]
6417         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6418         attribute_hidden.
6420 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6422         [BZ #18743]
6423         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6424         code to...
6425         (ELIDE_LOCK): ...here.
6426         (__get_new_count): New function with part of the code from
6427         __elide_lock that updates the value of adapt_count after a
6428         transaction abort.
6429         (__elided_trylock): Moved this code to...
6430         (ELIDE_TRYLOCK): ...here.
6432 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6434         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6435         * configure: Regenerate.
6436         * INSTALL: Regenerate.
6437         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6438         and tweak grammar.
6440 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6442         * login/programs/pt_chown.c: Include signal.h
6443         (main): Clear any signal mask from the parent process.
6445 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6447         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6448         * configure: Regenerated.
6449         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6450         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6451         $(gnu89-inline-CFLAGS).
6453         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6454         test.
6455         (libc_cv_asm_weakext_directive): Likewise.
6456         * configure: Regenerated.
6457         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6458         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6459         * include/libc-symbols.h
6460         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6461         #error.
6462         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6463         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6465         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6466         prototype-style function definition.
6467         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6468         * sysdeps/i386/ffs.c (__ffs): Likewise.
6469         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6470         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6471         Likewise.
6472         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6473         Likewise.
6474         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6475         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6476         Likewise.
6477         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6478         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6479         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6480         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6481         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6482         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6483         * sysdeps/mach/hurd/access.c (__access): Likewise.
6484         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6485         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6486         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6487         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6488         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6489         (cthread_getspecific): Likewise.
6490         (cthread_setspecific): Likewise.
6491         (__libc_getspecific): Likewise.
6492         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6493         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6494         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6495         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6496         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6497         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6498         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6499         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6500         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6501         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6502         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6503         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6504         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6505         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6506         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6507         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6508         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6509         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6510         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6511         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6512         * sysdeps/mach/hurd/link.c (__link): Likewise.
6513         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6514         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6515         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6516         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6517         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6518         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6519         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6520         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6521         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6522         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6523         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6524         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6525         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6526         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6527         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6528         * sysdeps/mach/hurd/send.c (__send): Likewise.
6529         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6530         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6531         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6532         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6533         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6534         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6535         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6536         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6537         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6538         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6539         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6540         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6541         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6542         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6543         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6544         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6545         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6546         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6547         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6548         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6549         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6550         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6551         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6552         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6553         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6554         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6555         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6556         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6557         * sysdeps/posix/alarm.c (alarm): Likewise.
6558         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6559         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6560         * sysdeps/posix/dup.c (__dup): Likewise.
6561         * sysdeps/posix/dup2.c (__dup2): Likewise.
6562         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6563         (main): Likewise.
6564         * sysdeps/posix/flock.c (__flock): Likewise.
6565         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6566         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6567         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6568         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6569         * sysdeps/posix/isatty.c (__isatty): Likewise.
6570         * sysdeps/posix/killpg.c (killpg): Likewise.
6571         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6572         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6573         * sysdeps/posix/raise.c (raise): Likewise.
6574         * sysdeps/posix/remove.c (remove): Likewise.
6575         * sysdeps/posix/rename.c (rename): Likewise.
6576         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6577         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6578         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6579         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6580         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6581         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6582         * sysdeps/posix/sigset.c (sigset): Likewise.
6583         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6584         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6585         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6586         * sysdeps/posix/time.c (time): Likewise.
6587         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6588         (ttyname): Likewise.
6589         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6590         * sysdeps/posix/utime.c (utime): Likewise.
6591         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6592         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6593         Likewise.
6594         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6595         (pthread_spin_trylock): Likewise.
6596         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6597         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6598         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6599         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6600         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6601         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6602         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6603         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6604         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6605         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6606         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6607         * sysdeps/s390/ffs.c (__ffs): Likewise.
6608         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6609         Likewise.
6610         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6611         Likewise.
6612         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6613         Likewise.
6614         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6615         (pthread_barrier_destroy): Likewise.
6616         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6617         (__pthread_barrier_wait): Likewise.
6618         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6619         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6620         (__pthread_barrier_wait): Likewise.
6621         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6622         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6623         (memcmp_not_common_alignment): Likewise.
6624         (MEMCMP): Likewise.
6625         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6626         (_wordcopy_fwd_dest_aligned): Likewise.
6627         (_wordcopy_bwd_aligned): Likewise.
6628         (_wordcopy_bwd_dest_aligned): Likewise.
6629         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6630         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6631         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6632         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6633         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6634         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6635         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6636         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6637         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6638         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6639         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6640         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6641         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6642         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6643         * sysdeps/unix/stime.c (stime): Likewise.
6644         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6645         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6646         Likewise.  Use internal_function.
6647         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6648         Convert to prototype-style function definition.
6649         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6650         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6651         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6652         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6653         Likewise.  Use internal_function.
6654         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6655         prototype-style function definition
6656         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6657         Likewise.
6658         (__getlogin_r): Likewise.
6659         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6660         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6661         (__pthread_cond_broadcast): Likewise.
6662         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6663         (__pthread_cond_destroy): Likewise.
6664         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6665         (__pthread_cond_init): Likewise.
6666         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6667         (__pthread_cond_signal): Likewise.
6668         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6669         (__pthread_cond_wait): Likewise.
6670         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6671         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6672         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6673         Likewise.
6674         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6675         Likewise.
6676         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6679         Likewise.
6680         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6682         (__ftruncate64): Likewise.
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6684         (truncate64): Likewise.
6685         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6686         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6687         (pthread_getcpuclockid): Likewise.
6688         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6689         Likewise.
6690         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6691         Likewise.
6692         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6693         Likewise.
6694         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6697         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6698         (__libc_sigaction): Likewise.
6699         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6702         (__sigprocmask): Likewise.
6703         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6704         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6705         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6706         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6707         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6708         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6709         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6712         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6713         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6714         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6716         Likewise.
6717         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6718         (__sigprocmask): Likewise.
6719         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6720         (cfgetispeed): Likewise.
6721         (cfsetospeed): Likewise.
6722         (cfsetispeed): Likewise.
6723         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6724         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6725         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6726         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6727         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6728         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6729         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6730         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6731         Likewise.
6732         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6733         Likewise.
6734         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6735         Likewise.
6736         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6737         Likewise.
6738         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6740 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6742         sunrpc: Rewrite with explicit TLS access using __thread.
6743         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6744         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6745         directly.
6746         (__rpc_thread_variables): Access thread_rpc_vars directly.
6747         Eliminate redundant assignment of the tvp variable.
6749 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6751         malloc: Rewrite with explicit TLS access using __thread.
6752         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6753         (tsd_setspecific, tsd_getspecific): Remove.
6754         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6755         (tsd_setspecific, tsd_getspecific): Likewise.
6756         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6757         (tsd_setspecific, tsd_getspecific): Likewise.
6758         * malloc/arena.c (thread_arena): New TLS variable.
6759         (arena_key): Remove variable.
6760         (arena_get): Use thread_arena.
6761         (arena_lookup): Remove macro.
6762         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6763         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6764         (_int_new_arena, get_free_list, reused_arena)
6765         (arena_thread_freeres): Use thread_arena.
6766         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6767         tsd_getspecific, tsd_setspecific from safety annotations.
6768         (Allocating Cleared Space): Remove arena_lookup from safety
6769         annotations.
6771 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6773         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6774         struct scratch_buffer instead of extend_alloca.
6776 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6778         * sysdeps/unix/sysv/linux/kernel-features.h
6779         (__ASSUME_SOCK_CLOEXEC): Remove.
6780         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6781         (__have_paccept): Remove unused macro.
6782         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6783         * misc/syslog.c (openlog_internal): Remove fallback code for
6784         !__ASSUME_SOCK_CLOEXEC.
6785         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6786         missing SOCK_CLOEXEC.
6787         * nscd/connections.c (have_sock_cloexec): Remove definition.
6788         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6789         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6790         !__ASSUME_SOCK_CLOEXEC.
6791         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6792         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6793         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6794         definition.
6795         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6796         code for !__ASSUME_SOCK_CLOEXEC.
6798 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6800         [BZ #18982]
6801         * manual/stdio.texi (Variable Arguments Output): Add portability
6802         note, explaining that vfprintf clobbers the va_list pointer.
6804 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6806         * math/libm-test.inc (fabs_test_data): Add more tests.
6807         (fdim_test_data): Likewise.
6808         (fma_test_data): Likewise.
6809         (fmax_test_data): Likewise.
6810         (fmin_test_data): Likewise.
6811         (fmod_test_data): Likewise.
6813 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6815         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6816         data.
6818 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6820         * math/libm-test.inc (ceil_test_data): Add more tests and more
6821         expectations for "inexact".
6822         (floor_test_data): Add more tests.
6823         (round_test_data): Likewise.
6824         (trunc_test_data): Likewise.
6826         * crypt/cert.c (good_bye): Convert to prototype-style function
6827         definition.
6828         (get8): Likewise.
6829         (put8): Likewise.
6830         * crypt/crypt-entry.c (crypt): Likewise.
6831         (__fcrypt): Likewise.
6832         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6833         (_ufc_set_bits): Likewise.
6834         (_ufc_clearmem): Likewise.
6835         (__init_des_r): Likewise.
6836         (shuffle_sb): Likewise.
6837         (shuffle_sb): Likewise.
6838         (_ufc_setup_salt_r): Likewise.
6839         (_ufc_mk_keytab_r): Likewise.
6840         (_ufc_dofinalperm_r): Likewise.
6841         (encrypt): Likewise.
6842         (__setkey_r): Likewise.
6843         (setkey): Likewise.
6844         * crypt/md5.c (md5_init_ctx): Likewise.
6845         (md5_read_ctx): Likewise.
6846         (md5_finish_ctx): Likewise.
6847         (md5_stream): Likewise.
6848         (md5_buffer): Likewise.
6849         (md5_process_bytes): Likewise.
6850         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6851         (__sha256_finish_ctx): Likewise.
6852         (__sha256_process_bytes): Likewise.
6853         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6854         (__sha512_finish_ctx): Likewise.
6855         (__sha512_process_bytes): Likewise.
6856         * ctype/isctype.c (__isctype): Likewise.
6857         * debug/backtrace.c (__backtrace): Likewise.
6858         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6859         * debug/fgets_chk.c (__fgets_chk): Likewise.
6860         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6861         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6862         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6863         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6864         * debug/memset_chk.c (__memset_chk): Likewise.
6865         * debug/strcat_chk.c (__strcat_chk): Likewise.
6866         * debug/strncat_chk.c (__strncat_chk): Likewise.
6867         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6868         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6869         * dirent/dirfd.c (dirfd): Likewise.
6870         * dirent/getdents.c (__getdirentries): Likewise.
6871         * dirent/getdents64.c (getdirentries64): Likewise.
6872         * dirent/rewinddir.c (__rewinddir): Likewise.
6873         * dirent/seekdir.c (seekdir): Likewise.
6874         * dirent/telldir.c (telldir): Likewise.
6875         * elf/sln.c (makesymlinks): Likewise.
6876         (makesymlink): Likewise.
6877         * gmon/gmon.c (__moncontrol): Likewise.
6878         (__monstartup): Likewise.
6879         (write_hist): Likewise.
6880         (write_call_graph): Likewise.
6881         (write_bb_counts): Likewise.
6882         * grp/setgroups.c (setgroups): Likewise.
6883         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6884         * inet/inet_net.c (inet_network): Likewise.
6885         * inet/inet_netof.c (inet_netof): Likewise.
6886         * inet/rcmd.c (rresvport_af): Likewise.
6887         (rresvport): Likewise.
6888         * io/access.c (__access): Likewise.
6889         * io/chdir.c (__chdir): Likewise.
6890         * io/chmod.c (__chmod): Likewise.
6891         * io/chown.c (__chown): Likewise.
6892         * io/close.c (__close): Likewise.
6893         * io/creat.c (creat): Likewise.
6894         * io/creat64.c (creat64): Likewise.
6895         * io/dup.c (__dup): Likewise.
6896         * io/dup2.c (__dup2): Likewise.
6897         * io/dup3.c (__dup3): Likewise.
6898         * io/euidaccess.c (__euidaccess): Likewise.
6899         * io/faccessat.c (faccessat): Likewise.
6900         * io/fchmod.c (__fchmod): Likewise.
6901         * io/fchmodat.c (fchmodat): Likewise.
6902         * io/fchown.c (__fchown): Likewise.
6903         * io/fchownat.c (fchownat): Likewise.
6904         * io/fcntl.c (__fcntl): Likewise.
6905         * io/flock.c (__flock): Likewise.
6906         * io/fts.c (fts_load): Likewise.
6907         (fts_close): Likewise.
6908         (fts_read): Likewise.
6909         (fts_set): Likewise.
6910         (fts_children): Likewise.
6911         (fts_build): Likewise.
6912         (fts_stat): Likewise.
6913         (fts_sort): Likewise.
6914         (fts_alloc): Likewise.
6915         (fts_lfree): Likewise.
6916         (fts_palloc): Likewise.
6917         (fts_padjust): Likewise.
6918         (fts_maxarglen): Likewise.
6919         (fts_safe_changedir): Likewise.
6920         * io/getwd.c (getwd): Likewise.
6921         * io/isatty.c (__isatty): Likewise.
6922         * io/lchown.c (__lchown): Likewise.
6923         * io/link.c (__link): Likewise.
6924         * io/linkat.c (linkat): Likewise.
6925         * io/lseek.c (__libc_lseek): Likewise.
6926         * io/mkdir.c (__mkdir): Likewise.
6927         * io/mkdirat.c (mkdirat): Likewise.
6928         * io/mkfifo.c (mkfifo): Likewise.
6929         * io/mkfifoat.c (mkfifoat): Likewise.
6930         * io/open.c (__libc_open): Likewise.
6931         * io/open64.c (__libc_open64): Likewise.
6932         * io/readlink.c (__readlink): Likewise.
6933         * io/readlinkat.c (readlinkat): Likewise.
6934         * io/rmdir.c (__rmdir): Likewise.
6935         * io/symlink.c (__symlink): Likewise.
6936         * io/symlinkat.c (symlinkat): Likewise.
6937         * io/ttyname.c (ttyname): Likewise.
6938         * io/ttyname_r.c (__ttyname_r): Likewise.
6939         * io/umask.c (__umask): Likewise.
6940         * io/unlink.c (__unlink): Likewise.
6941         * io/unlinkat.c (unlinkat): Likewise.
6942         * io/utime.c (utime): Likewise.
6943         * libio/clearerr.c (clearerr): Likewise.
6944         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6945         * libio/feof.c (_IO_feof): Likewise.
6946         * libio/feof_u.c (feof_unlocked): Likewise.
6947         * libio/ferror.c (_IO_ferror): Likewise.
6948         * libio/ferror_u.c (ferror_unlocked): Likewise.
6949         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6950         * libio/fileno.c (__fileno): Likewise.
6951         * libio/fputc.c (fputc): Likewise.
6952         * libio/fputc_u.c (fputc_unlocked): Likewise.
6953         * libio/fputwc.c (fputwc): Likewise.
6954         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6955         * libio/freopen.c (freopen): Likewise.
6956         * libio/freopen64.c (freopen64): Likewise.
6957         * libio/fseek.c (fseek): Likewise.
6958         * libio/fseeko.c (fseeko): Likewise.
6959         * libio/fseeko64.c (fseeko64): Likewise.
6960         * libio/ftello.c (__ftello): Likewise.
6961         * libio/ftello64.c (ftello64): Likewise.
6962         * libio/fwide.c (fwide): Likewise.
6963         * libio/genops.c (_IO_un_link): Likewise.
6964         (_IO_link_in): Likewise.
6965         (_IO_least_marker): Likewise.
6966         (_IO_switch_to_main_get_area): Likewise.
6967         (_IO_switch_to_backup_area): Likewise.
6968         (_IO_switch_to_get_mode): Likewise.
6969         (_IO_free_backup_area): Likewise.
6970         (_IO_switch_to_put_mode): Likewise.
6971         (__overflow): Likewise.
6972         (__underflow): Likewise.
6973         (__uflow): Likewise.
6974         (_IO_setb): Likewise.
6975         (_IO_doallocbuf): Likewise.
6976         (_IO_default_underflow): Likewise.
6977         (_IO_default_uflow): Likewise.
6978         (_IO_default_xsputn): Likewise.
6979         (_IO_sgetn): Likewise.
6980         (_IO_default_xsgetn): Likewise.
6981         (_IO_sync): Likewise.
6982         (_IO_default_setbuf): Likewise.
6983         (_IO_default_seekpos): Likewise.
6984         (_IO_default_doallocate): Likewise.
6985         (_IO_init): Likewise.
6986         (_IO_old_init): Likewise.
6987         (_IO_default_sync): Likewise.
6988         (_IO_default_finish): Likewise.
6989         (_IO_default_seekoff): Likewise.
6990         (_IO_sputbackc): Likewise.
6991         (_IO_sungetc): Likewise.
6992         (_IO_set_column): Likewise.
6993         (_IO_set_column): Likewise.
6994         (_IO_adjust_column): Likewise.
6995         (_IO_get_column): Likewise.
6996         (_IO_init_marker): Likewise.
6997         (_IO_remove_marker): Likewise.
6998         (_IO_marker_difference): Likewise.
6999         (_IO_marker_delta): Likewise.
7000         (_IO_seekmark): Likewise.
7001         (_IO_unsave_markers): Likewise.
7002         (_IO_nobackup_pbackfail): Likewise.
7003         (_IO_default_pbackfail): Likewise.
7004         (_IO_default_seek): Likewise.
7005         (_IO_default_stat): Likewise.
7006         (_IO_default_read): Likewise.
7007         (_IO_default_write): Likewise.
7008         (_IO_default_showmanyc): Likewise.
7009         (_IO_default_imbue): Likewise.
7010         (_IO_iter_next): Likewise.
7011         (_IO_iter_file): Likewise.
7012         * libio/getc.c (_IO_getc): Likewise.
7013         * libio/getwc.c (_IO_getwc): Likewise.
7014         * libio/iofclose.c (_IO_new_fclose): Likewise.
7015         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7016         * libio/iofflush.c (_IO_fflush): Likewise.
7017         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7018         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7019         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7020         * libio/iofgets.c (_IO_fgets): Likewise.
7021         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7022         * libio/iofgetws.c (fgetws): Likewise.
7023         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7024         * libio/iofopen64.c (_IO_fopen64): Likewise.
7025         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7026         (_IO_cookie_write): Likewise.
7027         (_IO_cookie_seek): Likewise.
7028         (_IO_cookie_close): Likewise.
7029         (_IO_cookie_seekoff): Likewise.
7030         (_IO_old_cookie_seek): Likewise.
7031         * libio/iofputs.c (_IO_fputs): Likewise.
7032         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7033         * libio/iofputws.c (fputws): Likewise.
7034         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7035         * libio/iofread.c (_IO_fread): Likewise.
7036         * libio/iofread_u.c (__fread_unlocked): Likewise.
7037         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7038         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7039         * libio/ioftell.c (_IO_ftell): Likewise.
7040         * libio/iofwrite.c (_IO_fwrite): Likewise.
7041         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7042         * libio/iogets.c (_IO_gets): Likewise.
7043         * libio/iopadn.c (_IO_padn): Likewise.
7044         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7045         (_IO_new_popen): Likewise.
7046         (_IO_new_proc_close): Likewise.
7047         * libio/ioputs.c (_IO_puts): Likewise.
7048         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7049         (_IO_seekoff): Likewise.
7050         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7051         (_IO_seekpos): Likewise.
7052         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7053         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7054         * libio/ioungetc.c (_IO_ungetc): Likewise.
7055         * libio/ioungetwc.c (ungetwc): Likewise.
7056         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7057         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7058         * libio/iowpadn.c (_IO_wpadn): Likewise.
7059         * libio/libc_fatal.c (__libc_fatal): Likewise.
7060         * libio/memstream.c (__open_memstream): Likewise.
7061         (_IO_mem_sync): Likewise.
7062         (_IO_mem_finish): Likewise.
7063         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7064         (_IO_old_file_close_it): Likewise.
7065         (_IO_old_file_finish): Likewise.
7066         (_IO_old_file_fopen): Likewise.
7067         (_IO_old_file_attach): Likewise.
7068         (_IO_old_file_setbuf): Likewise.
7069         (_IO_old_do_write): Likewise.
7070         (old_do_write): Likewise.
7071         (_IO_old_file_underflow): Likewise.
7072         (_IO_old_file_overflow): Likewise.
7073         (_IO_old_file_sync): Likewise.
7074         (_IO_old_file_seekoff): Likewise.
7075         (_IO_old_file_write): Likewise.
7076         (_IO_old_file_xsputn): Likewise.
7077         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7078         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7079         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7080         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7081         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7082         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7083         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7084         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7085         (_IO_old_popen): Likewise.
7086         (_IO_old_proc_close): Likewise.
7087         * libio/oldpclose.c (__old_pclose): Likewise.
7088         * libio/pclose.c (__new_pclose): Likewise.
7089         * libio/peekc.c (_IO_peekc_locked): Likewise.
7090         * libio/putc.c (_IO_putc): Likewise.
7091         * libio/putc_u.c (putc_unlocked): Likewise.
7092         * libio/putchar.c (putchar): Likewise.
7093         * libio/putchar_u.c (putchar_unlocked): Likewise.
7094         * libio/putwc.c (putwc): Likewise.
7095         * libio/putwc_u.c (putwc_unlocked): Likewise.
7096         * libio/putwchar.c (putwchar): Likewise.
7097         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7098         * libio/rewind.c (rewind): Likewise.
7099         * libio/setbuf.c (setbuf): Likewise.
7100         * libio/setlinebuf.c (setlinebuf): Likewise.
7101         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7102         * libio/vscanf.c (_IO_vscanf): Likewise.
7103         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7104         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7105         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7106         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7107         (_IO_switch_to_main_wget_area): Likewise.
7108         (_IO_switch_to_wbackup_area): Likewise.
7109         (_IO_wsetb): Likewise.
7110         (_IO_wdefault_pbackfail): Likewise.
7111         (_IO_wdefault_finish): Likewise.
7112         (_IO_wdefault_uflow): Likewise.
7113         (__woverflow): Likewise.
7114         (__wuflow): Likewise.
7115         (__wunderflow): Likewise.
7116         (_IO_wdefault_xsputn): Likewise.
7117         (_IO_wdefault_xsgetn): Likewise.
7118         (_IO_wdoallocbuf): Likewise.
7119         (_IO_wdefault_doallocate): Likewise.
7120         (_IO_switch_to_wget_mode): Likewise.
7121         (_IO_free_wbackup_area): Likewise.
7122         (_IO_switch_to_wput_mode): Likewise.
7123         (_IO_sputbackwc): Likewise.
7124         (_IO_sungetwc): Likewise.
7125         (_IO_adjust_wcolumn): Likewise.
7126         (_IO_init_wmarker): Likewise.
7127         (_IO_wmarker_delta): Likewise.
7128         (_IO_seekwmark): Likewise.
7129         (_IO_unsave_wmarkers): Likewise.
7130         * libio/wmemstream.c (open_wmemstream): Likewise.
7131         (_IO_wmem_sync): Likewise.
7132         (_IO_wmem_finish): Likewise.
7133         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7134         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7135         * locale/programs/simple-hash.c (init_hash): Likewise.
7136         (delete_hash): Likewise.
7137         (insert_entry): Likewise.
7138         (set_entry): Likewise.
7139         (next_prime): Likewise.
7140         (is_prime): Likewise.
7141         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7142         (xmalloc): Likewise.
7143         (xrealloc): Likewise.
7144         * locale/programs/xstrdup.c (xstrdup): Likewise.
7145         * localedata/collate-test.c (xstrcoll): Likewise.
7146         * localedata/xfrm-test.c (xstrcmp): Likewise.
7147         * login/getlogin_r.c (__getlogin_r): Likewise.
7148         * login/getpt.c (__posix_openpt): Likewise.
7149         * login/login_tty.c (login_tty): Likewise.
7150         * login/setlogin.c (setlogin): Likewise.
7151         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7152         (mach_msg_destroy_port): Likewise.
7153         (mach_msg_destroy_memory): Likewise.
7154         * malloc/mcheck.c (flood): Likewise.
7155         * misc/acct.c (acct): Likewise.
7156         * misc/brk.c (__brk): Likewise.
7157         * misc/chflags.c (chflags): Likewise.
7158         * misc/chroot.c (chroot): Likewise.
7159         * misc/fchflags.c (fchflags): Likewise.
7160         * misc/fstab.c (getfsspec): Likewise.
7161         (getfsfile): Likewise.
7162         * misc/fsync.c (fsync): Likewise.
7163         * misc/ftruncate.c (__ftruncate): Likewise.
7164         * misc/ftruncate64.c (__ftruncate64): Likewise.
7165         * misc/getdomain.c (getdomainname): Likewise.
7166         (getdomainname): Likewise.
7167         * misc/gethostname.c (__gethostname): Likewise.
7168         * misc/getpass.c (getpass): Likewise.
7169         * misc/getttyent.c (skip): Likewise.
7170         (value): Likewise.
7171         * misc/gtty.c (gtty): Likewise.
7172         * misc/hsearch.c (hsearch): Likewise.
7173         (hcreate): Likewise.
7174         * misc/hsearch_r.c (__hcreate_r): Likewise.
7175         (__hdestroy_r): Likewise.
7176         * misc/ioctl.c (__ioctl): Likewise.
7177         * misc/mkdtemp.c (mkdtemp): Likewise.
7178         * misc/mkostemp.c (mkostemp): Likewise.
7179         * misc/mkostemp64.c (mkostemp64): Likewise.
7180         * misc/mkostemps.c (mkostemps): Likewise.
7181         * misc/mkostemps64.c (mkostemps64): Likewise.
7182         * misc/mkstemp.c (mkstemp): Likewise.
7183         * misc/mkstemp64.c (mkstemp64): Likewise.
7184         * misc/mkstemps.c (mkstemps): Likewise.
7185         * misc/mkstemps64.c (mkstemps64): Likewise.
7186         * misc/mktemp.c (__mktemp): Likewise.
7187         * misc/preadv.c (preadv): Likewise.
7188         * misc/preadv64.c (preadv64): Likewise.
7189         * misc/pwritev.c (pwritev): Likewise.
7190         * misc/pwritev64.c (pwritev64): Likewise.
7191         * misc/readv.c (__readv): Likewise.
7192         * misc/revoke.c (revoke): Likewise.
7193         * misc/setdomain.c (setdomainname): Likewise.
7194         * misc/setegid.c (setegid): Likewise.
7195         * misc/seteuid.c (seteuid): Likewise.
7196         * misc/sethostid.c (sethostid): Likewise.
7197         * misc/sethostname.c (sethostname): Likewise.
7198         * misc/setregid.c (__setregid): Likewise.
7199         * misc/setreuid.c (__setreuid): Likewise.
7200         * misc/sstk.c (sstk): Likewise.
7201         * misc/stty.c (stty): Likewise.
7202         * misc/syscall.c (syscall): Likewise.
7203         * misc/syslog.c (setlogmask): Likewise.
7204         * misc/truncate.c (__truncate): Likewise.
7205         * misc/truncate64.c (truncate64): Likewise.
7206         * misc/ualarm.c (ualarm): Likewise.
7207         * misc/usleep.c (usleep): Likewise.
7208         * misc/ustat.c (ustat): Likewise.
7209         * misc/writev.c (__writev): Likewise.
7210         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7211         * nptl/old_pthread_cond_broadcast.c
7212         (__pthread_cond_broadcast_2_0): Likewise.
7213         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7214         Likewise.
7215         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7216         Likewise.
7217         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7218         Likewise.
7219         * nptl/pt-raise.c (raise): Likewise.
7220         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7221         Likewise.
7222         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7223         * nptl/pthread_barrierattr_destroy.c
7224         (pthread_barrierattr_destroy): Likewise.
7225         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7226         Likewise.
7227         * nptl/pthread_barrierattr_setpshared.c
7228         (pthread_barrierattr_setpshared): Likewise.
7229         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7230         Likewise.
7231         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7232         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7233         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7234         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7235         Likewise.
7236         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7237         Likewise.
7238         * nptl/pthread_condattr_getpshared.c
7239         (pthread_condattr_getpshared): Likewise.
7240         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7241         Likewise.
7242         * nptl/pthread_condattr_setpshared.c
7243         (pthread_condattr_setpshared): Likewise.
7244         * nptl/pthread_detach.c (pthread_detach): Likewise.
7245         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7246         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7247         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7248         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7249         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7250         Likewise.
7251         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7252         Likewise.
7253         * nptl/pthread_mutex_getprioceiling.c
7254         (pthread_mutex_getprioceiling): Likewise.
7255         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7256         Likewise.
7257         * nptl/pthread_mutexattr_getprotocol.c
7258         (pthread_mutexattr_getprotocol): Likewise.
7259         * nptl/pthread_mutexattr_getpshared.c
7260         (pthread_mutexattr_getpshared): Likewise.
7261         * nptl/pthread_mutexattr_getrobust.c
7262         (pthread_mutexattr_getrobust): Likewise.
7263         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7264         Likewise.
7265         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7266         Likewise.
7267         * nptl/pthread_mutexattr_setprioceiling.c
7268         (pthread_mutexattr_setprioceiling): Likewise.
7269         * nptl/pthread_mutexattr_setprotocol.c
7270         (pthread_mutexattr_setprotocol): Likewise.
7271         * nptl/pthread_mutexattr_setpshared.c
7272         (pthread_mutexattr_setpshared): Likewise.
7273         * nptl/pthread_mutexattr_setrobust.c
7274         (pthread_mutexattr_setrobust): Likewise.
7275         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7276         Likewise.
7277         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7278         Likewise.
7279         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7280         Likewise.
7281         * nptl/pthread_rwlockattr_getkind_np.c
7282         (pthread_rwlockattr_getkind_np): Likewise.
7283         * nptl/pthread_rwlockattr_getpshared.c
7284         (pthread_rwlockattr_getpshared): Likewise.
7285         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7286         Likewise.
7287         * nptl/pthread_rwlockattr_setkind_np.c
7288         (pthread_rwlockattr_setkind_np): Likewise.
7289         * nptl/pthread_rwlockattr_setpshared.c
7290         (pthread_rwlockattr_setpshared): Likewise.
7291         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7292         Likewise.
7293         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7294         Likewise.
7295         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7296         Likewise.
7297         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7298         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7299         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7300         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7301         * nptl/sem_close.c (sem_close): Likewise.
7302         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7303         * nptl/sem_init.c (__old_sem_init): Likewise.
7304         * nptl/sigaction.c (__sigaction): Likewise.
7305         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7306         * posix/_exit.c (_exit): Likewise.
7307         * posix/alarm.c (alarm): Likewise.
7308         * posix/confstr.c (confstr): Likewise.
7309         * posix/fpathconf.c (__fpathconf): Likewise.
7310         * posix/getgroups.c (__getgroups): Likewise.
7311         * posix/getpgid.c (__getpgid): Likewise.
7312         * posix/group_member.c (__group_member): Likewise.
7313         * posix/pathconf.c (__pathconf): Likewise.
7314         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7315         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7316         * posix/setgid.c (__setgid): Likewise.
7317         * posix/setpgid.c (__setpgid): Likewise.
7318         * posix/setuid.c (__setuid): Likewise.
7319         * posix/sleep.c (__sleep): Likewise.
7320         * posix/sysconf.c (__sysconf): Likewise.
7321         * posix/times.c (__times): Likewise.
7322         * posix/uname.c (__uname): Likewise.
7323         * posix/waitid.c (__waitid): Likewise.
7324         * pwd/getpw.c (__getpw): Likewise.
7325         * resolv/base64.c (b64_pton): Likewise.
7326         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7327         * resolv/gethnamaddr.c (Dprintf): Likewise.
7328         (gethostbyname): Likewise.
7329         (gethostbyname2): Likewise.
7330         (gethostbyaddr): Likewise.
7331         (_sethtent): Likewise.
7332         (_gethtbyname): Likewise.
7333         (_gethtbyname2): Likewise.
7334         (_gethtbyaddr): Likewise.
7335         (map_v4v6_address): Likewise.
7336         (map_v4v6_hostent): Likewise.
7337         (addrsort): Likewise.
7338         (ht_sethostent): Likewise.
7339         (ht_gethostbyname): Likewise.
7340         (ht_gethostbyaddr): Likewise.
7341         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7342         (inet_net_ntop_ipv4): Likewise.
7343         * resolv/inet_neta.c (inet_neta): Likewise.
7344         * resolv/inet_ntop.c (inet_ntop): Likewise.
7345         (inet_ntop4): Likewise.
7346         (inet_ntop6): Likewise.
7347         * resolv/inet_pton.c (__inet_pton): Likewise.
7348         (inet_pton4): Likewise.
7349         (inet_pton6): Likewise.
7350         * resolv/res_debug.c (loc_aton): Likewise.
7351         (loc_ntoa): Likewise.
7352         * resource/getpriority.c (__getpriority): Likewise.
7353         * resource/getrusage.c (__getrusage): Likewise.
7354         * resource/nice.c (nice): Likewise.
7355         * resource/setpriority.c (__setpriority): Likewise.
7356         * resource/setrlimit64.c (setrlimit64): Likewise.
7357         * resource/vlimit.c (vlimit): Likewise.
7358         * resource/vtimes.c (vtimes): Likewise.
7359         * rt/aio_error.c (aio_error): Likewise.
7360         * rt/aio_return.c (aio_return): Likewise.
7361         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7362         * signal/kill.c (__kill): Likewise.
7363         * signal/killpg.c (killpg): Likewise.
7364         * signal/raise.c (raise): Likewise.
7365         * signal/sigaction.c (__sigaction): Likewise.
7366         * signal/sigaddset.c (sigaddset): Likewise.
7367         * signal/sigaltstack.c (sigaltstack): Likewise.
7368         * signal/sigandset.c (sigandset): Likewise.
7369         * signal/sigblock.c (__sigblock): Likewise.
7370         * signal/sigdelset.c (sigdelset): Likewise.
7371         * signal/sigempty.c (sigemptyset): Likewise.
7372         * signal/sigfillset.c (sigfillset): Likewise.
7373         * signal/sighold.c (sighold): Likewise.
7374         * signal/sigignore.c (sigignore): Likewise.
7375         * signal/sigintr.c (siginterrupt): Likewise.
7376         * signal/sigisempty.c (sigisemptyset): Likewise.
7377         * signal/sigismem.c (sigismember): Likewise.
7378         * signal/signal.c (signal): Likewise.
7379         * signal/sigorset.c (sigorset): Likewise.
7380         * signal/sigpause.c (__sigpause): Likewise.
7381         * signal/sigpending.c (sigpending): Likewise.
7382         * signal/sigprocmask.c (__sigprocmask): Likewise.
7383         * signal/sigrelse.c (sigrelse): Likewise.
7384         * signal/sigreturn.c (__sigreturn): Likewise.
7385         * signal/sigset.c (sigset): Likewise.
7386         * signal/sigsetmask.c (__sigsetmask): Likewise.
7387         * signal/sigstack.c (sigstack): Likewise.
7388         * signal/sigsuspend.c (__sigsuspend): Likewise.
7389         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7390         * signal/sysv_signal.c (__sysv_signal): Likewise.
7391         * socket/accept.c (accept): Likewise.
7392         * socket/accept4.c (__libc_accept4): Likewise.
7393         * socket/bind.c (__bind): Likewise.
7394         * socket/connect.c (__connect): Likewise.
7395         * socket/getpeername.c (getpeername): Likewise.
7396         * socket/getsockname.c (__getsockname): Likewise.
7397         * socket/getsockopt.c (getsockopt): Likewise.
7398         * socket/listen.c (__listen): Likewise.
7399         * socket/recv.c (__recv): Likewise.
7400         * socket/recvmsg.c (__recvmsg): Likewise.
7401         * socket/send.c (__send): Likewise.
7402         * socket/sendmsg.c (__sendmsg): Likewise.
7403         * socket/shutdown.c (shutdown): Likewise.
7404         * socket/sockatmark.c (sockatmark): Likewise.
7405         * socket/socket.c (__socket): Likewise.
7406         * stdio-common/ctermid.c (ctermid): Likewise.
7407         * stdio-common/cuserid.c (cuserid): Likewise.
7408         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7409         * stdio-common/remove.c (remove): Likewise.
7410         * stdio-common/rename.c (rename): Likewise.
7411         * stdio-common/renameat.c (renameat): Likewise.
7412         * stdio-common/tempname.c (__gen_tempname): Likewise.
7413         * stdio-common/xbug.c (InitBuffer): Likewise.
7414         (AppendToBuffer): Likewise.
7415         (ReadFile): Likewise.
7416         * stdlib/a64l.c (a64l): Likewise.
7417         * stdlib/drand48_r.c (drand48_r): Likewise.
7418         * stdlib/getcontext.c (getcontext): Likewise.
7419         * stdlib/getenv.c (getenv): Likewise.
7420         * stdlib/l64a.c (l64a): Likewise.
7421         * stdlib/llabs.c (llabs): Likewise.
7422         * stdlib/lldiv.c (lldiv): Likewise.
7423         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7424         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7425         * stdlib/putenv.c (putenv): Likewise.
7426         * stdlib/random.c (__srandom): Likewise.
7427         (__initstate): Likewise.
7428         (__setstate): Likewise.
7429         * stdlib/random_r.c (__srandom_r): Likewise.
7430         (__setstate_r): Likewise.
7431         (__random_r): Likewise.
7432         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7433         * stdlib/setcontext.c (setcontext): Likewise.
7434         * stdlib/setenv.c (setenv): Likewise.
7435         (unsetenv): Likewise.
7436         * stdlib/srand48.c (srand48): Likewise.
7437         * stdlib/srand48_r.c (__srand48_r): Likewise.
7438         * stdlib/swapcontext.c (swapcontext): Likewise.
7439         * stdlib/system.c (__libc_system): Likewise.
7440         * stdlib/tst-strtod.c (expand): Likewise.
7441         * stdlib/tst-strtol.c (expand): Likewise.
7442         * stdlib/tst-strtoll.c (expand): Likewise.
7443         * streams/fattach.c (fattach): Likewise.
7444         * streams/fdetach.c (fdetach): Likewise.
7445         * streams/getmsg.c (getmsg): Likewise.
7446         * streams/isastream.c (isastream): Likewise.
7447         * string/ffs.c (__ffs): Likewise.
7448         * string/ffsll.c (ffsll): Likewise.
7449         * string/memcmp.c (memcmp_common_alignment): Likewise.
7450         (memcmp_not_common_alignment): Likewise.
7451         (MEMCMP): Likewise.
7452         * string/memcpy.c (memcpy): Likewise.
7453         * string/memmove.c (MEMMOVE): Likewise.
7454         * string/memset.c (memset): Likewise.
7455         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7456         * string/strchrnul.c (STRCHRNUL): Likewise.
7457         * string/strerror.c (strerror): Likewise.
7458         * string/strndup.c (__strndup): Likewise.
7459         * string/strverscmp.c (__strverscmp): Likewise.
7460         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7461         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7462         (clnttcp_freeres): Likewise.
7463         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7464         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7465         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7466         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7467         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7468         (xdr_callhdr): Likewise.
7469         * sunrpc/rpcinfo.c (udpping): Likewise.
7470         (tcpping): Likewise.
7471         (pstatus): Likewise.
7472         (pmapdump): Likewise.
7473         (brdcst): Likewise.
7474         (deletereg): Likewise.
7475         (getprognum): Likewise.
7476         (getvers): Likewise.
7477         (get_inet_address): Likewise.
7478         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7479         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7480         (svcudp_stat): Likewise.
7481         (svcudp_recv): Likewise.
7482         (svcudp_reply): Likewise.
7483         (svcudp_getargs): Likewise.
7484         (svcudp_freeargs): Likewise.
7485         (svcudp_destroy): Likewise.
7486         * sunrpc/xdr.c (xdr_bytes): Likewise.
7487         (xdr_netobj): Likewise.
7488         (xdr_string): Likewise.
7489         (xdr_wrapstring): Likewise.
7490         * sunrpc/xdr_float.c (xdr_float): Likewise.
7491         (xdr_double): Likewise.
7492         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7493         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7494         * sysvipc/ftok.c (ftok): Likewise.
7495         * sysvipc/msgctl.c (msgctl): Likewise.
7496         * sysvipc/msgget.c (msgget): Likewise.
7497         * sysvipc/msgrcv.c (msgrcv): Likewise.
7498         * sysvipc/msgsnd.c (msgsnd): Likewise.
7499         * sysvipc/semget.c (semget): Likewise.
7500         * sysvipc/semop.c (semop): Likewise.
7501         * sysvipc/shmat.c (shmat): Likewise.
7502         * sysvipc/shmctl.c (shmctl): Likewise.
7503         * sysvipc/shmdt.c (shmdt): Likewise.
7504         * sysvipc/shmget.c (shmget): Likewise.
7505         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7506         * termios/speed.c (cfgetospeed): Likewise.
7507         (cfgetispeed): Likewise.
7508         (cfsetospeed): Likewise.
7509         (cfsetispeed): Likewise.
7510         * termios/tcflow.c (tcflow): Likewise.
7511         * termios/tcflush.c (tcflush): Likewise.
7512         * termios/tcgetattr.c (__tcgetattr): Likewise.
7513         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7514         * termios/tcgetsid.c (tcgetsid): Likewise.
7515         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7516         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7517         * time/adjtime.c (__adjtime): Likewise.
7518         * time/dysize.c (dysize): Likewise.
7519         * time/ftime.c (ftime): Likewise.
7520         * time/getitimer.c (__getitimer): Likewise.
7521         * time/gettimeofday.c (__gettimeofday): Likewise.
7522         * time/gmtime.c (__gmtime_r): Likewise.
7523         (gmtime): Likewise.
7524         * time/localtime.c (__localtime_r): Likewise.
7525         (localtime): Likewise.
7526         * time/offtime.c (__offtime): Likewise.
7527         * time/settimeofday.c (__settimeofday): Likewise.
7528         * time/stime.c (stime): Likewise.
7529         * time/strftime_l.c (tm_diff): Likewise.
7530         (iso_week_days): Likewise.
7531         * time/strptime.c (strptime): Likewise.
7532         * time/time.c (time): Likewise.
7533         * time/timespec_get.c (timespec_get): Likewise.
7534         * time/tzset.c (tzset_internal): Likewise.
7535         (compute_change): Likewise.
7536         (__tz_compute): Likewise.
7537         * wcsmbs/btowc.c (__btowc): Likewise.
7538         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7539         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7540         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7541         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7542         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7543         * wcsmbs/wcscat.c (__wcscat): Likewise.
7544         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7545         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7546         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7547         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7548         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7549         * wcsmbs/wcslen.c (__wcslen): Likewise.
7550         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7551         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7552         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7553         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7554         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7555         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7556         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7557         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7558         * wcsmbs/wcstok.c (wcstok): Likewise.
7559         * wcsmbs/wctob.c (wctob): Likewise.
7560         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7561         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7562         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7563         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7564         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7565         * wcsmbs/wmemset.c (__wmemset): Likewise.
7566         * wctype/wcfuncs.c (__towlower): Likewise.
7567         (__towupper): Likewise.
7569         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7570         (lll_unlock_elision): Add adapt_count parameter.
7572 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7574         * sysdeps/nptl/configure.ac: Do not give errors based on the
7575         results of top-level configure tests.
7576         * sysdeps/nptl/configure: Regenerated.
7578         * configure.ac (libc_cv_Bgroup): Remove configure test.
7579         * configure: Regenerated.
7580         * config.make.in (have-Bgroup): Remove variable.
7582         * configure.ac (sizeof_long_double): Remove configure test.
7583         * configure: Regenerated.
7584         * config.make.in (sizeof-long-double): Remove variable.
7586         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7587         * configure: Regenerated.
7588         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7589         variable.
7590         (exceptions): Likewise.
7591         * sysdeps/arm/configure: Regenerated.
7592         * config.make.in (exceptions): Remove variable.
7593         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7594         $(exceptions).
7595         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7596         (CFLAGS-vdprintf_chk.c): Likewise.
7597         (CFLAGS-printf_chk.c): Likewise.
7598         (CFLAGS-fprintf_chk.c): Likewise.
7599         (CFLAGS-vprintf_chk.c): Likewise.
7600         (CFLAGS-vfprintf_chk.c): Likewise.
7601         (CFLAGS-gets_chk.c): Likewise.
7602         (CFLAGS-fgets_chk.c): Likewise.
7603         (CFLAGS-fgets_u_chk.c): Likewise.
7604         (CFLAGS-fread_chk.c): Likewise.
7605         (CFLAGS-fread_u_chk.c): Likewise.
7606         (CFLAGS-wprintf_chk.c): Likewise.
7607         (CFLAGS-fwprintf_chk.c): Likewise.
7608         (CFLAGS-vwprintf_chk.c): Likewise.
7609         (CFLAGS-vfwprintf_chk.c): Likewise.
7610         (CFLAGS-fgetws_chk.c): Likewise.
7611         (CFLAGS-fgetws_u_chk.c): Likewise.
7612         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7613         (CFLAGS-fputc.c): Likewise.
7614         (CFLAGS-fputwc.c): Likewise.
7615         (CFLAGS-freopen64.c): Likewise.
7616         (CFLAGS-freopen.c): Likewise.
7617         (CFLAGS-fseek.c): Likewise.
7618         (CFLAGS-fseeko64.c): Likewise.
7619         (CFLAGS-fseeko.c): Likewise.
7620         (CFLAGS-ftello64.c): Likewise.
7621         (CFLAGS-ftello.c): Likewise.
7622         (CFLAGS-fwide.c): Likewise.
7623         (CFLAGS-genops.c): Likewise.
7624         (CFLAGS-getc.c): Likewise.
7625         (CFLAGS-getchar.c): Likewise.
7626         (CFLAGS-getwc.c): Likewise.
7627         (CFLAGS-getwchar.c): Likewise.
7628         (CFLAGS-iofclose.c): Likewise.
7629         (CFLAGS-iofflush.c): Likewise.
7630         (CFLAGS-iofgetpos64.c): Likewise.
7631         (CFLAGS-iofgetpos.c): Likewise.
7632         (CFLAGS-iofgets.c): Likewise.
7633         (CFLAGS-iofgetws.c): Likewise.
7634         (CFLAGS-iofputs.c): Likewise.
7635         (CFLAGS-iofputws.c): Likewise.
7636         (CFLAGS-iofread.c): Likewise.
7637         (CFLAGS-iofsetpos64.c): Likewise.
7638         (CFLAGS-iofsetpos.c): Likewise.
7639         (CFLAGS-ioftell.c): Likewise.
7640         (CFLAGS-iofwrite.c): Likewise.
7641         (CFLAGS-iogetdelim.c): Likewise.
7642         (CFLAGS-iogetline.c): Likewise.
7643         (CFLAGS-iogets.c): Likewise.
7644         (CFLAGS-iogetwline.c): Likewise.
7645         (CFLAGS-ioputs.c): Likewise.
7646         (CFLAGS-ioseekoff.c): Likewise.
7647         (CFLAGS-ioseekpos.c): Likewise.
7648         (CFLAGS-iosetbuffer.c): Likewise.
7649         (CFLAGS-iosetvbuf.c): Likewise.
7650         (CFLAGS-ioungetc.c): Likewise.
7651         (CFLAGS-ioungetwc.c): Likewise.
7652         (CFLAGS-oldfileops.c): Likewise.
7653         (CFLAGS-oldiofclose.c): Likewise.
7654         (CFLAGS-oldiofgetpos64.c): Likewise.
7655         (CFLAGS-oldiofgetpos.c): Likewise.
7656         (CFLAGS-oldiofsetpos64.c): Likewise.
7657         (CFLAGS-oldiofsetpos.c): Likewise.
7658         (CFLAGS-peekc.c): Likewise.
7659         (CFLAGS-putc.c): Likewise.
7660         (CFLAGS-putchar.c): Likewise.
7661         (CFLAGS-putwc.c): Likewise.
7662         (CFLAGS-putwchar.c): Likewise.
7663         (CFLAGS-rewind.c): Likewise.
7664         (CFLAGS-wfileops.c): Likewise.
7665         (CFLAGS-wgenops.c): Likewise.
7666         (CFLAGS-oldiofopen.c): Likewise.
7667         (CFLAGS-iofopen.c): Likewise.
7668         (CFLAGS-iofopen64.c): Likewise.
7669         (CFLAGS-oldtmpfile.c): Likewise.
7670         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7671         (CFLAGS-fprintf.c): Likewise.
7672         (CFLAGS-printf.c): Likewise.
7673         (CFLAGS-vfwprintf.c): Likewise.
7674         (CFLAGS-vfscanf.c): Likewise.
7675         (CFLAGS-vfwscanf.c): Likewise.
7676         (CFLAGS-fscanf.c): Likewise.
7677         (CFLAGS-scanf.c): Likewise.
7678         (CFLAGS-isoc99_vfscanf.c): Likewise.
7679         (CFLAGS-isoc99_vscanf.c): Likewise.
7680         (CFLAGS-isoc99_fscanf.c): Likewise.
7681         (CFLAGS-isoc99_scanf.c): Likewise.
7682         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7683         (CFLAGS-isoc99_fwscanf.c): Likewise.
7684         (CFLAGS-isoc99_vwscanf.c): Likewise.
7685         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7687         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7688         after mkstemp64.
7689         * login/tst-utmp.c (do_prepare): Likewise.
7690         * rt/tst-aio.c (do_prepare): Likewise.
7691         * rt/tst-aio64.c (do_prepare): Likewise.
7693 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7695         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7696         (__lll_lock_elision): Remove adapt_count decrement...
7697         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7698         (__lll_trylock_elision): Likewise.
7699         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7700         (__lll_unlock_elision): ... to here. And utilize
7701         new adapt_count parameter.
7702         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7703         (__lll_unlock_elision): Update to include adapt_count
7704         parameter.
7705         (lll_unlock_elision): Pass pointer to adapt_count
7706         variable.
7708 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7710         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7711         Add elision adapt_count parameter to list of arguments.
7712         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7713         (lll_unlock_elision): Update with new parameter list
7714         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7715         (lll_unlock_elision): Likewise.
7716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7717         (lll_unlock_elision): Likewise.
7719 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7721         [BZ #19122]
7722         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7723         attribute_hidden.
7725         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7726         attribute_hidden.
7727         [IS_IN (rtld)] (__strdup): Likewise.
7728         [IS_IN (rtld)] (__strerror_r): Likewise.
7729         [IS_IN (rtld)] (__strsep_g): Likewise.
7730         [IS_IN (rtld)] (memchr): Likewise.
7731         [IS_IN (rtld)] (memcmp): Likewise.
7732         [IS_IN (rtld)] (memcpy): Likewise.
7733         [IS_IN (rtld)] (memmove): Likewise.
7734         [IS_IN (rtld)] (memset): Likewise.
7735         [IS_IN (rtld)] (rawmemchr): Likewise.
7736         [IS_IN (rtld)] (stpcpy): Likewise.
7737         [IS_IN (rtld)] (strchr): Likewise.
7738         [IS_IN (rtld)] (strcmp): Likewise.
7739         [IS_IN (rtld)] (strlen): Likewise.
7740         [IS_IN (rtld)] (strnlen): Likewise.
7741         [IS_IN (rtld)] (strsep): Likewise.
7743         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7744         attribute_hidden.
7745         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7747         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7748         attribute_hidden.
7749         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7751         * include/setjmp.h (__longjmp): Add attribute_hidden.
7752         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7754         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7755         Add attribute_hidden.
7757         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7758         [IS_IN (rtld)] (__open): Likewise.
7759         [IS_IN (rtld)] (__fcntl): Likewise.
7761         * include/dirent.h (__opendirat): Add attribute_hidden.
7762         (__getdents): Likewise.
7763         (__getdents64): Likewise.
7764         (__alloc_dir): Likewise.
7765         [IS_IN (rtld)] (__closedir): Likewise.
7766         [IS_IN (rtld)] (__fdopendir): Likewise.
7767         [IS_IN (rtld)] (__readdir): Likewise.
7768         [IS_IN (rtld)] (__readdir64): Likewise.
7769         [IS_IN (rtld)] (__rewinddir): Likewise.
7771         * include/dlfcn.h (_dl_catch_error): Moved to ...
7772         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7773         attribute_hidden.
7775         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7776         (_itoa_word): Likewise.
7778         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7779         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7780         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7781         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7782         (_dl_higher_prime_number): Likewise.
7783         (_dl_debug_printf_c): Likewise.
7784         (_dl_signal_cerror): Likewise.
7785         (_dl_receive_error): Likewise.
7786         (_dl_reloc_bad_type): Likewise.
7787         (_dl_resolve_conflicts): Likewise.
7788         (_dl_check_all_versions): Likewise.
7789         (_dl_check_map_versions): Likewise.
7790         (_dl_sort_fini): Likewise.
7791         (_dl_debug_initialize): Likewise.
7792         (_dl_init_paths): Likewise.
7793         (_dl_show_auxv): Likewise.
7794         (_dl_next_ld_env_entry): Likewise.
7795         (_dl_important_hwcaps): Likewise.
7796         (_dl_load_cache_lookup): Likewise.
7797         (_dl_update_slotinfo): Likewise.
7798         (_dl_show_scope): Likewise.
7800         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7801         attribute_hidden.
7802         (_wordcopy_fwd_dest_aligned): Likewise.
7803         (_wordcopy_bwd_aligned): Likewise.
7804         (_wordcopy_bwd_dest_aligned): Likewise.
7806         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7807         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7808         Likewise.
7809         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7810         Likewise.
7811         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7813 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7815         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7816         GCC 5 requirement.
7818 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7820         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7821         test.
7822         * sysdeps/i386/configure: Regenerated.
7823         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7824         code unconditional.
7826         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7827         test.
7828         (libc_cv_asm_popsection_directive): Likewise.
7829         * configure: Regenerated.
7830         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7831         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7832         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7833         (__make_section_unallocated): Make definition unconditional.
7834         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7835         Remove conditional definition.
7836         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7837         (__make_section_unallocated): Likewise.
7839         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7840         * configure: Regenerated.
7841         * config.make.in (static-libgcc): Remove variable.
7842         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7843         $(static-libgcc).
7844         (build-module-helper): Likewise.
7846         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7847         * configure: Regenerated.
7849 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7851         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7852         (struct char_buffer): New type.
7853         (char_buffer_start, char_buffer_size, char_buffer_error)
7854         (char_buffer_rewind, char_buffer_add): New functions.
7855         (ADDW): Remove macro, replaced by the char_buffer_add function.
7856         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7857         of extend_alloca.  Make control flow more explicit.
7859 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7861         [BZ #19137]
7862         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7863         Add -fomit-frame-pointer.
7864         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7866 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7868         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7869         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7870         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7871         only if !__GNUC_PREREQ (5,0).
7872         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7873         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7874         (INTERNAL_SYSCALL_NCS): Likewise.
7875         (LOADREGS_0): New macro for GCC 5.
7876         (ASMARGS_0): Likewise.
7877         (LOADREGS_1): Likewise.
7878         (ASMARGS_1): Likewise.
7879         (LOADREGS_2): Likewise.
7880         (ASMARGS_2): Likewise.
7881         (LOADREGS_3): Likewise.
7882         (ASMARGS_3): Likewise.
7883         (LOADREGS_4): Likewise.
7884         (ASMARGS_4): Likewise.
7885         (LOADREGS_5): Likewise.
7886         (ASMARGS_5): Likewise.
7887         (LOADREGS_6): Likewise.
7888         (ASMARGS_6): Likewise.
7890 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7892         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7893         -fomit-frame-pointer.
7894         (CFLAGS-mmap64.c): Likewise.
7895         (CFLAGS-semtimedop.c): Likewise.
7896         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7897         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7899         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7901 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7903         [BZ #18928]
7904         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7905         _dl_pointer_guard member.
7906         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7907         initializer.
7908         (security_init): Always set up pointer guard.
7909         (process_envvars): Do not process LD_POINTER_GUARD.
7911 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7913         [BZ #19134]
7914         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7915         (.LC2): Likewise.
7916         (.LC3): Likewise.
7917         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7919 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7921         [BZ #19129]
7922         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7923         r0 and r1.
7925 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7927         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7929 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7931         * include/stap-probe.h: Fix macro definition formatting.
7933 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7935         [BZ #19074]
7936         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7937         load and store num_ifs.
7939 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7941         [BZ #18822]
7942         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7943         (__sched_getaffinity_new): Add libc_hidden_proto and
7944         libc_hidden_def.
7946 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7948         [BZ #19007]
7949         * scripts/localplt.awk: Also allow GOT references.
7950         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7951         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7952         with "+ REL R_386_GLOB_DAT".
7953         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7954         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7956 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7958         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7959         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7960         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7963         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7964         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7965         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7966         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7967         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7968         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7969         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7970         Likewise.
7971         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7973 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7975         [BZ #19125]
7976         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7977         <math_private.h> and <stdint.h>.
7978         (__llround): Avoid conversions to and from long long int, and
7979         subtractions, where those might raise spurious exceptions.
7980         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7981         <math_private.h> and <stdint.h>.
7982         (__llroundf): Avoid conversions to and from long long int, and
7983         subtractions, where those might raise spurious exceptions.
7985 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7987         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7988         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7989         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7990         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7991         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7992         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7993         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7994         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7995         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7996         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7997         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7998         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7999         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8000         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8001         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8002         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8003         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8004         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8005         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8006         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8007         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8008         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8009         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8010         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8011         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8012         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8013         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8014         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8015         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8016         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8017         (__xstat64_conv): Likewise.
8018         (__xstat32_conv): Likewise.
8020 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8022         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8023         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8024         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8025         <sysdeps/unix/sysv/linux/sysdep.h>.
8026         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8027         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8028         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8029         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8030         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8031         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8032         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8033         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8034         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8037         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8039         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8040         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8042         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8043         (sysdep-dl-routines): Add sysdep.
8044         [$(subdir) == nptl] (libpthread-routines): Likewise.
8045         [$(subdir) == rt] (librt-routines): Likewise.
8046         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8047         PIC when branching to SYSCALL_ERROR_LABEL.
8048         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8049         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8050         <sysdeps/unix/sysv/linux/sysdep.h>.
8051         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8052         (SYSCALL_ERROR_ERRNO): Removed.
8053         (SYSCALL_ERROR_HANDLER): Changed to empty.
8054         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8055         (__syscall_error): New prototype.
8056         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8057         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8059 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8061         [BZ #19124]
8062         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8063         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8064         _dl_runtime_resolve_avx.
8065         (_dl_runtime_profile_avx512): Make it a hidden alias of
8066         _dl_runtime_profile_avx.
8068 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8070         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8071         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8072         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8073         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8075         [BZ #16422]
8076         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8077         New configure test.
8078         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8079         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8080         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8081         <math_private.h> and <stdint.h>.
8082         (__llrint): Avoid conversions to long long int where those might
8083         raise spurious exceptions.
8084         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8085         <math_private.h> and <stdint.h>.
8086         (__llrintf): Avoid conversions to long long int where those might
8087         raise spurious exceptions.
8089 2015-10-12  Andreas Schwab  <schwab@suse.de>
8091         [BZ #18969]
8092         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8093         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8094         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8095         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8096         $(gen-locales).
8097         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8098         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8099         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8100         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8101         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8102         $(gen-locales).
8103         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8104         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8105         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8106         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8107         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8108         ($(objpfx)tst-ftell-active-handler.out)
8109         ($(objpfx)tst-ftell-append.out)
8110         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8111         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8112         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8113         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8114         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8115         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8116         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8117         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8118         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8119         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8120         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8121         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8122         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8123         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8124         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8125         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8126         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8127         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8128         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8129         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8130         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8131         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8132         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8133         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8134         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8135         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8136         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8137         $(gen-locales).
8138         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8139         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8140         $(gen-locales).
8141         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8142         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8143         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8144         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8145         $(gen-locales).
8146         * libio/tst_wprintf2.c (main): Use explicit locale.
8147         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8149 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8151         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8152         __msg_sig_post.
8153         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8155 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8157         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8158         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8160         * sysdeps/arm/libm-test-ulps: Regenerated.
8162         [BZ #15470]
8163         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8165         [BZ #16399]
8166         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8167         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8168         and <fix-fp-int-convert-overflow.h>.
8169         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8170         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8171         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8172         and <fix-fp-int-convert-overflow.h>.
8173         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8174         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8175         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8176         <fix-fp-int-convert-overflow.h>.
8177         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8178         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8179         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8180         <fix-fp-int-convert-overflow.h>.
8181         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8182         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8183         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8184         and <fix-fp-int-convert-overflow.h>.
8185         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8186         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8187         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8188         <limits.h> and <fix-fp-int-convert-overflow.h>.
8189         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8190         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8191         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8192         and <fix-fp-int-convert-overflow.h>.
8193         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8194         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8195         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8196         and <fix-fp-int-convert-overflow.h>.
8197         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8198         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8199         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8201 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8203         [BZ #18589]
8204         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8205         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8206         $(gen-locales).
8208 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8209             Phil Blundell <pb@pbcl.net>
8211         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8212         * nptl/tst-cancel26.c: New file.
8213         * nptl/tst-cancel27.c: Likewise.
8215 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8217         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8218         __ILP32__ isn't defined.
8219         (lrint): Likewise.
8220         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8221         (lrintf): Likewise.
8222         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8223         (lrintl): Likewise.
8224         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8225         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8226         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8228 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8230         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8233         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8234         file.
8235         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8236         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8238 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8240         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8241         configure test.
8242         * sysdeps/i386/configure: Regenerated.
8243         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8244         configure test.
8245         * sysdeps/x86_64/configure: Regenerated.
8246         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8247         Make code unconditional.
8249         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8250         test.
8251         * sysdeps/i386/configure: Regenerated.
8252         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8253         test.
8254         * sysdeps/x86_64/configure: Regenerated.
8255         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8256         Make code unconditional.
8257         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8258         Likewise.
8259         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8260         Likewise.
8261         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8262         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8263         code unconditional.
8264         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8265         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8266         code unconditional.
8267         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8268         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8269         code unconditional.
8270         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8271         code unconditional.
8272         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8273         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8274         code unconditional.
8275         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8276         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8277         code unconditional.
8278         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8279         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8280         code unconditional.
8281         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8282         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8283         code unconditional.
8284         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8285         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8287         [BZ #19095]
8288         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8289         mantissa to long int before shifting left.
8291 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8293         [BZ #19094]
8294         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8295         <limits.h>.
8296         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8297         when result overflows but exception would not result from cast.
8298         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8299         <limits.h>.
8300         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8301         when result overflows but exception would not result from cast.
8302         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8303         <limits.h>.
8304         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8305         when result overflows but exception would not result from cast.
8306         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8307         <limits.h>.
8308         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8309         when result overflows but exception would not result from cast.
8310         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8311         <limits.h>.
8312         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8313         when result overflows but exception would not result from cast.
8314         * math/libm-test.inc (lrint_test_data): Add more tests.
8315         (llrint_test_data): Likewise.
8317 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8319         [BZ #18872]
8320         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8321         Move out from under [$(run-built-tests) = yes] conditional.
8322         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8323         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8325 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8327         [BZ #18589]
8328         * string/Makefile (tests): Add bug-strcoll2.
8329         (LOCALES): Add cs_CZ.UTF-8.
8330         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8332         [BZ #18589]
8333         * string/bug-strcoll2.c: New file.
8334         * locale/categories.def: Revert commit
8335         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8336         * locale/langinfo.h: Likewise.
8337         * locale/localeinfo.h: Likewise.
8338         * locale/C-collate.c: Likewise.
8339         * locale/programs/ld-collate.c (collate_output): Likewise.
8340         * string/strcoll_l.c (STRDIFF): Likewise.
8341         (STRCOLL): Likewise.
8342         * wcsmbs/wcscoll_l.c: Likewise.
8344 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8346         * math/libm-test.inc (lround_test_data): Do not expect the absence
8347         of "inexact" for some tests with non-integer arguments.
8348         (llround_test_data): Likewise.
8350         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8351         test.
8352         (libc_cv_cc_sse2avx): Likewise.
8353         * sysdeps/i386/configure: Regenerated.
8354         * sysdeps/i386/i686/multiarch/Makefile
8355         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8356         [$(subdir) = math].
8357         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8358         code unconditional.
8359         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8360         Likewise.
8361         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8362         Likewise.
8363         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8364         Likewise.
8365         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8366         test.
8367         (libc_cv_cc_sse2avx): Likewise.
8368         * sysdeps/x86_64/configure: Regenerated.
8369         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8370         unconditional.
8371         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8372         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8373         unconditional.
8374         (_dl_runtime_profile)
8375         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8376         conditional code.
8377         * sysdeps/x86_64/fpu/multiarch/Makefile
8378         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8379         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8380         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8381         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8382         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8383         * sysdeps/x86_64/fpu/multiarch/e_log.c
8384         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8385         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8386         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8387         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8388         Likewise.
8389         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8390         Likewise.
8391         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8392         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8393         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8394         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8395         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8396         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8397         (HAVE_SSE2AVX_SUPPORT): Likewise.
8399 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8401         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8402         instead of #pragma optimize.
8404 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8406         [BZ #17195]
8407         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8408         as is similarly done in systrim and _int_free already.
8410 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8412         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8414 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8416         [BZ #19088]
8417         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8418         <limits.h>.
8419         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8420         overflows but exception would not result from cast.
8421         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8422         and <limits.h>.
8423         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8424         overflows but exception would not result from cast.
8425         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8426         <limits.h>.
8427         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8428         overflows but exception would not result from cast.
8429         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8430         <limits.h>.
8431         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8432         overflows but exception would not result from cast.
8433         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8434         <limits.h>.
8435         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8436         overflows but exception would not result from cast.
8437         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8438         <limits.h>.
8439         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8440         overflows but exception would not result from cast.
8441         * math/libm-test.inc (lround_test_data): Add more tests.
8442         (llround_test_data): Likewise.
8444 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8446         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8447         (CFLAGS-ialloc.c): Ditto.
8448         (CFLAGS-scheck.c): Ditto.
8450 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8452         [BZ #19086]
8453         * manual/filesys.texi (Storage Allocation): Fix argument order for
8454         posix_fallocate64.
8456 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8458         [BZ #19085]
8459         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8460         exponent below 48 inside case for non-overflowing exponent.
8461         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8463 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8465         * iconvdata/cp737.h (from_idx): Add const.
8466         * iconvdata/cp775.h (from_idx): Likewise.
8468 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8470         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8471         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8472         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8474         [BZ #19079]
8475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8476         file, conditioned on [!_LP64].
8477         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8478         [!_LP64] (__lround): Do not define as function or alias.
8479         [!_LP64] (lround): Likewise.
8480         [!_LP64] (__lroundl): Likewise.
8481         [!_LP64] (lroundl): Likewise.
8482         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8483         macro.
8484         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8485         Likewise.
8487 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8489         * math/libm-test.inc (lrint_test_data): Add more tests.
8490         (llrint_test_data): Likewise.
8491         (lround_test_data): Likewise.
8492         (llround_test_data): Likewise.
8494         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8495         (llrint_test_data): Add tests used for lrint.
8497         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8498         test.
8499         * sysdeps/i386/configure: Regenerated.
8500         * sysdeps/i386/i686/multiarch/Makefile
8501         [$(config-cflags-sse4) = yes]: Make code unconditional.
8502         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8503         Likewise.
8504         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8505         Likewise.
8506         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8507         test.
8508         * sysdeps/x86_64/configure: Regenerated.
8509         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8510         Make code unconditional.
8511         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8512         Likewise.
8513         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8514         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8516         * scripts/rpm2dynsym.sh: Remove file.
8518 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8520         * configure.ac (libc_cv_cxx_thread_local): Define.
8521         * configure: Regenerate.
8522         * config.make.in (have-cxx-thread_local): Define.
8523         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8524         (LDLIBS-tst-thread_local1): Define.
8525         (tests): Add tst-thread_local1.
8526         [have-cxx-thread_local != yes] (tests-unsupported): Add
8527         tst-thread_local1.
8528         * nptl/tst-thread_local1.cc: New file.
8530 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8532         [BZ #19078]
8533         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8534         (u_thres): Likewise.
8535         (__expl): Determine whether to call __kernel_standard_l based on
8536         value of result, not argument.
8538         * math/libm-test.inc (scalb_test_data): Add more expectations for
8539         the "inexact" exception.
8541         [BZ #19077]
8542         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8543         0.0L for argument 1.0L.
8545         [BZ #19076]
8546         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8547         constant 0.0L when computing infinite result.
8549 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8551         [BZ #10432]
8552         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8553         malloc_usable_size.
8555 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8557         [BZ #19018]
8558         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8559         Mangle function pointer before storing it.
8560         (__call_tls_dtors): Demangle function pointer before calling it.
8562 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8564         [BZ #19012]
8565         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8566         Clean up on failure.
8568 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8570         [BZ #19071]
8571         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8572         long int variable to store possibly incremented high part of
8573         mantissa.
8574         * math/libm-test.inc (lround_test_data): Add tests used for
8575         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8576         for tests requiring 64-bit long.  Do not condition tests on
8577         [TEST_FLOAT] unnecessarily.
8578         (llround_test_data): Add tests used for lround.  Add another
8579         expectation for the "inexact" exception.  Do not condition tests
8580         on [TEST_FLOAT] unnecessarily.
8582         [BZ #887]
8583         [BZ #19049]
8584         [BZ #19050]
8585         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8586         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8587         <fix-int-fp-convert-zero.h>.
8588         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8589         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8590         <fix-int-fp-convert-zero.h>.
8591         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8592         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8593         <fix-int-fp-convert-zero.h>.
8594         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8595         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8596         <fix-int-fp-convert-zero.h>.
8597         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8598         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8599         <fix-int-fp-convert-zero.h>.
8600         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8601         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8602         <fix-int-fp-convert-zero.h>.
8603         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8604         * sysdeps/ieee754/flt-32/s_erff.c: Include
8605         <fix-int-fp-convert-zero.h>.
8606         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8607         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8608         <fix-int-fp-convert-zero.h>.
8609         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8610         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8611         <fix-int-fp-convert-zero.h>.
8612         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8613         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8614         <fix-int-fp-convert-zero.h>.
8615         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8616         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8617         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8618         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8619         file.
8620         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8622 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8626 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8628         [BZ #19059]
8629         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8630         overflowing computation.
8631         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8632         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8633         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8634         Likewise.
8635         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8636         Likewise.
8637         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8638         Likewise.
8639         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8640         Likewise.
8641         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8642         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8643         Likewise.
8644         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8645         Likewise.
8646         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8648         * nss/rewrite_field.c (__nss_rewrite_field): Use
8649         internal_function.
8650         * nss/valid_field.c (__nss_valid_field): Likewise.
8651         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8653 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8655         [BZ #18724]
8656         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8657         (__nss_invalid_field_characters, __nss_valid_field)
8658         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8659         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8660         tst-field.c: New file.
8661         * nss/Makefile (routines): Add valid_field, rewrite_field.
8662         (tests-static): Define unconditionally.
8663         (tests): Include tests-static.
8664         [build-static-nss] (tests-static): Use append.
8665         [build-static-nss] (tests): Remove modification.
8666         * nss/getent.c (print_group): Call putgrent.  Report error.
8667         (print_gshadow): Call putsgent.  Report error.
8668         (print_passwd): Call putpwent.  Report error.
8669         (print_shadow): Call putspent.  Report error.
8670         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8671         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8672         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8673         name, password, directory, shell fields for valid syntax.  Rewrite
8674         GECOS field to match syntax.
8675         * pwd/Makefile (tests): Add tst-putpwent.
8676         * pwd/tst-putpwent.c: New file.
8677         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8678         Check grName, grpasswd, gr_mem fields for valid syntax.
8679         Change loop variable i to size_t.
8680         * grp/Makefile (tests): Add tst-putgrent.
8681         * grp/tst-putgrent.c: New file.
8682         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8683         valid syntax.
8684         * shadow/Makefile (tests): Add tst-putspent.
8685         * shadow/tst-putspent.c: New file.
8686         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8687         sg_mem fields for valid syntax.
8688         * gshadow/Makefile (tests): Add tst-putsgent.
8689         * gshadow/tst-putsgent.c: New file.
8691 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8693         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8694         assembly instructions.
8696 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8698         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8699         prefix from operands.
8701 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8703         [BZ #16347]
8704         [BZ #19046]
8705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8706         <libc-internal.h>.
8707         (MAXLGM): Do not use diagnostic control macros.
8708         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8709         threshold for ldbl-128ibm.
8710         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8711         instead of multiplying by log then subtracting.
8712         * math/auto-libm-test-in: Add more tests of lgamma.
8713         * math/auto-libm-test-out: Regenerated.
8715         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8716         (TYPE_HEX_DIG): Likewise.
8717         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8718         precisions when printing floating-point numbers.
8719         (check_float_internal): Likewise.
8721 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8723         [BZ #16620]
8724         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8725         of log (10) rounded downward to 48 bits.
8726         (log10_low): Use corresponding low part of log (10).
8728         [BZ #19032]
8729         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8730         compute result as (x - x) / (x - x) not as 0 / 0.
8731         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8732         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8734         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8735         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8736         and expm1.
8737         * math/auto-libm-test-out: Regenerated.
8738         * math/libm-test.inc (acos_test_data): Add more tests.
8739         (asin_test_data): Likewise.
8740         (asinh_test_data): Likewise.
8741         (atan_test_data): Likewise.
8742         (atanh_test_data): Likewise.
8743         (atan2_test_data): Likewise.
8744         (cbrt_test_data): Likewise.
8745         (ceil_test_data): Likewise.
8746         (copysign_test_data): Likewise.
8747         (cos_test_data): Likewise.
8748         (cosh_test_data): Likewise.
8749         (erf_test_data): Likewise.
8750         (erfc_test_data): Likewise.
8751         (exp_test_data): Likewise.
8752         (exp10_test_data): Likewise.
8753         (exp2_test_data): Likewise.
8754         (expm1_test_data): Likewise.
8755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8757 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8759         [BZ #19006]
8760         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8761         to ...
8762         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8763         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8764         to ...
8765         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8766         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8767         to ...
8768         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8769         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8770         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8771         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8772         to ...
8773         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8774         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8775         Moved to ...
8776         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8777         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8778         Moved to ...
8779         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8780         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8781         to ...
8782         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8783         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8784         Moved to ...
8785         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8786         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8787         to ...
8788         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8789         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8790         Removed.
8791         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8792         Likewise.
8793         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8794         Likewise.
8795         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8796         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8797         Likewise.
8798         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8801         Likewise.
8802         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8803         Likewise.
8804         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8805         Likewise.
8806         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8807         Likewise.
8808         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8809         Likewise.
8810         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8811         Likewise.
8812         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8813         Likewise.
8814         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8815         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8816         Likewise.
8817         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8818         Likewise.
8819         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8820         Likewise.
8821         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8822         Likewise.
8823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8824         Likewise.
8825         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8826         Replace ../i486/pthread_cond_timedwait.S with
8827         ../pthread_cond_timedwait.S.
8829 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8831         * math/libm-test.inc (acos_test_data): Refine expectations for
8832         errno and "inexact" exceptions.
8833         (acosh_test_data): Likewise.
8834         (asin_test_data): Likewise.
8835         (asinh_test_data): Likewise.
8836         (atan_test_data): Likewise.
8837         (atanh_test_data): Likewise.
8838         (atan2_test_data): Likewise.
8839         (cbrt_test_data): Likewise.
8840         (ceil_test_data): Likewise.
8841         (copysign_test_data): Likewise.
8842         (cosh_test_data): Likewise.
8843         (erf_test_data): Likewise.
8844         (erfc_test_data): Likewise.
8845         (exp_test_data): Likewise.
8846         (exp10_test_data): Likewise.
8847         (exp2_test_data): Likewise.
8848         (expm1_test_data): Likewise.
8849         (fabs_test_data): Likewise.
8850         (floor_test_data): Likewise.
8851         (fma_test_data): Likewise.
8852         (fmax_test_data): Likewise.
8853         (fmin_test_data): Likewise.
8854         (fmod_test_data): Likewise.
8855         (fpclassify_test_data): Likewise.
8856         (frexp_test_data): Likewise.
8857         (hypot_test_data): Likewise.
8858         (ilogb_test_data): Likewise.
8859         (isgreater_test_data): Likewise.
8860         (isgreaterequal_test_data): Likewise.
8861         (isinf_test_data): Likewise.
8862         (isless_test_data): Likewise.
8863         (islessequal_test_data): Likewise.
8864         (islessgreater_test_data): Likewise.
8865         (isnan_test_data): Likewise.
8866         (isnormal_test_data): Likewise.
8867         (issignaling_test_data): Likewise.
8868         (isunordered_test_data): Likewise.
8869         (j0_test_data): Likewise.
8870         (j1_test_data): Likewise.
8871         (jn_test_data): Likewise.
8872         (lgamma_test_data): Likewise.
8873         (lrint_test_data): Likewise.
8874         (llrint_test_data): Likewise.
8875         (log_test_data): Likewise.
8876         (log10_test_data): Likewise.
8877         (log1p_test_data): Likewise.
8878         (log2_test_data): Likewise.
8879         (logb_test_data): Likewise.
8880         (lround_test_data): Likewise.
8881         (llround_test_data): Likewise.
8882         (modf_test_data): Likewise.
8883         (nearbyint_test_data): Likewise.
8884         (nextafter_test_data): Likewise.
8885         (nexttoward_test_data): Likewise.
8886         (pow_test_data): Likewise.
8887         (remainder_test_data): Likewise.
8888         (remquo_test_data): Likewise.
8889         (rint_test_data): Likewise.
8890         (round_test_data): Likewise.
8891         (signbit_test_data): Likewise.
8892         (sinh_test_data): Likewise.
8893         (sqrt_test_data): Likewise.
8894         (tanh_test_data): Likewise.
8895         (tgamma_test_data): Likewise.
8896         (trunc_test_data): Likewise.
8897         (y0_test_data): Likewise.
8898         (y1_test_data): Likewise.
8899         (yn_test_data): Likewise.
8900         (significand_test_data): Likewise.
8902 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8904         * manual/filesys.texi (Storage Allocation): Document that
8905         posix_fallocate emulation fails when fd is open with O_WRONLY.
8907 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8909         [BZ #19016]
8910         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8911         allow more cases with X^2 + Y^2 >= 0.5.
8912         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8913         normal element in sum instead of special-casing based on values of
8914         arguments.
8915         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8916         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8917         -1 as normal element in sum instead of special-casing based on
8918         values of arguments.
8919         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8920         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8921         (__x2y2m1): Update comment.
8922         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8923         as normal element in sum instead of special-casing based on values
8924         of arguments.
8925         * math/s_clog.c (__clog): Handle more cases using log1p without
8926         hypot.
8927         * math/s_clog10.c (__clog10): Likewise.
8928         * math/s_clog10f.c (__clog10f): Likewise.
8929         * math/s_clog10l.c (__clog10l): Likewise.
8930         * math/s_clogf.c (__clogf): Likewise.
8931         * math/s_clogl.c (__clogl): Likewise.
8932         * math/auto-libm-test-in: Add more tests of clog and clog10.
8933         * math/auto-libm-test-out: Regenerated.
8934         * sysdeps/i386/fpu/libm-test-ulps: Update.
8935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8937 2015-09-28  Martin Sebor  <msebor@redhat.com>
8939         [BZ #18969]
8940         * string/Makefile (LOCALES): Define.
8941         (gen-locales.mk): Include.
8942         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8943         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8944         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8945         on setlocale failure.
8947 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8949         [BZ #18985]
8950         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8951         (__strftime_internal): Likewise.
8952         * time/tst-strftime.c (do_bz18985): New test.
8953         (do_test): Call it.
8955 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8957         [BZ #18956]
8958         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8959         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8960         extracting high part.
8961         * math/auto-libm-test-in: Add another test of pow.
8962         * math/auto-libm-test-out: Regenerated.
8963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8965 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8967         [BZ #18825]
8968         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8969         New macro.
8970         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8971         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8972         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8973         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8974         DBL_NARROW_EVAL, reloading the PIC register as needed.
8975         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8976         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8977         FLT_NARROW_EVAL.  Use separate return path for case when first
8978         argument is NaN.
8979         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8980         DEFINE_LDBL_MIN.
8981         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8982         PIC register.
8983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8984         math_check_force_underflow_nonneg.
8985         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8986         underflow for subnormal result.
8987         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8989         math_check_force_underflow_nonneg.
8990         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8991         math_check_force_underflow.
8992         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8993         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8994         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8995         DEFINE_LDBL_MIN.
8996         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8997         * math/auto-libm-test-in: Add more tests of pow.
8998         * math/auto-libm-test-out: Regenerated.
9000 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9002         * nss/bug17079.c (init_test_items): Add diagnostic for
9003         inconsistent entries.
9004         (test_buffer_size): Skip inconsistent entries.
9006 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9008         [BZ #13304]
9009         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9010         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9011         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9013         [BZ #13304]
9014         * sysdeps/microblaze/s_fma.c: New file.
9015         * sysdeps/microblaze/s_fmaf.c: Likewise.
9016         * sysdeps/microblaze/sfp-machine.h: Likewise.
9018 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9020         [BZ #17250]
9021         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9022         member.
9024 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9026         [BZ #18803]
9027         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9028         (MO): New macro.
9029         (__ieee754_hypot) [PIC]: Load PIC register.
9030         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9031         DBL_NARROW_EVAL.
9032         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9033         math_check_force_underflow_nonneg in case where result might be
9034         tiny.
9035         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9036         Likewise.
9037         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9038         Likewise.
9039         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9040         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9041         * math/auto-libm-test-in: Add more tests of hypot.
9042         * math/auto-libm-test-out: Regenerated.
9044 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9046         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9048 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9050         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9051         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9052         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9053         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9054         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9055         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9056         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9058         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9059         LOAD_PIC_REG.
9061         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9062         (FLT_CHECK_FORCE_UFLOW): Likewise.
9063         (DBL_CHECK_FORCE_UFLOW): Likewise.
9064         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9065         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9066         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9067         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9068         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9069         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9070         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9071         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9072         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9073         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9074         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9075         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9076         (flt_min): Replace with use of DEFINE_FLT_MIN.
9077         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9078         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9079         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9080         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9081         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9082         (flt_min): Replace with use of DEFINE_FLT_MIN.
9083         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9084         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9085         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9086         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9087         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9088         (flt_min): Replace with use of DEFINE_FLT_MIN.
9089         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9090         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9091         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9092         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9093         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9094         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9095         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9096         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9097         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9098         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9099         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9100         (flt_min): Replace with use of DEFINE_FLT_MIN.
9101         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9102         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9103         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9104         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9105         main computation.
9106         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9107         (flt_min): Replace with use of DEFINE_FLT_MIN.
9108         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9109         main computation.
9110         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9111         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9112         (MO): New macro.
9113         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9114         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9115         (flt_min): Replace with use of DEFINE_FLT_MIN.
9116         (MO): New macro.
9117         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9118         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9119         (__log1pl): Use MO.
9121         [BZ #19003]
9122         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9123         $(config-cflags-nofma).
9125 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9127         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9129 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9131         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9132         (TWO127): Likewise.
9134         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9135         (min_of_type): Likewise.
9136         (math_check_force_underflow): Likewise.
9137         (math_check_force_underflow_nonneg): Likewise.
9138         (math_check_force_underflow_complex): Likewise.
9139         * math/e_exp2l.c (__ieee754_exp2l): Use
9140         math_check_force_underflow_nonneg.
9141         * math/k_casinh.c (__kernel_casinh): Likewise.
9142         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9143         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9144         * math/s_catan.c (__catan): Use
9145         math_check_force_underflow_complex.
9146         * math/s_catanf.c (__catanf): Likewise.
9147         * math/s_catanh.c (__catanh): Likewise.
9148         * math/s_catanhf.c (__catanhf): Likewise.
9149         * math/s_catanhl.c (__catanhl): Likewise.
9150         * math/s_catanl.c (__catanl): Likewise.
9151         * math/s_ccosh.c (__ccosh): Likewise.
9152         * math/s_ccoshf.c (__ccoshf): Likewise.
9153         * math/s_ccoshl.c (__ccoshl): Likewise.
9154         * math/s_cexp.c (__cexp): Likewise.
9155         * math/s_cexpf.c (__cexpf): Likewise.
9156         * math/s_cexpl.c (__cexpl): Likewise.
9157         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9158         * math/s_clog10.c (__clog10): Likewise.
9159         * math/s_clog10f.c (__clog10f): Likewise.
9160         * math/s_clog10l.c (__clog10l): Likewise.
9161         * math/s_clogf.c (__clogf): Likewise.
9162         * math/s_clogl.c (__clogl): Likewise.
9163         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9164         * math/s_csinf.c (__csinf): Likewise.
9165         * math/s_csinh.c (__csinh): Likewise.
9166         * math/s_csinhf.c (__csinhf): Likewise.
9167         * math/s_csinhl.c (__csinhl): Likewise.
9168         * math/s_csinl.c (__csinl): Likewise.
9169         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9170         * math/s_csqrtf.c (__csqrtf): Likewise.
9171         * math/s_csqrtl.c (__csqrtl): Likewise.
9172         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9173         * math/s_ctanf.c (__ctanf): Likewise.
9174         * math/s_ctanh.c (__ctanh): Likewise.
9175         * math/s_ctanhf.c (__ctanhf): Likewise.
9176         * math/s_ctanhl.c (__ctanhl): Likewise.
9177         * math/s_ctanl.c (__ctanl): Likewise.
9178         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9179         instead of volatile.
9180         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9181         math_check_force_underflow.
9182         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9183         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9184         volatile when forcing underflow.
9185         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9186         math_check_force_underflow_nonneg.
9187         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9188         Likewise.
9189         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9190         math_check_force_underflow.
9191         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9192         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9193         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9194         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9195         math_check_force_underflow_nonneg.
9196         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9197         math_check_force_underflow.
9198         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9199         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9200         instead of volatile.
9201         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9202         math_check_force_underflow.
9203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9204         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9205         math_check_force_underflow_nonneg.
9206         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9207         math_check_force_underflow.
9208         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9209         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9210         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9211         math_check_force_underflow_nonneg.
9212         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9213         Likewise.
9214         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9215         math_check_force_underflow.
9216         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9217         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9218         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9219         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9220         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9221         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9222         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9223         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9224         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9225         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9226         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9227         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9228         Likewise.
9229         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9230         math_check_force_underflow_nonneg.
9231         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9232         Likewise.
9233         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9234         math_check_force_underflow.
9235         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9236         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9237         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9238         Likewise.
9239         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9240         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9241         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9242         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9243         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9246         instead of volatile.
9247         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9248         math_check_force_underflow.
9249         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9250         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9251         math_check_force_underflow.
9252         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9253         Likewise.
9254         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9255         Use math_check_force_underflow_nonneg.
9256         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9257         math_check_force_underflow.
9258         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9259         Likewise.
9260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9261         Likewise.
9262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9267         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9268         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9269         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9270         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9271         math_check_force_underflow_nonneg.
9272         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9273         math_check_force_underflow.
9274         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9275         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9276         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9277         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9278         math_check_force_underflow_nonneg.
9279         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9280         math_check_force_underflow.
9281         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9283         instead of volatile.
9284         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9285         math_check_force_underflow.
9287         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9288         * stdlib/strtod_l.c: Include <math_private.h>.
9289         (overflow_value): Use math_narrow_eval.
9290         (underflow_value): Likewise.
9291         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9292         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9293         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9294         (__ieee754_gamma_r): Likewise.
9295         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9296         Likewise.
9297         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9298         Likewise.
9299         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9300         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9301         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9302         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9303         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9304         (__ieee754_gammaf_r): Likewise.
9305         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9306         Likewise.
9307         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9308         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9309         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9310         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9311         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9312         volatile.
9313         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9314         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9315         math_narrow_eval.
9316         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9317         Likewise.
9318         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9319         Likewise.
9320         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9321         Likewise.
9322         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9323         volatile.
9324         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9325         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9326         math_narrow_eval.
9327         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9328         Likewise.
9329         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9330         Likewise.
9332 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9334         * nptl/Versions: Remove ignored symbols.
9336 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9338         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9339         * nss/Makefile (tests): Update.
9341 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9343         * nss/bug18287.c: New file.
9344         * nss/Makefile (tests): Add bug18287.
9346 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9348         * mach/Versions (__mach_host_self_): Add symbol.
9350 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9352         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9353         vm_page_size.
9355 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9357         Really fix sysdeps/i386/fpu/s_scalbn.S build
9359         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9360         (libc: GLIBC_2_22): Remove unused version set.
9362 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9364         * config.make.in (enable-timezone-tools): New variable.
9365         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9366         (enable_timezone_tools): Export to generated files.
9367         * configure: Regenerate.
9368         * INSTALL: Regenerate.
9369         * manual/install.texi (--disable-timezone-tools): Document new flag.
9370         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9371         ifeq ($(enable-timezone-tools),yes) check.
9373 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9375         * timezone/Makefile: Revert previous change.
9377         [BZ #18980]
9378         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9379         (DEFINE_DBL_MIN): Likewise.
9380         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9381         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9382         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9383         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9384         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9385         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9386         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9387         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9388         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9389         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9390         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9391         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9392         (flt_min): Replace with use of DEFINE_FLT_MIN.
9393         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9394         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9395         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9396         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9397         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9398         (flt_min): Replace with use of DEFINE_FLT_MIN.
9399         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9400         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9401         (flt_min): Replace with use of DEFINE_FLT_MIN.
9402         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9403         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9404         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9405         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9406         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9407         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9408         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9409         (__ieee754_pow): Use DBL_NARROW_EVAL.
9410         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9411         (__ieee754_powf): Use FLT_NARROW_EVAL.
9412         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9413         (__ieee754_expf_sse2): Convert double-precision result to single
9414         precision.
9415         * sysdeps/i386/fpu/libm-test-ulps: Update.
9417 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9419         * timezone/Makefile: Ignore unused variable errors due to private.h
9420         (time_t_min) and (time_t_max).
9421         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9422         Likewise.
9424 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9426         [BZ #18981]
9427         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9428         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9429         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9430         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9431         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9432         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9433         (__scalbn): Use DBL_NARROW_EVAL.
9434         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9435         (__scalbnf): Use FLT_NARROW_EVAL.
9437 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9439         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9440         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9441         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9442         * stdio-common/printf_fp.c (___printf_fp):
9443         Use signbit to get the sign. Use isinf macro to allow inlining.
9444         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9445         * stdio-common/printf_size.c (__printf_size): Likewise.
9447 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9449         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9451 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #18980]
9454         * sysdeps/generic/math_private.h: Include <float.h>.
9455         (math_narrow_eval): New macro.
9456         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9457         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9458         math_narrow_eval on overflowing return value.
9459         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9460         Likewise.
9461         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9462         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9463         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9464         Likewise.
9465         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9467 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9469         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9470         * math/Makefile: Remove isinf_ns.c.
9471         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9472         * math/multc3.c (__multc3): Likewise.
9473         * math/s_casin.c (__casin): Likewise.
9474         * math/s_casinf.c (__casinf): Likewise.
9475         * math/s_casinl.c (__casinl): Likewise.
9476         * math/s_cproj.c (__cproj): Likewise.
9477         * math/s_cprojf.c (__cprojf): Likewise.
9478         * math/s_cprojl.c (__cprofl): Likewise.
9479         * math/s_ctan.c (__ctan): Likewise.
9480         * math/s_ctanf.c (__ctanf): Likewise.
9481         * math/s_ctanh.c (__ctanh): Likewise.
9482         * math/s_ctanhf.c (__ctanhf): Likewise.
9483         * math/s_ctanhl.c (__ctanhl): Likewise.
9484         * math/s_ctanl.c (__ctanl): Likewise.
9485         * math/w_fmod.c (__fmod): Likewise.
9486         * math/w_fmodf.c (__fmodf): Likewise.
9487         * math/w_fmodl.c (_fmodl): Likewise.
9488         * math/w_remainder.c (__remainder): Likewise.
9489         * math/w_remainderf.c (__remainderf): Likewise.
9490         * math/w_remainderl.c (__remainderl): Likewise.
9491         * math/w_scalb.c (__scalb): Likewise.
9492         * math/w_scalbf.c (__scalbf): Likewise.
9493         * math/w_scalbl.c (__scalbl): Likewise.
9494         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9495         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9496         with isinf.
9497         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9498         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9499         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9500         __isinf_nsf with isinf.
9501         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9502         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9503         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9504         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9505         with isinf.
9506         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9507         __isinf_nsl with isinf.
9508         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9509         with isinf.
9510         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9512         __isinf_nsl with isinf.
9513         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9514         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9515         with isinf.
9517 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9519         * resolv/base64.c (rcsid): Remove unused static.
9520         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9521         static.  (tqpi1): Likewise.
9522         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9523         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9524         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9525         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9527         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9528         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9529         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9530         Likewise.
9532 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9534         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9535         <nptl/pthreadP.h>.
9536         (_longjmp_unwind): Use __libc_ptf_call.
9537         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9539 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9541         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9542         * sysdeps/arm/__longjmp.S: Likewise.
9544 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9546         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9547         Use __builtin_signbit.
9548         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9549         Use __builtin_signbitf.
9550         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9551         Use __builtin_signbitl.
9552         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9553         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9555 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9557         [BZ #15367]
9558         [BZ #17441]
9560         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9561         * math/math.h (fpclassify): Use __builtin_fpclassify when
9562         available.  (signbit): Use __builtin_signbit(f/l).
9563         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9564         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9565         (isinf): Use __builtin_isinf_sign.
9567 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9569         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9570         * benchtests/bench-math-inlines.c: New benchmark.
9571         * benchtests/bench-util.h: New file.
9572         * benchtests/bench-util.c: New file.
9573         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9575 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9577         * elf/tst-dlmopen1.c: Define TEST_SO.
9578         (do_test): Use TEST_SO.
9580         * elf/dl-load.c: Include libc-internal.h.
9581         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9583 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9585         [BZ #17887]
9586         * time/strptime_l.c (__strptime_internal): Make %z accept
9587         [+-]HH:MM time zones.
9589 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9591         [BZ #17886]
9592         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9593         valid time zone.
9595 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9597         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9598         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9599         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9600         (__ASSUME_FDATASYNC): Delete.
9602 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9604         * conform/linknamespace.pl: Require weak undefined symbols to be
9605         in the standard namespace.
9606         (%strong_syms): Rename to %seen_syms.
9607         (%strong_seen): Rename to %seen_where.
9609 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9611         [BZ #18970]
9612         * misc/error.c (error): Replace pthread_setcancelstate with
9613         __pthread_setcancelstate.
9614         (error_at_line): Likewise.
9615         * posix/wordexp.c (parse_comm): Likewise.
9616         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9617         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9618         (__pthread_setcancelstate): This.
9619         (pthread_setcancelstate): Add an alias.
9620         * nptl/nptl-init.c (pthread_functions): Replace
9621         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9622         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9623         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9624         hidden_proto.
9625         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9626         it with hidden_def.
9627         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9628         (pthread_setcancelstate): Renamed to ...
9629         (__pthread_setcancelstate): This.
9630         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9631         __libc_ptf_call with __pthread_setcancelstate.
9633 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9634             Andreas Schwab  <schwab@suse.de>
9636         [BZ #17118]
9637         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9638         result when imaginary part of argument is infinite using sine and
9639         cosine.
9640         * math/s_ctanf.c (__ctanf): Likewise.
9641         * math/s_ctanl.c (__ctanl): Likewise.
9642         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9643         of result when real part of argument is infinite using sine and
9644         cosine.
9645         * math/s_ctanhf.c (__ctanhf): Likewise.
9646         * math/s_ctanhl.c (__ctanhl): Likewise.
9647         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9648         (ctanh_test_data): Add more tests of ctanh.
9650 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9652         [BZ #15384]
9653         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9654         bit-mask as in subtraction.
9655         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9656         Likewise.
9657         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9658         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9659         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9661         [BZ #18951]
9662         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9663         underflow exception for small results.
9664         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9665         Likewise.
9666         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9667         Likewise.
9668         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9669         Likewise.
9670         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9671         Likewise.
9672         * math/auto-libm-test-in: Add more tests of tgamma.
9673         * math/auto-libm-test-out: Regenerated.
9675 2015-09-17  Andreas Schwab  <schwab@suse.de>
9677         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9679 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9681         [BZ #18977]
9682         * math/bits/mathcalls.h
9683         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9684         not declare.
9685         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9686         Likewise.
9687         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9688         Likewise.
9689         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9690         Likewise.
9691         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9692         Likewise.
9693         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9694         Likewise.
9695         * conform/data/math.h-data
9696         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9697         function.
9698         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9699         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9700         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9701         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9702         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9703         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9704         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9705         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9706         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9707         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9708         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9710         [BZ #6803]
9711         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9712         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9713         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9714         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9715         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9716         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9717         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9718         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9719         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9720         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9721         Likewise.
9722         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9723         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9724         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9725         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9726         long_double_symbol calls.
9727         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9728         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9729         strong alias of __ldexpl.
9730         (scalbnl): Define using long_double_symbol.
9731         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9732         Remove alias.
9733         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9734         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9735         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9736         (scalbln_test_data): Add more errno expectations.
9738 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9740         Cache the host port like we cache the task port.  This way we do not
9741         need to call the kernel just to get the port.  Furthermore, we no
9742         longer increase the reference count on every invocation of
9743         `mach_host_self'.
9745         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9746         Protect declarations against the macro expansion.
9747         * mach/mach_init.c (__mach_host_self_): New variable.
9748         (mach_init): Initialize `__mach_host_self_'.
9749         * mach/mach_init.h (__mach_host_self_): New declaration.
9750         (__mach_host_self, mach_host_self): New macros.
9751         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9752         Release reference.
9754 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9756         [BZ #4404]
9757         * po/de.po: Update from Translation Project.
9759         [BZ #16415]
9760         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9761         (__expm1l): Remove code to handle positive infinity and overflow.
9762         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9763         variable.
9764         (__expm1l): Remove code to handle positive infinity and overflow.
9766 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9767             Paul Pluzhnikov  <ppluzhnikov@google.com>
9769         [BZ #18872]
9770         * stdio-common/Makefile (tst-printf-bz18872): New test.
9771         (tst-printf-bz18872-mem.out): Likewise.
9772         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9773         * stdio-common/vfprintf.c: Fix memory leaks.
9775 2015-09-16  Andreas Schwab  <schwab@suse.de>
9777         [BZ #17244]
9778         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9779         Remove extra va_start/va_end calls.
9781         [BZ #17243]
9782         * posix/execl.c (execl): Add missing va_end.
9783         * posix/execle.c (execle): Likewise.
9784         * posix/execlp.c (execlp): Likewise.
9786 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9788         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9789         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9791 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9793         [BZ #18967]
9794         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9795         undefine around includes of <bits/mathcalls.h>.
9796         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9797         not declare function.
9798         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9799         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9800         (scalb): Likewise.
9801         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9802         not define macro.
9803         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9804         variable.
9805         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9806         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9807         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9809         [BZ #18857]
9810         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9811         return non-finite argument without doing ordered comparisons on
9812         it.
9814         [BZ #16296]
9815         * math/fenv.h (fegetround): Use __attribute_pure__.
9816         * include/fenv.h (__fegetround): Likewise.
9818         [BZ #18595]
9819         * math/s_ctan.c (__ctan): Force underflow exception for results
9820         whose real or imaginary part has small absolute value.
9821         * math/s_ctanf.c (__ctanf): Likewise.
9822         * math/s_ctanh.c (__ctanh): Likewise.
9823         * math/s_ctanhf.c (__ctanhf): Likewise.
9824         * math/s_ctanhl.c (__ctanhl): Likewise.
9825         * math/s_ctanl.c (__ctanl): Likewise.
9826         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9827         and ctanh.  Add more tests of ctan and ctanh.
9829         [BZ #15918]
9830         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9831         handling of cases where one argument is an infinity.
9833         [BZ #18875]
9834         [BZ #18966]
9835         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9836         (MO): New macro.
9837         (__ieee754_exp10): For small results, force underflow exception
9838         and remove excess range and precision from return value.
9839         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9840         (MO): New macro.
9841         (__ieee754_exp10f): For small results, force underflow exception
9842         and remove excess range and precision from return value.
9843         * math/auto-libm-test-in: Add more tests of exp10.
9844         * math/auto-libm-test-out: Regenerated.
9846 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9848         [BZ #18875]
9849         [BZ #18961]
9850         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9851         (MO): New macro.
9852         (__ieee754_exp): For small results, force underflow exception and
9853         remove excess range and precision from return value.
9854         (__exp_finite): Likewise.
9855         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9856         (MO): New macro.
9857         (__ieee754_expf): For small results, force underflow exception and
9858         remove excess range and precision from return value.
9859         (__expf_finite): Likewise.
9860         * math/auto-libm-test-in: Add more tests of exp.
9861         * math/auto-libm-test-out: Regenerated.
9863         [BZ #16521]
9864         [BZ #18875]
9865         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9866         small results.
9867         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9868         (MO): New macro.
9869         (__ieee754_exp2): For small results, force underflow exception and
9870         remove excess range and precision from return value.
9871         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9872         (MO): New macro.
9873         (__ieee754_exp2f): For small results, force underflow exception
9874         and remove excess range and precision from return value.
9875         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9876         (MO): New macro.
9877         (__ieee754_exp2l): Force underflow exception for small results.
9878         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9879         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9880         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9881         (MO): New macro.
9882         (__ieee754_exp2l): Force underflow exception for small results.
9883         * math/auto-libm-test-in: Add more tests or exp2.
9884         * math/auto-libm-test-out: Regenerated.
9886 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9888         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9890         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9891         /dev/null.
9893 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9895         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9896         io fs process)): Drop spurious backslash.
9898 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9900         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9901         Use sysinfo system call instead of parsing /proc/meminfo.
9902         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9903         Likewise.
9905 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9907         [BZ #16985]
9908         * programs/localedef.c (main): Display argv[remaining] when
9909         output_path is NULL.
9911 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9913         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9914         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9915         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9916         tanh.
9917         * math/auto-libm-test-out: Regenerated.
9918         * sysdeps/i386/fpu/libm-test-ulps: Update.
9919         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9920         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9923 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9925         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9926         Use 'override' keyword to freeze the value here, preventing
9927         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9929 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9931         [BZ #14912]
9932         * sysdeps/aarch64/bits/atomic.h: Move to ...
9933         * sysdeps/aarch64/atomic-machine.h: ...here.
9934         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9935         _AARCH64_ATOMIC_MACHINE_H.
9936         * sysdeps/alpha/bits/atomic.h: Move to ...
9937         * sysdeps/alpha/atomic-machine.h: ...here.
9938         * sysdeps/arm/bits/atomic.h: Move to ...
9939         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9940         * bits/atomic.h: Move to ...
9941         * sysdeps/generic/atomic-machine.h: ...here.
9942         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9943         * sysdeps/i386/bits/atomic.h: Move to ...
9944         * sysdeps/i386/atomic-machine.h: ...here.
9945         * sysdeps/ia64/bits/atomic.h: Move to ...
9946         * sysdeps/ia64/atomic-machine.h: ...here.
9947         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9948         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9949         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9950         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9951         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9952         * sysdeps/microblaze/bits/atomic.h: Move to ...
9953         * sysdeps/microblaze/atomic-machine.h: ...here.
9954         * sysdeps/mips/bits/atomic.h: Move to ...
9955         * sysdeps/mips/atomic-machine.h: ...here.
9956         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9957         * sysdeps/powerpc/bits/atomic.h: Move to ...
9958         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9959         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9960         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9961         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9962         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9963         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9964         <atomic-machine.h> instead of <bits/atomic.h>.
9965         * sysdeps/s390/bits/atomic.h: Move to ...
9966         * sysdeps/s390/atomic-machine.h: ...here.
9967         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9968         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9969         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9970         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9971         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9972         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9973         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9974         * sysdeps/tile/bits/atomic.h: Move to ...
9975         * sysdeps/tile/atomic-machine.h: ...here.
9976         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9977         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9978         <sysdeps/tile/atomic-machine.h> instead of
9979         <sysdeps/tile/bits/atomic.h>.
9980         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9981         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9982         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9983         <sysdeps/tile/atomic-machine.h> instead of
9984         <sysdeps/tile/bits/atomic.h>.
9985         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9986         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9987         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9988         <sysdeps/arm/atomic-machine.h> instead of
9989         <sysdeps/arm/bits/atomic.h>.
9990         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9991         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9992         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9993         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9994         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9995         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9996         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9997         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9998         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9999         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10000         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10001         * sysdeps/x86_64/bits/atomic.h: Move to ...
10002         * sysdeps/x86_64/atomic-machine.h: ...here.
10003         * include/atomic.h: Include <atomic-machine.h> instead of
10004         <bits/atomic.h>.
10006         * sysdeps/mips/mips32/libm-test-ulps: Update.
10007         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10009         [BZ #18952]
10010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10011         not convert non-integer negative arguments to int to determine the
10012         value of signgam.
10013         * math/auto-libm-test-in: Add more tests of lgamma.
10014         * math/auto-libm-test-out: Regenerated.
10016         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10017         cosh, csqrt, erfc, expm1 and lgamma.
10018         * math/auto-libm-test-out: Regenerated.
10019         * sysdeps/i386/fpu/libm-test-ulps: Update.
10020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10022 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10024         [BZ #2542]
10025         [BZ #2543]
10026         [BZ #2558]
10027         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10028         __lgamma_neg for arguments from -28.0 to -2.0.
10029         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10030         __lgamma_negf for arguments from -15.0 to -2.0.
10031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10032         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10033         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10034         Call __lgamma_negl for arguments from -33.0 to -2.0.
10035         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10036         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10037         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10038         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10039         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10040         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10041         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10042         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10043         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10044         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10045         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10046         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10047         (__lgamma_neg): Likewise.
10048         (__lgamma_negl): Likewise.
10049         (__lgamma_product): Likewise.
10050         (__lgamma_productl): Likewise.
10051         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10052         * math/auto-libm-test-in: Add more tests of lgamma.
10053         * math/auto-libm-test-out: Regenerated.
10054         * sysdeps/i386/fpu/libm-test-ulps: Update.
10055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10057 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10059         [BZ #18675]
10060         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10062 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10064         [BZ #14912]
10065         * bits/libc-lock.h: Move to ...
10066         * sysdeps/generic/libc-lock.h: ...here.
10067         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10068         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10069         * sysdeps/mach/hurd/libc-lock.h: ...here.
10070         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10071         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10072         * sysdeps/mach/bits/libc-lock.h: Move to ...
10073         * sysdeps/mach/libc-lock.h: ...here.
10074         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10075         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10076         * sysdeps/nptl/libc-lock.h: ...here.
10077         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10078         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10079         * sysdeps/nptl/libc-lockP.h: ...here.
10080         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10081         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10082         <bits/libc-lock.h>.
10083         * dirent/scandir-tail.c: Likewise.
10084         * dlfcn/dlerror.c: Likewise.
10085         * elf/dl-close.c: Likewise.
10086         * elf/dl-iteratephdr.c: Likewise.
10087         * elf/dl-lookup.c: Likewise.
10088         * elf/dl-open.c: Likewise.
10089         * elf/dl-support.c: Likewise.
10090         * elf/dl-writev.h: Likewise.
10091         * elf/rtld.c: Likewise.
10092         * grp/fgetgrent.c: Likewise.
10093         * gshadow/fgetsgent.c: Likewise.
10094         * gshadow/sgetsgent.c: Likewise.
10095         * iconv/gconv_conf.c: Likewise.
10096         * iconv/gconv_db.c: Likewise.
10097         * iconv/gconv_dl.c: Likewise.
10098         * iconv/gconv_int.h: Likewise.
10099         * iconv/gconv_trans.c: Likewise.
10100         * include/link.h: Likewise.
10101         * inet/getnameinfo.c: Likewise.
10102         * inet/getnetgrent.c: Likewise.
10103         * inet/getnetgrent_r.c: Likewise.
10104         * intl/bindtextdom.c: Likewise.
10105         * intl/dcigettext.c: Likewise.
10106         * intl/finddomain.c: Likewise.
10107         * intl/gettextP.h: Likewise.
10108         * intl/loadmsgcat.c: Likewise.
10109         * intl/localealias.c: Likewise.
10110         * intl/textdomain.c: Likewise.
10111         * libidn/idn-stub.c: Likewise.
10112         * libio/libioP.h: Likewise.
10113         * locale/duplocale.c: Likewise.
10114         * locale/freelocale.c: Likewise.
10115         * locale/newlocale.c: Likewise.
10116         * locale/setlocale.c: Likewise.
10117         * login/getutent_r.c: Likewise.
10118         * login/getutid_r.c: Likewise.
10119         * login/getutline_r.c: Likewise.
10120         * login/utmp-private.h: Likewise.
10121         * login/utmpname.c: Likewise.
10122         * malloc/mtrace.c: Likewise.
10123         * misc/efgcvt.c: Likewise.
10124         * misc/error.c: Likewise.
10125         * misc/fstab.c: Likewise.
10126         * misc/getpass.c: Likewise.
10127         * misc/mntent.c: Likewise.
10128         * misc/syslog.c: Likewise.
10129         * nis/nis_call.c: Likewise.
10130         * nis/nis_callback.c: Likewise.
10131         * nis/nss-default.c: Likewise.
10132         * nis/nss_compat/compat-grp.c: Likewise.
10133         * nis/nss_compat/compat-initgroups.c: Likewise.
10134         * nis/nss_compat/compat-pwd.c: Likewise.
10135         * nis/nss_compat/compat-spwd.c: Likewise.
10136         * nis/nss_nis/nis-alias.c: Likewise.
10137         * nis/nss_nis/nis-ethers.c: Likewise.
10138         * nis/nss_nis/nis-grp.c: Likewise.
10139         * nis/nss_nis/nis-hosts.c: Likewise.
10140         * nis/nss_nis/nis-network.c: Likewise.
10141         * nis/nss_nis/nis-proto.c: Likewise.
10142         * nis/nss_nis/nis-pwd.c: Likewise.
10143         * nis/nss_nis/nis-rpc.c: Likewise.
10144         * nis/nss_nis/nis-service.c: Likewise.
10145         * nis/nss_nis/nis-spwd.c: Likewise.
10146         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10147         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10148         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10149         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10150         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10151         * nis/nss_nisplus/nisplus-network.c: Likewise.
10152         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10153         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10154         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10155         * nis/nss_nisplus/nisplus-service.c: Likewise.
10156         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10157         * nis/ypclnt.c: Likewise.
10158         * nptl/libc_pthread_init.c: Likewise.
10159         * nss/getXXbyYY.c: Likewise.
10160         * nss/getXXent.c: Likewise.
10161         * nss/getXXent_r.c: Likewise.
10162         * nss/nss_db/db-XXX.c: Likewise.
10163         * nss/nss_db/db-netgrp.c: Likewise.
10164         * nss/nss_db/nss_db.h: Likewise.
10165         * nss/nss_files/files-XXX.c: Likewise.
10166         * nss/nss_files/files-alias.c: Likewise.
10167         * nss/nsswitch.c: Likewise.
10168         * posix/regex_internal.h: Likewise.
10169         * posix/wordexp.c: Likewise.
10170         * pwd/fgetpwent.c: Likewise.
10171         * resolv/res_hconf.c: Likewise.
10172         * resolv/res_libc.c: Likewise.
10173         * shadow/fgetspent.c: Likewise.
10174         * shadow/lckpwdf.c: Likewise.
10175         * shadow/sgetspent.c: Likewise.
10176         * socket/opensock.c: Likewise.
10177         * stdio-common/reg-modifier.c: Likewise.
10178         * stdio-common/reg-printf.c: Likewise.
10179         * stdio-common/reg-type.c: Likewise.
10180         * stdio-common/vfprintf.c: Likewise.
10181         * stdio-common/vfscanf.c: Likewise.
10182         * stdlib/abort.c: Likewise.
10183         * stdlib/cxa_atexit.c: Likewise.
10184         * stdlib/fmtmsg.c: Likewise.
10185         * stdlib/random.c: Likewise.
10186         * stdlib/setenv.c: Likewise.
10187         * string/strsignal.c: Likewise.
10188         * sunrpc/auth_none.c: Likewise.
10189         * sunrpc/bindrsvprt.c: Likewise.
10190         * sunrpc/create_xid.c: Likewise.
10191         * sunrpc/key_call.c: Likewise.
10192         * sunrpc/rpc_thread.c: Likewise.
10193         * sysdeps/arm/backtrace.c: Likewise.
10194         * sysdeps/generic/ldsodefs.h: Likewise.
10195         * sysdeps/generic/stdio-lock.h: Likewise.
10196         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10197         * sysdeps/i386/backtrace.c: Likewise.
10198         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10199         * sysdeps/m68k/backtrace.c: Likewise.
10200         * sysdeps/mach/hurd/cthreads.c: Likewise.
10201         * sysdeps/mach/hurd/dirstream.h: Likewise.
10202         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10203         * sysdeps/nptl/malloc-machine.h: Likewise.
10204         * sysdeps/nptl/stdio-lock.h: Likewise.
10205         * sysdeps/posix/dirstream.h: Likewise.
10206         * sysdeps/posix/getaddrinfo.c: Likewise.
10207         * sysdeps/posix/system.c: Likewise.
10208         * sysdeps/pthread/aio_suspend.c: Likewise.
10209         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10210         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10211         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10212         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10213         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10214         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10215         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10216         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10217         * sysdeps/unix/sysv/linux/system.c: Likewise.
10218         * sysdeps/x86_64/backtrace.c: Likewise.
10219         * time/alt_digit.c: Likewise.
10220         * time/era.c: Likewise.
10221         * time/tzset.c: Likewise.
10222         * wcsmbs/wcsmbsload.c: Likewise.
10223         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10224         instead of <bits/libc-lock.h> in comment.
10226 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10228         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10229         Only use .set mips2 if the current ISA is below mips2.
10230         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10231         Likewise.
10232         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10233         mips32r2 if the current ISA is below mips32r2.
10234         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10235         (TLS_IE): Updated to use the TLD_RDHWR macro.
10236         (TLS_LE): Likewise.
10237         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10238         __ASSEMBLER__ condition.
10240 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10242         Fix parallel build of before-compile targets.
10244         * sysdeps/mach/Makefile ($(patsubst
10245         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10246         mach-before-compile target.
10247         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10248         io fs process)): Move rule to dedicated hurd-before-compile target.
10250 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10252         Fix rules generating headers in hurd/ and mach/ when initial make call
10253         has subdir= explicitly set.
10255         * sysdeps/mach/Makefile ($(patsubst
10256         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10257         calling $(MAKE).
10258         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10259         io fs process)): Force subdir to hurd when calling $(MAKE).
10260         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10261         subdir to mach when calling $(MAKE).
10263 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10265         Check sysheaders when looking for Mach and Hurd headers
10267         * sysdeps/mach/configure.ac: Add sysheaders check.
10268         * sysdeps/mach/configure: Regenerate.
10269         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10270         * sysdeps/mach/hurd/configure: Regenerate.
10272 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10274         [BZ #18921]
10275         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10276         Fix inverted sense of test of 'o_directory_works' value.
10277         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10278         Bernhard Voelker <mail@bernhard-voelker.de>.
10280 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #14912]
10283         * bits/linkmap.h: Move to ...
10284         * sysdeps/generic/linkmap.h: ...here.
10285         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10286         * sysdeps/aarch64/linkmap.h: ...here.
10287         * sysdeps/arm/bits/linkmap.h: Move to ...
10288         * sysdeps/arm/linkmap.h: ...here.
10289         * sysdeps/hppa/bits/linkmap.h: Move to ...
10290         * sysdeps/hppa/linkmap.h: ...here.
10291         * sysdeps/ia64/bits/linkmap.h: Move to ...
10292         * sysdeps/ia64/linkmap.h: ...here.
10293         * sysdeps/mips/bits/linkmap.h: Move to ...
10294         * sysdeps/mips/linkmap.h: ...here.
10295         * sysdeps/s390/bits/linkmap.h: Move to ...
10296         * sysdeps/s390/linkmap.h: ...here.
10297         * sysdeps/sh/bits/linkmap.h: Move to ...
10298         * sysdeps/sh/linkmap.h: ...here.
10299         * sysdeps/x86/bits/linkmap.h: Move to ...
10300         * sysdeps/x86/linkmap.h: ...here.
10301         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10303 2015-09-04  Andreas Schwab  <schwab@suse.de>
10305         [BZ #18635]
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10307         (__makecontext): Terminate FDE before return label.
10308         (__novec_makecontext): Likewise.
10310 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10312         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10313         first member of struct sv in syscall macro.
10315 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10317         [BZ #14912]
10318         * bits/stdio-lock.h: Move to ...
10319         * sysdeps/generic/stdio-lock.h: ...here.
10320         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10321         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10322         * sysdeps/nptl/stdio-lock.h: ...here.
10323         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10324         * include/libio.h: Include <stdio-lock.h> instead of
10325         <bits/stdio-lock.h>.
10326         * sysdeps/nptl/fork.c: Likewise.
10327         * sysdeps/pthread/flockfile.c: Likewise.
10328         * sysdeps/pthread/ftrylockfile.c: Likewise.
10329         * sysdeps/pthread/funlockfile.c: Likewise.
10331         [BZ #14912]
10332         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10333         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10334         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10335         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10336         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10337         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10338         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10340 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10342         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10343         (test-xfail-tst-protected1b): New variable.
10345 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10347         [BZ #14912]
10348         * bits/libc-tsd.h: Move to ...
10349         * sysdeps/generic/libc-tsd.h: ...here.
10350         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10351         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10352         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10353         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10354         * include/ctype.h: Include <libc-tsd.h> instead of
10355         <bits/libc-tsd.h>.
10356         * include/rpc/rpc.h: Likewise.
10357         * locale/localeinfo.h: Likewise.
10358         * sunrpc/rpc_thread.c: Likewise.
10359         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10360         * sysdeps/nptl/malloc-machine.h: Likewise.
10362         * Makefile (headers): Remove bits/libc-lock.h.
10363         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10365         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10366         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10367         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10368         <bits/stdio-lock.h>.
10369         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10370         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10372 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10374         [BZ #18757]
10375         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10376         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10377         BZ #18757.
10379 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10381         * malloc/mtrace.pl: Filter out NULL entries.
10383 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10385         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10386         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10387         macro.
10389         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10390         (TCP_CC_INFO): Likewise.
10391         (TCP_SAVE_SYN): Likewise.
10392         (TCP_SAVED_SYN): Likewise.
10394 2015-08-31  Brett Neumeier <brett@neumeier.us>
10396         [BZ #18870]
10397         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10399 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10401         [BZ #18873]
10402         Fix broken overflow check in posix_fallocate
10403         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10404         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10405         Fix parenthesization typo.
10407 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10409         [BZ #18887]
10410         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10411         tst-mntent-blank-passno.
10412         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10413         * misc/tst-mntent-blank-corrupt.c: New test.
10414         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10415         * misc/tst-mntent.c (do_test): ... here.
10417 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10419         [BZ #4404]
10420         * po/de.po: Fix SIGALRM typo.
10422 2015-08-28  James Perkins  <james@loowit.net>
10424         * time/tst-strptime2.c (tests): Replace short list of test
10425         strings for strptime %z specifier with code which exhaustively
10426         tests every combination of sign and 0 to 5 digits. Tests for
10427         rejection of invalid strings.
10429 2015-08-28  James Perkins  <james@loowit.net>
10431         [BZ #16141]
10432         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10433         calculation, removing incorrect decimal time rounding, so that
10434         all minute values result in a valid seconds value.
10435         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10436         offset range limits to UTC-99:59 through UTC+99:59 to parse
10437         current and historical use cases.
10438         * time/tst-strptime2.c (tests): Modify and add tests for the
10439         strptime %z input field descriptor, specifically conversion of
10440         minutes to seconds and validating an offset range of -9959 to
10441         +9959.
10443 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10444             Dmitry V. Levin  <ldv@altlinux.org>
10446         [BZ #18877]
10447         * posix/Makefile (tests): Add tst-mmap-offset.
10448         * posix/tst-mmap.c: New file.
10449         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10450         offset calculation for negative values.
10452 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10454         * sysdeps/i386/init-arch.h: New file.
10455         * sysdeps/i386/i586/init-arch.h: Likewise.
10456         * sysdeps/i386/i686/init-arch.h: Likewise.
10457         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10458         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10459         * sysdeps/x86/cpu-features.h (bit_I586): New.
10460         (bit_I686): Likewise.
10461         (bit_CX8): Likewise.
10462         (bit_CMOV): Likewise.
10463         (index_CX8): Likewise.
10464         (index_CMOV): Likewise.
10465         (index_I586): Likewise.
10466         (index_I686): Likewise.
10467         (reg_CX8): Likewise.
10468         (reg_CMOV): Likewise.
10469         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10470         available at compile-time.
10471         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10472         available at compile-time.
10473         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10474         (USE_I686): Likewise.
10476 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10478         * sysdeps/i386/bcopy.S: New file.
10479         * sysdeps/i386/bzero.S: Likewise.
10480         * sysdeps/i386/memcpy.S: Likewise.
10481         * sysdeps/i386/memmove.S: Likewise.
10482         * sysdeps/i386/mempcpy.S: Likewise.
10483         * sysdeps/i386/memset.S: Likewise.
10484         * sysdeps/i386/bzero.c: Removed.
10485         * sysdeps/i386/memset.c: Likewise.
10486         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10487         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10488         * sysdeps/i386/i586/memset_chk.S: Likewise.
10489         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10490         * sysdeps/i386/memcpy_chk.S: Here.
10491         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10492         * sysdeps/i386/memmove_chk.S: Here.
10493         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10494         * sysdeps/i386/mempcpy_chk.S: Likewise.
10495         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10496         * sysdeps/i386/memset_chk.S: Likewise.
10498 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10500         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10501         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10502         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10503         * soft-fp/fmadf4.c: Ditto.
10504         * soft-fp/fmatf4.c: Ditto.
10506 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10508         * sysdeps/i386/i586/Implies: Removed.
10509         * sysdeps/i386/i686/Implies: Likewise.
10511 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10513         * sysdeps/i386/i486/strlen.S: Moved to ...
10514         * sysdeps/i386/strlen.S: Here.
10516 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10518         * sysdeps/i386/i486/strcat.S: Moved to ...
10519         * sysdeps/i386/strcat.S: Here.
10521 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10523         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10524         * sysdeps/i386/pthread_spin_trylock.S: Here.
10525         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10526         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10528 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10530         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10531         * sysdeps/i386/string-inlines.c: Here.
10533 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10535         * sysdeps/i386/i486/htonl.S: Moved ...
10536         * sysdeps/i386/htonl.S: here.
10538 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10540         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10541         * sysdeps/i386/bits/atomic.h: Here.
10543 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10545         * sysdeps/i386/i486/Versions: Removed.
10547 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10549         [BZ #2898]
10550         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10551         Based on patch by Aurelien Jarno.
10553 2015-08-26  Stan Shebs  <stanshebs@google.com>
10555         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10556         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10558 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10560         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10561         * sysdeps/powerpc/dl-procinfo.c:
10562         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10563         feature so it shows when LD_SHOW_AUXV=1.
10565 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10567         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10568         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10569         definition.  ISA 2.07B no longer requires full sync.
10571 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10573         [BZ #18863]
10574         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10575         (si_call_addr): Define.
10576         (si_syscall): Define.
10577         (si_arch): Define.
10579 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10581         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10582         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10583         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10584         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10585         (__memset_zero_constant_len_parameter): New.
10586         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10587         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10588         (__memset_zero_constant_len_parameter): Don't define if
10589         __memset_chk or USE_AS_BZERO are defined.
10591         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10592         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10593         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10595         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10596         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10597         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10598         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10599         comments.
10600         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10601         -mno-mmx for $(all-rtld-routines).
10602         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10603         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10604         i386.
10606 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10608         * sysdeps/generic/unwind.h
10609         (_Unwind_Word): Use __mode__(__unwind_word__)
10610         instead of __mode__(__word__).
10611         (_Unwind_Sword): Likewise.
10613         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10614         (MAX_NEEDED_INPUT): New define.
10615         (MAX_NEEDED_OUTPUT): New define.
10617         * NEWS: New item for IBM z13 string optimizations.
10619         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10620         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10621         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10622         * sysdeps/s390/multiarch/Makefile
10623         (sysdep_routines): Add memrchr functions.
10624         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10625         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10627         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10628         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10629         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10630         * sysdeps/s390/multiarch/Makefile
10631         (sysdep_routines): Add wmemcmp functions.
10632         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10633         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10634         * benchtests/bench-wmemcmp.c: New File.
10635         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10637         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10638         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10639         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10640         * sysdeps/s390/multiarch/Makefile
10641         (sysdep_routines): Add wmemset functions.
10642         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10643         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10644         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10645         * string/test-memset.c: Add wmemset support.
10646         * wcsmbs/test-wmemset.c: New File.
10647         * wcsmbs/Makefile (strop-tests): Add wmemset.
10648         * benchtests/bench-memset.c: Add wmemset support.
10649         * benchtests/bench-wmemset.c: New File.
10650         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10652         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10653         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10654         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10655         * sysdeps/s390/multiarch/Makefile
10656         (sysdep_routines): Add memccpy functions.
10657         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10658         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10659         * string/memccpy.c: Use MEMCCPY if defined.
10661         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10662         * sysdeps/s390/multiarch/memchr.c: Likewise.
10663         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10664         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10665         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10666         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10667         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10668         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10669         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10670         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10671         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10672         and rawmemchr functions.
10673         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10674         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10675         and wmemchr.
10676         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10677         * string/test-memchr.c: Add wmemchr support.
10678         * wcsmbs/test-wmemchr.c: New File.
10679         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10680         * benchtests/bench-memchr.c: Add wmemchr support.
10681         * benchtests/bench-wmemchr.c: New File.
10682         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10684         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10685         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10686         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10687         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10688         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10689         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10691         wcscspn functions.
10692         * sysdeps/s390/multiarch/ifunc-impl-list.c
10693         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10694         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10695         * string/test-strcspn.c: Add wcscspn support.
10696         * wcsmbs/test-wcscspn.c: New File.
10697         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10698         * benchtests/bench-strcspn.c: Add wcscspn support.
10699         * benchtests/bench-wcscspn.c: New File.
10700         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10702         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10703         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10704         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10705         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10706         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10707         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10709         wcspbrk functions.
10710         * sysdeps/s390/multiarch/ifunc-impl-list.c
10711         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10712         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10713         * string/test-strpbrk.c: Add wcspbrk support.
10714         * wcsmbs/test-wcspbrk.c: New File.
10715         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10716         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10717         * benchtests/bench-wcspbrk.c: New File.
10718         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10720         * sysdeps/s390/multiarch/strspn-c.c: New File.
10721         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10722         * sysdeps/s390/multiarch/strspn.c: Likewise.
10723         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10724         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10725         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10726         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10728         wcsspn functions.
10729         * sysdeps/s390/multiarch/ifunc-impl-list.c
10730         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10731         * string/test-strspn.c: Add wcsspn support.
10732         * wcsmbs/test-wcsspn.c: New File.
10733         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10734         * benchtests/bench-strspn.c: Add wcsspn support.
10735         * benchtests/bench-wcsspn.c: New File.
10736         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10738         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10739         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10740         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10741         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10742         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10743         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10744         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10745         wcsrchr functions.
10746         * sysdeps/s390/multiarch/ifunc-impl-list.c
10747         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10748         * benchtests/bench-wcsrchr.c: New File.
10749         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10751         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10752         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10753         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10754         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10755         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10756         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10757         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10758         wcschrnul functions.
10759         * sysdeps/s390/multiarch/ifunc-impl-list.c
10760         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10761         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10762         * string/test-strchr.c: Add wcschrnul support.
10763         * wcsmbs/test-wcschrnul.c: New File.
10764         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10765         * benchtests/bench-strchr.c: Add wcschrnul support.
10766         * benchtests/bench-wcschrnul.c: New File.
10767         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10769         * sysdeps/s390/multiarch/strchr-c.c: New File.
10770         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10771         * sysdeps/s390/multiarch/strchr.c: Likewise.
10772         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10773         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10774         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10775         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10776         wcschr functions.
10777         * sysdeps/s390/multiarch/ifunc-impl-list.c
10778         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10779         * string/strchr.c (STRCHR): Define and use macro.
10780         * benchtests/bench-wcschr.c: New File.
10781         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10783         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10784         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10785         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10786         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10787         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10788         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10789         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10790         wcsncmp functions.
10791         * sysdeps/s390/multiarch/ifunc-impl-list.c
10792         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10793         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10794         * benchtests/bench-strncmp.c: Add wcsncmp support.
10795         * benchtests/bench-wcsncmp.c: New File.
10796         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10798         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10799         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10800         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10801         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10802         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10803         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10804         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10805         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10806         wcscmp functions.
10807         * sysdeps/s390/multiarch/ifunc-impl-list.c
10808         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10809         * string/strcmp.c (STRCMP): Define and use macro.
10810         * benchtests/bench-wcscmp.c: New File.
10811         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10812         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10813         instead of _HAVE_STRING_ARCH_memchr.
10815         * sysdeps/s390/multiarch/strncat-c.c: New File.
10816         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10817         * sysdeps/s390/multiarch/strncat.c: Likewise.
10818         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10819         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10820         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10821         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10822         wcsncat functions.
10823         * sysdeps/s390/multiarch/ifunc-impl-list.c
10824         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10825         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10826         * string/test-strncat.c: Add wcsncat support.
10827         * wcsmbs/test-wcsncat.c: New File.
10828         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10829         * benchtests/bench-strncat.c: Add wcsncat support.
10830         * benchtests/bench-wcsncat.c: New File.
10831         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10833         * sysdeps/s390/multiarch/strcat-c.c: New File.
10834         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10835         * sysdeps/s390/multiarch/strcat.c: Likewise.
10836         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10837         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10838         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10840         wcscat functions.
10841         * sysdeps/s390/multiarch/ifunc-impl-list.c
10842         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10843         * string/strcat.c (STRCAT): Define and use macro.
10844         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10845         * string/test-strcat.c: Add wcscat support.
10846         * wcsmbs/test-wcscat.c: New File.
10847         * wcsmbs/Makefile (strop-tests): Add wcscat.
10848         * benchtests/bench-strcat.c: Add wcscat support.
10849         * benchtests/bench-wcscat.c: New File.
10850         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10852         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10853         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10854         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10855         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10856         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10857         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10858         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10859         wcpncpy functions.
10860         * sysdeps/s390/multiarch/ifunc-impl-list.c
10861         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10862         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10863         * string/test-stpncpy.c: Add wcpncpy support.
10864         * wcsmbs/test-wcpncpy.c: New File.
10865         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10866         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10867         * benchtests/bench-wcpncpy.c: New File.
10868         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10870         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10871         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10872         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10873         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10874         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10875         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10876         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10877         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10878         wcsncpy functions.
10879         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10880         * sysdeps/s390/multiarch/ifunc-impl-list.c
10881         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10882         * string/test-strncpy.c: Add wcsncpy support.
10883         * wcsmbs/test-wcsncpy.c: New File.
10884         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10885         * benchtests/bench-strncpy.c: Add wcsncpy support.
10886         * benchtests/bench-wcsncpy.c: New File.
10887         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10889         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10890         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10891         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10892         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10893         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10894         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10895         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10896         wcpcpy functions.
10897         * string/stpcpy.c: Use STPCPY if defined.
10898         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10899         * sysdeps/s390/multiarch/ifunc-impl-list.c
10900         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10901         * string/test-stpcpy.c: Add wcpcpy support.
10902         * wcsmbs/test-wcpcpy.c: New File.
10903         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10904         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10905         * benchtests/bench-wcpcpy.c: New File.
10906         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10908         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10909         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10910         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10911         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10912         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10913         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10914         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10915         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10916         wcscpy functions.
10917         * sysdeps/s390/multiarch/ifunc-impl-list.c
10918         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10919         * benchtests/bench-wcscpy.c: New File.
10920         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10922         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10923         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10924         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10925         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10926         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10927         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10929         wcsnlen functions.
10930         * sysdeps/s390/multiarch/ifunc-impl-list.c
10931         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10932         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10933         * string/test-strnlen.c: Add wcsnlen support.
10934         * wcsmbs/test-wcsnlen.c: New File.
10935         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10936         * benchtests/bench-strnlen.c: Add wcsnlen support.
10937         * benchtests/bench-wcsnlen.c: New File.
10938         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10940         * sysdeps/s390/multiarch/Makefile: New File.
10941         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10942         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10943         * sysdeps/s390/multiarch/strlen.c: Likewise.
10944         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10945         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10946         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10947         * string/strlen.c (STRLEN): Define and use macro.
10948         * sysdeps/s390/multiarch/ifunc-impl-list.c
10949         (IFUNC_VX_IMPL): New macro function.
10950         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10951         * benchtests/Makefile (wcsmbs-bench): New variable.
10952         (string-bench-all): Added wcsmbs-bench.
10953         * benchtests/bench-wcslen.c: New File.
10955         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10956         s390_vx_libc_ifunc2): New macro function.
10958         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10959         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10960         assembler support.
10961         * sysdeps/s390/configure: Regenerated.
10963         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10964         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10966         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10967         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10968         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10970         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10971         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10972         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10973         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10974         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10975         (memcmp, bcmp): Use __memcmp_default as alias source.
10976         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10977         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10978         Rename to __memcmp_default.
10979         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10980         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10981         (memcpy): Use __memcpy_default as alias source.
10982         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10983         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10984         Rename to __memcpy_default.
10985         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10986         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10987         (memset): Use __memset_default as alias source.
10988         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10989         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10990         Rename to __memset_default.
10991         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10992         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10993         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10994         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10995         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10996         (memcmp, bcmp): Use __memcmp_default as alias source.
10997         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10998         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10999         Rename to __memcmp_default.
11000         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11001         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11002         (memcpy): Use __memcpy_default as alias source.
11003         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11004         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11005         Rename to __memcpy_default.
11006         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11007         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11008         (memset): Use __memset_default as alias source.
11009         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11010         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11011         Rename to __memset_default.
11012         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11013         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11015         [BZ #18610]
11016         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11017         __ieee_instruction_pointer to __unused.
11018         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11019         __ieee_instruction_pointer.
11020         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11021         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11022         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11023         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11024         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11025         Mark dxc-field as reserved.
11027 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11029         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11030         if the weak reference is not null.
11032 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11034         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11036         [BZ #11214]
11037         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11039 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11041         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11042         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11043         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11044         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11045         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11046         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11047         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11048         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11049         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11050         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11051         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11052         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11053         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11054         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11055         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11056         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11057         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11058         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11060 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11062         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11063         register other than r0 for tabort, it has special meaning.
11064         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11065         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11066         transaction before starting syscall.
11068 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11070         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11072 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11074         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11076         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11077         * sysdeps/x86_64/rtld-memset.S: Likewise.
11078         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11079         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11080         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11081         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11083         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11085 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11087         * debug/strcpy_chk.c: Improve performance.
11088         * debug/stpcpy_chk.c: Likewise.
11089         * sysdeps/x86_64/strcpy_chk.S: Remove.
11090         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11092         [BZ #18240]
11093         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11095 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11097         [BZ #15128]
11098         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11099         ifuncmain8.
11100         (modules-names): Add ifuncmod8.
11101         ($(objpfx)ifuncmain8): New rule.
11102         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11103         <cpuid.h>.
11104         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11105         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11106         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11107         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11108         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11109         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11110         * sysdeps/x86_64/ifuncmain8.c: New file.
11111         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11112         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11113         Removed.
11114         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11115         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11116         Change rtld_savespace_sse to __glibc_unused2.
11117         (RTLD_CHECK_FOREIGN_CALL): Removed.
11118         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11119         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11120         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11122 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11124         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11126 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11128         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11129         Unconditionally set __fpcr to avoid uninialized warning.
11130         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11132 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11134         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11135         is corrupt.
11137         * malloc/arena.c (arena_get2): Drop unused argument.
11138         (arena_lock): Adjust.
11139         (arena_get_retry): Likewise.
11141 2015-08-24  Andreas Schwab  <schwab@suse.de>
11143         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11144         Don't define.
11145         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11146         (__ASSUME_IPC64): Don't undef.
11147         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11148         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11149         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11150         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11151         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11152         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11153         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11154         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11155         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11156         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11157         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11158         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11159         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11160         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11161         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11162         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11163         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11164         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11165         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11166         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11167         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11169 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11171         * manual/Makefile (install): Only build manual when perl is available.
11173 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11175         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11176         '#undef memcpy' by '#undef memchr'.
11178 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11180         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11181         memchr not point to the internal __GI_memchr implementation.
11183 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11185         * timezone/Makefile (CFLAGS-zdump.c): Remove
11186         -Wno-strict-prototypes.
11187         (CFLAGS-zic.c): Likewise.
11188         (CFLAGS-ialloc.c): Likewise.
11189         (CFLAGS-scheck.c): Likewise.
11191         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11192         -Wno-error=undef.
11194 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11196         * i386/i686/multiarch/strcasestr-c.c: Removed.
11197         * x86_64/multiarch/strcasestr.c: Likewise.
11198         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11199         Remove strcasestr.
11201 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11203         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11205         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11206         variables for high and low parts before possibly modifying them.
11208 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11210         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11211         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11212         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11213         of "multiarch/init-arch.h".
11214         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11215         * sysdeps/x86/init-arch.h: This.
11217 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11219         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11220         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11222 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11224         [BZ #17787]
11225         * manual/macros.texi: Add twoexp macro.
11226         * manual/filesys.texi: Fix exponents.
11227         * manual/llio.texi: Likewise.
11228         * manual/stdio.texi: Likewise.
11230 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11232         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11233         incorrect use.
11235 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11237         [BZ #18370]
11238         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11239         whose real or imaginary part has small absolute value.
11240         * math/s_csqrtf.c (__csqrtf): Likewise.
11241         * math/s_csqrtl.c (__csqrtl): Likewise.
11242         * math/auto-libm-test-in: Add more tests of csqrt.
11243         * math/auto-libm-test-out: Regenerated.
11244         * sysdeps/i386/fpu/libm-test-ulps: Update.
11246 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11248         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11249         __ppc_set_ppr_very_low): New functions.
11250         * manual/platform.texi: Add documentation about
11251         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11253 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11255         * string/stpncpy.c (stpncpy): Improve performance using
11256         __strnlen/memcpy/memset.
11258 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11260         [BZ #18796]
11261         * scripts/test-installation.pl: Don't add -lmvec to build options if
11262         libmvec wasn't built.
11264 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11266         [BZ #14341]
11267         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11268         case when there is a gap between DT_REL and DT_JMPREL sections.
11269         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11270         (LDFLAGS-tst-split-dynreloc): New.
11271         (tst-split-dynreloc-ENV): Likewise.
11272         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11273         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11275 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11277         [BZ #18822]
11278         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11279         attribute_hidden.
11280         (__xstat64_conv): Likewise.
11281         (__xstat32_conv): Likewise.
11283 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11285         [BZ #18822]
11286         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11287         Don't load %ebx when calling __setcontext.  Call __setcontext
11288         with HIDDEN_JUMPTARGET.
11289         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11290         libc_hidden_def.
11292 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11294         * sysdeps/i386/i686/Makefile
11295         [$(subdir) == string] (sysdep_routines): Moved to ...
11296         * sysdeps/i386/Makefile: Here.
11297         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11298         * sysdeps/i386/cacheinfo.c: Here.
11299         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11300         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11301         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11302         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11304 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11306         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11307         __i586__ is defined.
11308         (HAS_I686): Defined to 1 if __i686__ is defined.
11310 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11312         * elf/Makefile [$(have-z-execstack) = yes]
11313         (CPPFLAGS-tst-execstack.c): New variable.
11315         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11316         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11317         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11318         UTMPX || _HAVE_UT_TV].
11319         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11320         UTMPX || _HAVE_UT_TV - 0].
11322 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11324         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11325         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11326         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11328 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11330         * sysdeps/powerpc/dl-procinfo.c:
11331         (_dl_powerpc_cap_flags): Added missing strings for some
11332         hwcap features.
11333         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11335 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11337         Port the 0x7efe...feff pattern to GCC 6.
11338         See Steve Ellcey's bug report in:
11339         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11340         * string/memrchr.c (MEMRCHR):
11341         * string/rawmemchr.c (RAWMEMCHR):
11342         * string/strchr.c (strchr):
11343         * string/strchrnul.c (STRCHRNUL):
11344         Rewrite code to avoid issues with signed shift overflow.
11346 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11348         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11349         whether cpuid is available only if HAS_CPUID is 0.
11350         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11351         (HAS_I586): Likewise.
11352         (HAS_I686): Likewise.
11354 2015-08-18  Zack Weinberg  <zackw@panix.com>
11356         * misc/Versions (libc): Add GLIBC_2.23.
11358 2015-08-18  Alan Modra  <amodra@gmail.com>
11360         [BZ #18421]
11361         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11362         .Lp__global.
11363         (_start): Load %dp via .Lp__global.
11364         [!SHARED]: Use .section .rodata.
11366 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11368         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11369         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11371 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11373         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11374         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11376 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11378         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11379         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11381 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11383         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11384         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11386 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11388         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11389         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11391 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11393         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11394         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11396 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11398         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11400 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11402         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11403         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11404         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11405         (__ASSUME_LWS_CAS): Delete.
11407 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11409         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11410         * sysdeps/hppa/configure: Regenerated.
11411         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11412         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11413         * sysdeps/hppa/nptl/tls.h: Likewise.
11415 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11417         [BZ #18823]
11418         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11419         for scaling up small arguments.
11420         * math/s_csqrtf.c (__csqrtf): Likewise.
11421         * math/s_csqrtl.c (__csqrtl): Likewise.
11422         * math/auto-libm-test-in: Add more tests of csqrt.
11423         * math/auto-libm-test-out: Regenerated.
11425 2015-08-17  Andreas Schwab  <schwab@suse.de>
11427         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11428         version set GLIBC_2.19.
11430 2015-08-16  Zack Weinberg  <zackw@panix.com>
11432         [BZ #18681]
11433         * misc/regexp.h: This interface is no longer supported.
11434         Remove all contents, leaving only an #error directive.
11435         * misc/regexp.c (loc1, loc2, locs, step, advance):
11436         Demote to compatibility symbols.
11438 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11440         [BZ #18084]
11441         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11442         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11443         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11444         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11445         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11446         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11447         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11448         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11449         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11451 2015-08-15  Zack Weinberg  <zackw@panix.com>
11453         [BZ #18795]
11454         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11455         buffer length is known to be too large, not if it's known to be
11456         small enough.
11457         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11458         overflow at runtime, involving a length parameter, twice: once
11459         with a compile-time constant length parameter, once without.
11461 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11463         [BZ #18824]
11464         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11465         scaling x * y up instead of down.
11466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11468         * math/auto-libm-test-in: Add more tests of fma.
11469         * math/auto-libm-test-out: Regenerated.
11471 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11473         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11475 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11477         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11478         unnecessary movq.
11479         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11480         Likewise.
11482 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11484         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11485         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11486         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11487         and tgamma.
11488         * math/auto-libm-test-out: Regenerated.
11489         * sysdeps/i386/fpu/libm-test-ulps: Update.
11490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11492         [BZ #16520]
11493         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11494         (__tanh): Force underflow exception for arguments with small
11495         absolute value.
11496         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11497         (__tanhf): Force underflow exception for arguments with small
11498         absolute value.
11499         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11500         (__tanhl): Force underflow exception for arguments with small
11501         absolute value.
11502         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11503         (__tanhl): Force underflow exception for arguments with small
11504         absolute value.
11505         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11506         (__tanhl): Force underflow exception for arguments with small
11507         absolute value.
11508         * math/auto-libm-test-in: Add more tests of tanh.
11509         * math/auto-libm-test-out: Regenerated.
11510         * sysdeps/i386/fpu/libm-test-ulps: Update.
11512 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11514         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11515         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11517 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11519         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11520         <cpuid.h>.
11522 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11524         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11525         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11527 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11529         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11530         Remove $(objpfx)init-arch.o.
11531         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11532         init-arch.
11533         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11534         (INIT_ARCH_EXT): Defined as empty.
11535         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11537         __init_cpu_features call.  Replace HAS_XXX with
11538         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11540         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11541         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11542         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11544         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11545         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11546         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11547         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11548         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11549         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11550         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11551         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11552         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11556         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11571         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11572         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11575 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11577         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11578         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11579         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11580         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11581         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11582         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11583         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11584         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11585         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11586         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11587         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11588         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11589         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11590         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11591         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11592         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11593         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11594         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11595         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11596         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11597         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11598         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11599         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11600         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11601         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11602         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11603         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11604         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11605         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11606         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11607         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11608         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11609         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11610         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11611         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11612         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11613         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11614         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11615         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11616         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11617         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11618         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11619         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11621 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11623         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11624         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11625         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11626         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11627         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11628         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11629         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11630         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11631         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11632         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11633         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11634         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11635         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11636         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11637         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11638         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11639         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11640         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11641         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11642         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11644         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11645         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11646         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11647         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11648         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11649         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11650         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11651         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11652         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11653         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11654         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11655         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11658         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11659         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11660         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11661         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11662         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11663         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11664         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11665         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11667 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11669         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11670         (dl_platform_init): Call init_cpu_features.
11671         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11672         * sysdeps/i386/i686/cacheinfo.c
11673         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11674         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11675         * sysdeps/i386/i686/multiarch/Versions: Removed.
11676         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11677         Removed.
11678         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11679         * sysdeps/unix/sysv/linux/x86/Makefile
11680         (libpthread-sysdep_routines): Remove init-arch.
11681         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11682         <sysdeps/x86_64/dl-procinfo.c> instead of
11683         sysdeps/generic/dl-procinfo.c>.
11684         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11685         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11686         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11687         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11688         [$(subdir) == elf] (tests-static): Add
11689         tst-get-cpu-features-static.
11690         * sysdeps/x86/Versions: New file.
11691         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11692         * sysdeps/x86/cpu-features.c: Likewise.
11693         * sysdeps/x86/cpu-features.h: Likewise.
11694         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11695         * sysdeps/x86/libc-start.c: Likewise.
11696         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11697         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11698         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11699         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11700         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11701         Assume USE_MULTIARCH is defined and don't check it.
11702         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11703         (is_amd): Likewise.
11704         (max_cpuid): Likewise.
11705         (intel_check_word): Likewise.
11706         (__cache_sysconf): Don't call __init_cpu_features.
11707         (__x86_preferred_memory_instruction): Removed.
11708         (init_cacheinfo): Don't call __init_cpu_features. Replace
11709         __cpu_features with GLRO(dl_x86_cpu_features).
11710         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11711         (dl_platform_init): Call init_cpu_features.
11712         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11713         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11714         * sysdeps/x86_64/multiarch/Versions: Removed.
11715         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11716         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11717         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11718         Removed.
11719         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11721 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11723         [BZ #18820]
11724         * libio/Makefile (test-fmemopen-mem): New test.
11725         * libio/test-fmemopen.c (do_bz18820): New test.
11726         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11727         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11729 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11731         [BZ #16734]
11732         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11733         (FREE_BUF): Delete.
11734         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11735         * libio/genops.c (_IO_setb): Use malloc and free directly.
11736         (_IO_default_doallocate, _IO_default_finish): Likewise.
11737         ( _IO_unbuffer_all): Likewise.
11738         ( libc_freeres_fn): Likewise.
11739         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11740         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11741         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11742         (_IO_wdefault_doallocate): Likewise.
11744 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11746         [BZ #18086]
11747         * sysdeps/posix/nice.c (nice): Restore old errno.
11748         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11750 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11752         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11754 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11756         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11757         __bcopy and add a weak_alias to bcopy.
11758         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11759         for static build.
11761         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11762         cleanup macro usage.
11763         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11766         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11767         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11768         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11769         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11770         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11771         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11772         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11773         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11774         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11775         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11776         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11779         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11780         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11781         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11783         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11784         libc_hidden_def.
11785         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11787         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11788         (sysdep_routines): Add strstr-ppc64.
11789         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11791 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11793         [BZ #18778]
11794         * elf/Makefile (tests): Add Add tst-nodelete2.
11795         (modules-names): Add tst-nodelete2mod.
11796         (tst-nodelete2mod.so-no-z-defs): New.
11797         ($(objpfx)tst-nodelete2): Likewise.
11798         ($(objpfx)tst-nodelete2.out): Likewise.
11799         (LDFLAGS-tst-nodelete2): Likewise.
11800         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11801         out of loop through all loaded libraries.
11802         * elf/tst-nodelete2.c: New file.
11803         * elf/tst-nodelete2mod.c: Likewise.
11804         * elf/tst-znodelete-zlib.cc: Delete.
11806 2015-08-11  Andreas Schwab  <schwab@suse.de>
11808         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11809         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11810         (__openat64_nocancel): Likewise.
11812 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11814         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11815         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11816         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11817         * math/auto-libm-test-out: Regenerated.
11818         * sysdeps/i386/fpu/libm-test-ulps: Update.
11819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11821 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11823         [BZ #18790]
11824         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11825         threshold for returning +/- 1.
11826         * math/auto-libm-test-in: Add more tests of tanh.
11827         * math/auto-libm-test-out: Regenerated.
11828         * sysdeps/i386/fpu/libm-test-ulps: Update.
11830 2015-08-10  Andreas Schwab  <schwab@suse.de>
11832         [BZ #18781]
11833         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11834         MORE_OFLAGS to oflag.
11835         * io/test-lfs.c (do_test): Test openat64.
11837 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11839         [BZ #18789]
11840         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11841         smaller threshold for returning the argument.
11842         * math/auto-libm-test-in: Add more tests of sinh.
11843         * math/auto-libm-test-out: Regenerated.
11844         * sysdeps/i386/fpu/libm-test-ulps: Update.
11846 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11848         [BZ #18674]
11849         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11850         break.
11852 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11854         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11855         (generated): Don't add $(addprefix z.,$(tzfiles)).
11857 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11859         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11860         * scripts/sysd-rules.awk: Likewise.
11862 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11864         * iconvdata/tst-tables.sh: Change echo -n to printf.
11865         * nss/db-Makefile: Likewise.
11866         * posix/tst-getconf.sh: Likewise.
11867         * stdio-common/tst-unbputc.sh: Likewise.
11869 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11871         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11872         MADV_*_PAGES defines behind this feature check.
11874 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11876         [BZ #18480]
11877         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11878         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11879         Define.
11880         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11881         LOAD_REGS_5, LOAD_REGS_6): Update.
11882         (INTERNAL_SYSCALL): Update using new LOAD defines.
11883         (INTERNAL_SYSCALL_NCS): Likewise.
11884         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11886 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11888         [BZ #16734]
11889         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11891 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11893         [BZ #17905]
11894         * catgets/Makefile (tst-catgets-mem): New test.
11895         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11896         * catgets/open_catalog.c (__open_catalog): Likewise.
11897         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11899 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11901         [BZ #18787]
11902         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11903         clobber registers.
11904         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11905         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11906         Cast return to __typeof (oldval).
11908 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11910         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11911         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11912         and delete sys/syscall.h include.
11914 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11916         [BZ #16517]
11917         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11918         (tan): Force underflow exception for arguments with small absolute
11919         value.
11920         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11921         (__kernel_tanf): Force underflow exception for arguments with
11922         small absolute value.
11923         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11924         (__kernel_tanl): Force underflow exception for arguments with
11925         small absolute value.
11926         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11927         (__kernel_tanl): Force underflow exception for arguments with
11928         small absolute value.
11929         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11930         (__kernel_tanl): Force underflow exception for arguments with
11931         small absolute value.
11932         * math/auto-libm-test-in: Add more tests of tan.
11933         * math/auto-libm-test-out: Regenerated.
11935 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11937         Fix sysdeps/i386/fpu/s_scalbn.S build
11939         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11941 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11943         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11945 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11947         Fix gcrt0.o compilation
11949         When static-start-installed-name is different from
11950         start-installed-name, we must not use the shared objects.
11952         * csu/Makefile
11953         (extra-objs): Add gmon-start.o when building shared library and
11954         $(static-start-installed-name) is different from
11955         $(start-installed-name).
11956         $(objpfx)g$(static-start-installed-name): When building shared
11957         library and $(static-start-installed-name) is different from
11958         $(static-start-installed-name), revert to non-shared rule,
11959         i.e. using $(objpfx)% and gmon-start.o.
11961 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11963         [BZ #16519]
11964         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11965         (__ieee754_sinh): Force underflow exception for arguments with
11966         small absolute value.
11967         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11968         (__ieee754_sinhf): Force underflow exception for arguments with
11969         small absolute value.
11970         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11971         (__ieee754_sinhl): Force underflow exception for arguments with
11972         small absolute value.
11973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11974         (__ieee754_sinhl): Force underflow exception for arguments with
11975         small absolute value.
11976         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11977         (__ieee754_sinhl): Force underflow exception for arguments with
11978         small absolute value.
11979         * math/auto-libm-test-in: Add more tests of sinh.
11980         * math/auto-libm-test-out: Regenerated.
11981         * sysdeps/i386/fpu/libm-test-ulps: Update.
11983 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11985         * libio/oldfileops.c: Include unistd.h.
11987 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11989         * stdlib/isomac.c: Include ctype.h.
11991 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11993         * dirent/tst-seekdir.c (main): Converted to ...
11994         (do_test): ... this.
11995         (TEST_FUNCTION): New macro.
11996         Include test-skeleton.c.
11997         * elf/tst-dlmodcount.c (main): Converted to ...
11998         (do_test): ... this.
11999         (TEST_FUNCTION): New macro.
12000         Include test-skeleton.c.
12001         * elf/tst-order-main.c (main): Converted to ...
12002         (do_test): ... this.
12003         (TEST_FUNCTION): New macro.
12004         Include test-skeleton.c.
12005         * elf/tst-pie2.c (main): Converted to ...
12006         (do_test): ... this.
12007         (TEST_FUNCTION): New macro.
12008         Include test-skeleton.c.
12009         * inet/tst-ether_aton.c (main): Converted to ...
12010         (do_test): ... this.
12011         (TEST_FUNCTION): New macro.
12012         Include test-skeleton.c.
12013         * misc/tst-mntent.c (main): Converted to ...
12014         (do_test): ... this.
12015         (TEST_FUNCTION): New macro.
12016         Include test-skeleton.c.
12017         * misc/tst-tsearch.c (main): Converted to ...
12018         (do_test): ... this.
12019         (TEST_FUNCTION): New macro.
12020         Include test-skeleton.c.
12021         * posix/tst-regexloc.c (main): Converted to ...
12022         (do_test): ... this.
12023         (TEST_FUNCTION): New macro.
12024         Include test-skeleton.c.
12025         * resolv/tst-aton.c (main): Converted to ...
12026         (do_test): ... this.
12027         (TEST_FUNCTION): New macro.
12028         Include test-skeleton.c.
12029         * stdio-common/test-fwrite.c (main): Converted to ...
12030         (do_test): ... this.
12031         (TEST_FUNCTION): New macro.
12032         Include test-skeleton.c.
12033         * stdio-common/tst-ferror.c (main): Converted to ...
12034         (do_test): ... this.
12035         (TEST_FUNCTION): New macro.
12036         Include test-skeleton.c.
12037         * stdio-common/tst-printf.c (main): Converted to ...
12038         (do_test): ... this.
12039         (TEST_FUNCTION): New macro.
12040         Include test-skeleton.c.
12041         * stdio-common/tst-printfsz.c (main): Converted to ...
12042         (do_test): ... this.
12043         (TEST_FUNCTION): New macro.
12044         Include test-skeleton.c.
12045         * stdlib/tst-strtod.c (main): Converted to ...
12046         (do_test): ... this.
12047         (TEST_FUNCTION): New macro.
12048         Include test-skeleton.c.
12049         * string/tst-strlen.c (main): Converted to ...
12050         (do_test): ... this.
12051         (TEST_FUNCTION): New macro.
12052         Include test-skeleton.c.
12053         * string/tst-svc.c (main): Converted to ...
12054         (do_test): ... this.
12055         (TEST_FUNCTION): New macro.
12056         Include test-skeleton.c.
12057         * time/tst-strptime.c (main): Converted to ...
12058         (do_test): ... this.
12059         (TEST_FUNCTION): New macro.
12060         Include test-skeleton.c.
12061         * timezone/tst-timezone.c (main): Converted to ...
12062         (do_test): ... this.
12063         (TEST_FUNCTION): New macro.
12064         Include test-skeleton.c.
12066 2015-08-05  Zack Weinberg  <zackw@panix.com>
12068         * misc/regexp.h: Update comments.
12070 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12072         [BZ #18635]
12073         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12074         before return label.
12076 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12078         [BZ #18661]
12079         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12080         when calling __errno_location.
12081         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12082         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12084 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12086         [BZ #18661]
12087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12088         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12089         __gettimeofday.
12091 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12093         [BZ #18661]
12094         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12095         (__start_context): Don't use pop to restore %rdi so that stack
12096         is aligned to 16 bytes when calling __setcontext.
12098 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12100         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12101         only for libc.
12102         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12104 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12106         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12107         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12108         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12110 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12112         * string/memccpy.c (memccpy):
12113         Improve performance by using memchr/memcpy/__mempcpy.
12115 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12117         * string/strncpy.c (strncpy):
12118         Improve performance by using __strnlen/memcpy.
12120 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12122         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12123         Optimize to avoid an unnecessary FPCR read.
12125 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12127         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12128         Optimize to reduce FPCR/FPSR accesses.
12130 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12132         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12133         dead->data[category] != NULL.
12135 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12137         [BZ #18647]
12138         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12139         and |x| close to 1, use absolute value of x when computing log.
12140         * math/auto-libm-test-in: Add more tests of pow.
12141         * math/auto-libm-test-out: Regenerated.
12143 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12145         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12146         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12147         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12149 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12151         [BZ #18525]
12152         * locales/km_KH: Remove timezone definition.
12153         * locales/lo_LA: Likewise.
12154         * locales/my_MM: Likewise.
12155         * locales/nan_TW@latin: Likewise.
12156         * locales/th_TH: Likewise.
12157         * locales/uk_UA: Likewise.
12159 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12161         [BZ #18265]
12162         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12163         (wcsncat): Likewise.
12164         (wcscmp): Likewise.
12165         (wcsncmp): Likewise.
12167 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12169         * test-skeleton.c (usage): New function.
12170         (main): Call usage when opt is '?'.
12172 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12174         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12175         before first use.
12177 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12179         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12180         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12181         in there too.
12183 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12185         * version.h (RELEASE): Set to "development".
12186         (VERSION): Set to "2.22.90"
12188         * version.h (RELEASE): Set to "stable".
12189         (VERSION): Set to "2.22"
12190         * include/features.h (__GLIBC_MINOR__): Set to 22.
12192 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12194         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12195         Restructure macro to avoid "value computed is not used" warning.
12196         (atomic_compare_and_exchange_val_acq): Likewise.
12198 2015-08-04  Andreas Schwab  <schwab@suse.de>
12200         [BZ #18635]
12201         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12202         ret.
12203         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12205 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12207         * po/pl.po: Updated translation.
12208         * po/uk.po: Likewise.
12209         * po/fi.po: Likewise.
12210         * po/ko.po: Likewise.
12211         * po/ru.po: Likewise.
12212         * po/vi.po: Likewise.
12214 2015-07-31  Zack Weinberg  <zackw@panix.com>
12216         [BZ #18681]
12217         * regexp.h: Add unconditional #warning stating that this header
12218         will be removed soon.  Revise banner comment to match.
12219         (compile): Consistently use ERROR instead of RETURN to report
12220         errors (partial fix for bz#18681).
12221         * regexp.c: Don't include regexp.h. Remove some unnecessary
12222         declarations.
12224 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12226         * po/libc.pot: Regenerated.
12228 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12230         [BZ #18740]
12231         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12232         float-vlen4-arch-ext-cflags): Removed.
12233         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12234         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12236 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12238         [BZ #14113]
12239         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12240         aligned to __aligned__.
12241         (pthread_cond_t, pthread_rwlock_t): Likewise.
12243 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12245         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12247 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12249         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12250         (struct sigaction): Change sa_flags from a long to an int, and add
12251         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12253 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12255         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12256         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12257         sysdeps/generic/sysdep.h include.
12258         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12259         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12260         sysdeps/hppa/sysdep.h.
12261         (ENTRY, PSEUDO): Undefine before defining.
12263 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12265         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12266         from scratch to use INTERNAL_SYSCALL.
12268 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12270         [BZ #18078]
12271         * scripts/check-localplt.awk: Support alternate relocations.
12272         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12273         sections.
12274         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12275         malloc entries with + REL R_386_GLOB_DAT.
12276         * sysdeps/x86_64/localplt.data: New file.
12278 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12280         [BZ #18731]
12281         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12282         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12283         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12285 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12287         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12289 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12291         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12292         directly in terms of __sync_fetch_and_add and delete (int) cast.
12294 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12296         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12297         the -D_ASM_IA64_CURRENT_H flag.
12299 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12301         [BZ #18641]
12302         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12304 2015-07-27  Andreas Schwab  <schwab@suse.de>
12306         * conform/conformtest.pl (checknamespace): Filter out string
12307         literals while tokenizing.
12309 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12311         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12312         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12313         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12315 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12317         * nptl/tst-join7mod.c: Add #include <string.h>.
12319 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12321         * sysdeps/nios2/libm-test-ulps: Update.
12323 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12325         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12326         Fix order of arguments to the rt_sigprocmask syscall.
12327         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12328         Likewise.
12330 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12332         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12334 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12336         [BZ #18457]
12337         * nptl/Makefile (tests): New test case tst-join7.
12338         (modules-names): New test case module tst-join7mod.
12339         * nptl/tst-join7.c: New file.
12340         * nptl/tst-join7mod.c: New file.
12341         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12342         all translation units in libc.so, libpthread.so and rtld.
12344 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12348 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12350         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12351         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12352         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12353         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12354         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12356         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12358         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12360         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12361         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12362         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12363         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12365         implementation.
12367 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12369         [BZ #17711]
12370         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12371         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12372         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12373         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12374         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12375         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12377 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12379         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12380         instead of just saying load lock in the comments.
12382 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12384         * sysdeps/unix/Subdirs: Moved ...
12385         * sysdeps/posix/Subdirs: ... here.
12386         * login/pty.h (struct termios, struct winsize): Add forward decls.
12387         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12388         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12389         * sysdeps/arm/nacl/libc.abilist: Updated.
12390         * sysdeps/nacl/libutil.abilist: New file.
12392         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12393         (SIGWINCH): New macro.
12395         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12396         * sysdeps/arm/nacl/libc.abilist: Add it.
12398 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12400         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12402 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12404         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12405         Swap __glibc_reserved0 and sa_flags order.
12407 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12409         [BZ #18657]
12410         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12411         are pending TLS destructor calls.
12412         * include/link.h (struct link_map): Add concurrency note for
12413         L_TLS_DTOR_COUNT.
12414         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12415         Don't touch the link map flag.  Atomically increment
12416         l_tls_dtor_count.
12417         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12418         Avoid taking the load lock and don't touch the link map flag.
12419         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12420         * stdlib/Makefile (tests): Use it.
12421         * stdlib/tst-tls-atexit.c (do_test): dlopen
12422         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12423         to allow tst-tls-atexit-nodelete test case to use it.
12425 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12427         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12428         to bits/types.h.
12429         (msgqnum_t): New typedef.
12430         (msglen_t): Likewise.
12431         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12432         and msg_qbytes type to msglen_t.
12434 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12436         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12437         pad0 to __glibc_reserved0.
12438         (struct stat64): Likewise.
12440 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12442         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12443         Change sa_flags from a long to an int and add __glibc_reserved0 before
12444         it for padding.
12446 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12448         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12449         anonymous by deleting "siginfo" name.
12451 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12453         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12454         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12455         rather than __nacl_irt_filename.
12456         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12458         * NEWS: New item for arm-nacl port.
12459         * sysdeps/arm/nacl/libc.abilist: New file.
12460         * sysdeps/nacl/ld.abilist: New file.
12461         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12462         * sysdeps/nacl/libanl.abilist: New file.
12463         * sysdeps/nacl/libcrypt.abilist: New file.
12464         * sysdeps/nacl/libdl.abilist: New file.
12465         * sysdeps/nacl/libm.abilist: New file.
12466         * sysdeps/nacl/libpthread.abilist: New file.
12467         * sysdeps/nacl/libresolv.abilist: New file.
12468         * sysdeps/nacl/librt.abilist: New file.
12470 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12472         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12473         __startcontext to initialize the new context.
12474         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12475         up CFI directive to forbid further backtracing.
12477 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12479         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12480         reference.
12481         * charmaps/ANSI_X3.4-1968: Likewise.
12482         * charmaps/BS_4730: Likewise.
12483         * charmaps/BS_VIEWDATA: Likewise.
12484         * charmaps/CP1250: Likewise.
12485         * charmaps/CP1251: Likewise.
12486         * charmaps/CP1252: Likewise.
12487         * charmaps/CP1253: Likewise.
12488         * charmaps/CP1254: Likewise.
12489         * charmaps/CP1255: Likewise.
12490         * charmaps/CP1256: Likewise.
12491         * charmaps/CSN_369103: Likewise.
12492         * charmaps/EBCDIC-DK-NO: Likewise.
12493         * charmaps/GB_1988-80: Likewise.
12494         * charmaps/GREEK-CCITT: Likewise.
12495         * charmaps/GREEK7: Likewise.
12496         * charmaps/INIS-8: Likewise.
12497         * charmaps/ISIRI-3342: Likewise.
12498         * charmaps/ISO_2033-1983: Likewise.
12499         * charmaps/ISO_5427-EXT: Likewise.
12500         * locales/POSIX: Likewise.
12501         * locales/ar_SA: Likewise.
12502         * locales/be_BY: Likewise.
12503         * locales/be_BY@latin: Likewise.
12504         * locales/ca_ES: Likewise.
12505         * locales/cs_CZ: Likewise.
12506         * locales/da_DK: Likewise.
12507         * locales/de_BE: Likewise.
12508         * locales/de_CH: Likewise.
12509         * locales/de_LU: Likewise.
12510         * locales/en_AU: Likewise.
12511         * locales/en_BW: Likewise.
12512         * locales/en_CA: Likewise.
12513         * locales/en_DK: Likewise.
12514         * locales/en_GB: Likewise.
12515         * locales/en_IE: Likewise.
12516         * locales/en_NZ: Likewise.
12517         * locales/en_ZA: Likewise.
12518         * locales/en_ZW: Likewise.
12519         * locales/es_AR: Likewise.
12520         * locales/es_BO: Likewise.
12521         * locales/es_CL: Likewise.
12522         * locales/es_CO: Likewise.
12523         * locales/es_DO: Likewise.
12524         * locales/es_EC: Likewise.
12525         * locales/es_ES: Likewise.
12526         * locales/es_HN: Likewise.
12527         * locales/es_MX: Likewise.
12528         * locales/es_PA: Likewise.
12529         * locales/es_PE: Likewise.
12530         * locales/es_PY: Likewise.
12531         * locales/es_SV: Likewise.
12532         * locales/es_US: Likewise.
12533         * locales/es_UY: Likewise.
12534         * locales/es_VE: Likewise.
12535         * locales/et_EE: Likewise.
12536         * locales/fa_IR: Likewise.
12537         * locales/fo_FO: Likewise.
12538         * locales/fr_CA: Likewise.
12539         * locales/fr_CH: Likewise.
12540         * locales/gv_GB: Likewise.
12541         * locales/he_IL: Likewise.
12542         * locales/hr_HR: Likewise.
12543         * locales/id_ID: Likewise.
12544         * locales/is_IS: Likewise.
12545         * locales/it_CH: Likewise.
12546         * locales/iw_IL: Likewise.
12547         * locales/kl_GL: Likewise.
12548         * locales/ko_KR: Likewise.
12549         * locales/kw_GB: Likewise.
12550         * locales/lg_UG: Likewise.
12551         * locales/lt_LT: Likewise.
12552         * locales/lv_LV: Likewise.
12553         * locales/mi_NZ: Likewise.
12554         * locales/nhn_MX: Likewise.
12555         * locales/nl_BE: Likewise.
12556         * locales/pl_PL: Likewise.
12557         * locales/sk_SK: Likewise.
12558         * locales/sl_SI: Likewise.
12559         * locales/sv_FI: Likewise.
12560         * locales/tl_PH: Likewise.
12561         * locales/tr_TR: Likewise.
12562         * locales/vi_VN: Likewise.
12564 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12566         [BZ #17475]
12567         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12568         of tu_IN and bh_IN.
12570 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12572         [BZ #18694]
12573         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12574         bits/wordsize.h.
12575         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12577 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12579         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12580         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12581         (spawn_thread): New function.
12582         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12583         (do_test): ... here.  Use IS_LOADED to test for its
12584         availability.
12586 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12588         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12590 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12592         [BZ #18696]
12593         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12594         si_addr_bnd.
12595         (si_lower): New.
12596         (si_upper): Likewise.
12598 2015-07-16  David S. Miller  <davem@davemloft.net>
12600         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12602 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12604         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12605         buffer.
12606         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12607         fail output information.
12609 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12612         and strstr-ppc64..
12613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12614         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12615         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12616         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12617         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12619 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12621         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12622         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12623         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12624         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12626 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12628         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12629         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12630         rtld_hidden_proto.
12631         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12633 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12635         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12636         the test can fail.
12638         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12640         [BZ #18676]
12641         * elf/tst-nodelete-opened.c: New test case.
12642         * elf/tst-nodelete-opened-lib.c: New test case module.
12643         * elf/Makefile (tests, modules-names): Use them.
12644         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12645         early.
12647 2015-07-15  David S. Miller  <davem@davemloft.net>
12649         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12650         futex-intenal.h
12651         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12652         * sysdeps/sparc/sparc64/Makefile: Likewise.
12653         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12654         Remove space from macro define.
12655         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12657 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12659         [BZ #17475]
12660         * locale/iso-639.def: Update Bhili and Tulu language codes as
12661         per iso639-3.
12663 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12665         * elf/tst-leaks1.c (main): Converted to ...
12666         (do_test): ... this.
12667         (TEST_FUNCTION): New macro.
12668         Include test-skeleton.c.
12669         * localedata/tst-langinfo.c (main): Converted to ...
12670         (do_test): ... this.
12671         (TEST_FUNCTION): New macro.
12672         Include test-skeleton.c.
12673         * math/test-fpucw.c (main): Converted to ...
12674         (do_test): ... this.
12675         (TEST_FUNCTION): New macro.
12676         Include test-skeleton.c.
12677         * math/test-tgmath.c (main): Converted to ...
12678         (do_test): ... this.
12679         (TEST_FUNCTION): New macro.
12680         Include test-skeleton.c.
12681         * math/test-tgmath2.c (main): Converted to ...
12682         (do_test): ... this.
12683         (TEST_FUNCTION): New macro.
12684         Include test-skeleton.c.
12685         * setjmp/tst-setjmp.c (main): Converted to ...
12686         (do_test): ... this.
12687         (TEST_FUNCTION): New macro.
12688         Include test-skeleton.c.
12689         * stdio-common/tst-sscanf.c (main): Converted to ...
12690         (do_test): ... this.
12691         (TEST_FUNCTION): New macro.
12692         Include test-skeleton.c.
12693         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12694         (do_test): ... this.
12695         (TEST_FUNCTION): New macro.
12696         Include test-skeleton.c.
12698         * elf/tst-audit9.c (main): Converted to ...
12699         (do_test): ... this.
12700         (TEST_FUNCTION): New macro.
12701         Include test-skeleton.c.
12703 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12705         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12707 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12709         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12710         New variable.
12712 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12714         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12716 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12718         * sysdeps/generic/dl-fileid.h: New file.
12719         * sysdeps/posix/dl-fileid.h: New file.
12720         * sysdeps/nacl/dl-fileid.h: New file.
12721         * include/link.h: Include <dl-fileid.h>.
12722         (struct link_map): Replace l_dev and l_ino with l_file_id.
12723         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12724         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12725         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12727 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12729         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12731 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12733         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12734         Add iff $CXX is set.
12735         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12736         Likewise.
12737         (tst-nodelete-zmodiff): Likewise.
12738         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12740 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12742         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12744 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12746         * sysdeps/aarch64/fpu/math_private.h
12747         (define math_opt_barrier): Add AArch64 version.
12748         (math_force_eval): Likewise.
12750 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12752         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12754 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12756         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12757         %ld with %jd and cast to intmax_t.
12758         (do_test_length_zero): Likewise.
12760 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12762         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12764 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12766         * sysdeps/tile/libm-test-ulps: Regenerated.
12768         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12769         Comment out the whole function, not just its body.
12771 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12773         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12774         locks.
12776         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12778 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12780         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12781         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12783 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12785         * sysdeps/nptl/futex-internal.h: New file.
12786         * sysdeps/nacl/futex-internal.h: New file.
12787         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12788         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12789         error checking.
12790         (setxid_unmark_thread): Likewise.
12791         (__nptl_setxid): Likewise.
12792         (__wait_lookup_done): Likewise.
12793         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12794         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12795         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12796         * nptl/pthread_once.c (clear_once_control): Likewise.
12797         (__pthread_once_slow): Likewise.
12798         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12799         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12800         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12801         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12802         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12803         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12804         Likewise.
12805         (__pthread_rwlock_rdlock): Likewise.
12806         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12807         Likewise.
12808         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12809         Likewise.
12810         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12811         Likewise.
12812         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12813         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12814         Likewise.
12815         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12816         __ASSUME_PRIVATE_FUTEX check.
12817         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12818         Check that shared futexes are supported.
12819         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12820         wrappers with error checking.
12821         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12822         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12823         * nptl/pthread_barrierattr_setpshared.c
12824         (pthread_barrierattr_setpshared): Check that shared futexes are
12825         supported.
12826         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12827         Likewise.
12828         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12829         Likewise.
12830         * nptl/sem_init.c (futex_private_if_supported): Remove.
12831         (__new_sem_init): Adapt and check that shared futexes are supported.
12832         * nptl/sem_open.c (sem_open): Likewise.
12833         * nptl/sem_post.c (futex_wake): Remove.
12834         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12835         (do_futex_wait): Use futex wrappers with error checking.
12836         * nptl/sem_wait.c: Include lowlevellock.h.
12837         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12838         Use futex_supports_pshared.
12839         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12840         Use futex wrappers with error checking.
12841         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12842         Likewise.
12843         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12844         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12845         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12846         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12847         (futex_wake): Likewise.
12848         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12849         (do_futex_wait): Use futex wrappers with error checking.
12850         (__new_sem_wait_slow): Update EINTR handling.
12851         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12853 2015-07-09  Martin Sebor  <msebor@redhat.com>
12855         [BZ #18435]
12856         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12857         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12858         * nptl/Makefile (test-xfail-tst-once5): Define.
12860 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12862         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12863         * elf/dl-minimal.c: For readability, reorder some definitions and
12864         introduce more page breaks.  Include <stdio.h>.
12865         (__libc_fatal): New function.
12867         * include/unistd.h: Add rtld_hidden_proto for _exit.
12868         * posix/_exit.c: Add rtld_hidden_def.
12869         * sysdeps/mach/hurd/_exit.c: Likewise.
12870         * sysdeps/nacl/_exit.c: Likewise.
12871         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12872         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12874 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12876         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12877         bndmov encoding with zero displacement.
12879 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12880             H.J. Lu  <hongjiu.lu@intel.com>
12882         [BZ #18134]
12883         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12884         * sysdeps/i386/configure: Regenerated.
12885         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12886         (_dl_runtime_profile): Save and restore Intel MPX return bound
12887         registers when calling _dl_call_pltexit.  Add
12888         PRESERVE_BND_REGS_PREFIX before return.
12889         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12890         (LRV_BND1_OFFSET): Likewise.
12891         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12892         lrv_bnd1.
12893         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12894         typo in bndmov encoding.
12895         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12896         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12897         branch instructions to preserve bounds.
12899 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12902         [GLIBC_2.22]: Add fmemopen.
12904 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12906         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12907         returns an error, also try to use host port from __mach_host_self for
12908         the __vm_wire call.
12909         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12911 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12913         [BZ #18400]
12914         [BZ #18648]
12915         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12916         Fix pr_uid and pr_gid members.
12917         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12918         definition to elf_greg_t.
12920 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12922         [BZ #18383]
12923         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12924         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12925         * sysdeps/arm/configure: Regenerated.
12926         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12927         (test-xfail-tst-tlsalign-static): Variable removed.
12929         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12930         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12931         rather than explicit 'ln -s'.
12933         * resolv/rpc/netdb.h: New file.
12934         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12936 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12938         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12939         length buffers.
12940         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12941         test-skeleton.c.
12943         [BZ #6544]
12944         [BZ #11216]
12945         [BZ #12836]
12946         [BZ #13151]
12947         [BZ #13152]
12948         [BZ #14292]
12949         * include/stdio.h (fmemopen): Remove hidden prototype.
12950         (__fmemopen): Add new hidden prototype.
12951         * libio/Makefile: Add oldfmemopen object.
12952         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12953         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12954         compliance.
12955         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12956         symbol compatibility.
12957         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12958         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12959         fmemopen.
12960         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12961         on append and read mode.
12962         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12963         fmemopen.
12964         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12965         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12966         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12967         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12968         Likewise.
12969         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12970         [GLIBC_2.22]: Likewise.
12971         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12972         Likewise.
12973         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12974         Likewise.
12975         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12976         [GLIBC_2.22]: Likewise.
12977         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12978         [GLIBC_2.22]: Likewise.
12979         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12980         [GLIBC_2.22]: Likewise.
12981         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12982         [GLIBC_2.22]: Likewise.
12983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12984         [GLIBC_2.22]: Likewise.
12985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12986         [GLIBC_2.22]: Likewise.
12987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12988         [GLIBC_2.22]: Likewise.
12989         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12990         Likewise.
12991         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12992         Likewise.
12993         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12994         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12995         [GLIBC_2.22]: Likewise.
12996         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12997         [GLIBC_2.22]: Likewise.
12998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12999         [GLIBC_2.22]: Likewise.
13000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13001         [GLIBC_2.22]: Likewise.
13002         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13009         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13011 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13013         [BZ #18643]
13014         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13015         IPV6_PATHMTU, and IPV6_DONTFRAG.
13017 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13019         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13020         and _IO_UNBUFFERED.
13021         * libio/oldfileops.c: Likewise.
13022         * libio/wfileops.c: Likewise.
13024 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13026         * nscd/selinux.c: Delete selinux/flask.h include.
13028 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13030         [BZ #18641]
13031         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13032         (putpwent): Likewise.
13033         (getpwnam): Likewise.
13034         (getpwent_r): Likewise.
13035         (getpwuid_r): Likewise.
13036         (getpwnam_r): Likewise.
13037         (fgetpwent_r): Likewise.
13039 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13041         [BZ #18557]
13042         * inet/rcmd.c (__validuser2_sa): Check user first to
13043         short-circuit host check.
13045 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13046             Mikhail Ilin  <m.ilin@samsung.com>
13048         [BZ #17833]
13049         * elf/Makefile (tests): Add tst-nodelete.
13050         (modules-names): Add tst-nodelete-uniquemod.
13051         (tst-nodelete-uniquemod.so-no-z-defs): New.
13052         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13053         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13054         ($(objpfx)tst-nodelete): Likewise.
13055         ($(objpfx)tst-nodelete.out): Likewise.
13056         (LDFLAGS-tst-nodelete): Likewise.
13057         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13058         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13059         implement forced object deletion.
13060         (_dl_close): Pass false to _dl_close_worker.
13061         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13062         * elf/tst-nodelete.cc: New file.
13063         * elf/tst-nodeletelib.cc: Likewise.
13064         * elf/tst-znodeletelib.cc: Likewise.
13065         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13067 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13069         [BZ #18508]
13070         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13071         Depend on $(libdl).
13072         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13073         is not called infinitely times.
13074         (backtrace_helper): New function.
13075         (trace_arg): New struct.
13076         (st1): Enlarge stack size.
13077         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13078         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13079         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13080         Likewise.
13082 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13084         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13086 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13088         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13089         Include sys/types.h instead of bits/types.h.
13090         Remove inclusion of bits/wordsize.h.
13092 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13094         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13095         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13096         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13097         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13098         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13099         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13101 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13103         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13104         link-defines.sym.
13105         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13106         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13107         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13108         and LR_SIZE.
13109         * sysdeps/i386/link-defines.sym: New file.
13111 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13113         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13114         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13115         ($(objpfx)tst-audit3): New rule.
13116         ($(objpfx)tst-audit3.out): Likewise.
13117         * sysdeps/i386/tst-audit3.c: New file.
13118         * sysdeps/i386/tst-audit3.h: Likewise.
13119         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13120         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13122 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13124         [BZ #18633]
13125         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13126         pointer in C code.
13127         (__strcat_c): Likewise.
13128         (__strcat_g): Likewise.
13130 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13132         [BZ #18592]
13133         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13135 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13137         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13138         New function.  (__ieee754_sqrtf): New function.
13139         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13140         New function.
13141         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13142         New function.
13144 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13146         * sysdeps/ieee754/support.c: Remove unused file.
13148 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13150         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13151         registers instead of d ones so the layout is kernel abi compatible.
13152         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13153         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13154         Likewise.
13156 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13158         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13160 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13162         [BZ #18619]
13163         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13164         and return argument in case of subnormal argument.
13166 2015-07-01  Martin Sebor  <msebor@redhat.com>
13168         [BZ #18435]
13169         * nptl/Makefile: Add tst-once5.cc.
13170         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13171         Remove macro redefinitions.
13172         * nptl/tst-once5.cc: New test.
13174 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13176         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13178         * sysdeps/arm/libm-test-ulps: Regenerated.
13180         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13181         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13183 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13185         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13186         lll_lock_wait_private and lll_futex_wake probes.
13188         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13189         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13190         Likewise.
13191         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13192         atomic_spin_nop.
13193         * sysdeps/x86_64/bits/atomic.h: Likewise.
13194         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13195         to atomic_spin_nop and move ...
13196         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13197         ... here and ...
13198         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13199         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13200         atomic_spin_nop instead of BUSY_WAIT_NOP.
13201         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13202         Likewise.
13203         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13204         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13205         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13206         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13207         instead of atomic_delay.
13209 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13211         [BZ #18613]
13212         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13213         X_ADJ not X when adjusting exponent.
13214         (__ieee754_gamma_r): Do intermediate computations in
13215         round-to-nearest then adjust overflowing and underflowing results
13216         as needed.
13217         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13218         of X_ADJ not X when adjusting exponent.
13219         (__ieee754_gammaf_r): Do intermediate computations in
13220         round-to-nearest then adjust overflowing and underflowing results
13221         as needed.
13222         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13223         log of X_ADJ not X when adjusting exponent.
13224         (__ieee754_gammal_r): Do intermediate computations in
13225         round-to-nearest then adjust overflowing and underflowing results
13226         as needed.  Use 1.0L not 1.0f as numerator of division.
13227         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13228         log of X_ADJ not X when adjusting exponent.
13229         (__ieee754_gammal_r): Do intermediate computations in
13230         round-to-nearest then adjust overflowing and underflowing results
13231         as needed.  Use 1.0L not 1.0f as numerator of division.
13232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13233         of X_ADJ not X when adjusting exponent.
13234         (__ieee754_gammal_r): Do intermediate computations in
13235         round-to-nearest then adjust overflowing and underflowing results
13236         as needed.  Use 1.0L not 1.0f as numerator of division.
13237         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13238         to auto-libm-test-in.
13239         (tgamma_test): Use ALL_RM_TEST.
13240         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13241         tests of tgamma with spurious-overflow.
13242         * math/auto-libm-test-out: Regenerated.
13243         * math/gen-libm-have-vector-test.sh: Do not check for START.
13244         * sysdeps/i386/fpu/libm-test-ulps: Update.
13245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13247         [BZ #18612]
13248         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13249         arguments, just return 0.5 times the argument, with underflow
13250         forced as needed.
13251         * math/auto-libm-test-in: Add more tests of j1.
13252         * math/auto-libm-test-out: Regenerated.
13254         [BZ #16559]
13255         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13256         (__ieee754_j1): Force underflow exception for small results.
13257         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13258         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13259         (__ieee754_j1f): Force underflow exception for small results.
13260         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13261         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13263         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13264         (__ieee754_j1l): Force underflow exception for small results.
13265         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13266         * math/auto-libm-test-in: Add more tests of j1 and jn.
13267         * math/auto-libm-test-out: Regenerated.
13269         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13270         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13271         (PF_MPLS): Likewise.
13272         (AF_IB): Likewise.
13273         (AF_MPLS): Likewise.
13274         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13275         value and macro.
13276         (MS_RMT_MASK): Include MS_LAZYTIME.
13278 2015-06-26  Mel Gorman  <mgorman@suse.de>
13280         [BZ #18502]
13281         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13282         already minimal.
13284 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13286         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13287         (DT_MIPS_NUM): Update.
13288         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13289         DT_MIPS_RLD_MAP_REL.
13291 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13293         [BZ #16559]
13294         [BZ #18602]
13295         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13296         round-to-nearest internally then recompute results that
13297         underflowed to zero in the original rounding mode.
13298         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13299         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13300         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13301         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13302         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13303         * sysdeps/i386/fpu/libm-test-ulps: Update.
13304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13306 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13308         * NEWS: Fixed description of link with vector math library.
13310 2015-06-25  Andreas Schwab  <schwab@suse.de>
13312         [BZ #18549]
13313         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13314         * libio/test-fmemopen.c (do_test): Add test for it.
13316 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13318         [BZ #17841]
13319         * Makeconfig (no-pie-ldflag): New.
13320         (+link): Set to $(+link-pie) if default to PIE.
13321         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13322         * config.make.in (build-pie-default): New.
13323         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13324         is default.  AC_SUBST.
13325         * configure: Regenerated.
13326         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13328 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13330         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13331         to 'unsigned int'.
13333         * resolv/gai_misc.h (struct waitlist): Change type of field
13334         counterp to 'volatile unsigned int *'.
13335         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13336         FUTEXADDR and OLDVAL.
13337         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13338         Give local variable TOTAL type 'volatile unsigned int'.
13339         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13340         * resolv/gai_suspend.c (gai_suspend):
13341         Give local variable CNTR type 'unsigned int'.
13343         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13344         counterp to 'volatile unsigned int *'.
13345         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13346         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13347         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13348         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13349         Give local variable TOTAL type 'volatile unsigned int'.
13350         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13352 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13354         [BZ #18383]
13355         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13356         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13357         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13358         comment for i386/x86-64.
13359         (test-xfail-tst-tlsalign-extern-static): Removed.
13361 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13363         * math/test-double.h: New file.
13364         * math/test-float.h: Likewise.
13365         * math/test-ldouble.h: Likewise.
13366         * math/test-math-inline.h: Likewise.
13367         * math/test-math-no-inline.h: Likewise.
13368         * math/test-math-scalar.h: Likewise.
13369         * math/test-math-vector.h: Likewise.
13370         * math/test-vec-loop.h: Remove file.  Contents moved into
13371         test-math-vector.h.
13372         * math/libm-test.inc (MATHCONST): Do not document macro.
13373         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13374         and test-math-scalar.h.
13375         (FUNC): Remove macro.
13376         (FUNC_TEST): Likewise.
13377         (FLOAT): Likewise.
13378         (MATHCONST): Likewise.
13379         (PRINTF_EXPR): Likewise.
13380         (PRINTF_XEXPR): Likewise.
13381         (PRINTF_NEXPR): Likewise.
13382         (TEST_DOUBLE): Likewise.
13383         (TEST_MATHVEC): Likewise.
13384         (__NO_MATH_INLINES): Likewise.
13385         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13386         and test-math-scalar.h.
13387         (FUNC): Remove macro.
13388         (FUNC_TEST): Likewise.
13389         (FLOAT): Likewise.
13390         (MATHCONST): Likewise.
13391         (PRINTF_EXPR): Likewise.
13392         (PRINTF_XEXPR): Likewise.
13393         (PRINTF_NEXPR): Likewise.
13394         (TEST_FLOAT): Likewise.
13395         (TEST_MATHVEC): Likewise.
13396         (__NO_MATH_INLINES): Likewise.
13397         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13398         and test-math-scalar.h.
13399         (FUNC): Remove macro.
13400         (FUNC_TEST): Likewise.
13401         (FLOAT): Likewise.
13402         (MATHCONST): Likewise.
13403         (PRINTF_EXPR): Likewise.
13404         (PRINTF_XEXPR): Likewise.
13405         (PRINTF_NEXPR): Likewise.
13406         (TEST_DOUBLE): Likewise.
13407         (TEST_MATHVEC): Likewise.
13408         (TEST_INLINE): Likewise.
13409         (__NO_MATH_INLINES): Likewise.
13410         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13411         test-math-scalar.h.
13412         (FUNC): Remove macro.
13413         (FUNC_TEST): Likewise.
13414         (FLOAT): Likewise.
13415         (MATHCONST): Likewise.
13416         (PRINTF_EXPR): Likewise.
13417         (PRINTF_XEXPR): Likewise.
13418         (PRINTF_NEXPR): Likewise.
13419         (TEST_FLOAT): Likewise.
13420         (TEST_MATHVEC): Likewise.
13421         (TEST_INLINE): Likewise.
13422         (__NO_MATH_INLINES): Likewise.
13423         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13424         and test-math-scalar.h.
13425         (FUNC): Remove macro.
13426         (FUNC_TEST): Likewise.
13427         (FLOAT): Likewise.
13428         (MATHCONST): Likewise.
13429         (PRINTF_EXPR): Likewise.
13430         (PRINTF_XEXPR): Likewise.
13431         (PRINTF_NEXPR): Likewise.
13432         (TEST_LDOUBLE): Likewise.
13433         (TEST_MATHVEC): Likewise.
13434         (TEST_INLINE): Likewise.
13435         (__NO_MATH_INLINES): Likewise.
13436         * math/test-ldouble.c: Include test-ldouble.h,
13437         test-math-no-inline.h and test-math-scalar.h.
13438         (FUNC): Remove macro.
13439         (FUNC_TEST): Likewise.
13440         (FLOAT): Likewise.
13441         (MATHCONST): Likewise.
13442         (PRINTF_EXPR): Likewise.
13443         (PRINTF_XEXPR): Likewise.
13444         (PRINTF_NEXPR): Likewise.
13445         (TEST_LDOUBLE): Likewise.
13446         (TEST_MATHVEC): Likewise.
13447         (__NO_MATH_INLINES): Likewise.
13448         * math/test-double-vlen2.h: Include test-double.h,
13449         test-math-no-inline.h and test-math-vector.h.
13450         (FLOAT): Remove macro.
13451         (FUNC): Likewise.
13452         (MATHCONST): Likewise.
13453         (PRINTF_EXPR): Likewise.
13454         (PRINTF_XEXPR): Likewise.
13455         (PRINTF_NEXPR): Likewise.
13456         (TEST_DOUBLE): Likewise.
13457         (TEST_MATHVEC): Likewise.
13458         (__NO_MATH_INLINES): Likewise.
13459         (CNCT): Likewise.
13460         (CONCAT): Likewise.
13461         (WRAPPER_NAME): Likewise.
13462         (WRAPPER_DECL): Likewise.
13463         (WRAPPER_DECL_ff): Likewise.
13464         (WRAPPER_DECL_fFF): Likewise.
13465         (VECTOR_WRAPPER): Likewise.
13466         (VECTOR_WRAPPER_ff): Likewise.
13467         (VECTOR_WRAPPER_fFF): Likewise.
13468         (VEC_LEN): New macro.
13469         * math/test-double-vlen4.h: Include test-double.h,
13470         test-math-no-inline.h and test-math-vector.h.
13471         (FLOAT): Remove macro.
13472         (FUNC): Likewise.
13473         (MATHCONST): Likewise.
13474         (PRINTF_EXPR): Likewise.
13475         (PRINTF_XEXPR): Likewise.
13476         (PRINTF_NEXPR): Likewise.
13477         (TEST_DOUBLE): Likewise.
13478         (TEST_MATHVEC): Likewise.
13479         (__NO_MATH_INLINES): Likewise.
13480         (CNCT): Likewise.
13481         (CONCAT): Likewise.
13482         (WRAPPER_NAME): Likewise.
13483         (WRAPPER_DECL): Likewise.
13484         (WRAPPER_DECL_ff): Likewise.
13485         (WRAPPER_DECL_fFF): Likewise.
13486         (VECTOR_WRAPPER): Likewise.
13487         (VECTOR_WRAPPER_ff): Likewise.
13488         (VECTOR_WRAPPER_fFF): Likewise.
13489         (VEC_LEN): New macro.
13490         * math/test-double-vlen8.h: Include test-double.h,
13491         test-math-no-inline.h and test-math-vector.h.
13492         (FLOAT): Remove macro.
13493         (FUNC): Likewise.
13494         (MATHCONST): Likewise.
13495         (PRINTF_EXPR): Likewise.
13496         (PRINTF_XEXPR): Likewise.
13497         (PRINTF_NEXPR): Likewise.
13498         (TEST_DOUBLE): Likewise.
13499         (TEST_MATHVEC): Likewise.
13500         (__NO_MATH_INLINES): Likewise.
13501         (CNCT): Likewise.
13502         (CONCAT): Likewise.
13503         (WRAPPER_NAME): Likewise.
13504         (WRAPPER_DECL): Likewise.
13505         (WRAPPER_DECL_ff): Likewise.
13506         (WRAPPER_DECL_fFF): Likewise.
13507         (VECTOR_WRAPPER): Likewise.
13508         (VECTOR_WRAPPER_ff): Likewise.
13509         (VECTOR_WRAPPER_fFF): Likewise.
13510         (VEC_LEN): New macro.
13511         * math/test-float-vlen4.h: Include test-float.h,
13512         test-math-no-inline.h and test-math-vector.h.
13513         (FLOAT): Remove macro.
13514         (FUNC): Likewise.
13515         (MATHCONST): Likewise.
13516         (PRINTF_EXPR): Likewise.
13517         (PRINTF_XEXPR): Likewise.
13518         (PRINTF_NEXPR): Likewise.
13519         (TEST_FLOAT): Likewise.
13520         (TEST_MATHVEC): Likewise.
13521         (__NO_MATH_INLINES): Likewise.
13522         (CNCT): Likewise.
13523         (CONCAT): Likewise.
13524         (WRAPPER_NAME): Likewise.
13525         (WRAPPER_DECL): Likewise.
13526         (WRAPPER_DECL_ff): Likewise.
13527         (WRAPPER_DECL_fFF): Likewise.
13528         (VECTOR_WRAPPER): Likewise.
13529         (VECTOR_WRAPPER_ff): Likewise.
13530         (VECTOR_WRAPPER_fFF): Likewise.
13531         (VEC_LEN): New macro.
13532         * math/test-float-vlen8.h: Include test-float.h,
13533         test-math-no-inline.h and test-math-vector.h.
13534         (FLOAT): Remove macro.
13535         (FUNC): Likewise.
13536         (MATHCONST): Likewise.
13537         (PRINTF_EXPR): Likewise.
13538         (PRINTF_XEXPR): Likewise.
13539         (PRINTF_NEXPR): Likewise.
13540         (TEST_FLOAT): Likewise.
13541         (TEST_MATHVEC): Likewise.
13542         (__NO_MATH_INLINES): Likewise.
13543         (CNCT): Likewise.
13544         (CONCAT): Likewise.
13545         (WRAPPER_NAME): Likewise.
13546         (WRAPPER_DECL): Likewise.
13547         (WRAPPER_DECL_ff): Likewise.
13548         (WRAPPER_DECL_fFF): Likewise.
13549         (VECTOR_WRAPPER): Likewise.
13550         (VECTOR_WRAPPER_ff): Likewise.
13551         (VECTOR_WRAPPER_fFF): Likewise.
13552         (VEC_LEN): New macro.
13553         * math/test-float-vlen16.h: Include test-float.h,
13554         test-math-no-inline.h and test-math-vector.h.
13555         (FLOAT): Remove macro.
13556         (FUNC): Likewise.
13557         (MATHCONST): Likewise.
13558         (PRINTF_EXPR): Likewise.
13559         (PRINTF_XEXPR): Likewise.
13560         (PRINTF_NEXPR): Likewise.
13561         (TEST_FLOAT): Likewise.
13562         (TEST_MATHVEC): Likewise.
13563         (__NO_MATH_INLINES): Likewise.
13564         (CNCT): Likewise.
13565         (CONCAT): Likewise.
13566         (WRAPPER_NAME): Likewise.
13567         (WRAPPER_DECL): Likewise.
13568         (WRAPPER_DECL_ff): Likewise.
13569         (WRAPPER_DECL_fFF): Likewise.
13570         (VECTOR_WRAPPER): Likewise.
13571         (VECTOR_WRAPPER_ff): Likewise.
13572         (VECTOR_WRAPPER_fFF): Likewise.
13573         (VEC_LEN): New macro.
13574         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13575         test-vec-loop.h.
13576         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13577         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13578         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13579         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13580         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13582         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13584 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13586         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13587         (__getlogin_r): ... this.
13589 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13591         [BZ #18594]
13592         * math/s_ccosh.c (__ccosh): Compare with least normal value
13593         instead of comparing class with FP_SUBNORMAL.
13594         * math/s_ccoshf.c (__ccoshf): Likewise.
13595         * math/s_ccoshl.c (__ccoshl): Likewise.
13596         * math/s_cexp.c (__cexp): Likewise.
13597         * math/s_cexpf.c (__cexpf): Likewise.
13598         * math/s_cexpl.c (__cexpl): Likewise.
13599         * math/s_csin.c (__csin): Likewise.
13600         * math/s_csinf.c (__csinf): Likewise.
13601         * math/s_csinh.c (__csinh): Likewise.
13602         * math/s_csinhf.c (__csinhf): Likewise.
13603         * math/s_csinhl.c (__csinhl): Likewise.
13604         * math/s_csinl.c (__csinl): Likewise.
13605         * math/s_ctan.c (__ctan): Likewise.
13606         * math/s_ctanf.c (__ctanf): Likewise.
13607         * math/s_ctanh.c (__ctanh): Likewise.
13608         * math/s_ctanhf.c (__ctanhf): Likewise.
13609         * math/s_ctanhl.c (__ctanhl): Likewise.
13610         * math/s_ctanl.c (__ctanl): Likewise.
13611         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13612         csin, csinh, ctan and ctanh.
13613         * math/auto-libm-test-out: Regenerated.
13614         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13615         * sysdeps/i386/fpu/libm-test-ulps: Update.
13616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13618 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13620         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13621         return value is wrong, print the expected value too.
13623 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13625         [BZ #18585]
13626         * elf/readlib.c (is_gdb_python_file): New.
13627         (process_file): Don't issue errors on filenames with -gdb.py
13628         suffix.
13630 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13632         * math/auto-libm-test-in: Add more tests of csin and csinh.
13633         * math/auto-libm-test-out: Regenerated.
13634         * math/libm-test.inc (csin_test_data): Remove tests moved to
13635         auto-libm-test-in.
13636         (csinh_test_data): Likewise.
13638         [BZ #18593]
13639         * math/s_csin.c (__csin): Negate before rather than after possibly
13640         overflowing multiplication.
13641         * math/s_csinf.c (__csinf): Likewise.
13642         * math/s_csinh.c (__csinh): Likewise.
13643         * math/s_csinhf.c (__csinhf): Likewise.
13644         * math/s_csinhl.c (__csinhl): Likewise.
13645         * math/s_csinl.c (__csinl): Likewise.
13646         * math/auto-libm-test-in: Add some tests of csin and csinh.
13647         * math/auto-libm-test-out: Regenerated.
13648         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13649         (csinh_test_data): Likewise.
13650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13652         [BZ #18586]
13653         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13654         underflow exception for small results.
13656 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13658         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13659         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13660         variable and included header.
13661         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13662         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13663         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13664         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13666         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13667         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13669         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13670         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13671         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13672         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13673         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13674         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13675         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13676         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13678 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13680         [BZ #16526]
13681         [BZ #16538]
13682         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13683         (__sin): Force underflow exception for arguments with small
13684         absolute value.
13685         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13686         (__kernel_sinf): Force underflow exception for arguments with
13687         small absolute value.
13688         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13689         (__kernel_sincosl): Force underflow exception for arguments with
13690         small absolute value.
13691         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13692         (__kernel_sinl): Force underflow exception for arguments with
13693         small absolute value.
13694         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13695         (__kernel_sincosl): Force underflow exception for arguments with
13696         small absolute value.
13697         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13698         (__kernel_sinl): Force underflow exception for arguments with
13699         small absolute value.
13700         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13701         (__kernel_sinl): Force underflow exception for arguments with
13702         small absolute value.
13703         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13704         (__kernel_sinf): Force underflow exception for arguments with
13705         small absolute value.
13706         * math/auto-libm-test-in: Add more tests of sin and sincos.
13707         * math/auto-libm-test-out: Regenerated.
13709         [BZ #18245]
13710         [BZ #18583]
13711         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13712         (__kernel_standard_l): Use feholdexcept and fesetenv around
13713         conversion to double instead of special-casing overflow and
13714         underflow.
13715         * math/libm-test.inc (fmod_test_data): Add more tests.
13716         (remainder_test_data): Likewise.
13717         (sqrt_test_data): Likewise.
13719 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13721         [BZ #17403]
13722         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13723         atomic_read_barrier, atomic_write_barrier): Define.
13724         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13725         atomic_read_barrier, atomic_write_barrier): Define.
13727 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13729         * math/Makefile [$(PERL) != no]
13730         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13731         dependency on libm-test.stmp below the inclusion of Rules.
13733 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13735         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13736         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13737         and included header.
13738         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13739         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13741         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13743         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13744         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13745         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13746         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13747         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13748         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13749         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13750         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13751         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13752         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13753         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13754         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13755         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13756         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13758 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13760         [BZ #18371]
13761         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13762         intermediate but not final result might underflow.
13763         * math/s_csqrtf.c (__csqrtf): Likewise.
13764         * math/s_csqrtl.c (__csqrtl): Likewise.
13765         * math/auto-libm-test-in: Add more tests of csqrt.
13766         * math/auto-libm-test-out: Regenerated.
13767         * sysdeps/i386/fpu/libm-test-ulps: Update.
13769         [BZ #18219]
13770         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13771         threshold on absolute value of exponent for which scaling is used.
13772         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13773         * math/auto-libm-test-in: Add more tests of exp2.
13774         * math/auto-libm-test-out: Regenerated.
13776 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13778         [BZ #17977]
13779         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13780         when initializing interface list, based on the bug analysis
13781         and the patch proposed by Eric Newton.
13782         * resolv/tst-res_hconf_reorder.c: New test.
13783         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13784         tst-res_hconf_reorder.
13785         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13786         and $(shared-thread-library).
13787         (tst-res_hconf_reorder-ENV): New variable.
13789         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13790         in comment.
13792 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13794         [BZ #16353]
13795         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13796         (__expm1): Force underflow exception for arguments with small
13797         absolute value.
13798         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13799         (__expm1f): Force underflow exception for arguments with small
13800         absolute value.
13801         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13802         (__expm1): Force underflow exception for arguments with small
13803         absolute value.
13804         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13805         (__expm1f): Force underflow exception for arguments with small
13806         absolute value.
13807         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13808         Check for small arguments before calling __expm1.
13809         * math/auto-libm-test-in: Do not mark underflow exceptions as
13810         possibly missing for bug 16353.
13811         * math/auto-libm-test-out: Regenerated.
13813 2015-06-22  Andreas Schwab  <schwab@suse.de>
13815         [BZ #18513]
13816         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13817         PTR queries.
13819 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13821         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13823         * string/strcoll_l.c: Remove unused struct element idxnow.
13825 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13827         [BZ #18569]
13828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13829         underflow and return argument in case of subnormal argument.
13830         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13831         Likewise.
13832         * math/auto-libm-test-in: Add more tests of expm1.
13833         * math/auto-libm-test-out: Regenerated.
13835         [BZ #16361]
13836         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13837         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13838         tiny results.
13839         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13840         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13841         tiny results.
13842         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13843         mark underflow exceptions as possibly missing for bug 16361.
13844         * math/auto-libm-test-out: Regenerated.
13846 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13848         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13849         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13850         Remove variable.
13851         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13852         (test-xfail-XOPEN2K8/utmpx.h/conform).
13854         * conform/conformtest.pl ($xerrors): New variable.
13855         (note_error): New function.
13856         (compiletest): New argument $xfail.  Use not_error.
13857         (runtest): Likewise.
13858         (top level): Handle xfail- lines.  Update calls to compiletest and
13859         runtest.  Handle xfail- and optional- in headers listed with
13860         allow-header.
13861         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13862         (O_EXEC): Likewise.
13863         (O_SEARCH): Likewise.
13864         * conform/data/stropts.h-data (ioctl): Likewise.
13865         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13866         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13867         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13868         (msghdr.msg_controllen): Likewise.
13869         (cmsghdr.cmsg_len): Likewise.
13870         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13871         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13872         variable.
13873         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13874         (test-xfail-XPG4/stropts.h/conform): Likewise.
13875         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13876         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13877         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13878         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13879         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13880         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13881         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13882         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13883         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13884         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13885         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13886         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13887         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13888         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13889         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13890         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13891         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13892         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13893         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13895 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13897         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13898         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13899         definitions for proper unfolding of __MATHDECL_VEC.
13901 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13903         * benchtests/bench-strcoll.c:
13904         Include string.h.
13905         (main): Remove unused variable res.
13907 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13909         * timezone/Makefile (%/UTC %/Universal):
13910         Generate test-result files for UTC and Universal.
13912 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13914         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13916 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13918         [BZ #16350]
13919         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13920         for arguments with small absolute value.
13921         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13922         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13923         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13924         (__asinh): Force underflow exception for arguments with small
13925         absolute value.
13926         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13927         (__asinhf): Force underflow exception for arguments with small
13928         absolute value.
13929         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13930         (__asinhl): Force underflow exception for arguments with small
13931         absolute value.
13932         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13933         (__asinhl): Force underflow exception for arguments with small
13934         absolute value.
13935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13936         (__asinhl): Force underflow exception for arguments with small
13937         absolute value.
13938         * math/auto-libm-test-in: Do not mark underflow exceptions as
13939         possibly missing for bug 16350.
13940         * math/auto-libm-test-out: Regenerated.
13942         * include/bits/ipc.h: Remove file.
13943         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13944         variable.
13945         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13946         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13947         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13948         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13949         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13950         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13951         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13952         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13953         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13955         * math/auto-libm-test-in: Remove spurious underflow allowance for
13956         tests of cexp.
13957         * math/auto-libm-test-out: Regenerated.
13959         [BZ #18558]
13960         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13961         unconditional definition.
13962         (MCAST_BLOCK_SOURCE): Likewise.
13963         (MCAST_UNBLOCK_SOURCE): Likewise.
13964         (MCAST_LEAVE_GROUP): Likewise.
13965         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13966         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13967         (MCAST_MSFILTER): Likewise.
13968         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13969         Remove variable.
13970         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13971         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13972         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13973         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13974         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13976 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13978         * NEWS: Mention addition of x86_64 vector sincosf.
13979         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13980         * math/test-float-vlen4.h: Likewise.
13981         * math/test-float-vlen8.h: Likewise.
13982         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13983         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13984         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13985         * sysdeps/x86_64/fpu/Versions: New versions added.
13986         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13987         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13988         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13989         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13990         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13991         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13993         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13995         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13996         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13997         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13998         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13999         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14000         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14001         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14002         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14003         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14004         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14005         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14007         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14008         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14009         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14011         * NEWS: Mention addition of x86_64 vector sincos.
14012         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14013         * math/math.h (__MATHDECL_VEC): New macro.
14014         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14015         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14016         declaration under condition.
14017         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14018         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14019         TEST_VEC_LOOP change.
14020         * math/test-double-vlen4.h: Likewise.
14021         * math/test-double-vlen8.h: Likewise.
14022         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14023         * math/test-float-vlen4.h: Likewise.
14024         * math/test-float-vlen8.h: Likewise.
14025         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14026         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14027         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14028         * sysdeps/x86_64/fpu/Versions: New versions added.
14029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14030         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14031         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14032         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14033         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14034         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14035         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14036         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14037         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14038         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14039         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14040         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14041         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14042         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14043         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14044         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14045         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14046         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14047         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14048         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14049         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14050         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14051         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14052         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14055         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14056         redirections for powf.
14057         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14058         * sysdeps/x86_64/fpu/Versions: New versions added.
14059         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14061         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14062         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14063         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14064         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14065         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14066         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14067         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14069         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14070         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14071         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14072         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14073         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14074         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14075         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14076         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14077         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14078         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14079         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14080         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14081         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14082         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14083         * math/test-float-vlen16.h: Fixed 2 argument macro.
14084         * math/test-float-vlen4.h: Likewise.
14085         * math/test-float-vlen8.h: Likewise.
14086         * NEWS: Mention addition of x86_64 vector powf.
14088 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14090         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14091         and redefine.
14092         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14093         and redefine.
14094         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14095         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14098         [BZ #18553]
14099         * resource/getpriority.c (getpriority): Rename to __getpriority
14100         and define as weak alias of __getpriority.
14101         * resource/setpriority.c (setpriority): Rename to __setpriority
14102         and define as weak alias of __setpriority.
14103         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14104         __getpriority and define as weak alias of __getpriority.
14105         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14106         __setpriority and define as weak alias of __setpriority.
14107         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14108         strong name.
14109         (setpriority): Use __setpriority as strong name.
14110         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14111         __getpriority and define as weak alias of __getpriority.
14112         * include/sys/resource.h (__getpriority): Declare.  Use
14113         libc_hidden_proto.
14114         (__setpriority): Likewise.
14115         (getpriority): Don't use libc_hidden_proto.
14116         (setpriority): Likewise.
14117         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14118         getpriority.  Call __setpriority instead of setpriority.
14119         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14120         Remove variable.
14122         [BZ #18547]
14123         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14124         as weak alias of __getttynam.  Use prototype function definition.
14125         Call __setttyent, __getttyent and __endttyent instead of
14126         setttyent, getttyent and endttyent.
14127         (getttyent): Rename to __getttyent and define as weak alias of
14128         __getttyent.  Call __setttyent instead of setttyent.  Call
14129         __fgets_unlocked instead of fgets_unlocked.
14130         (setttyent): Rename to __setttyent and define as weak alias of
14131         __setttyent.
14132         (endttyent): Rename to __endttyent and define as weak alias of
14133         __endttyent.
14134         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14135         (__setttyent): Likewise.
14136         (__endttyent): Likewise.
14137         (getttyent): Don't use libc_hidden_proto.
14138         (setttyent): Likewise.
14139         (endttyent): Likewise.
14140         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14141         __endttyent instead of setttyent, getttyent and endttyent.
14142         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14143         Remove variable.
14145         [BZ #18546]
14146         * socket/recv.c (__recv): Use libc_hidden_def.
14147         * socket/socket.c (__socket): Likewise.
14148         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14149         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14150         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14151         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14152         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14153         libc_hidden_def.
14154         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14155         libc_hidden_weak.
14156         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14157         Use libc_hidden_proto.
14158         (__recv): Likewise.
14159         * socket/Versions (libc): Export __recv and __socket at version
14160         GLIBC_PRIVATE.
14161         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14162         instead of recv.
14163         (init_mq_netlink): Call __socket instead of socket.
14164         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14165         Remove variable.
14167         [BZ #18545]
14168         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14169         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14170         hidden_weak.
14171         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14172         define as alias of __mq_timedsend.  Use hidden_weak.
14173         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14174         __mq_timedsend as strong name.
14175         (mq_timedreceive): Use __mq_timedreceive as strong name.
14176         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14177         (__mq_timedreceive): Likewise.
14178         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14179         __mq_timedreceive instead of mq_timedreceive.
14180         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14181         instead of mq_timedsend.
14182         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14183         Remove variable.
14185         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14186         hidden_def and hidden_weak instead of libc_hidden_def and
14187         libc_hidden_weak.
14188         (top level): Refer to hidden_def in comment.
14189         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14190         macro.  Use it instead of libc_hidden_def.
14191         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14192         specify __GI_* name explicitly.
14193         (mq_timedreceive): Likewise.
14194         (mq_setattr): Likewise.
14196         [BZ #18544]
14197         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14198         __pthread_barrier_init and define as weak alias of
14199         __pthread_barrier_init.
14200         * sysdeps/sparc/nptl/pthread_barrier_init.c
14201         (pthread_barrier_init): Likewise.
14202         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14203         __pthread_barrier_wait and define as weak alias of
14204         __pthread_barrier_wait.
14205         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14206         (pthread_barrier_wait): Likewise.
14207         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14208         (pthread_barrier_wait): Likewise.
14209         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14210         (pthread_barrier_wait): Likewise.
14211         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14212         (pthread_barrier_wait): Likewise.
14213         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14214         __pthread_barrier_wait at version GLIBC_PRIVATE.
14215         * include/pthread.h (__pthread_barrier_init): Declare.
14216         (__pthread_barrier_wait): Likewise.
14217         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14218         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14219         (helper_thread): Likewise.
14220         (init_mq_netlink): Call __pthread_barrier_init instead of
14221         pthread_barrier_init.
14223         [BZ #18542]
14224         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14225         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14226         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14227         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14228         vswscanf.
14229         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14230         Remove variable.
14232         [BZ #18540]
14233         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14234         strong alias of _IO_fflush.  Use libc_hidden_def.
14235         * libio/iofflush_u.c (fflush_unlocked): Rename to
14236         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14237         Use libc_hidden_weak.
14238         * include/stdio.h (__fflush_unlocked): Declare.  Use
14239         libc_hidden_proto.
14240         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14241         fflush_unlocked.
14242         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14243         Remove variable.
14245         [BZ #18539]
14246         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14247         define as weak alias of __addseverity.
14248         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14249         Remove variable.
14250         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14251         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14252         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14254         [BZ #18536]
14255         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14256         (__tfind): Likewise.
14257         (__tdelete): Likewise.
14258         (__twalk): Likewise.
14259         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14260         __twalk to GLIBC_PRIVATE.
14261         * include/search.h (__tsearch): Use libc_hidden_proto.
14262         (__tfind): Likewise.
14263         (__tdelete): Likewise.
14264         (__twalk): Likewise.
14265         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14266         Call __tdelete instead of tdelete.
14267         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14268         tfind.  Call __tsearch instead of tsearch.
14269         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14270         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14271         Remove variable.
14272         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14274         [BZ #18534]
14275         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14276         (dprintf): Define as a weak alias of __dprintf, not a strong
14277         alias.
14278         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14279         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14280         dprintf.
14281         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14282         Remove variable.
14283         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14284         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14286         [BZ #18533]
14287         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14288         not a strong alias.
14289         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14290         Remove variable.
14292         [BZ #18532]
14293         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14294         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14295         (in6addr_loopback): Rename to __in6addr_loopback and define as
14296         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14297         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14298         libc_hidden_proto.
14299         (__in6addr_any): Likewise.
14300         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14301         in6addr_any.
14302         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14303         variable.
14304         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14306 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14308         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14309         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14310         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14311         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14312         redirections for pow.
14313         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14314         * sysdeps/x86_64/fpu/Versions: New versions added.
14315         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14316         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14317         build of SSE, AVX2 and AVX512 IFUNC versions.
14318         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14319         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14320         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14321         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14322         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14323         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14324         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14325         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14326         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14327         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14328         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14329         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14330         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14331         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14332         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14333         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14334         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14335         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14336         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14337         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14338         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14339         * NEWS: Mention addition of x86_64 vector pow.
14341         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14342         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14343         redirections for expf.
14344         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14345         * sysdeps/x86_64/fpu/Versions: New versions added.
14346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14347         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14348         build of SSE, AVX2 and AVX512 IFUNC versions.
14349         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14350         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14355         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14356         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14357         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14358         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14359         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14360         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14361         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14362         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14363         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14364         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14365         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14367         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14368         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14369         * NEWS: Mention addition of x86_64 vector expf.
14371         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14372         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14373         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14374         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14375         redirections for exp.
14376         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14377         * sysdeps/x86_64/fpu/Versions: New versions added.
14378         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14379         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14380         build of SSE, AVX2 and AVX512 IFUNC versions.
14381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14382         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14384         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14385         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14386         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14387         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14388         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14389         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14390         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14391         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14392         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14393         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14394         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14395         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14396         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14397         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14398         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14399         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14400         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14401         * NEWS: Mention addition of x86_64 vector exp.
14403         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14404         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14405         redirections for logf.
14406         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14407         * sysdeps/x86_64/fpu/Versions: New versions added.
14408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14409         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14410         build of SSE, AVX2 and AVX512 IFUNC versions.
14411         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14412         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14415         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14416         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14417         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14418         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14419         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14420         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14421         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14422         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14423         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14424         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14425         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14426         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14427         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14428         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14429         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14430         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14431         * NEWS: Mention addition of x86_64 vector logf.
14433         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14434         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14435         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14436         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14437         redirections for log.
14438         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14439         * sysdeps/x86_64/fpu/Versions: New versions added.
14440         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14441         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14442         build of SSE, AVX2 and AVX512 IFUNC versions.
14443         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14444         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14445         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14446         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14447         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14448         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14449         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14450         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14451         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14452         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14453         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14454         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14455         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14456         test.
14457         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14458         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14459         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14460         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14461         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14462         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14463         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14464         * NEWS: Mention addition of x86_64 vector log.
14466 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14468         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14469         cfi_adjust_cfa_offset argument.
14470         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14471         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14473         [BZ #18034]
14474         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14475         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14476         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14477         ordering using ldar.
14478         (_dl_tlsdesc_dynamic): Likewise.
14479         (_dl_tlsdesc_return_lazy): Likewise.
14480         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14481         relaxed atomics instead of volatile and synchronize with release store.
14482         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14483         volatile.
14484         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14486 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14488         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14489         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14490         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14491         * sysdeps/x86_64/fpu/Versions: New versions added.
14492         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14493         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14494         build of SSE, AVX2 and AVX512 IFUNC versions.
14495         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14496         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14497         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14498         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14499         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14500         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14501         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14502         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14503         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14504         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14505         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14506         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14507         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14508         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14509         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14510         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14511         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14512         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14513         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14514         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14515         * NEWS: Mention addition of x86_64 vector sinf.
14517 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14519         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14520         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14521         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14522         Remove variable.
14523         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14524         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14526 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14528         [BZ #18530]
14529         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14530         strong alias of _IO_fputs.  Use libc_hidden_def.
14531         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14532         and define as weak alias of __fputs_unlocked.  Use
14533         libc_hidden_weak.
14534         * include/stdio.h (__fputs_unlocked): Declare.  Use
14535         libc_hidden_proto.
14536         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14537         fputs_unlocked.
14539         [BZ #18529]
14540         * resolv/netdb.h [__USE_POSIX]: Change condition to
14541         [__USE_XOPEN2K].
14542         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14543         not expect.
14544         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14545         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14546         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14547         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14548         [XPG4 || UNIX98] (AI_ALL): Likewise.
14549         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14550         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14551         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14552         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14553         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14554         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14555         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14556         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14557         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14558         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14559         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14560         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14561         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14562         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14563         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14564         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14565         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14566         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14567         [XPG4 || UNIX98] (gai_strerror): Likewise.
14568         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14569         [XPG4 || UNIX98] (getnameinfo): Likewise.
14571         [BZ #18528]
14572         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14573         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14574         __USE_XOPEN2K8].
14575         (getgrent): Likewise.
14576         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14577         expect.
14578         [XPG3 || POSIX2008] (endgrent): Likewise.
14579         [XPG3] (setgrent): Likewise.
14580         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14581         variable.
14582         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14584         [BZ #18527]
14585         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14586         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14587         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14588         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14589         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14590         * include/unistd.h (__getlogin_r): Declare.  Use
14591         libc_hidden_proto.
14592         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14593         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14594         variable.
14595         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14596         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14597         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14599 2015-06-12  Martin Sebor  <msebor@redhat.com>
14601         [BZ #18512]
14602         * Makerules (check-install-supported): New target.
14603         (install): Add check-install-supported as a dependency.
14604         * manual/install.texi (Installing the C Library): Document
14605         that overriding prefix and exec_prefix is not supported.
14606         Mention DESTDIR.
14607         * INSTALL: Regenerate from the above.
14609 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14611         [BZ #18519]
14612         * posix/Versions (libc): Export __libc_pread at version
14613         GLIBC_PRIVATE.
14614         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14615         instead of pread.
14616         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14617         variable.
14619         [BZ #18522]
14620         * misc/efgcvt_r.c
14621         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14622         (cvt_symbol): Use weak_alias instead of strong_alias.
14623         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14624         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14625         Remove variable.
14626         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14627         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14629         [BZ #18520]
14630         * inet/herrno.c (h_errno): Rename to __h_errno.
14631         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14632         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14633         to __h_errno instead of h_errno.
14634         * nptl/herrno.c (h_errno): Rename to __h_errno.
14635         (__h_errno_location): Refer to __h_errno not h_errno.
14636         * resolv/Versions (h_errno): Rename to __h_errno.
14637         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14638         Remove variable.
14639         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14641 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14643         * configure.ac: More strict check for AVX512 assembler support.
14644         * configure: Regenerated.
14646         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14647         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14648         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14649         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14651         * sysdeps/x86_64/fpu/Versions: New versions added.
14652         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14653         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14654         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14655         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14656         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14657         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14661         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14662         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14663         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14664         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14665         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14666         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14667         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14668         test.
14669         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14672         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14673         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14674         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14675         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14676         * NEWS: Mention addition of x86_64 vector sin.
14678 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14680         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14681         comment.
14683 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14685         [BZ #18479]
14686         * nptl/pt-interp.c: New file.
14687         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14688         Add pt-interp.
14689         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14690         $(common-objpfx)runtime-linker.h.
14692 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14694         * Makeconfig (+interp): Remove unused variable.
14695         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14696         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14697         $(elf-objpfx)runtime-linker.h.
14698         ($(elf-objpfx)runtime-linker.h): Rename to
14699         $(common-objpfx)runtime-linker.h and move ...
14700         * Makerules [$(build-shared) = yes]: ... here.
14701         * elf/interp.c: Include <runtime-linker.h> instead of
14702         <elf/runtime-linker.h>.
14704 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14706         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14707         (__gettimeofday_syscall): Remove vsyscall fallback.
14708         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14709         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14710         Add syscall fallback function.
14711         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14712         if vDSO is not present.
14713         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14714         fallback function.
14715         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14716         present.
14717         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14718         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14720 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14722         [BZ #18497]
14723         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14724         of wcscmp.
14725         (wcscmp): Define as weak alias of WCSCMP.
14726         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14727         wcscoll.
14728         (USE_HIDDEN_DEF): Define.
14729         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14730         __wcscoll.  Don't use libc_hidden_weak.
14731         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14732         wcscmp.
14733         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14734         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14735         __GI_wcscmp.
14736         (weak_alias): Undefine and redefine.
14737         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14738         __wcscmp and define as weak alias of __wcscmp.
14739         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14740         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14741         (__wcscoll): Likewise.
14742         (wcscmp): Don't use libc_hidden_proto.
14743         (wcscoll): Likewise.
14744         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14745         wcscoll.
14746         * posix/regexec.c (check_node_accept_bytes): Likewise.
14747         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14748         variable.
14749         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14750         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14752         [BZ #18507]
14753         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14754         __fstatvfs and define as weak alias of __fstatvfs.  Use
14755         libc_hidden_weak.
14756         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14757         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14758         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14759         Define as alias of __fstatvfs, not fstatvfs.
14760         (fstatvfs64): Likewise.
14761         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14762         Define as alias of __statvfs, not statvfs.
14763         (statvfs64): Likewise.
14764         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14765         Remove variable.
14767 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14770         (HAVE_GETCPU_VSYSCALL): Define.
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14772         (HAVE_GETCPU_VSYSCALL): Likewise.
14773         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14774         * sysdeps/unix/sysv/linux/sched_getcpu.c
14775         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14776         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14777         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14778         prototype.
14779         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14780         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14781         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14783         Define.
14784         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14785         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14786         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14787         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14789 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14791         * sysdeps/x86_64/fpu/Makefile: New file.
14792         * sysdeps/x86_64/fpu/Versions: New file.
14793         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14794         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14795         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14796         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14797         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14798         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14799         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14800         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14805         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14806         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14807         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14808         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14809         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14810         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14811         * sysdeps/x86_64/configure: Regenerated.
14812         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14813         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14814         * manual/install.texi (Configuring and compiling): Document
14815         --disable-mathvec.
14816         * INSTALL: Regenerated.
14817         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14819         * math/Makefile: Added rules for vector tests.
14820         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14821         declaration under condition.
14822         * math/test-double-vlen2.h: New file.
14823         * math/test-double-vlen4.h: New file.
14824         * math/test-double-vlen8.h: New file.
14825         * math/test-vec-loop.h: Added initialization macro.
14826         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14828         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14829         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14830         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14831         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14832         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14833         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14834         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14835         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14836         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14839         * sysdeps/x86_64/fpu/Versions: New versions added.
14840         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14843         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14844         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14845         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14846         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14847         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14848         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14849         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14850         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14851         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14852         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14853         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14854         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14855         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14856         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14857         * NEWS: Mention addition of x86_64 vector cosf.
14859         * math/Makefile: Added CFLAGS for new tests.
14860         * math/test-float-vlen16.h: New file.
14861         * math/test-float-vlen4.h: New file.
14862         * math/test-float-vlen8.h: New file.
14863         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14864         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14865         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14866         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14867         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14868         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14869         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14870         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14872         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14873         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14875 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14877         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14878         * locale/programs/ld-ctype.c: Likewise.
14880 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14882         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14883         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14884         bit_ZMM16_31_state): New macro.
14885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14886         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14888 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14890         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14892 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14894         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14896 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14898         [BZ #18498]
14899         * libio/memstream.c (open_memstream): Rename to __open_memstream
14900         and define as weak alias of __open_memstream.
14901         * include/stdio.h (__open_memstream): Declare.  Use
14902         libc_hidden_proto.
14903         (open_memstream): Don't use libc_hidden_proto.
14904         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14905         open_memstream.
14906         * posix/getopt.c (_getopt_internal_r): Likewise.
14907         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14908         variable.
14909         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14910         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14911         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14913         [BZ #18496]
14914         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14915         instead of wcrtomb.
14917         [BZ #18483]
14918         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14919         [__USE_XOPEN2K8].  Remove redundant #endif.
14920         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14921         Remove redundant #if.
14922         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14923         Remove variable.
14924         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14925         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14927         [BZ #18495]
14928         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14929         (__iswlower): Likewise.
14930         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14931         (__iswlower): Likewise.
14932         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14933         instead of towlower.
14934         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14935         instead of iswlower.  Call __towupper instead of towupper.
14936         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14937         instead of iswalnum.
14939 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14941         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14942         errors to stderr.
14944 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14946         [BZ #15661]
14947         [BZ #17322]
14948         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14949         Check for overflow properly.  Check for O_APPEND.  Ignore large
14950         file system block sizes.  Add comments about problems.
14951         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14952         * manual/filesys.texi (Storage Allocation): New node.
14954 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14956         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14957         cancellable syscalls.
14958         (SYS_ify): Add guard to no redefine it.
14959         (INLINE_SYSCALL): Likewise.
14960         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14961         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14962         SYSCALL_CANCEL instead.
14963         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14964         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14965         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14966         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14967         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14968         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14969         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14970         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14971         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14972         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14973         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14974         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14975         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14976         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14977         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14979         Likewise.
14980         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14981         (__libc_pread64): Likewise.
14982         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14983         (__libc_preadv): Likewise.
14984         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14985         (__libc_readv64): Likewise.
14986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14987         (__libc_pwrite): Likewise.
14988         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14989         (__libc_pwrite64): Likewise.
14990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14991         (__libc_pwritev): Likewise.
14992         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14993         (__libc_pwritev64): Likewise.
14994         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14995         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14996         (sync_file_range): Likewise.
14997         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14998         Likewise.
14999         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15000         Likewise.
15001         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15002         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15003         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15004         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15005         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15006         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15007         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15008         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15010         Likewise.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15012         (__libc_read64): Likewise.
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15014         Likewise.
15015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15016         Likewise.
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15018         Likewise.
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15020         Likewise.
15021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15022         (__libc_pread64): Likewise.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15024         Likewise.
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15026         (__libc_pwrite64): Likewise.
15027         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15028         (sync_file_range): Likewise.
15029         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15030         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15031         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15032         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15033         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15034         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15035         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15036         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15037         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15038         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15039         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15040         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15041         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15042         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15043         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15044         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15045         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15046         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15047         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15048         Likewise.
15049         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15050         Likewise.
15051         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15052         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15053         Likewise.
15054         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15055         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15056         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15057         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15058         Likewise.
15059         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15060         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15061         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15062         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15063         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15065 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15067         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15068         Include dl-vdso.
15069         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15070         Use VDSO routines for gettimeofday, clock_gettime if
15071         available.
15072         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15073         Declare VDSO symbols.
15074         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15075         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15076         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15077         * sysdeps/unix/sysv/linux/arm/Versions: Add
15078         __vdso_clock_gettime.
15080 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15082         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15083         be an inline implementation regardless of library is built within.
15084         (open_not_cancel_2): Likewise.
15085         (__read_nocancel): Likewise.
15086         (__write_nocancel): Likewise.
15087         (openat_not_cancel): Likewise.
15088         (openat_not_cancel_3): Likewise.
15089         (openat64_not_cancel): Likewise.
15090         (openat64_not_cancel_3): Likewise.
15091         (__close_nocancel): Likewise.
15092         (pause_not_cancel): Likewise.
15093         (nanosleep_not_cancel): Likewise.
15094         (sigsuspend_not_cancel): Likewise.
15096 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15098         [BZ #14958]
15099         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15100         wake-up.
15101         (__pthread_rwlock_rdlock_slow): Likewise.
15102         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15103         Likewise.
15104         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15105         Likewise.
15106         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15107         * nptl/tst-rwlock16.c: New file.
15108         * nptl/Makefile (tests): Add new test.
15110 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15112         [BZ #18324]
15113         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15114         missing wake-up of readers.
15115         * nptl/tst-rwlock15.c: New file.
15116         * nptl/Makefile (tests): Add new test.
15118 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15120         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15121         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15122         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15123         and __nacl_supply_interface_rtld.
15124         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15125         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15126         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15127         Add __nacl_supply_interface_rtld.
15128         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15130 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15132         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15133         isfinite.
15134         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15135         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15137 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15139         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15140         __signbit* with standard C99 macros.
15141         * math/e_exp10l.c: Likewise.
15142         * math/e_exp2l.c: Likewise.
15143         * math/e_scalb.c: Likewise.
15144         * math/e_scalbf.c: Likewise.
15145         * math/e_scalbl.c: Likewise.
15146         * math/s_ldexp.c: Likewise.
15147         * math/s_ldexpf.c: Likewise.
15148         * math/s_ldexpl.c: Likewise.
15149         * math/w_atan2.c: Likewise.
15150         * math/w_atan2f.c: Likewise.
15151         * math/w_atan2l.c: Likewise.
15152         * math/w_cosh.c: Likewise.
15153         * math/w_coshf.c: Likewise.
15154         * math/w_coshl.c: Likewise.
15155         * math/w_exp10.c: Likewise.
15156         * math/w_exp10f.c: Likewise.
15157         * math/w_exp10l.c: Likewise.
15158         * math/w_exp2.c: Likewise.
15159         * math/w_exp2f.c: Likewise.
15160         * math/w_exp2l.c: Likewise.
15161         * math/w_fmod.c: Likewise.
15162         * math/w_fmodf.c: Likewise.
15163         * math/w_fmodl.c: Likewise.
15164         * math/w_hypot.c: Likewise.
15165         * math/w_hypotf.c: Likewise.
15166         * math/w_hypotl.c: Likewise.
15167         * math/w_jnl.c: Likewise.
15168         * math/w_lgamma.c: Likewise.
15169         * math/w_lgamma_r.c: Likewise.
15170         * math/w_lgammaf.c: Likewise.
15171         * math/w_lgammaf_r.c: Likewise.
15172         * math/w_lgammal.c: Likewise.
15173         * math/w_lgammal_r.c: Likewise.
15174         * math/w_pow.c: Likewise.
15175         * math/w_powf.c: Likewise.
15176         * math/w_powl.c: Likewise.
15177         * math/w_remainder.c: Likewise.
15178         * math/w_remainderf.c: Likewise.
15179         * math/w_remainderl.c: Likewise.
15180         * math/w_scalb.c: Likewise.
15181         * math/w_scalbf.c: Likewise.
15182         * math/w_scalbl.c: Likewise.
15183         * math/w_scalbln.c: Likewise.
15184         * math/w_scalblnf.c: Likewise.
15185         * math/w_scalblnl.c: Likewise.
15186         * math/w_sinh.c: Likewise.
15187         * math/w_sinhf.c: Likewise.
15188         * math/w_sinhl.c: Likewise.
15189         * math/w_tgamma.c: Likewise.
15190         * math/w_tgammaf.c: Likewise.
15191         * math/w_tgammal.c: Likewise.
15192         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15193         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15194         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15195         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15196         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15197         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15198         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15199         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15202         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15203         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15206         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15207         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15208         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15209         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15210         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15211         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15212         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15213         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15214         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15215         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15216         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15217         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15218         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15219         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15220         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15221         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15222         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15223         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15224         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15225         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15226         * stdio-common/printf_fp.c: Likewise.
15227         * stdio-common/printf_fphex.c: Likewise.
15228         * stdio-common/printf_size.c: Likewise.
15230 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15232         [BZ #18470]
15233         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15234         strnlen.
15235         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15236         Remove variable.
15237         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15238         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15239         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15240         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15241         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15242         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15243         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15244         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15245         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15246         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15248         [BZ #18468]
15249         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15250         weak alias of __wmemchr.  Use libc_hidden_weak.
15251         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15252         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15253         instead of wmemchr.
15255 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15257         [BZ #18383]
15258         * elf/tst-tlsalign-extern.c: New file.
15259         * elf/tst-tlsalign-extern-static.c: New file.
15260         * elf/tst-tlsalign-vars.c: New file.
15261         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15262         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15263         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15264         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15265         (test-xfail-tst-tlsalign-extern-static): New variable.
15267 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15269         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15270         Use variable name _sc_err instead of err.
15271         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15272         instead of ret.
15273         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15274         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15275         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15276         (INLINE_SYSCALL): Likewise.
15278         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15279         * include/string.h (__strnlen): Use libc_hidden_proto.
15280         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15281         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15282         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15283         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15284         (libc_hidden_def): Undefine and redefine.
15285         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15286         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15287         __GI_strnlen.
15288         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15289         libc_hidden_def.
15290         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15292         [BZ #18469]
15293         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15294         weak alias of __towlower.  Use libc_hidden_weak.
15295         (towupper): Rename to __towupper and define as weak alias of
15296         __towupper.  Use libc_hidden_weak.
15297         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15298         (__towupper): Likewise.
15299         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15300         __towlower instead of towlower.
15302 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15304         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15305         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15307 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15309         * sysdeps/aarch64/libm-test-ulps: Update.
15311 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15313         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15314         Define.
15315         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15317         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15318         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15319         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15320         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15321         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15323 2015-06-01  Martin Sebor  <msebor@redhat.com>
15325         [BZ #18116]
15326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15327         (__setcontext): Use extended four-operand version of mtsf whenever
15328         possible.
15329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15330         (__novec_swapcontext): Likewise.
15332 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15334         * benchtests/scripts/compare_bench.py: New file.
15335         * benchtests/scripts/import_bench.py (mean): New function.
15336         (split_list): Likewise.
15337         (do_for_all_timings): Likewise.
15338         (compress_timings): Likewise.
15340         * benchtests/scripts/import_bench.py: New file.
15341         * benchtests/scripts/validate_benchout.py: Import import_bench
15342         instead of jsonschema.
15343         (validate_bench): Remove function.
15344         (main): Use import_bench.
15346 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15348         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15349         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15351 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15355 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15357         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15358         set THREAD_SELF->tid to a magic value and futex-wake it.
15359         Pass its address to the thread_exit system call.
15360         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15361         bit is clear.
15362         * sysdeps/nacl/lowlevellock.h: New file.
15363         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15365         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15366         Add TIMEOUT to current time, don't subtract it.
15368 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15370         [BZ #2981]
15371         [BZ #18422]
15372         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15373         ($(objpfx)tst-audit2.out): Also depend on
15374         $(objpfx)tst-auditmod9b.so.
15375         * elf/tst-audit2.c: Include <dlfcn.h>.
15376         (calloc_called): New.
15377         (calloc): Allow to be called more than once.
15378         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15380 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15382         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15383         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15385 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15387         * stdlib/monetary.h: Fix comment.
15389 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15391         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15392         Avoid using variables in #defines that might cause shadowing.
15393         (INTERNAL_VSYSCALL_CALL): Likewise.
15395 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15397         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15399         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15400         * nptl/lll_timedlock_wait.c: ... to this new file.
15401         * nptl/Makefile (libpthread-routines): Add it.
15402         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15403         * nptl/lll_timedwait_tid.c: ... to this new file.
15404         * nptl/Makefile (libpthread-routines): Add it.
15405         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15406         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15407         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15408         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15409         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15410         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15411         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15412         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15413         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15414         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15416 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15418         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15419         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15420         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15422         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15424         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15426         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15427         * sysdeps/unix/sysv/linux/tile/sysdep.h
15428         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15429         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15430         using vDSO syscall macro.
15432 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15434         [BZ #17293]
15435         * uk_UA: Fix sorting order for Ukrainian locale
15437 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15439         * stdlib/monetary.h: Fix comment.
15441 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15443         [BZ #18234]
15444         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15445         st_mtim and st_ctim members.
15446         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15447         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15448         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15449         (struct stat64): Likewise.
15450         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15451         (struct stat64): Likewise.
15452         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15453         (struct stat64): Likewise.
15455 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15457         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15458         Define and include sysdep-vdso.h.
15459         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15460         Likewise.
15461         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15464         Define with VDSO_SYMBOL and use PTR_MANGLE.
15465         (__vdso_clock_gettime): Likewise.
15466         (__vdso_clock_getres): Likewise.
15467         (_libc_vdso_platform_setup): Likewise.
15468         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15469         Likewise.
15470         (_libc_vdso_platform_setup): Likewise.
15471         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15472         Likewise.
15473         (__vdso_clock_gettime): Likewise.
15474         (__vdso_clock_getres): Likewise.
15475         (__vdso_get_tbfreq): Likewise.
15476         (__vdso_getcpu): Likewise.
15477         (__vdso_time): Likewise.
15478         (__vdso_sigtramp_rt64): Likewise.
15479         (__vdso_signtramp32): Likewise.
15480         (__vdso_sigtramp_rt32): Likewise.
15481         (_libc_vdso_platform_setup): Likewise.
15482         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15483         Likewise.
15484         (__vdso_clock_gettime): Likewise.
15485         (__vdso_clock_getres): Likewise.
15486         (_libc_vdso_platform_setup): Likewise.
15487         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15488         Likewise.
15489         (__vdso_clock_gettime): Likewise.
15490         (_libc_vdso_platform_setup): Likewise.
15491         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15492         Likewise.
15493         (__vdso_getcpu): Likewise.
15494         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15495         Use VDSO_SYMBOL macro to define.
15496         (__vdso_clock_gettime): Likewise.
15497         (__vdso_clock_getres): Likewise.
15498         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15499         Likewise.
15500         (__vdso_clock_gettime): Likewise.
15501         (__vdso_clock_getres): Likewise.
15502         (__vdso_get_tbfreq): Likewise.
15503         (__vdso_getcpu): Likewise.
15504         (__vdso_time): Likewise.
15505         (__vdso_sigtramp_rt64): Likewise.
15506         (__vdso_signtramp32): Likewise.
15507         (__vdso_sigtramp_rt32): Likewise.
15508         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15509         Likewise.
15510         (__vdso_clock_gettime): Likewise.
15511         (__vdso_clock_getres): Likewise.
15512         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15513         Likewise.
15514         (__vdso_clock_gettime): Likewise.
15515         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15516         Likewise.
15517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15518         macro.
15519         (INTERNAL_VSYSCALL): Likewise.
15520         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15521         Remove macro.
15522         (INTERNAL_VSYSCALL): Likewise.
15523         (INTERNAL_VSYSCALL_NCS): Likewise.
15524         (INTERNAL_VSYSCALL_CALL): New macro.
15525         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15526         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15527         Likewise.
15528         (INTERNAL_VSYSCALL): Likewise.
15529         (INTERNAL_VSYSCALL_NCS): Likewise.
15530         (INTERNAL_VSYSCALL_CALL): New macro.
15531         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15533         (INLINE_VSYSCALL): Remove macro.
15534         (INTERNAL_VSYSCALL): Remove macro.
15535         (INTERNAL_VSYSCALL_NCS): Remove macro.
15536         (INTERNAL_VSYSCALL_CALL): New macro.
15537         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15538         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15539         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15540         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15541         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15543         (INLINE_VSYSCALL): Remove macro.
15544         (INTERNAL_VSYSCALL): Likewise.
15545         (INTERNAL_VSYSCALL_NCS): Likewise.
15546         (INTERNAL_VSYSCALL_CALL): New macro.
15547         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15548         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15549         PTR_DEMANGLE on vDSO pointer.
15550         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15551         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15552         macro.
15553         (INTERNAL_SYSCALL): Likewise.
15554         (INTERNAL_VSYSCALL_NCS): Remove macro.
15555         (INTERNAL_VSYSCALL_CALL): New macro.
15556         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15557         Remove macro.
15558         (INTERNAL_VSYSCALL): Likewise.
15559         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15560         sysdep-vdso.h instead of libc-vdso.h.
15561         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15562         definition.
15563         (INLINE_VSYSCALL): Likewise.
15564         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15565         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15566         definition.
15567         (INLINE_VSYSCALL): Likewise.
15568         (INTERNAL_VSYSCALL): Likewise.
15569         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15570         * sysdeps/unix/sysv/linux/timespec_get.c
15571         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15572         (timespec_get): Use ANSI prototype.
15573         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15574         and definition for Linux.
15576 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15578         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15579         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15581 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15583         [BZ #2981]
15584         [BZ #18410]
15585         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15586         for missing DT_PLTRELSZ.
15588 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15590         Remove obsolete aliases that broke 'locale -a'
15591         [BZ #18412]
15592         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15593         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15594         breaking some applications that use 'locale -a' output.
15595         Change the encoding of this file from Latin-1 to ASCII to avoid
15596         other potential problems with people grepping this file.
15598 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15600         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15601         -fasynchronous-unwind-tables.
15602         (CFLAGS-sendto.c): Likewise.
15603         (CFLAGS-sendmsg.c): Likewise.
15604         (CFLAGS-connect.c): Likewise.
15605         (CFLAGS-recvmsg.c): Likewise.
15606         (CFLAGS-recvfrom.c): Likewise.
15607         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15608         (SOCKETCALL): New macro: non-cancellable socketcall.
15609         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15610         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15611         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15612         * sysdeps/unix/sysv/linux/accept.c: New file.
15613         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15614         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15615         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15616         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15617         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15618         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15619         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15620         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15621         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15622         * sysdeps/unix/sysv/linux/send.c: Likewise.
15623         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15624         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15625         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15626         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15627         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15628         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15629         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15630         prototype.
15631         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15632         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15633         instead of __internal_xxx function.
15634         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15635         prototype.
15636         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15637         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15638         instead of __internal_xxx function.
15639         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15640         prototype.
15641         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15642         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15643         instead of __internal_xxx function.
15644         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15645         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15646         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15647         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15648         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15649         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15650         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15651         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15652         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15653         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15654         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15655         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15656         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15657         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15658         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15659         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15660         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15661         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15662         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15663         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15666         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15667         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15668         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15669         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15670         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15671         * sysdeps/unix/sysv/linux/send.S: Likewise.
15672         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15673         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15674         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15675         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15676         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15677         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15678         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15679         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15680         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15681         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15682         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15683         socketcall is implemented in GLIBC.
15685 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15687         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15688         (__fma): Ignore uninitialized warnings around packing.
15689         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15690         (__fmaf): Ignore uninitialized warnings around packing.
15691         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15692         (__fmal): Ignore uninitialized warnings around packing.
15694         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15695         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15696         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15697         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15699         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15700         switch statement into default case.
15701         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15703         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15704         a conditional in forcing "inexact".
15705         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15706         Likewise.
15708 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15710         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15711         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15712         for each INTERNAL_SYSCALL use.
15714 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15716         [BZ #438]
15717         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15718         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15719         variable.
15721         [BZ #18444]
15722         * string/basename.c (basename): Rename to __basename and define as
15723         weak alias of __basename.  Use libc_hidden_weak.
15724         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15725         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15726         __basename instead of basename.
15727         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15728         Remove variable.
15729         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15731 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15733         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15734         (_IO_JUMPS_FILE_plus): New.
15735         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15736         _IO_CAST_FIELD_ACCESS.
15737         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15738         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15739         * libio/freopen.c (freopen): Likewise.
15740         * libio/freopen64.c (freopen64): Likewise.
15741         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15742         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15743         * libio/iofwide.c (_IO_fwide): Likewise.
15744         * libio/memstream.c (open_memstream): Likewise.
15745         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15746         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15747         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15749 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15751         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15752         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15753         NADJ.
15754         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15755         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15756         NADJ.
15757         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15758         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15759         NADJ.
15761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15762         (p == 4) case.
15764         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15765         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15766         Remove variable.
15767         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15768         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15769         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15771 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15773         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15774         Adjust jump table label generation macros.
15776 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15778         * stdio-common/vfprintf.c (vfprintf): Move local variables
15779         args_malloced, specs, specs_malloced, and the code after
15780         do_positional to the printf_positional function.
15781         (printf_positional): New function.
15783 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15785         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15786         function.
15787         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15788         STEP4_TABLE, process_arg): Move macro definitions
15789         out of the vfprintf function.  (Cosmetic change only.)
15791 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15793         * benchtests/Makefile (stdio-common-bench): Define.
15794         (benchset): Add stdio-common-bench.
15795         * sprintf-inputs: New file.
15796         * sprintf-source.c: New file.
15798 2015-05-21  Andreas Schwab  <schwab@suse.de>
15800         [BZ #13028]
15801         [BZ #17053]
15802         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15803         of struct __res_state.
15804         * resolv/res_send.c (__libc_res_nsend): Likewise.
15805         (get_nsaddr): New function.
15806         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15807         statp directly.
15809 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15811         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15812         -D_POSIX_C_SOURCE=199506L.
15814         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15816         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15817         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15818         Do not mention otherwise.
15819         [POSIX] (_XOPEN_VERSION): Do not expect.
15820         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15821         [POSIX] (_POSIX2_C_BIND): Likewise.
15822         [POSIX] (_POSIX2_VERSION): Likewise.
15823         [POSIX] (_XOPEN_XPG2): Likewise.
15824         [POSIX] (_XOPEN_XPG3): Likewise.
15825         [POSIX] (_XOPEN_XPG4): Likewise.
15826         [POSIX] (_XOPEN_UNIX): Likewise.
15827         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15828         [POSIX] (_POSIX_BARRIERS): Likewise.
15829         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15830         [POSIX] (_POSIX_CPUTIME): Likewise.
15831         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15832         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15833         [POSIX] (_POSIX_SHELL): Likewise.
15834         [POSIX] (_POSIX_SPAWN): Likewise.
15835         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15836         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15837         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15838         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15839         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15840         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15841         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15842         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15843         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15844         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15845         [POSIX] (_POSIX2_PBS): Likewise.
15846         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15847         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15848         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15849         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15850         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15851         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15852         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15853         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15854         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15855         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15856         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15857         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15858         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15859         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15860         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15861         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15862         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15863         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15864         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15865         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15866         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15867         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15868         [POSIX] (_SC_2_C_BIND): Likewise.
15869         [POSIX] (_SC_2_C_VERSION): Likewise.
15870         [POSIX] (_SC_2_PBS): Likewise.
15871         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15872         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15873         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15874         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15875         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15876         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15877         [POSIX] (_SC_BARRIERS): Likewise.
15878         [POSIX] (_SC_BASE): Likewise.
15879         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15880         [POSIX] (_SC_DEVICE_IO): Likewise.
15881         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15882         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15883         [POSIX] (_SC_FD_MGMT): Likewise.
15884         [POSIX] (_SC_FIFO): Likewise.
15885         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15886         [POSIX] (_SC_FILE_LOCKING): Likewise.
15887         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15888         [POSIX] (_SC_IOV_MAX): Likewise.
15889         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15890         [POSIX] (_SC_NETWORKING): Likewise.
15891         [POSIX] (_SC_PAGE_SIZE): Likewise.
15892         [POSIX] (_SC_PASS_MAX): Likewise.
15893         [POSIX] (_SC_PIPE): Likewise.
15894         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15895         [POSIX] (_SC_REGEXP): Likewise.
15896         [POSIX] (_SC_SHELL): Likewise.
15897         [POSIX] (_SC_SIGNALS): Likewise.
15898         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15899         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15900         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15901         [POSIX] (_SC_USER_GROUPS): Likewise.
15902         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15903         [POSIX] (_SC_STREAMS): Likewise.
15904         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15905         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15906         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15907         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15908         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15909         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15910         [POSIX] (_PC_FILESIZEBITS): Likewise.
15911         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15912         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15913         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15914         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15915         [POSIX] (uid_t): Likewise.
15916         [POSIX] (gid_t): Likewise.
15917         [POSIX] (off_t): Likewise.
15918         [POSIX] (pid_t): Likewise.
15919         [POSIX] (cuserid): Allow.
15920         (_SC_2_CHAR_TERM): Require constant.
15921         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15922         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15923         variable.
15925 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15927         * sysdeps/nacl/pthread-pids.h: New file.
15928         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15929         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15931         * nptl/pthread-pids.h: New file.
15932         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15933         * nptl/nptl-init.c: Include <pthread-pids.h>.
15934         (__pthread_initialize_minimal_internal):
15935         Call __pthread_initialize_pids instead of set_tid_address syscall.
15937         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15938         * sysdeps/posix/usleep.c: ... here.
15940 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15942         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15943         call_pselect6 object.
15944         [$(subdir) = io]: Remove call_sync_file_range object.
15945         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15946         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15947         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15948         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15950 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15952         * math/s_cproj.c: Add include "math_private.h".
15953         * math/s_cprojf.c: Likewise.
15954         * math/s_cprojl.c: Likewise.
15956 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15958         [BZ #18244]
15959         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15960         high mantissa bit when testing whether P is a NaN.
15961         * math/libm-test.inc (remainder_test_data): Add more tests.
15962         (remquo_test_data): Likewise.
15964         [BZ #18049]
15965         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15966         below -32, return the argument, with underflow if subnormal.
15967         * math/auto-libm-test-in: Add more tests of atanh.
15968         * math/auto-libm-test-out: Regenerated.
15970 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15972         [BZ #18434]
15973         * nptl/tst-sem15.c: New file.
15974         * nptl/Makefile (tests): Add it.
15975         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15976         s/<</>>/ to fix typo in EOVERFLOW check.
15977         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15979 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15981         * manual/strings.texi (envz_remove): Fix typo in safety
15982         annotations.
15984 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15985             Steve Ellcey  <sellcey@imgtec.com>
15987         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15988         in order to avoid strict alias warnings.
15989         (iruserok_af): Ditto for ra.
15991 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15993         [BZ #17581]
15994         * malloc/hooks.c
15995         (magicbyte): Convert to a function and avoid returning 0x01.
15996         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15997         (mem2chunk_check): Fix unsigned comparisons to zero.
15998         Hoist defs of sz and magic.
16000 2015-05-19  Richard Henderson  <rth@redhat.com>
16002         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16004         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16006 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16008         [BZ #16159]
16009         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16010         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16011         (reused_arena): Find a non-corrupt arena.
16012         (heap_trim): Pass arena to unlink.
16013         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16014         malloc_printerr.
16015         (top_check): Likewise.
16016         (free_check): Likewise.
16017         (realloc_check): Likewise.
16018         * malloc/malloc.c (malloc_printerr): Add arena argument.
16019         (unlink): Likewise.
16020         (munmap_chunk): Adjust.
16021         (ARENA_CORRUPTION_BIT): New macro.
16022         (arena_is_corrupt): Likewise.
16023         (set_arena_corrupt): Likewise.
16024         (sysmalloc): Use mmap if there are no usable arenas.
16025         (_int_malloc): Likewise.
16026         (__libc_malloc): Don't fail if arena_get returns NULL.
16027         (_mid_memalign): Likewise.
16028         (__libc_calloc): Likewise.
16029         (__libc_realloc): Adjust for additional argument to
16030         malloc_printerr.
16031         (_int_free): Likewise.
16032         (malloc_consolidate): Likewise.
16033         (_int_realloc): Likewise.
16034         (_int_memalign): Don't touch corrupt arenas.
16035         * malloc/tst-malloc-backtrace.c: New test case.
16037         * Makefile (summarize-tests): Fix return value on success.
16039         * manual/string.texi (Envz Functions): Add envz_remove.
16041 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16043         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16044         (invalid_name): New function, broken out of ...
16045         (__opendirat): ... here.  Call it.
16046         (need_isdir_precheck): New function, broken out of ...
16047         (__opendirat): ... here.  Call it.
16048         Use __fxstatat64, not __xstatat64.
16049         (opendir_oflags): New function, broken out of ...
16050         (__opendirat): ... here.  Call it.
16051         (opendir_tail): New function, broken out of ...
16052         (__opendirat): ... here.  Call it.
16053         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16054         opendir_tail, rather than punting to __opendirat.
16055         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16057 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16059         * .gitignore: Ignore generated *.pyc.
16061 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16063         * include/stdio.h: Define __need_wint_t.
16064         * test-skeleton.c: Avoid `for' loop initial declaration.
16065         * nptl/tst-initializers1.c: Use test-skeleton.c.
16067 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16069         [BZ #18418]
16070         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16072 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16074         [BZ #16352]
16075         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16076         (__ieee754_atanh): Force underflow exception for results with
16077         small absolute value.
16078         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16079         (__ieee754_atanhf): Force underflow exception for results with
16080         small absolute value.
16081         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16082         (__ieee754_atanh): Force underflow exception for results with
16083         small absolute value.
16084         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16085         (__ieee754_atanhf): Force underflow exception for results with
16086         small absolute value.
16087         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16088         (__ieee754_atanhl): Force underflow exception for results with
16089         small absolute value.
16090         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16091         (__ieee754_atanhl): Force underflow exception for results with
16092         small absolute value.
16093         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16094         (__ieee754_atanhl): Force underflow exception for results with
16095         small absolute value.
16096         * math/auto-libm-test-in: Do not allow missing underflow
16097         exceptions from atanh.
16098         * math/auto-libm-test-out: Regenerated.
16100         [BZ #18221]
16101         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16102         2**-28 as threshold for returning x or +/- 1/x.
16103         * math/auto-libm-test-in: Add more tests of tan.
16104         * math/auto-libm-test-out: Regenerated.
16106         [BZ #18220]
16107         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16108         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16109         * math/auto-libm-test-in: Add another test of lgamma.
16110         * math/auto-libm-test-out: Regenerated.
16112 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16114         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16115         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16116         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16117         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16118         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16119         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16120         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16121         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16123         (log1): Use fabs.  (my_log2): Use fabs.
16124         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16125         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16126         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16127         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16129         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16130         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16131         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16132         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16133         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16134         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16136 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16138         [BZ #18217]
16139         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16140         as threshold for returning 1 - x.
16141         * math/auto-libm-test-in: Add more tests of erfc.
16142         * math/auto-libm-test-out: Regenerated.
16144 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16146         [BZ #18196]
16147         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16148         threshold for large arguments.
16149         * math/auto-libm-test-in: Add another test of atan.
16150         * math/auto-libm-test-out: Regenerated.
16152         [BZ #16339]
16153         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16154         (__log1p): Force underflow exception for results with small
16155         absolute value.
16156         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16157         (__log1pf): Force underflow exception for results with small
16158         absolute value.
16159         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16160         (__log1p): Force underflow exception for results with small
16161         absolute value.
16162         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16163         (__log1pf): Force underflow exception for results with small
16164         absolute value.
16165         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16166         (__log1pl): Force underflow exception for results with small
16167         absolute value.
16168         * math/auto-libm-test-in: Do not allow missing underflow
16169         exceptions from log1p.
16170         * math/auto-libm-test-out: Regenerated.
16172 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16173             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16175         [BZ #16704]
16176         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16178 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16180         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16181         (libmvec): New variable.
16182         * configure.ac: Added option for mathvec build.
16183         * configure: Regenerated.
16184         * mathvec/Depend: New file.
16185         * mathvec/Makefile: New file.
16186         * shlib-versions: Added libmvec.
16187         * math/Makefile: Added rule for libm.so installation.
16189         * bits/math-vector.h: New file.
16190         * bits/libm-simd-decl-stubs.h: New header.
16191         * math/Makefile (headers): Added new header
16192         libm-simd-decl-stubs.h.
16193         * math/math.h (__MATHCALL_VEC): New macro.
16195         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16196         for conditions in testing functions.
16197         * math/Makefile: Added call of libm-have-vector-test.sh.
16198         * math/libm-test.inc (HAVE_VECTOR): New macros.
16200         * math/libm-test.inc: START refactored.
16201         * math/test-double.c (TEST_MATHVEC): Add define.
16202         * math/test-float.c: Likewise.
16203         * math/test-idouble.c: Likewise.
16204         * math/test-ifloat.c: Likewise.
16205         * math/test-ildoubl.c: Likewise.
16206         * math/test-ldouble.c: Likewise.
16207         * sysdeps/generic/math-tests-arch.h
16208         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16209         architecture check.
16211         * math/test-double.c (FUNC_TEST): New macro.
16212         * math/test-float.c: Likewise.
16213         * math/test-idouble.c: Likewise.
16214         * math/test-ifloat.c: Likewise.
16215         * math/test-ildoubl.c: Likewise.
16216         * math/test-ldouble.c: Likewise.
16217         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16219 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16221         * sysdeps/nacl/fdopendir.c: New file.
16223         * dirent/scandir-tail.c: New file.
16224         * dirent/scandir64-tail.c: New file.
16225         * dirent/Makefile (routines): Add them.
16226         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16227         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16228         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16229         [!SCANDIR] (SCANDIR_TAIL): New macro.
16230         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16231         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16232         (SCANDIRAT): Macro removed.
16233         (SCANDIR_TAIL): New macro.
16234         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16235         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16236         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16237         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16238         (READDIR): Macro removed.
16239         (SCANDIR_TAIL): New macro.
16240         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16241         (SCANDIR_TAIL): New macro.
16243         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16244         * dirent/scandir-cancel.c: ... to this new file.
16245         * dirent/Makefile (routines): Add it.
16246         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16247         * sysdeps/unix/sysv/linux/i386/scandir64.c
16248         (SKIP_SCANDIR_CANCEL): Macro removed.
16249         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16251         * dirent/tst-scandir.c: New file.
16252         * dirent/tst-scandir64.c: New file.
16253         * dirent/Makefile (tests): Add them.
16255 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16257         [BZ #18409]
16258         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16260 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16262         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16263         list.
16265 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16267         * benchtests/bench-strcoll.c: New benchmark.
16268         * benchtests/Makefile: Generate locales and run benchmark.
16269         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16270         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16271         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16272         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16273         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16274         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16275         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16276         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16277         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16278         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16279         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16280         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16281         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16282         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16283         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16284         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16285         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16286         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16287         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16288         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16289         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16290         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16291         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16292         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16294 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16296         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16297         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16299 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16301         * posix/uname-values.h: New file.
16302         * posix/uname.c: Include that instead of <config-name.h>.
16303         * sysdeps/nacl/uname-values.h: New file.
16304         * sysdeps/arm/nacl/uname-values.h: New file.
16306 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16308         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16309         splitting into fields.
16311 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16313         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16314         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16315         * locale/localeinfo.h: Add enum collation_encoding_type.
16316         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16317         * programs/ld-collate.c (collate_output): Add encoding type info.
16318         * string/strcoll_l.c (STRDIFF): New function.
16319         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16320         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16322 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16324         [BZ #18397]
16325         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16326         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16327         <fpu_control.h> instead of <math/fpu_control.c>.
16328         * sysdeps/mips/mips32/fpu/Makefile: New file.
16330 2015-05-11  Andreas Schwab  <schwab@suse.de>
16332         [BZ #18007]
16333         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16334         nss_endgrent.
16335         (_nss_compat_endgrent): Call nss_endgrent.
16336         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16337         nss_endpwent.
16338         (_nss_compat_endpwent): Call nss_endpwent.
16339         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16340         needent, call nss_setspent only if non-zero.
16341         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16342         (internal_endspent): Don't call nss_endspent.
16343         (_nss_compat_endspent): Call nss_endspent.
16344         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16345         Remove.  All uses removed.
16346         (internal_setent): Remove parameter stayopen, add parameter
16347         stream.  Use it instead of global variable.
16348         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16349         (internal_endent, internal_getent): Add parameter stream.  Use it
16350         instead of global variable.
16351         (CONCAT(_nss_files_end,ENTNAME))
16352         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16353         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16354         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16355         uses removed.
16356         (internal_setent, internal_endent): Add parameter stream.  Use it
16357         instead of global variable.
16358         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16359         stream.
16360         (get_next_alias): Add parameter stream.
16361         (_nss_files_getaliasent_r): Pass global stream.
16362         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16363         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16364         (_nss_files_gethostbyname4_r): Pass local stream to
16365         internal_setent, internal_getent and internal_endent.  Remove
16366         locking.
16368 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16370         * tst-strfmon1.c (tests): Update expected currency symbol.
16372 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16374         * sysdeps/nacl/gethostname.c: New file.
16376 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16378         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16379         and sinh.
16380         * math/auto-libm-test-out: Regenerated.
16381         * sysdeps/i386/fpu/libm-test-ulps: Update.
16382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16384 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16386         [BZ #18125]
16387         * stdlib/tst-setcontext3.c: New file.
16388         * stdlib/tst-setcontext3.sh: New file.
16389         * stdlib/Makefile (tests): Add tst-setcontext3.
16390         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16391         to verify test program created output file.
16392         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16393         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16394         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16395         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16397 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16399         [BZ #18383]
16400         * elf/tst-tlsalign.c: New file.
16401         * elf/tst-tlsalign-static.c: New file.
16402         * elf/tst-tlsalign-lib.c: New file.
16403         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16404         (tests-static): Add tst-tlsalign-static.
16405         (modules-names): Add tst-tlsalign-lib.
16406         (test-xfail-tst-tlsalign): New variable.
16407         (test-xfail-tst-tlsalign-static): New variable.
16409         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16410         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16412 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16414         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16415         csqrt, erfc, sin and sincos.
16416         * math/auto-libm-test-out: Regenerated.
16417         * sysdeps/i386/fpu/libm-test-ulps: Update.
16418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16420 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16422         * sysdeps/aarch64/libm-test-ulps: Update.
16424 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16426         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16427         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16428         * math/auto-libm-test-out: Regenerated.
16429         * sysdeps/i386/fpu/libm-test-ulps: Update.
16430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16434         [BZ #18265]
16435         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16436         (wcsncpy): Likewise.
16438 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16440         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16441         Assume __ASSUME_FALLOCATE is always true.
16442         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16443         (__posix_fallocate64_l64): Likweise.
16444         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16445         (posix_fallocate): Likewise.
16446         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16447         (__posix_fallocate64_l64): Likewise.
16448         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16449         [!__ASSUME_FALLOCATE]: Add comment.
16451 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16453         * sysdeps/unix/sysv/linux/i386/Makefile
16454         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16455         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16456         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16457         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16458         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16459         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16460         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16462 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16464         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16465         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16466         tgamma.
16467         * math/auto-libm-test-out: Regenerated.
16468         * sysdeps/i386/fpu/libm-test-ulps: Update.
16469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16471 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16473         * math/auto-libm-test-in: Add more tests of tgamma.
16474         * math/auto-libm-test-out: Regenerated.
16475         * sysdeps/i386/fpu/libm-test-ulps: Update.
16476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16478         * math/auto-libm-test-in: Add more tests of tanh.
16479         * math/auto-libm-test-out: Regenerated.
16480         * sysdeps/i386/fpu/libm-test-ulps: Update.
16481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16483         * math/auto-libm-test-in: Add more tests of tan.
16484         * math/auto-libm-test-out: Regenerated.
16485         * sysdeps/i386/fpu/libm-test-ulps: Update.
16486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16488         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16489         * math/auto-libm-test-out: Regenerated.
16490         * sysdeps/i386/fpu/libm-test-ulps: Update.
16491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16493         * math/auto-libm-test-in: Add another test of pow.
16494         * math/auto-libm-test-out: Regenerated.
16495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16497         * math/auto-libm-test-in: Add more tests of lgamma.
16498         * math/auto-libm-test-out: Regenerated.
16499         * sysdeps/i386/fpu/libm-test-ulps: Update.
16500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16502         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16503         log1p.
16504         * math/auto-libm-test-out: Regenerated.
16505         * sysdeps/i386/fpu/libm-test-ulps: Update.
16506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16508 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16510         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16511         Elf64_Chdr structs and ELFCOMPRESS constants.
16513 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16515         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16516         expm1.
16517         * math/auto-libm-test-out: Regenerated.
16518         * sysdeps/i386/fpu/libm-test-ulps: Update.
16519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16521         * math/auto-libm-test-in: Add more tests of erf and erfc.
16522         * math/auto-libm-test-out: Regenerated.
16523         * sysdeps/i386/fpu/libm-test-ulps: Update.
16524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16526 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16528         * config.h.in (HAVE_AARCH64_BE): Add.
16530 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16532         * math/auto-libm-test-in: Add more tests of csqrt.
16533         * math/auto-libm-test-out: Regenerated.
16534         * sysdeps/i386/fpu/libm-test-ulps: Update.
16535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16537         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16538         * math/auto-libm-test-out: Regenerated.
16539         * sysdeps/i386/fpu/libm-test-ulps: Update.
16540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16542         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16544 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16546         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16547         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16549         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16550         (euidaccess, eaccess): Define as weak aliases.
16552         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16553         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16554         but __suseconds_t is often 'long int' so some sources assume that
16555         type is being used (e.g. they use %ld to print tv_usec).
16557 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16559         [BZ #18007]
16560         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16561         (CVE-2014-8121)
16562         * nss/tst-nss-getpwent.c: New file.
16563         * nss/Makefile (tests): Add new test.
16565 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16567         [BZ #18346]
16568         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16569         exponents less than 48 as cases where high part of mantissa needs
16570         examining to determine whether argument is integral.
16571         * math/libm-test.inc (round_test_data): Add more tests.
16573 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16575         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16577 2015-04-27  David S. Miller  <davem@davemloft.net>
16579         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16580         __tls_get_addr.
16581         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16583 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16585         [BZ#18333]
16586         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16588 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16590         [BZ#18333]
16591         * time/tzset.c (parse_tzname): Return error on memory allocation
16592         failure.
16593         * test-skeleton.c (struct temp_name_list): Change type of name
16594         member to non-const.
16595         (add_temp_file): Create a copy of the file name.
16596         (delete_temp_files): Deallocate memory.
16597         (create_temp_file): Add comment.
16599 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16601         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16602         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16604 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16606         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16607         * sysdeps/arm/configure: Regenerated.
16609 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16611         [BZ #17715]
16612         * time/tzfile.c (__tzfile_read): Check for large values of
16613         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16614         * time/tzset.c (__tzstring_len): New function, based on the old
16615         __tzstring function.
16616         (__tzstring): Call __tzstring_len.
16617         (parse_tzname): New helper function extracted from
16618         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16619         the input string.
16620         (parse_offset): New helper function extracted from
16621         __tzset_parse_tz.  Replace switch with fallthrough with
16622         initialization before sscanf.
16623         (parse_rule): Likewise.
16624         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16625         new-style function definition.
16626         * timezone/Makefile (tests): Add tst-tzset.
16627         (tst-tzset.out): Dependencies on time zone files.
16628         (tst-tzset-ENV): Set TZDIR.
16629         (testdata/XT%): Copy crafted time zone files.
16630         * timezone/README: Mention crafted time zone files.
16631         * timezone/testdata/XT1, timezone/testdata/XT2,
16632         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16633         files.
16634         * timezone/tst-tzset.c: New test.
16636 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16638         * Makeconfig (+gccwarn): Remove -Winline.
16640 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16642         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16644 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16646         * NEWS: Mention sysconf() cache information support for s390.
16647         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16649 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16651         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16652         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16653         (__nearbyint): Likewise.
16654         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16655         (copysignl): Likewise.
16657 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16659         [BZ #18287]
16660         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16661         based on padding.  (CVE-2015-1781)
16663 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16665         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16666         libc-vdso.h.
16667         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16668         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16669         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16670         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16671         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16672         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16673         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16674         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16676         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16677         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16678         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16679         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16680         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16681         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16682         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16683         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16684         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16685         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16686         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16687         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16688         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16689         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16691 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16693         * stdlib/setenv.c (__add_to_environ):
16694         Dump core quickly if setenv (..., NULL, ...) is called.
16695         This time, do it the right way, and pacify GCC with a pragma.
16697 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16699         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16700         IMAP->l_prev cannot be null, and #if out the code for the contrary
16701         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16702         believe that NS (&_dl_ns[NSID]) could point outside the array.
16704         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16705         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16706         before using NSID as an index.
16708 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16710         [BZ #17825]
16711         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16712         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16713         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16715 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16717         Add preliminary port to Google Native Client on ARM.
16718         * abi-tags (.*-.*-nacl.*): New entry.
16719         * sysdeps/arm/nacl: New directory.
16720         * sysdeps/nacl: New directory.
16722 2015-04-16  David S. Miller  <davem@davemloft.net>
16724         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16725         lowlevellock-futex.h
16727 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16729         * sysdeps/tile/configure.ac: New file.
16730         * sysdeps/tile/configure: Regenerated.
16732 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16734         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16735         conditionals for weak_alias and libc_hidden_weak.
16736         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16737         libc_hidden_weak and weak_alias.
16738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16739         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16740         and weak_alias for static one.
16742 2015-04-15  David S. Miller  <davem@davemloft.net>
16744         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16746 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16748         [BZ #18206]
16749         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16750           Use signed comparision instead of substraction to avoid
16751           overflow bug.
16752         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16753           Take the sign of ret.
16754         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16755           Do not expect precise return values. Only the sign matters.
16756         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16757         * wcsmbs/test-wcsncmp.c: New File.
16758         * string/test-strncmp.c: Add wcsncmp support.
16760 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16762         [BZ #6792]
16763         * math/w_log1p.c: New file.
16764         * math/w_log1pf.c: Likewise.
16765         * math/w_log1pl.c: Likewise.
16766         * math/Makefile (libm-calls): Add w_log1p.
16767         * math/s_log1pl.c (log1pl): Remove weak_alias.
16768         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16769         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16770         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16771         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16772         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16773         [NO_LONG_DOUBLE] (log1pl): Likewise.
16774         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16775         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16776         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16777         (log1p): Remove long_double_symbol.
16778         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16779         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16780         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16781         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16782         remove weak_alias for corresponding log1p function.
16783         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16784         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16785         * sysdeps/ia64/fpu/w_log1p.c: New file.
16786         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16787         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16788         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16790 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16792         [BZ #18247]
16793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16794         decimal exponent by 1.
16795         * stdlib/tst-strtod-round-data: Add more tests.
16796         * stdlib/tst-strtod-round.c (tests): Regenerated.
16798 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16800         * math/auto-libm-test-in: Add more tests of clog and clog10.
16801         * math/auto-libm-test-out: Regenerated.
16802         * sysdeps/i386/fpu/libm-test-ulps: Update.
16803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16805 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16807         * Makeconfig (module-cppflags): Exclude all .v.i files.
16808         (skip-module-cppflags): Variable removed.
16810         * configure.ac (libc_config_ok): Initialize before reading
16811         preconfigure scripts, not after.
16812         * configure: Regenerated.
16814         * test-skeleton.c (TIMEOUT): Move #define to top level.
16815         (main): Grok environment variable TEST_DIRECT.  If set, print
16816         test expectation details into that file and then behave as if
16817         given --direct.
16819 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16821         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16822         warning on 32-bit.
16824 2015-04-08  David S. Miller  <davem@davemloft.net>
16826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16828 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16830         * math/auto-libm-test-in: Add more tests of atanh.
16831         * math/auto-libm-test-out: Regenerated.
16832         * sysdeps/i386/fpu/libm-test-ulps: Update.
16833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16835         * math/auto-libm-test-in: Add more tests of atan.
16836         * math/auto-libm-test-out: Regenerated.
16837         * sysdeps/i386/fpu/libm-test-ulps: Update.
16838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16840 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16842         * elf/pldd.c (main): Rewrite to use struct
16843         scratch_buffer instead of extend_alloca.
16844         * elf/pldd-xx.c (find_maps): Likewise.
16845         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16846         <alloca.h>.
16847         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16848         scratch_buffer instead of extend_alloca.
16849         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16850         grp/compat-initgroups.c.
16851         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16852         Rewrite to use struct scratch_buffer instead of extend_alloca.
16853         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16854         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16856 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16858         * math/auto-libm-test-in: Add more tests of cbrt.
16859         * math/auto-libm-test-out: Regenerated.
16860         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16862         * math/auto-libm-test-in: Add more tests of cabs.
16863         * math/auto-libm-test-out: Regenerated.
16864         * sysdeps/i386/fpu/libm-test-ulps: Update.
16865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16867         [BZ #18210]
16868         [BZ #18211]
16869         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16870         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16871         computations.
16872         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16873         clog10.
16874         * math/auto-libm-test-out: Regenerated.
16875         * sysdeps/i386/fpu/libm-test-ulps: Update.
16876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16878         [BZ #18197]
16879         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16880         (atan): Set FE_TONEAREST mode for internal computations.
16881         * math/auto-libm-test-in: Add more tests of atan.
16882         * math/auto-libm-test-out: Regenerated.
16884 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16886         [BZ #17930]
16887         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16889 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16891         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16893 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16895         * include/scratch_buffer.h: New file.
16896         * malloc/scratch_buffer_grow.c: Likewise.
16897         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16898         * malloc/scratch_buffer_set_array_size.c: Likewise.
16899         * malloc/tst-scratch_buffer.c: Likewise.
16900         * malloc/Makefile (routines): Add scratch_buffer_grow.
16901         (tests): Add test case.
16902         * malloc/Versions (GLIBC_PRIVATE): Export
16903         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16904         __libc_scratch_buffer_set_array_size.
16906 2015-04-06  Richard Henderson  <rth@redhat.com>
16908         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16909         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16911         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16912         unsigned int before printing.
16914 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16916         [BZ #17596]
16917         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16918         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16920 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16922         * include/libc-internal.h (libc_max_align_t): Define.
16924 2015-04-02  Andreas Schwab  <schwab@suse.de>
16926         [BZ #16850]
16927         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16929 2015-04-02  Mel Gorman  <mgorman@suse.de>
16931         [BZ #17195]
16932         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16933         as well as the main arena.
16935 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16937         [BZ #18185]
16938         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16939         sharing L2 cache to 2 for Silvermont/Knights Landing.
16941 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16943         [BZ #17711]
16944         * config.make.in (have-protected-data): New.
16945         * configure.ac: Check linker support for protected data symbol.
16946         * configure: Regenerated.
16947         * elf/Makefile (modules-names): Add tst-protected1moda and
16948         tst-protected1modb if $(have-protected-data) is yes.
16949         (tests): Add tst-protected1a and tst-protected1b if
16950         $(have-protected-data) is yes.
16951         ($(objpfx)tst-protected1a): New.
16952         ($(objpfx)tst-protected1b): Likewise.
16953         (tst-protected1modb.so-no-z-defs): Likewise.
16954         * elf/tst-protected1a.c: New file.
16955         * elf/tst-protected1b.c: Likewise.
16956         * elf/tst-protected1mod.h: Likewise.
16957         * elf/tst-protected1moda.c: Likewise.
16958         * elf/tst-protected1modb.c: Likewise.
16960 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16962         [BZ #17711]
16963         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16964         indicates it is called from do_lookup_x on relocation against
16965         protected data, skip the data definion in the executable from
16966         copy reloc.
16967         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16968         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16969         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16970         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16971         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16972         otherwise to 0.
16973         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16974         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16975         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16976         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16977         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16978         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16980 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16982         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16983         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16985 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16987         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16988         THREAD_SETMEM_NC.
16989         * sysdeps/x86_64/nptl/tls.h: Ditto.
16991 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16993         * dlfcn/tststatic.c (main): Converted to ...
16994         (do_test): ... this.
16995         (TEST_FUNCTION): New macro.
16996         Include test-skeleton.c.
16998 2015-03-26  Alan Modra  <amodra@gmail.com>
17000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17001         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17002         zero for undefined weak.
17003         (elf_machine_plt_conflict): Similarly.
17005 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17007         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17008         atanh.
17009         * math/auto-libm-test-out: Regenerated.
17010         * sysdeps/i386/fpu/libm-test-ulps: Update.
17011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17013         * math/auto-libm-test-in: Add another test of asin.
17014         * math/auto-libm-test-out: Regenerated.
17015         * sysdeps/i386/fpu/libm-test-ulps: Update.
17016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17018         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17019         Remove macro.
17020         (LLL_EBX_REG): Likewise.
17021         (LLL_ENTER_KERNEL): Likewise.
17023         * math/auto-libm-test-in: Add more tests of asin.
17024         * math/auto-libm-test-out: Regenerated.
17025         * sysdeps/i386/fpu/libm-test-ulps: Update.
17026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17028         [BZ #18138]
17029         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17030         libc_do_syscall_args): New structure.
17031         (INTERNAL_SYSCALL_MAIN_0): New macro.
17032         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17033         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17034         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17035         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17036         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17037         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17038         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17039         Replace conditional definitions by conditional definitions of ....
17040         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17041         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17042         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17043         (libpthread-sysdep_routines): Add libc-do-syscall.
17044         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17045         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17046         to __NR_futex not 240.
17048 2015-03-25  Alan Modra  <amodra@gmail.com>
17050         * NEWS: Advertise TLS optimization.
17051         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17052         (DT_PPC_NUM): Increment.
17053         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17054         (CHECK_STATIC_TLS): Use here.
17055         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17056         TLS descriptors.
17057         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17058         * sysdeps/powerpc/dl-tls.c: New file.
17059         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17060         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17061         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17062         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17067 2015-03-25  Alan Modra  <amodra@gmail.com>
17069         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17070         for overlapping .opd entries" to "support...".
17071         * sysdeps/powerpc/powerpc64/configure: Regenerate
17073 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17075         * math/auto-libm-test-in: Add more tests of acos.
17076         * math/auto-libm-test-out: Regenerated.
17077         * sysdeps/i386/fpu/libm-test-ulps: Update.
17078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17080         * math/auto-libm-test-in: Add more tests of expm1.
17081         * math/auto-libm-test-out: Regenerated.
17082         * sysdeps/i386/fpu/libm-test-ulps: Update.
17083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17085 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17087         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17088         * math/auto-libm-test-out: Regenerated.
17089         * sysdeps/i386/fpu/libm-test-ulps: Update.
17090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17092         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17095         * math/auto-libm-test-in: Add more tests of log2.
17096         * math/auto-libm-test-out: Regenerated.
17097         * sysdeps/i386/fpu/libm-test-ulps: Update.
17098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17100 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17102         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17103         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17104         _IO_IS_APPENDING bit in READ_WRITE instead.
17106 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17108         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17109         (__determine_cpumask_size): Replace extend_alloca with a
17110         variable-length array.  Do not treat res == 0 as an error.
17112 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17114         [BZ #18100]
17115         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17116         and integer overflow.
17117         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17118         (main): Add integer overflow tests.
17119         * manual/pattern.texi (Calling Wordexp): Document additional use
17120         for WRDE_SYNTAX.
17122 2015-03-23  Alan Modra  <amodra@gmail.com>
17124         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17125         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17126         and false branch of conditional.
17127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17128         Likewise.
17130 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17132         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17133         libc-modules.h
17134         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17135         unused declaration of _hurd_intr_rpc_msg_in_trap.
17136         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17137         defined instead of whether it is non-zero.
17138         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17139         input constraint instead of both input and output constraint.  Use ecx
17140         clobber instead of %ecx.
17141         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17142         mutex_unlock): Use a statement expression instead of an expression list.
17143         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17144         type to vm_size_t instead of vm_address_t.
17145         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17146         defined instead of whether it is non-zero.
17147         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17148         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17149         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17150         comparisons with mapaddr.
17151         * nscd/nscd-client.h: Include <time.h>.
17152         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17153         9th parameter to __vm_region instead of int.
17154         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17155         * scripts/check-local-headers.sh (exclude): Add device/,
17156         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17157         cthreads.h.
17159 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17161         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17162         to account for alignment padding.
17163         * sysdeps/arm/memmove.S: Likewise.
17165 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17167         * sysdeps/unix/sysv/linux/generic/README: New file.
17169 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17171         [BZ #18138]
17172         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17173         (futex_abstimed_wait)
17174         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17175         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17176         of lll_futex_timed_wait.
17178 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17180         [BZ #17542]
17181         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17183 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17185         [BZ #17090]
17186         [BZ #17620]
17187         [BZ #17621]
17188         [BZ #17628]
17189         * NEWS: Update.
17190         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17191         entries with Static TLS too.  Skip entries past the end of the
17192         allocated DTV, from Alan Modra.
17193         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17194         Static TLS DTV entry set up from...
17195         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17196         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17197         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17198         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17199         for Static TLS.
17200         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17201         that the slot we find is associated with the given map before
17202         using its generation count.
17203         * nptl_db/db_info.c: Include ldsodefs.h.
17204         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17205         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17206         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17207         (link_map::l_tls_offset): New struct field.
17208         (dtv_t::counter): Likewise.
17209         (rtld_global): New struct.
17210         (_rtld_global): New rtld variable.
17211         (dl_tls_dtv_slotinfo_list): New rtld global field.
17212         (dtv_slotinfo_list): New struct.
17213         (dtv_slotinfo): Likewise.
17214         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17215         (td_lookup): Rename to...
17216         (td_mod_lookup): ... this.  Use new mod parameter instead of
17217         LIBPTHREAD_SO.
17218         * nptl_db/td_thr_tlsbase.c: Include link.h.
17219         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17220         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17221         addresses even if the DTV is out of date or missing them.
17222         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17223         index zero-length arrays.
17224         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17225         (td_lookup): Make it a macro implemented in terms of...
17226         (td_mod_lookup): ... this declaration.
17227         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17228         (DB_MAIN_VARIABLE): Likewise.
17230 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17232         [BZ #18134]
17233         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17235 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17237         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17239 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17241         [BZ #18128]
17242         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17243         (atomic_add, atomic_increment_and_test)
17244         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17246 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17248         * stdlib/setenv.c (__add_to_environ):
17249         Dump core quickly if setenv (..., NULL, ...) is called.
17251 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17253         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17254         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17255         all the necessary asm magic in one place.
17256         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17257         using those.
17259 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17261         [BZ #14906]
17262         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17263         traced file mtime. Use consistent log message.
17264         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17265         (register_traced_file): Call install_watches. Always set mtime.
17266         (invalidate_cache): Iterate over all trace files. Call install_watches.
17267         (inotify_check_files): Don't inline. Handle watching parent
17268         directories and configuration file movement in and out.
17269         (handle_inotify_events): New function.
17270         (main_loop_poll): Call handle_inotify_events.
17271         (main_loop_epoll): Likewise.
17272         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17273         (struct traced_file): Use array of inotify fds. Add parent directory,
17274         and basename.
17275         (struct database_dyn): Remove unused file_mtime.
17276         (init_traced_file): New inline function.
17277         (define_traced_file): New macro.
17278         * nss/nss_db/db-init.c: Use define_traced_file.
17279         (_nss_db_init): Use init_traced_file.
17280         * nss/nss_files/files-init.c: Use define_traced_file.
17281         (_nss_files_init): Use init_traced_file.
17283 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17285         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17286         [_LIBC]: Do not include <stdlib.h>.
17287         [!_LIBC] (abort): Remove declaration.
17288         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17289         _FP_STATIC_ASSERT instead of conditionally calling abort.
17290         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17291         (_FP_EXTEND_CNAN): Likewise.
17292         (FP_TRUNC): Likewise.
17293         (__FP_CLZ): Likewise.
17294         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17296 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17298         * manual/string.texi (XPG basename): Fix prototype.
17300 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17302         [BZ #18080]
17303         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17304         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17305         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17306         (__setcontext): Likewise.
17307         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17308         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17309         Call rt_sigprocmask syscall one time to set new signal mask
17310         and retrieve the current signal mask instead of two calls.
17311         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17312         (__swapcontext): Likewise.
17313         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17314         * stdlib/tst-setcontext2.c: New file.
17316 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17318         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17320 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17322         [BZ #18093]
17323         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17324         the wrong size.
17326 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17328         [BZ #18043]
17329         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17331 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17333         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17334         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17335         Remove define.
17336         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17337         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17338         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17339         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17340         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17341         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17342         define.
17343         * nptl_db/td_symbol_list.c (td_lookup): Remove
17344         HAVE_ASM_GLOBAL_DOT_NAME code.
17345         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17346         HAVE_ASM_GLOBAL_DOT_NAME check.
17347         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17348         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17349         (DOT_LABEL): Remove define.
17350         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17351         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17352         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17353         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17354         (__TLS_GET_ADDR): Likewise.
17355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17356         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17358 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17360         [BZ #18111]
17361         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17362         (_FPU_SETCW): Initialize cw from fpsr before storing.
17363         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17364         (fesetexceptflag): Rewrite using fpu_control.h.
17365         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17367 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17369         [BZ #18110]
17370         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17371         asms.
17372         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17374 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17376         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17377         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17378         abort.
17379         (_FP_FMA): Likewise.
17380         (_FP_DIV): Likewise.
17382 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17384         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17385         with 0 in that case.
17386         * Makefile (summarize-tests): New canned sequence, factored out of
17387         commands for targets tests and xtests.  Display summary lines that
17388         don't start with PASS: or XFAIL: rather than ones that do start with
17389         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17390         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17391         do start with ERROR: or FAIL:.
17392         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17393         (except for [$(build-shared) = yes]).
17394         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17395         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17396         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17397         * nptl/Makefile: Revert 2015-03-04 changes.
17398         [$(CXX) empty] (tests-unsupported): New variable.
17399         * debug/Makefile: Likewise.
17401         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17402         gnulib file.  Replace __attribute with __attribute__ throughout.
17404 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17406         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17408 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17410         [BZ #18104]
17411         * math/auto-libm-test-in: Add another test of pow.
17412         * math/auto-libm-test-out: Regenerated.
17414 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17416         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17417         $(config-cflags-nofma).
17419 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17421         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17422         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17423         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17424         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17425         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17426         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17427         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17428         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17429         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17430         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17431         Add comment on closing #endif.
17433 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17435         * posix/wordexp.c (CHAR_IN_SET): New macro.
17436         (parse_param): Use it.
17438 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17440         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17442 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17444         [BZ #18043]
17445         * posix/wordexp.c (parse_param): Fix buffer overflow.
17446         * posix/wordexp-test.c (test_case): Add test case.
17448 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17450         [BZ #18042]
17451         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17452         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17454 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17456         [BZ #18043]
17457         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17458         (do_bz18043): Delete.
17459         (at_page_end): New.
17460         (testit): Refactor to have words at the edge of unreadable page.
17462 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17464         [BZ #16734]
17465         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17466         Cleanup read-only streams as well.
17467         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17469 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17471         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17472         <bits/libc-lockP.h>
17474 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17476         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17477         on [__KERNEL__].
17478         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17479         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17480         * soft-fp/op-common.h (_FP_DECL): Likewise.
17482 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17484         * elf/ifuncdep2.c (global): Replace
17485         __attribute__((visibility("protected"))) with
17486         asm (".protected global").
17487         * elf/ifuncmod1.c (global): Likewise.
17488         * elf/ifuncmod5.c (global): Likewise.
17490 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17492         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17493         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17495 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17497         * manual/install.texi (Configuring and compiling):
17498         Document test-wrapper-env-only.
17499         * INSTALL: Regenerated.
17501 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17503         [BZ #18043]
17504         * posix/wordexp.c (parse_param): Fix buffer overflow.
17505         * posix/wordexp-test.c (do_bz18043): Add test case.
17507 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17509         * time/tst-strptime2.c (do_test): Ensure failing tests are
17510         reported correctly.
17511         * time/tst-strptime3.c (do_test): Likewise.
17513 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17515         Fix aio_error thread-safety.
17516         * sysdeps/pthread/aio_error.c: New file
17517         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17518         synchronization.
17520 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17522         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17523         (group_number, vfprintf): Use it.
17524         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17525         (JUMP, REF): Use it.
17526         (WORK_BUFFER_SIZE): New enum constant.
17527         (process_arg, vfprintf): Use it.
17529 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17531         * manual/errno.texi (Error Messages): Complete example function
17532         by adding missing #define.
17533         (program_invocation_name): Add statement indicating GNU
17534         extension and reference which header file declares the variable.
17535         (program_invocation_short_name): Likewise.
17537 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17539         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17540         compatibility note.
17542 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17544         * Makeconfig (test-wrapper-env-only): New variable.
17545         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17546         then use that with $(test-wrapper-env-only) rather than using
17547         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17549 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17551         [BZ #18082]
17552         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17553         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17554         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17555         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17556         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17557         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17558         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17559         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17560         Likewise.
17561         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17562         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17563         Likewise.
17564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17565         Likewise.
17566         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17567         Likewise.
17568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17569         Likewise.
17570         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17572         Likewise.
17573         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17574         Likewise.
17575         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17576         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17578 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17580         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17581         (ETH_ALEN): New macro.
17582         (struct ether_addr): Use it for length of ether_addr_octet.
17584         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17585         (setdb): Don't call __nss_configure_lookup for "rpc".
17586         (do_test): Don't call test_rpc.
17587         (output_rpcent, test_rpc): Functions moved ...
17588         * sunrpc/test-rpcent.c: ... to this new file.
17589         * sunrpc/Makefile (tests): Add it.
17591         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17592         __xpg_sigpause.
17593         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17594         * nptl/tst-signal6.c: Likewise.
17595         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17596         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17598         * configure.ac (libc_cv_cxx_link_ok): New check.
17599         Reset CXX to empty if it fails to link.
17600         * configure: Regenerated.
17601         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17602         bug-atexit3-lib only if $(CXX) is nonempty.
17603         * nptl/Makefile (tests): Likewise for tst-cancel24.
17604         (tests, tests-static): Likewise for tst-cancel24-static.
17605         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17606         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17607         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17608         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17610 2015-03-04  Andreas Schwab  <schwab@suse.de>
17612         [BZ #17631]
17613         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17614         for non-GCC compilers.
17615         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17616         Likewise.
17618 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17620         [BZ #17776]
17621         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17622         integer before bitwise and assembly operations.
17623         (feclearexcept): Likewise.
17624         * math/test-fenvinline.c: New file.
17625         * math/Makefile: Add test-fenvinline test.
17627 2015-03-03  Alan Modra  <amodra@gmail.com>
17629         [BZ #16512]
17630         * scripts/localplt.awk: Strip off symbol version.
17631         * NEWS: Mention bug fix.
17633 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17635         * sysdeps/pthread/timer_routines.c
17636         (timer_free_list, thread_free_list, thread_active_list): Make static.
17638 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17640         [BZ #17779]
17641         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17642         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17643         Undefine.
17644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17645         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17646         Likewise.
17647         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17648         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17649         Likewise.
17651 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17653         [BZ #18036]
17654         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17655         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17657 2015-03-02  Andreas Schwab  <schwab@suse.de>
17659         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17660         variable name.
17662 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17664         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17665         Return error status.
17667 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17669         [BZ #15969]
17670         * locale/findlocale.c (_nl_find_locale): Introduce const
17671         version of loc_name and drop unsafe type casts.
17673 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17675         * dlfcn/tststatic2.c (main): Converted to ...
17676         (do_test): ... this.
17677         (TEST_FUNCTION): New macro.
17678         Include test-skeleton.c.
17680 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17682         [BZ #17711]
17683         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17684         (tests-pie): Add vismain.
17685         (CFLAGS-vismain.c): New.
17686         * elf/vismain.c: Add comments for PIE requirement.
17688 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17690         [BZ #18046]
17691         [BZ #18047]
17692         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17693         0x1p-56L as threshold for just returning the argument.
17694         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17695         0x1p-32L as threshold for just returning the argument.
17696         * math/auto-libm-test-in: Add more tests of atanh.
17697         * math/auto-libm-test-out: Regenerated.
17698         * sysdeps/i386/fpu/libm-test-ulps: Update.
17699         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17701 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17703         * string/bcopy.c (bcopy): Call memmove for performance.
17705 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17707         * string/bzero.c (__bzero): Call memset for performance.
17709 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17711         [BZ #18068]
17712         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17713         to 00100000.
17715 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17717         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17719 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17721         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17722         (__kernel_standard): Use CSTR macro when setting exc.name.
17723         * sysdeps/ieee754/Makefile [$(subdir) = math]
17724         (CFLAGS-k_standard.c): Remove variable.
17726         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17727         setting p and q from "else if" to "else".
17728         (qzero): Likewise.
17729         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17730         (qone): Likewise.
17731         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17732         (qzerof): Likewise.
17733         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17734         (qonef): Likewise.
17735         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17736         (qzero): Likewise.
17737         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17738         (qone): Likewise.
17740         [BZ #18038]
17741         [BZ #18039]
17742         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17743         return pi/2 for arguments below 0x1p-113L.
17744         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17745         return pi/2 for arguments below 0x1p-106L.
17746         * math/auto-libm-test-in: Add more tests of acos.
17747         * math/auto-libm-test-out: Regenerated.
17749         [BZ #16351]
17750         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17751         (MO): New macro.
17752         (__ieee754_asin): Force underflow exception for results with small
17753         absolute value.
17754         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17755         (MO): New macro.
17756         (__ieee754_asinf): Force underflow exception for results with
17757         small absolute value.
17758         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17759         (__ieee754_asin): Force underflow exception for results with small
17760         absolute value.
17761         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17762         (__ieee754_asinf): Force underflow exception for results with
17763         small absolute value.
17764         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17765         (__ieee754_asinl): Force underflow exception for results with
17766         small absolute value.
17767         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17768         (__ieee754_asinl): Force underflow exception for results with
17769         small absolute value.
17770         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17771         (__ieee754_asinl): Force underflow exception for results with
17772         small absolute value.
17773         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17774         Include <math.h>.
17775         * math/auto-libm-test-in: Do not mark underflow exceptions as
17776         possibly missing for bug 16351.
17777         * math/auto-libm-test-out: Regenerated.
17779         [BZ #18030]
17780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17781         of power of 2 down when low part has opposite sign.
17782         * math/libm-test.inc (logb_test_data): Add more tests.
17784 2015-02-26  Andreas Schwab  <schwab@suse.de>
17786         [BZ #18032]
17787         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17788         over collating symbol inside a bracket expression.  Minor cleanup.
17789         * posix/tst-fnmatch3.c (do_test): Add test case.
17791 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17793         [BZ #18029]
17794         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17795         Adjust exponent of power of 2 down when low part has opposite
17796         sign.
17797         * math/libm-test.inc (ilogb_test_data): Add more tests.
17799 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17801         [BZ #15969]
17802         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17803         the previous change.
17805         [BZ #15969]
17806         * locale/findlocale.c (_nl_find_locale): Retry archive search
17807         after alias expansion.
17809 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17811         * iconv/tst-iconv3.c (main): Converted to ...
17812         (do_test): ... this.
17813         (TEST_FUNCTION): New macro.
17814         Include test-skeleton.c.
17816         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17817         (convert): Make function static.
17818         (test_unalign): Likewise.  Add const to argument pointee types.
17819         (main): Replace with static function do_test.
17820         Print "Succeeded." only if RET is zero.
17821         (TEST_FUNCTION): New macro.
17822         Include test-skeleton.c.
17824         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17825         returns a null pointer.
17827 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17829         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17830         to __memcpy_ppc only for static builds.
17832 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17834         [BZ #18020]
17835         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17836         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17837         * math/auto-libm-test-in: Add more tests of asinh.
17838         * math/auto-libm-test-out: Regenerated.
17839         * sysdeps/i386/fpu/libm-test-ulps: Update.
17840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17842 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17844         [BZ #15850]
17845         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17846         and ip6_mtuinfo definitions here.
17847         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17848         in this define too.  Update comment.
17850 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17852         * elf/sprof.c (load_shobj): Tweak error message to match others.
17854 2015-02-24  Kevin Easton  <kevin@guarana.org>
17856         [BZ #16145] (partial fix)
17857         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17858         to reduce lock contention.
17860 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17862         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17863         (struct timex): Update time comment.
17864         (ADJ_SETOFFSET): Define.
17866 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17868         [BZ #18019]
17869         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17870         2**56 not 2**28 as threshold for log (2x) formula.
17871         * math/auto-libm-test-in: Add more tests of acosh.
17872         * math/auto-libm-test-out: Regenerated.
17873         * sysdeps/i386/fpu/libm-test-ulps: Update.
17874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17876 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17878         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17879         parenthesis around the buf assignment.
17880         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17882 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17884         [BZ #16783]
17885         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17886         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17887         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17888         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17889         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17890         * math/libm-test.inc (scalb_test_data): Add more tests.
17892 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17894         [BZ #17916]
17895         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17896         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17898 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17900         [BZ #17523]
17901         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17902         * io/bits/fcntl2.h (open): Use it.
17903         (openat): Likewise.
17904         * io/open.c (__libc_open): Likewise.
17905         * io/open64.c (__libc_open64): Likewise.
17906         * io/open64_2.c (__open64_2): Likewise.
17907         * io/open_2.c (__open_2): Likewise.
17908         * io/openat.c (__openat): Likewise.
17909         * io/openat64.c (__openat64): Likewise.
17910         * io/openat64_2.c (__openat64_2): Likewise.
17911         * io/openat_2.c (__openat_2): Likewise.
17912         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17913         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17914         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17915         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17916         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17917         (__open_nocancel): Likewise.
17918         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17919         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17920         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17922 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17924         [BZ #14841]
17925         * resolv/gethnamaddr.c (getanswer): Skip logging if
17926         RES_USE_DNSSEC is set.
17927         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17929 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17931         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17933 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17935         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17936         201304L, for Unicode 7.
17938 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17940         [BZ #17836]
17941         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17942         shared library.  Add gmon-start.os otherwise.
17943         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17944         $(objpfx)gmon-start.os if builing shared library.
17945         ($(objpfx)g$(static-start-installed-name)): Likewise.
17947 2015-02-23  Andreas Schwab  <schwab@suse.de>
17949         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17951 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17953         [BZ #17269]
17954         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17955         (enlarge_userbuf): Likewise.
17957 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17959         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17960         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17961         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17962         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17964 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17966         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17967         expression inside statement expression.
17969 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17971         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17972         <sysdeps/nptl/lowlevellock.h> and remove macros and
17973         functions that are now defined there.
17974         (SYS_futex): Remove.
17975         (lll_compare_and_swap): Remove.
17976         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17978 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17980         [BZ #17999]
17981         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17982         instead of scandirat.
17983         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17984         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17985         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17986         __scandirat.
17987         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17988         (__scandirat): Declare.  Use libc_hidden_proto.
17989         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17990         Remove variable.
17991         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17993 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17995         [BZ #15319]
17996         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17997         (MO): New macro.
17998         (__ieee754_atan2): For results with small absolute value, force
17999         underflow exception and remove excess range and precision from
18000         return value.
18001         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18002         (MO): New macro.
18003         (__ieee754_atan2f): For results with small absolute value, force
18004         underflow exception and remove excess range and precision from
18005         return value.
18006         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18007         (MO): New macro.
18008         (__atan): For results with small absolute value, force underflow
18009         exception and remove excess range and precision from return value.
18010         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18011         (MO): New macro.
18012         (__atanf): For results with small absolute value, force underflow
18013         exception and remove excess range and precision from return value.
18014         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18015         <math.h>.
18016         (__ieee754_atan2): Force underflow exception for results with
18017         small absolute value.
18018         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18019         <math_private.h>.
18020         (atan): Force underflow exception for results with small absolute
18021         value.
18022         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18023         (__atanf): Force underflow exception for results with small
18024         absolute value.
18025         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18026         <math.h>.
18027         (__atanl): Force underflow exception for results with small
18028         absolute value.
18029         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18030         (__atanl): Force underflow exception for results with small
18031         absolute value.
18032         * sysdeps/x86/fpu/bits/mathinline.h
18033         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18034         (__ieee754_atan2): Only define inline for long double.
18035         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18036         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18037         * math/auto-libm-test-in: Do not mark underflow exceptions as
18038         possibly missing for bug 15319.  Add more tests of atan2.
18039         * math/auto-libm-test-out: Regenerated.
18040         * math/libm-test.inc (casin_test_data): Do not mark underflow
18041         exceptions as possibly missing for bug 15319.
18042         (casinh_test_data): Likewise.
18043         * sysdeps/i386/fpu/libm-test-ulps: Update.
18045 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18047         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18048         * sysdeps/mips/bits/endian.h: Fix comments.
18050 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18052         [BZ #17996]
18053         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18054         (hdestroy_r): Likewise.
18055         (hsearch_r): Likewise.
18056         (__hcreate_r): Declare and use libc_hidden_proto.
18057         (__hdestroy_r): Likewise.
18058         (__hsearch_r): Likewise.
18059         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18060         (hcreate): Call __hcreate_r instead of hcreate_r.
18061         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18062         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18063         as weak alias of __hcreate_r.
18064         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18065         __hdestroy_r.
18066         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18067         __hsearch_r.
18068         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18069         Remove variable.
18070         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18071         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18072         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18073         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18075 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18077         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18078         arena_lock into a single arena_get.
18080 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18082         * dl-reloc.c: Inlucde libc-internal.h.
18083         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18084         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18085         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18086         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18087         (grow_heap): Likewise.
18088         * malloc/malloc.c: Include libc-internal.h.
18089         (do_check_malloc): Call powerof2.
18090         (sysmalloc): Use pagesize. Call ALIGN_UP.
18091         (systrim): Use pagesize.
18092         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18093         (__libc_valloc): Use pagesize.
18094         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18096 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18098         [BZ #17991]
18099         * include/sys/resource.h (__getrlimit64): Declare.  Use
18100         libc_hidden_proto.
18101         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18102         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18103         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18104         getrlimit64.
18105         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18106         __getrlimit64.
18107         [!getrlimit64] (getrlimit64): Define as weak alias of
18108         __getrlimit64.  Use libc_hidden_weak.
18109         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18110         using __getrlimit64 not __new_getrlimit64.
18111         (__GI_getrlimit64): Likewise.
18112         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18113         Likewise.
18114         (__GI_getrlimit64): Likewise.
18115         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18117         (getrlimit): Add __getrlimit64 alias.
18118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18119         Likewise.
18120         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18121         Remove variable.
18122         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18123         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18125 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18127         * libio/fileops.c: Add missing sys/mman.h
18128         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18130 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18132         * manual/math.texi (Errors in Math Functions): Clarify goals
18133         regarding inexact and underflow exceptions.
18135 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18137         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18138         * sysdeps/mips/memset.S: Ditto.
18140 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18142         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18144 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18146         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18147         (__v1longjmp): Remove versioned symbol.
18148         (__v1siglongjmp): Remove alias and versioned symbol.
18149         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18150         (__v2siglongjmp): Likewise.
18152 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18154         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18156 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18158         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18160 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18162         [BZ #17987]
18163         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18164         zero result does not depend on the sign resulting from
18165         subtraction.
18166         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18167         Likewise.
18168         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18169         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18170         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18171         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18172         * math/libm-test.inc (remquo_test_data): Add more tests.
18174 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18176         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18177         Problem reported by J William Piggott.
18179 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18181         [BZ #17978]
18182         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18183         products 4 * y and 2 * y where those would overflow.
18184         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18185         Likewise.
18186         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18187         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18188         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18189         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18190         * math/libm-test.inc (remquo_test_data): Add more tests.
18192         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18194         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18195         [defined _COMPILING_NEWLIB].
18196         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18197         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18199         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18200         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18202 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18204         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18205         acquired.
18207 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18209         [BZ #17792]
18210         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18211         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18212         HOST_STACK_END_ADDR): Likewise.
18214 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18216         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18217         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18218         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18220 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18222         * sysdeps/generic/c++-types.data: New file.
18223         * sysdeps/generic/ld.abilist: New file.
18224         * sysdeps/generic/libBrokenLocale.abilist: New file.
18225         * sysdeps/generic/libanl.abilist: New file.
18226         * sysdeps/generic/libc.abilist: New file.
18227         * sysdeps/generic/libcrypt.abilist: New file.
18228         * sysdeps/generic/libdl.abilist: New file.
18229         * sysdeps/generic/libm.abilist: New file.
18230         * sysdeps/generic/libpthread.abilist: New file.
18231         * sysdeps/generic/libresolv.abilist: New file.
18232         * sysdeps/generic/librt.abilist: New file.
18234 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18236         [BZ #17569]
18237         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18238         Compute absolute value of x as modified by fmod, not original
18239         value of x.
18240         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18241         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18242         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18243         RUN_TEST_ffI_f1_mod8.
18244         (remquo_test_data): Add more tests.
18246 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18248         * sysdeps/init_array/pt-crti.S: New file.
18250 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18252         [BZ #17967]
18253         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18254         __builtin_fmaf instead of relying on contraction of a * b + c.
18256 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18258         [BZ #17969]
18259         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18260         node.
18262 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18264         [BZ #17964]
18265         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18266         __builtin_fma instead of relying on contraction of a * b + c.
18268 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18270         * Makeconfig (ASFLAGS): Add -Werror=undef.
18271         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18272         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18273         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18275         * Makeconfig (after-link): New variable.
18276         (+link-pie, +link-pie-tests): Use it.
18277         (+link-static, +link-static-tests): Likewise.
18278         (+link, +link-tests): Likewise.
18279         * Makerules (build-module, build-module-asneeded): Likewise.
18280         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18281         Likewise.
18282         * elf/Makefile ($(objpfx)ld.so): Likewise.
18284 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18286         [BZ #17965]
18287         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18288         both struct timeval and struct timespec.
18290 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18292         [BZ #16560]
18293         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18294         and redefine.
18295         (__ieee754_exp2l): Do not multiply small fractional parts by
18296         M_LN2l.
18297         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18298         small argument.
18299         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18300         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18301         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18302         * math/auto-libm-test-in: Add more tests of exp2.
18303         * math/auto-libm-test-out: Regenerated.
18305 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18307         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18308         unaligned path.
18310 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18312         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18313         little endian.
18315 2015-02-12  Andreas Schwab  <schwab@suse.de>
18317         [BZ #15790]
18318         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18319         Filter out elision flags from value returned in kind.
18320         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18321         * nptl/tst-pthread-mutexattr.c: New file.
18323 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18325         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18326         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18327         into gnu-gnu, and update comment to refer to abi-tags.
18329 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18331         [BZ #15467]
18332         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18333         (__sincos): Set errno to EDOM for infinite argument.
18334         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18335         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18336         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18337         (__sincosl): Set errno to EDOM for infinite argument.
18338         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18339         (__sincosl): Set errno to EDOM for infinite argument.
18340         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18341         (__sincosl): Set errno to EDOM for infinite argument.
18342         * math/libm-test.inc (sincos_test_data): Test errno setting.
18344 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18346         * string/strxfrm_l.c: Remove #define STRCMP.
18347         * string/strcoll_l.c: Remove #define STRLEN.
18348         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18349         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18351 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18353         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18354         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18355         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18356         * sysdeps/mips/mips64/Makefile: ... here.
18357         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18358         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18359         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18360         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18361         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18362         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18363         * sysdeps/mips/mips64/n64/Implies: Likewise.
18365 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18367         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18368         <sys/time.h>, <string.h>, and <errno.h>.
18369         (dest_offset, dest_address, value, zero): Remove unused variables.
18370         (ldouble): Remove typedef.
18371         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18372         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18373         1).  Fix code style.
18374         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18375         (check): Function removed.
18376         (CHECK): New macro.
18377         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18378         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18379         Don't call set_sigaction_FP and remove_sigaction_FP here.
18380         (ldouble_test): Just use 'long double' as macro argument, no need for
18381         the 'ldouble' typedef.
18382         (do_test): Set up SIGFPE handler at start, using plain signal rather
18383         than sigaction.  Fix code style.
18385 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18387         [BZ #17949]
18388         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18389         jump label.
18391 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18393         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18394         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18396         * sysdeps/powerpc/configure.ac: Remove file.
18397         * sysdeps/powerpc/configure: Likewise.
18399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18400         [sysdep_routines]: Remove wordcopy-power6 object.
18401         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18402         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18403         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18404         (__memmove_ppc32): Likewise.
18405         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18406         file.
18407         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18408         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18409         Remove preprocessor.
18411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18412         [sysdep_routines]: Remove wide chars objects.
18413         [wcsmbs]: New rule for wide char objects.
18415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18416         Remove wordcopy-power6 obejct.
18417         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18418         Use local call for wordcopy and memcpy symbols.
18419         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18420         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18421         implementation for loader.
18422         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18424         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18425         Remove wordcopy-power7 object.
18426         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18427         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18428         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18429         (_wordcopy_fwd_dest_aligned): Likewise.
18430         (_wordcopy_bwd_aligned): Likewise.
18431         (_wordcopy_bwd_dest_aligned): Likewise.
18433         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18434         Rewrite to call __memmove_ppc instead of include default
18435         implementation.
18437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18438         Remove wide chars objects.
18439         [wcsmbs]: New rule for wide char objects.
18441 2015-02-09  Andreas Schwab  <schwab@suse.de>
18443         [BZ #17912]
18444         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18445         in terms of __O_DIRECTORY.
18447 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18449         * time/getdate.c: Include <stdbool.h>.
18450         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18451         call PTR_MANGLE.
18452         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18453         PTR_DEMANGLE.
18455 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18457         Add ersatz _Static_assert on older C hosts
18458         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18459         pre-C11 C platform that is not known to support _Static_assert.
18461 2015-02-07  Richard Braun  <rbraun@sceen.net>
18463         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18464         sigstate.
18465         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18467 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18469         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18470         priority against unexistent AIO_PRIO_DELTA_MAX.
18471         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18472         instead of int.
18473         * misc/fchflags.c (fchflags): Likewise.
18474         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18475         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18476         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18477         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18478         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18479         Declare macros.
18480         [__USE_MISC] (chflags, fchflags): Declare functions.
18481         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18482         EINVAL when nfds is greater than FD_SETSIZE.
18483         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18484         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18485         45.
18486         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18487         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18488         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18489         MACH_RCV_TIMED_OUT.
18490         * hurd/hurd/signal.h (_hurd_self_sigstate,
18491         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18492         Explicit casts from void *.
18493         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18494         * abi-tags: Rename gnu-gnu os into gnu.
18496         [BZ #4719]
18497         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18498         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18499         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18500         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18501         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18502         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18504         [BZ #17944]
18505         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18506         duplicates ADDR->sun_path with sockaddr LEN limitation.
18507         * sysdeps/mach/hurd/connect.c: Include <string.h>
18508         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18509         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18510         * sysdeps/mach/hurd/sendto.c: Likewise.
18511         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18512         implementing it by hand.
18514 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18516         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18517         Use sfi_breg on ldr.
18518         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18519         Likewise.
18521         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18522         it's defined.
18523         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18524         Test SIGSETXID only if it's defined.
18526         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18528         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18529         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18531         * nptl/tst-align2.c: Moved ...
18532         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18533         * nptl/Makefile (tests): Remove tst-align2.
18534         * sysdeps/unix/sysv/linux/Makefile
18535         [$(subdir) = nptl] (tests): Add tst-align-clone.
18536         * nptl/tst-getpid1.c: Moved ...
18537         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18538         * nptl/tst-getpid2.c: Moved ...
18539         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18540         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18541         * sysdeps/unix/sysv/linux/Makefile
18542         [$(subdir) = nptl] (tests): ... here.
18543         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18544         * sysdeps/unix/sysv/linux/Makefile
18545         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18547         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18548         Drop trailing \n from perror argument.  Use return rather than exit.
18550         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18551         on [SA_SIGINFO].
18552         * nptl/tst-cancel21.c (do_test): Likewise.
18553         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18554         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18555         [!SA_SIGINFO]: Make it a stub test.
18557         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18558         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18560         * posix/tst-getlogin.c: Move to ...
18561         * login/tst-getlogin.c: ... here.
18562         * posix/Makefile (tests): Move tst-getlogin to ...
18563         * login/Makefile (tests): ... here.
18565         * libio/tst-atime.c (do_test): Move local variables SV and E
18566         inside [ST_NOATIME] conditional.
18568         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18570         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18572         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18573         (wait_code): New function replaces macro.
18574         Call nanosleep rather than syscall.
18576         * nptl/pt-system.c: Rewritten.  Put everything under
18577         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18578         Use IFUNC to redirect when possible.
18580         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18581         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18582         Use IFUNC to redirect when possible.
18584         * nptl/pt-fork.c: Rewritten.  Put everything under
18585         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18586         Use IFUNC to redirect when possible.
18587         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18589         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18590         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18591         unconditionally nowadays.  This included the only reference to
18592         __vdso_clock_gettime that appears outside libc proper.
18593         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18594         Remove version set (containing only __vdso_clock_gettime).
18595         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18596         Add attribute_hidden.
18597         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18598         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18599         libc_hidden_data_def.
18600         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18601         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18603         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18604         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18605         setrpcent, and getrpcport to ...
18606         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18607         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18608         getrpcbynumber_r, and getrpcent_r to ...
18609         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18610         * inet/getrpcbyname.c: Moved ...
18611         * sunrpc/getrpcbyname.c: ... here.
18612         * inet/getrpcbyname_r.c: Moved ...
18613         * sunrpc/getrpcbyname_r.c: ... here.
18614         * inet/getrpcbynumber.c: Moved ...
18615         * sunrpc/getrpcbynumber.c: ... here.
18616         * inet/getrpcbynumber_r.c: Moved ...
18617         * sunrpc/getrpcbynumber_r.c: ... here.
18618         * inet/getrpcent.c: Moved ...
18619         * sunrpc/getrpcent.c: ... here.
18620         * inet/getrpcent_r.c: Moved ...
18621         * sunrpc/getrpcent_r.c: ... here.
18622         * inet/Makefile (routines): Move those to ...
18623         * sunrpc/Makefile (routines): ... here.
18624         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18625         the $(subdirs) list.
18626         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18627         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18628         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18629         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18631         * elf/Makefile (routines): Include $(all-dl-routines), not just
18632         $(dl-routines).
18633         (rtld-routines): Likewise.  Use = rather than :=.
18634         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18635         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18636         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18637         * sysdeps/arm/Makefile: Likewise.
18638         * sysdeps/i386/Makefile: Likewise.
18639         * sysdeps/x86_64/Makefile: Likewise.
18640         * sysdeps/hppa/Makefile [$(subdir) = elf]
18641         (sysdep_routines, sysdep-rtld-routines): Don't add
18642         $(sysdep-dl-routines) to these.
18643         * sysdeps/ia64/Makefile: Likewise.
18644         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18645         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18646         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18647         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18648         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18649         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18650         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18651         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18652         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18653         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18654         these; sysdep-dl-routines alone is enough.
18656 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18658         [BZ #17932]
18659         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18660         where multiplication results in zero and third argument is finite
18661         and nonzero.
18662         * math/auto-libm-test-in: Add more tests of fma.
18663         * math/auto-libm-test-out: Regenerated.
18665         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18666         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18667         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18668         (_FP_CMP_EQ): Likewise.
18669         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18671         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18672         extra argument CHECK_NAN.  Redefine as wrapper around
18673         _FP_EXTEND_CNAN.
18675 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18677         * version.h (RELEASE): Set to "stable".
18678         (VERSION): Set to "2.21"
18679         * include/features.h (__GLIBC_MINOR__): Set to 21.
18681         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18683 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18684             Paul Eggert  <eggert@cs.ucla.edu>
18686         [BZ #16618]
18687         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18688         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18689         size in bytes. Store needed elements in wpmax. Use needed size
18690         in bytes for extend_alloca.
18692 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18694         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18695         binutls 2.25, and texinfo 5.2.
18696         * INSTALL: Regenerate.
18697         * sysdeps/nios2/configure: Regenerate.
18698         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18699         * manual/contrib.texi: Update.
18700         * po/be.po: Update.
18701         * po/bg.po: Update.
18702         * po/ca.po: Update.
18703         * po/cs.po: Update.
18704         * po/da.po: Update.
18705         * po/de.po: Update.
18706         * po/el.po: Update.
18707         * po/eo.po: Update.
18708         * po/es.po: Update.
18709         * po/fi.po: Update.
18710         * po/fr.po: Update.
18711         * po/gl.po: Update.
18712         * po/hr.po: Update.
18713         * po/hu.po: Update.
18714         * po/ia.po: Update.
18715         * po/id.po: Update.
18716         * po/it.po: Update.
18717         * po/ja.po: Update.
18718         * po/ko.po: Update.
18719         * po/lt.po: Update.
18720         * po/nb.po: Update.
18721         * po/nl.po: Update.
18722         * po/pl.po: Update.
18723         * po/pt_BR.po: Update.
18724         * po/ru.po: Update.
18725         * po/rw.po: Update.
18726         * po/sk.po: Update.
18727         * po/sl.po: Update.
18728         * po/sv.po: Update.
18729         * po/tr.po: Update.
18730         * po/uk.po: Update.
18731         * po/vi.po: Update.
18732         * po/zh_CN.po: Update.
18733         * po/zh_TW.po: Update.
18735         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18736         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18737         * sysdeps/hppa/dl-irel.h: Remove #warning.
18738         * sysdeps/hppa/entry.h: Provide prototype for
18739         __canonicalize_funcptr_for_compare and cast argument.
18740         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18741         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18742         * sysdeps/hppa/sotruss-lib.c: New file.
18743         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18744         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18745         (atomic_compare_and_exchange_bool_acq): Likewise.
18746         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18747         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18749         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18750         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18751         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18753 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18755         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18756         called function in non-PIC case.
18758 2015-01-31  David S. Miller  <davem@davemloft.net>
18760         * sysdeps/sparc/sparc32/bits/atomic.h
18761         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18762         unlock not after it.
18763         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18764         volatile register usage warnings from the compiler.
18766         * sysdeps/sparc/nptl/sem_init.c: Delete.
18767         * sysdeps/sparc/nptl/sem_post.c: Delete.
18768         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18769         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18770         * sysdeps/sparc/sparc32/sem_init.c: New file.
18771         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18772         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18773         padding explicitly initialized.
18774         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18775         padding for in-semaphore spinlock.
18776         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18777         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18778         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18779         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18780         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18781         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18782         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18783         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18784         version.
18785         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18786         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18788 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18790         [BZ #17801]
18791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18792         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18793         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18794         New.
18795         (index_AVX_Fast_Unaligned_Load): Likewise.
18796         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18798         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18799         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18800         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18801         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18802         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18803         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18804         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18806 2015-01-29  Andreas Schwab  <schwab@suse.de>
18808         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18810 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18812         [BZ #17892]
18813         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18815 2015-01-28  Martin Sebor  <msebor@redhat.com>
18817         * math/README.libm-test: Clarify. Add "How to read the test output."
18819 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18821         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18822         Define to 0.
18824 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18826         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18827         (__HAVE_64B_ATOMICS): Define to 0.
18829 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18831         [BZ #17885]
18832         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18833         value to set as new flag.
18835         [BZ #16576]
18836         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18837         and use _ARCH_PPCSQ instead.
18838         (__ieee754_sqrt): Likewise.
18839         (__ieee754_sqrtf): Likewise.
18840         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18841         _ARCH_PPCSQ is defined.
18842         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18843         fsqrt instruction.
18844         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18845         _ARCH_PPCSQ is defined.
18846         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18847         fsqrts instruction.
18848         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18850 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18852         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18853         bug (GCC BZ #64739).
18855 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18857         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18858         Mark _retval as used.
18859         (lll_futex_wake_unlock): Likewise.
18860         (lll_futex_timed_wait_requeue_pi): Likewise.
18862         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18863         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18864         register variables.
18866         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18867         libm_hidden_def.
18869         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18870         (__bswap_64): Mark as __always_inline.
18872 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18874         [BZ #15378]
18875         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18876         when none of the search directories exist.
18878 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18880         [BZ #17869]
18881         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18882         power8 in .machine directive.
18884         [BZ #17868]
18885         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18886         set dependency from opd value.
18888 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18891         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18892         architecture.
18894 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18896         [BZ #17870]
18897         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18898         with uint64_t.
18899         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18900         (uint64_t) 1.
18901         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18902         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18903         Replace 1UL with (uint64_t) 1.
18904         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18905         int with uint64_t.
18907 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18909         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18910         (if_freenameindex): Likewise.
18912         * resource/getrlimit64.c: Add missing libc_hidden_def.
18914 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18916         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18917         __label__.
18918         (_FP_FMA): Likewise.
18919         (_FP_TO_INT_ROUND): Likewise.
18920         (_FP_FROM_INT): Likewise.
18922 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18924         [BZ #16418]
18925         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18926         Make code racy and cancel safe.
18928 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18930         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18931         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18932         attribution.
18934         * pwd/tst-getpw.c: Rewrite.
18936         [BZ #17702]
18937         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18938         (modules-names): Add moddummy1 and moddummy2.
18939         ($(objpfx)tst-rec-dlopen): Define.
18940         * dlfcn/moddummy1.c: New file.
18941         * dlfcn/moddummy2.c: New file.
18942         * dlfcn/tst-rec-dlopen.c: New file.
18943         * elf/dl-cache.c (_dl_load_cache_lookup):
18944         Return char*. Copy result with alloca/strcpy/strdup.
18945         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18946         returns char*. Free cached. If not saving realname
18947         free cached.
18948         * elf/dl-open.c (dl_open_worker): Do not assert that
18949         _r_debug->r_state is RT_CONSISTENT.
18950         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18951         returns char*.
18953 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18954             Carlos O'Donell  <carlos@redhat.com>
18956         [BZ #12674]
18957         * nptl/sem_waitcommon.c: New file.
18958         * nptl/sem_wait.c: Include sem_waitcommon.c.
18959         (__sem_wait_cleanup, do_futex_wait): Remove.
18960         (__new_sem_wait): Adapt.
18961         (__new_sem_trywait): New function.
18962         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18963         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18964         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18965         (sem_timedwait): Adapt.
18966         * nptl/sem_post.c (__new_sem_post): Adapt.
18967         (futex_wake): New function.
18968         (__old_sem_post): Add release MO fence.
18969         * nptl/sem_open.c (sem_open): Adapt.
18970         * nptl/sem_init.c (__new_sem_init): Adapt.
18971         (futex_private_if_supported): New function.
18972         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18973         (__old_sem_getvalue): Add using previous code.
18974         * sysdeps/nptl/internaltypes.h: Adapt.
18975         * nptl/tst-sem13.c (do_test): Adapt.
18976         * nptl/tst-sem11.c (main): Adapt.
18977         * nptl/sem_trywait.c: Remove.
18978         * nptl/DESIGN-sem.txt: Remove.
18979         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18980         (gen-as-const-headers): Remove structsem.sym.
18981         * nptl/structsem.sym: Remove.
18982         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18983         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18984         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18985         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18986         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18987         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18988         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18989         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18990         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18991         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18992         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18993         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18994         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18995         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18996         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18997         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18998         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18999         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19000         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19001         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19002         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19003         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19005 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19007         * INSTALL: Regenerated.
19009         * po/libc.pot: Regenerated.
19011 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19012             Sandra Loosemore  <sandra@codesourcery.com>
19013             Andrew Jenner  <andrew@codesourcery.com>
19014             Joseph Myers  <joseph@codesourcery.com>
19015             Nathan Sidwell  <nathan@codesourcery.com>
19017         * NEWS: Mention new Nios II port.
19018         * sysdeps/nios2/Implies: New file.
19019         * sysdeps/nios2/Makefile: New file.
19020         * sysdeps/nios2/Subdirs: New file.
19021         * sysdeps/nios2/Versions: New file.
19022         * sysdeps/nios2/__longjmp.S: New file.
19023         * sysdeps/nios2/abort-instr.h: New file.
19024         * sysdeps/nios2/backtrace.c: New file.
19025         * sysdeps/nios2/bits/endian.h: New file.
19026         * sysdeps/nios2/bits/fenv.h: New file.
19027         * sysdeps/nios2/bits/link.h: New file.
19028         * sysdeps/nios2/bits/setjmp.h: New file.
19029         * sysdeps/nios2/bsd-_setjmp.S: New file.
19030         * sysdeps/nios2/bsd-setjmp.S: New file.
19031         * sysdeps/nios2/configure: New generated file.
19032         * sysdeps/nios2/configure.ac: New file.
19033         * sysdeps/nios2/crti.S: New file.
19034         * sysdeps/nios2/crtn.S: New file.
19035         * sysdeps/nios2/dl-init.c: New file.
19036         * sysdeps/nios2/dl-machine.h: New file.
19037         * sysdeps/nios2/dl-sysdep.h: New file.
19038         * sysdeps/nios2/dl-tls.h: New file.
19039         * sysdeps/nios2/dl-trampoline.S: New file.
19040         * sysdeps/nios2/gccframe.h: New file.
19041         * sysdeps/nios2/gmp-mparam.h: New file.
19042         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19043         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19044         * sysdeps/nios2/ldsodefs.h: New file.
19045         * sysdeps/nios2/libc-tls.c: New file.
19046         * sysdeps/nios2/libm-test-ulps: New file.
19047         * sysdeps/nios2/machine-gmon.h: New file.
19048         * sysdeps/nios2/math-tests.h: New file.
19049         * sysdeps/nios2/math_private.h: New file.
19050         * sysdeps/nios2/memusage.h: New file.
19051         * sysdeps/nios2/nptl/Makefile: New file.
19052         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19053         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19054         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19055         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19056         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19057         * sysdeps/nios2/nptl/tls.h: New file.
19058         * sysdeps/nios2/preconfigure: New file.
19059         * sysdeps/nios2/s_fma.c: New file.
19060         * sysdeps/nios2/s_fmaf.c: New file.
19061         * sysdeps/nios2/setjmp.S: New file.
19062         * sysdeps/nios2/sfp-machine.h: New file.
19063         * sysdeps/nios2/sotruss-lib.c: New file.
19064         * sysdeps/nios2/stackguard-macros.h: New file.
19065         * sysdeps/nios2/stackinfo.h: New file.
19066         * sysdeps/nios2/start.S: New file.
19067         * sysdeps/nios2/sysdep.h: New file.
19068         * sysdeps/nios2/tls-macros.h: New file.
19069         * sysdeps/nios2/tst-audit.h: New file.
19070         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19071         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19072         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19073         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19074         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19075         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19076         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19077         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19078         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19079         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19080         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19081         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19082         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19083         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19084         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19085         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19086         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19087         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19088         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19089         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19090         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19091         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19092         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19093         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19094         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19095         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19096         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19097         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19098         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19099         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19100         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19101         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19102         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19103         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19104         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19105         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19106         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19107         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19108         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19109         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19110         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19111         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19112         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19113         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19115 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19117         [BZ #17844]
19118         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19119         (getutent): Use weak_alias in non SHARED case
19120         and default_symbol_version in SHARED case.
19121         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19122         (getutent_r, pututline): Likewise.
19123         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19124         (getutid): Likewise.
19125         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19126         (getutid_r): Likewise.
19127         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19128         (getutline): Likewise.
19129         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19130         (getutline_r): Likewise.
19131         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19132         (updwtmp): Likewise.
19134 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19136         [BZ #17848]
19137         * sysdeps/s390/s390-32/memcmp.S
19138         (memcmp_g5): Rename to __memcmp_g5.
19139         * sysdeps/s390/s390-32/memcpy.S
19140         (memcpy_g5): Rename to __memcpy_g5.
19141         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19142         (memcpy_mvcle) Rename to __memcpy_mvcle.
19143         * sysdeps/s390/s390-32/memset.S
19144         (memset_g5): Rename to __memset_g5.
19145         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19146         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19147         and use prefixed functions.
19148         * sysdeps/s390/s390-32/multiarch/memcmp.S
19149         (memcmp_z196): Rename to __memcmp_z196.
19150         (memcmp_z10): Rename to __memcmp_z10.
19151         (memcmp): Set alias to __memcmp_g5.
19152         (bcmp): Set alias to __memcmp_g5.
19153         * sysdeps/s390/s390-32/multiarch/memcpy.S
19154         (memcpy_z196): Rename to __memcpy_z196.
19155         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19156         (memcpy_z10): Rename to __memcpy_z10.
19157         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19158         (memcpy): Set alias to __memcpy_g5.
19159         * sysdeps/s390/s390-32/multiarch/memset.S
19160         (memset_z196): Rename to __memset_z196.
19161         Jump to __memset_mvcle instead of memset_mvcle.
19162         (memset_z10): Rename to __memset_z10.
19163         Jump to __memset_mvcle instead of memset_mvcle.
19164         (memset_mvcle) Rename to __memset_mvcle.
19165         (memset): Set alias to __memset_g5.
19166         * sysdeps/s390/s390-64/memcmp.S
19167         (memcmp_z900): Rename to __memcmp_z900.
19168         * sysdeps/s390/s390-64/memcpy.S
19169         (memcpy_z900): Rename to __memcpy_z900.
19170         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19171         (memcpy_mvcle) Rename to __memcpy_mvcle.
19172         * sysdeps/s390/s390-64/memset.S
19173         (memset_z900): Rename to __memset_z900.
19174         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19175         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19176         and use prefixed functions.
19177         * sysdeps/s390/s390-64/multiarch/memcmp.S
19178         (memcmp_z196): Rename to __memcmp_z196.
19179         (memcmp_z10): Rename to __memcmp_z10.
19180         (memcmp): Set alias to __memcmp_z900.
19181         (bcmp): Set alias to __memcmp_z900.
19182         * sysdeps/s390/s390-64/multiarch/memcpy.S
19183         (memcpy_z196): Rename to __memcpy_z196.
19184         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19185         (memcpy_z10): Rename to __memcpy_z10.
19186         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19187         (memcpy): Set alias to __memcpy_z900.
19188         * sysdeps/s390/s390-64/multiarch/memset.S
19189         (memset_z196): Rename to __memset_z196.
19190         Jump to __memset_mvcle instead of memset_mvcle.
19191         (memset_z10): Rename to __memset_z10.
19192         Jump to __memset_mvcle instead of memset_mvcle.
19193         (memset_mvcle) Rename to __memset_mvcle.
19194         (memset): Set alias to __memset_z900.
19196 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19198         [BZ #17748]
19199         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19200         __fesetenv instead of fesetenv.
19202 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19204         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19205         macro.
19207 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19209         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19210         regression on LE.
19212         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19213         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19214         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19215         strncmp-power8 object.
19216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19217         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19218         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19219         * NEWS: Update.
19221 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19222             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19224         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19225         trailing byte check.
19227 2015-01-13  David S. Miller  <davem@davemloft.net>
19229         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19231 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19233         * login/logout.c (logout): Use memset rather than bzero.
19234         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19235         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19236         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19237         (_gethtbyaddr): Likewise.
19238         * locale/programs/simple-hash.c (bcopy): Macro removed.
19240 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19242         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19243         Add strcmp-power8 object.
19244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19245         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19246         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19247         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19248         __strcmp_power8 implementation.
19249         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19250         * NEWS: Update.
19252         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19253         Add strncpy-power8 and stpncpy-power8 objects.
19254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19255         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19256         implementations.
19257         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19258         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19259         __stpncpy_power8 implementation.
19260         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19261         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19262         __strncpy_power8 implementation.
19263         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19264         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19265         * NEWS: Update.
19267         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19268         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19269         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19271         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19272         strncat-power8 object.
19273         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19274         __strcat_power8 implementation.
19275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19276         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19277         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19278         optimized strcat for power8.
19280         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19281         strcpy-power8 and stpcpy-power8 objects.
19282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19283         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19284         implementations.
19285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19286         multiarch stpcpy implementation for POWER8.
19287         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19288         multiarch strcpy implementation for POWER8.
19289         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19290         __strcpy_power8 function.
19291         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19292         stpcpy for POWER8.
19293         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19294         strcpy for POWER8.
19295         * NEWS: Update.
19297 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19299         [BZ #16009]
19300         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19301         weights and rules. Use do_xfrm_cached if data fits in cache,
19302         do_xfrm otherwise.  Moved former main loop to...
19303         * (do_xfrm_cached): New function.
19304         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19305         find_idx, find_position and stack_push.
19306         * (find_idx): New function.
19307         * (find_position): Likewise.
19308         * localedata/sort-test.sh: Added test run for do_xfrm.
19309         * localedata/xfrm-test.c (main): Added command line option
19310         -nocache to run the test with strings that are too large for
19311         the STRXFRM cache.
19313 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19315         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19316         variable to lll_futex_wake call, not the value itself.
19318 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19320         [BZ #17803]
19321         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19322         twom64.  Adjust value to 0x1p-64L.
19323         (__scalblnl): Only return standard underflowing result for K <=
19324         -64 not K <= -63; adjust exponent for underflowing result by 64
19325         not 63.
19326         * math/libm-test.inc (scalbn_test_data): Add more tests.
19327         (scalbln_test_data): Likewise.
19329         [BZ #17834]
19330         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19331         0x1p63L.
19332         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19333         not HX.
19334         * math/libm-test.inc (scalbn_test_data): Add more tests.
19335         (scalbln_test_data): Likewise.
19337 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19338             Stefani Seibold  <stefani@seibold.net>
19340         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19341         (sysdep_routines): Add dl-vdso here, ...
19342         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19343         (sysdep_routines): ... not here.
19344         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19345         fallback when vDSO is not presented.
19346         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19347         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19348         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19349         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19350         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19351         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19352         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19353         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19354         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19355         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19356         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19357         fallback configurable symbol when vDSO is not available.
19358         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19359         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19360         be able to redefine fallback symbol when vDSO is not available.
19361         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19362         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19364 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19366         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19367         (TLS_INIT_TP): Add tm_capable initialization.
19368         (TLS_DEFINE_INIT_TP): Likewise.
19369         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19370         TCB.
19371         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19372         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19373         calculation.
19374         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19375         transactoion is lock elision is built and TCB tm_capable is set.
19376         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19378         (INTERNAL_SYSCALL_NCS): Likewise.
19379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19380         (INTERNAL_SYSCALL_NCS): Likewise.
19381         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19383         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19384         for powerpc.
19385         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19386         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19387         and remove it for 32 bits case.
19388         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19390         initialization.
19391         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19392         Disable lock elision with rdlocks if elision is not available.
19394         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19395         (sysdep_routines): Add lock elision objects.
19396         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19397         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19398         [pthread_mutex_t] (__elision): Add field.
19399         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19400         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19401         elision definitions for powerpc.
19402         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19403         implementation of lock elision for powerpc.
19404         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19405         implementation of timed lock elision for powerpc.
19406         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19407         implementation of trylock with lock elision for powerpc.
19408         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19409         implementaion of unlock for lock elision for powerpc.
19410         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19411         automatic enable lock elision for mutexes.
19412         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19413         transaction execution definitions for powerpc.
19414         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19415         definitions.
19416         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19417         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19418         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19419         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19420         * NEWS: Update.
19422 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19424         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19425         for #include of <shm-directory.h>.
19427 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19429         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19430         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19432 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19434         [BZ #17791]
19435         * NEWS: Mention bug fix.
19436         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19437         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19438         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19440 2015-01-09  Torvald Riegel <triegel@redhat.com>
19442         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19444 2015-01-09  Torvald Riegel <triegel@redhat.com>
19446         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19448 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19450         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19451         pointer and cast to uintptr_t.
19453 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19455         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19456         removed.
19457         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19459 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19461         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19462         of 0.
19464 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19466         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19467         <nptl/pthreadP.h> instead.
19468         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19470         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19471         already defined.
19472         [__SIGRTMIN] (init): Function removed.
19473         [__SIGRTMIN] (initialized): Variable removed.
19474         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19475         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19476         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19477         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19478         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19479         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19480         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19481         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19482         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19483         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19484         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19485         * sysdeps/nptl/allocrtsig.c: New file.
19486         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19487         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19488         * sysdeps/generic/testrtsig.h: File removed.
19490         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19491         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19493         * nptl/nptl-init.c (pthread_functions): Conditionalize
19494         .ptr__nptl_setxid initialization on [SIGSETXID].
19496         * sysdeps/nptl/sys/procfs.h: New file.
19497         * nptl_db/Makefile (headers): Add it.
19498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19500         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19501         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19502         * nptl/pthread_attr_setaffinity.c: Include it.
19503         * nptl/pthread_setattr_default_np.c: Likewise.
19504         * nptl/check-cpuset.h: New file.
19506 2015-01-08  Richard Henderson  <rth@redhat.com>
19508         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19509         (CFLAGS-tst-execstack-prog.c): Likewise.
19510         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19512 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19513             Sandra Loosemore  <sandra@codesourcery.com>
19514             Andrew Jenner  <andrew@codesourcery.com>
19515             Joseph Myers  <joseph@codesourcery.com>
19516             Nathan Sidwell  <nathan@codesourcery.com>
19518         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19519         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19520         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19521         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19522         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19523         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19524         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19525         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19526         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19527         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19528         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19529         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19530         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19531         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19532         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19533         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19534         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19536 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19538         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19539         timespec struct member in syscall macro.
19540         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19541         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19542         first timeval struct member in syscall macro.
19543         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19545 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19547         [BZ #17748]
19548         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19549         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19550         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19551         __feupdateenv and define as weak alias of __feupdateenv.  Use
19552         libm_hidden_weak.
19553         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19554         libm_hidden_def.
19555         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19556         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19557         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19558         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19559         libm_hidden_def.
19560         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19561         __feupdateenv and define as weak alias of __feupdateenv.  Use
19562         libm_hidden_weak.
19563         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19564         libm_hidden_def.
19565         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19566         __feupdateenv and define as weak alias of __feupdateenv.  Use
19567         libm_hidden_weak.
19568         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19569         libm_hidden_def.
19570         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19571         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19572         (__feupdateenv): Likewise.
19573         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19574         __feupdateenv and define as weak alias of __feupdateenv.  Use
19575         libm_hidden_weak.
19576         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19577         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19578         libm_hidden_def.
19579         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19580         function.
19581         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19582         libm_hidden_def.
19583         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19584         __feupdateenv instead of feupdateenv.
19585         (default_libc_feupdateenv_test): Likewise.
19586         (libc_feresetround_ctx): Likewise.
19588 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19590         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19591         prototype.
19593 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19595         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19596         COLL_SYM in a couple of places to avoid uninitialized variable
19597         wanings on tilegx gcc 4.8.2.
19599 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19601         * sysdeps/aarch64/strcpy.S: New file.
19602         * sysdeps/aarch64/stpcpy.S: New file.
19603         * NEWS: Updated.
19605 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19607         * sysdeps/aarch64/strrchr.S: New file.
19608         * NEWS: Updated.
19610 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19612         [BZ #17658]
19613         * stdlib/setenv.c: Fix memory leak when setting large,
19614         duplicate string.
19616 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19618         [BZ #17273]
19619         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19620         and tabs from buffer before parsing fstab entry.
19621         * misc/tst-mntent.c (main): Add test for mount entry with
19622         trailing spaces and tabs.
19624 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19626         [BZ #17748]
19627         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19628         * math/fesetround.c (fesetround): Rename to __fesetround and
19629         define as weak alias of __fesetround.  Use libm_hidden_weak.
19630         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19631         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19632         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19633         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19634         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19635         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19636         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19637         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19638         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19639         __fesetround_inline.
19640         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19641         __fesetround_inline instead of __fesetround.
19642         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19643         __fesetround and define as weak alias of __fesetround.  Use
19644         libm_hidden_weak.  Call __fesetround_inline instead of
19645         __fesetround.
19646         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19647         __fesetround and define as weak alias of __fesetround.  Use
19648         libm_hidden_weak.
19649         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19650         Likewise.
19651         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19652         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19653         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19654         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19655         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19656         __fesetround and define as weak alias of __fesetround.  Use
19657         libm_hidden_weak.
19658         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19659         __fesetround instead of fesetround.
19660         (default_libc_feholdexcept_setround): Likewise.
19661         (libc_feholdsetround_ctx): Likewise.
19662         (libc_feholdsetround_noex_ctx): Likewise.
19664         [BZ #17748]
19665         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19666         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19667         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19668         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19669         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19670         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19671         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19672         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19673         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19674         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19675         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19676         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19677         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19678         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19679         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19680         libm_hidden_def.
19681         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19682         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19683         Likewise.
19684         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19685         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19686         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19687         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19688         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19689         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19690         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19691         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19692         __fesetenv instead of fesetenv.
19693         (libc_feresetround_noex_ctx): Likewise.
19694         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19695         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19696         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19697         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19698         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19699         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19700         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19701         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19702         (__feupdateenv): Likewise.
19703         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19704         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19705         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19706         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19708 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19710         [BZ #17806]
19711         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19712         addresses have been freed.
19714 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19716         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19717         and nservall.
19719 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19721         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19722         Clean up check_pf allocation pattern. addresses
19724 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19726         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19727         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19728         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19729         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19730         * nptl/pthread_join.c (pthread_join): Likewise.
19731         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19732         * sysdeps/posix/waitid.c (__waitid): Likewise.
19733         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19734         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19735         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19736         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19738         Likewise.
19739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19740         (__libc_pread64): Likewise.
19741         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19742         (__libc_pwrite): Likewise.
19743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19744         (__libc_pwrite64): Likewsie.
19745         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19746         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19747         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19748         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19749         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19750         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19751         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19753         Likewise.
19754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19755         (__libc_pread64): Likewise.
19756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19757         Likewise.
19758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19759         (__libc_pwrite64): Likewise.
19760         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19761         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19762         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19763         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19764         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19765         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19766         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19767         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19768         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19769         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19770         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19771         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19772         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19773         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19774         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19775         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19776         Likewise.
19778 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19780         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19781         (CFLAGS-test-double.c): Likewise.
19782         (CFLAGS-test-ldouble.c): Likewise.
19783         (CPPFLAGS-test-ifloat.c): Likewise.
19784         (CPPFLAGS-test-idouble.c): Likewise.
19785         (CPPFLAGS-test-ildoubl.c): Likewise.
19786         (CFLAGS-test-test-fenv.c): Remove variable.
19787         (CFLAGS-test-misc.c): Likewise.
19789 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19791         [BZ #17797]
19792         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19793         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19794         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19795         CLOCKS_PER_SEC == 1000000.
19796         * time/clocktest.c (main): Replace %ld with %jd and cast to
19797         intmax_t.
19799 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19801         * sysdeps/generic/unwind-resume.h: New file.
19802         * sysdeps/gnu/unwind-resume.c: Include it.
19803         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19804         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19805         argument list.
19806         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19807         global rather than static.
19808         (_Unwind_Resume): Update user.
19809         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19810         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19811         rather than static.  Add __attribute__ ((cold)).
19812         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19813         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19814         * sysdeps/arm/arm-unwind-resume.S: New file.
19815         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19816         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19817         * sysdeps/arm/Makefile [$(subdir) = csu]
19818         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19819         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19820         Add rt-arm-unwind-resume.
19821         [$(subdir) = nptl]
19822         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19823         Add pt-arm-unwind-resume.
19824         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19825         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19827 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19829         [BZ #17748]
19830         * include/fenv.h (__feholdexcept): Declare.  Use
19831         libm_hidden_proto.
19832         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19833         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19834         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19835         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19836         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19837         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19838         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19839         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19840         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19841         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19842         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19843         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19844         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19845         (feholdexcept): Likewise.
19846         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19847         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19848         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19849         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19850         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19851         __feholdexcept instead of feholdexcept.
19852         (default_libc_feholdexcept_setround): Likewise.
19854 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19856         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19857         to avoid using stl/str to align destination.
19859 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19861         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19863 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19865         [BZ #17796]
19866         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19867         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19868         Define as weak alias not strong alias.
19870 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19872         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19873         bltzal with addiupc.
19874         (RTLD_START): Ditto.
19876 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19878         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19879         for __vdso_* functions in declarations.
19880         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19881         definitions.
19882         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19883         INTERNAL_VSYSCALL): Use struct return types to check for error.
19885         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19886         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19887         function with cast from llround().
19888         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19889         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19890         Define.
19892 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19894         [BZ #17793]
19895         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19896         Define as weak alias not strong alias.
19898         [BZ #17635]
19899         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19900         ...
19901         * ctype/ctype-extn.c: ... here.
19902         (__isblank_l): Move to ...
19903         * ctype/ctype-c99_l.c: ... here.  New file.
19904         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19905         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19906         Remove variable.
19907         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19908         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19909         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19910         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19911         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19913         [BZ #17777]
19914         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19915         (posix_fadvise64): Define as weak alias not strong alias.
19916         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19917         (posix_fallocate64): Likewise.
19918         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19919         Remove variable.
19920         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19921         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19922         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19923         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19924         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19926 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19928         [BZ #16191]
19929         * NEWS: Mention bug fix.
19930         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19931         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19932         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19933         (HOST_STACK_END_ADDR): Likewise.
19935 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19937         [BZ #17748]
19938         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19939         * math/fegetround.c (fegetround): Rename to __fegetround and
19940         define as weak alias of __fegetround.  Use libm_hidden_weak.
19941         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19942         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19943         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19944         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19945         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19946         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19947         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19948         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19949         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19950         Undefine after rather than before function definition; use
19951         parentheses around function name in definition.
19952         (__fegetround): Also undefine macro after function definition.
19953         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19954         __fegetround and define as weak alias of __fegetround.  Use
19955         libm_hidden_weak.  Do not undefine as macro.
19956         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19957         Likewise.
19958         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19959         __fegetround and define as weak alias of __fegetround.  Use
19960         libm_hidden_weak.
19961         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19962         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19963         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19964         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19965         __fegetround and define as weak alias of __fegetround.  Use
19966         libm_hidden_weak.
19967         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19968         __fegetround instead of fegetround.
19970         [BZ #17782]
19971         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19972         Condition macro definition on [__USE_MISC].
19974         [BZ #17781]
19975         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19976         (struct sigaction): Change type of sa_flags field to int.
19978         [BZ #17780]
19979         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19980         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19981         __glibc_reserved0.
19983         * nptl/version.c (banner): Use single year in copyright notice.
19985         * NEWS: Update copyright dates.
19986         * catgets/gencat.c (print_version): Likewise.
19987         * csu/version.c (banner): Likewise.
19988         * debug/catchsegv.sh: Likewise.
19989         * debug/pcprofiledump.c (print_version): Likewise.
19990         * debug/xtrace.sh (do_version): Likewise.
19991         * elf/ldconfig.c (print_version): Likewise.
19992         * elf/ldd.bash.in: Likewise.
19993         * elf/pldd.c (print_version): Likewise.
19994         * elf/sotruss.sh: Likewise.
19995         * elf/sprof.c (print_version): Likewise.
19996         * iconv/iconv_prog.c (print_version): Likewise.
19997         * iconv/iconvconfig.c (print_version): Likewise.
19998         * locale/programs/locale.c (print_version): Likewise.
19999         * locale/programs/localedef.c (print_version): Likewise.
20000         * login/programs/pt_chown.c (print_version): Likewise.
20001         * malloc/memusage.sh (do_version): Likewise.
20002         * malloc/memusagestat.c (print_version): Likewise.
20003         * malloc/mtrace.pl: Likewise.
20004         * manual/libc.texinfo: Likewise.
20005         * nptl/version.c (banner): Likewise.
20006         * nscd/nscd.c (print_version): Likewise.
20007         * nss/getent.c (print_version): Likewise.
20008         * nss/makedb.c (print_version): Likewise.
20009         * posix/getconf.c (main): Likewise.
20010         * scripts/test-installation.pl: Likewise.
20011         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20013 2015-01-02  Will Newton  <will.newton@linaro.org>
20015         * sysdeps/arm/armv7/configure: Removed.
20016         * sysdeps/arm/armv7/configure.ac: Likewise.
20018 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20020         * All files with FSF copyright notices: Update copyright dates
20021         using scripts/update-copyrights.
20022         * intl/plural.c: Regenerated.
20023         * locale/programs/charmap-kw.h: Likewise.
20024         * locale/programs/locfile-kw.h: Likewise.
20026 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20028         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20030 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20032         [BZ #17748]
20033         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20034         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20035         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20036         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20037         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20038         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20039         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20040         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20041         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20042         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20043         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20044         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20045         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20046         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20047         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20048         libm_hidden_def.
20049         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20050         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20051         Likewise.
20052         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20053         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20054         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20055         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20056         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20057         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20058         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20059         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20060         __fegetenv instead of fegetenv.
20061         (libc_feholdsetround_noex_ctx): Likewise.
20063 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20065         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20066         (Elf_MIPS_ABIFlags_v0): New structure.
20067         (EF_MIPS_FP64): Define.
20068         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20069         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20070         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20071         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20072         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20073         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20074         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20075         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20076         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20077         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20078         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20079         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20080         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20081         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20082         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20083         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20084         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20085         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20086         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20087         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20088         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20089         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20090         field.
20091         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20092         EF_MIPS_FP64.
20093         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20094         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20095         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20096         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20097         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20098         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20099         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20100         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20101         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20102         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20103         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20104         record the current FP ABI extension.
20105         (mips-mode-switch): Define to show if kernel headers support mode
20106         switching.
20107         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20108         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20109         supported SYSV ABI version to 3.
20110         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20111         feature.
20113 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20114             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20116         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20117         path.
20118         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20120 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20122         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20123         __fegetround and redefine to call __fegetround.  Remove condition
20124         on [!__NO_MATH_INLINES].
20125         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20126         function.
20127         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20128         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20129         Remove macro.
20130         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20131         instead of <fenv_libc.h>.
20132         (__llrintl): Call fegetround instead of __fegetround.
20133         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20134         instead of <fenv_libc.h>.
20135         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20136         (__lrintl): Call fegetround instead of __fegetround.
20137         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20138         instead of <fenv_libc.h>.
20139         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20140         (__rintl): Call fegetround instead of __fegetround.
20142 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20144         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20145         arrays.
20147 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20149         [BZ #17775]
20150         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20151         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20152         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20154 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20156         * sysdeps/i386/tls-macros.h: Include <features.h>.
20157         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20158         (TLS_IE): Likewise.
20159         (TLS_LD): Likewise.
20160         (TLS_GD): Likewise.
20161         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20162         define for GCC >= 5.0.
20164 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20166         * math/test-fenv.c (test_single_exception, set_single_exc,
20167         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20168         feexcp_mask_test, feenable_test, fe_single_test): Add
20169         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20170         case where they are not used.
20171         * math/libm-test.inc: Likewise.
20172         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20173         unused in the absence of FP rounding/exception support.
20174         * stdio-common/tst-printf-round.c: Likewise.
20175         * stdlib/tst-strtod-round.c: Likewise.
20176         * stdlib/tst-strtod-underflow.c: Likewise.
20178 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20180         [BZ #17723]
20181         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20182         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20183         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20184         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20185         libm_hidden_weak.
20186         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20187         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20188         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20189         libm_hidden_def.
20190         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20191         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20192         libm_hidden_weak.
20193         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20194         Likewise.
20195         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20196         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20197         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20198         libm_hidden_weak.
20199         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20200         libm_hidden_def.
20201         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20202         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20203         (__feraiseexcept): Likewise.
20204         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20205         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20206         libm_hidden_weak.
20207         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20208         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20209         libm_hidden_def.
20210         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20211         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20212         Use libm_hidden_def.
20213         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20214         libm_hidden_def.
20215         (feraiseexcept): Define as weak not strong alias.  Use
20216         libm_hidden_weak.
20217         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20218         New inline function.  Factored out of ...
20219         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20220         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20221         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20222         feraiseexcept.
20223         * math/w_acos.c (__acos): Likewise.
20224         * math/w_asin.c (__asin): Likewise.
20225         * math/w_ilogb.c (__ilogb): Likewise.
20226         * math/w_j0.c (y0): Likewise.
20227         * math/w_j1.c (y1): Likewise.
20228         * math/w_jn.c (yn): Likewise.
20229         * math/w_log.c (__log): Likewise.
20230         * math/w_log10.c (__log10): Likewise.
20231         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20232         * sysdeps/aarch64/fpu/math_private.h
20233         (libc_feupdateenv_test_aarch64): Likewise.
20234         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20235         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20236         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20237         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20238         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20239         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20240         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20241         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20242         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20243         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20245 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20247         [BZ #17732]
20248         * io/test-utime.c (main): Replace %ld with %jd and cast to
20249         intmax_t.
20250         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20251         * nptl/tst-mutex5.c: Include <stdint.h>.
20252         (do_test): Replace %ld with %jd and cast to intmax_t.
20253         * posix/tst-regex.c (run_test): Likewise.
20254         (run_test_backwards): Likewise.
20255         * rt/tst-clock.c: Include <stdint.h>.
20256         (clock_test): Replace %ld with %jd and cast to intmax_t.
20257         * rt/tst-cpuclock1.c: Include <stdint.h>.
20258         (do_test): Replace %lu with %ju and cast to uintmax_t.
20259         * rt/tst-cpuclock2.c: Include <stdint.h>.
20260         (do_test): Replace %lu with %ju and cast to uintmax_t.
20261         * rt/tst-mqueue1.c: Include <stdint.h>.
20262         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20263         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20264         intmax_t.
20265         * rt/tst-mqueue4.c (do_test): Likewise.
20266         * rt/tst-timer4.c: Include <stdint.h>.
20267         (check_ts): Replace %ld with %jd and cast to intmax_t.
20268         (do_test): Likewise.
20269         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20270         and cast to intmax_t.
20271         * sysdeps/pthread/tst-timer.c (main): Likewise.
20272         * time/clocktest.c (main): Likewise.
20273         * time/tst-posixtz.c (do_test): Likewise.
20274         * timezone/tst-timezone.c (main): Likewise.
20276 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20277             H.J. Lu  <hongjiu.lu@intel.com>
20279         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20280         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20281         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20282         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20283         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20284         version if bit_Fast_Unaligned_Load is set.
20285         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20286         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20287         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20288         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20289         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20290         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20291         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20292         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20293         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20294         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20295         to 4.
20296         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20297         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20298         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20299         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20301 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20303         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20304         instead of #if to avoid a Wundef warning.
20305         * stdlib/tst-limits.c (do_test): Likewise.
20307         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20308         parallel other exception macros.
20309         (fegetenv): Convert from macro to extern inline so that it applies
20310         retroactively to inline functions already seen by the compiler.
20311         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20313         * posix/Makefile (before-compile): Use $(objpfx) for
20314         posix-conf-vars-def.h.
20316 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20318         * posix/getconf.c (main): Use size_t for type of I.
20319         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20320         NSPEC.
20322         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20323         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20324         * posix/posix-envs.def: Likewise.
20325         * sysdeps/posix/sysconf.c: Likewise.
20326         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20327         (specs): Remove array.
20328         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20329         array.
20331         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20332         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20333         (__sysconf): Use CONF_IS_* macros.
20335         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20336         ($(objpfx)posix-conf-vars-def.h): New target.
20337         * posix/posix-conf-vars.list: New file.
20338         * posix/posix-conf-vars.h: New file.
20339         * posix/confstr.c: Include posix-conf-vars.h.
20340         (confstr): Use CONF_IS_* macros.
20341         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20342         CONF_IS_* macros.
20343         * scripts/gen-posix-conf-vars.awk: New file.
20345 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20347         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20348         fegetround): Add no-op macros to avoid linknamespace issues.
20350         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20351         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20353         * sysdeps/unix/sysv/linux/tile/sysdep.h
20354         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20355         assembly-specific section to avoid a redefinition warning.
20357         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20358         long before casting to pointer to avoid a cast warning.
20360 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20362         * sysdeps/tile/tilegx/Implies: New file.
20364 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20366         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20368 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20370         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20372 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20375         not define.
20376         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20377         <kernel-features.h>.
20378         (__utimes) [__NR_utimes]: Make code unconditional.
20379         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20380         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20381         (__ASSUME_UTIMES): Do not undefine.
20382         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20383         (__ASSUME_UTIMES): Likewise.
20384         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20385         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20386         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20387         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20389 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20391         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20393 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20395         [BZ #17747]
20396         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20397         alias to weak alias for j0l, y0l.
20398         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20399         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20401         [BZ #17746]
20402         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20403         conversion.
20405 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20407         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20408         to zero if not already defined.
20410 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20412         [BZ #17724]
20413         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20414         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20415         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20416         (char *) casts added.
20417         * sysdeps/ieee754/k_standardf.c: New file.
20418         * sysdeps/ieee754/k_standardl.c: Likewise.
20419         * math/Makefile (libm-support): Remove k_standard.
20420         (libm-calls): Add k_standard.
20422 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20424         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20425         Optimize to avoid an unnecessary FPCR read.
20427 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20429         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20430         Optimize to reduce FPCR/FPSR accesses.
20432 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20434         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20435         Call libc_fetestexcept_aarch64.
20437 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20439         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20440         Call libc_fesetround_aarch64.
20442 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20444         [BZ #17733]
20445         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20446         (__bind): Do not define as weak alias.
20447         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20448         define.
20449         (__getsockname): Do not define as weak alias.
20451 2014-12-22  Will Newton  <will.newton@linaro.org>
20453         * manual/install.texi: Document that we require bison 2.7
20454         or above.
20455         * INSTALL: Regenerate.
20456         * configure.ac: Use AC_CHECK_PROG_VER instead of
20457         AC_PATH_PROG when checking for bison and check for
20458         version 2.7 or above.
20459         * configure: Regenerate.
20461 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20463         [BZ #17745]
20464         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20465         * sysdeps/tile/ffsll.c (ffsll): To here.
20467         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20469 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20471         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20472         if not defined.
20473         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20474         definition.
20475         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20476         hidden ___tls_get_addr.
20477         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20478         hidden __tls_get_addr.
20479         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20480         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20481         Likewise.
20483 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20485         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20486         _dl_init call.
20488 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20490         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20491         from "call _dl_init@PLT".
20492         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20494 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20496         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20497         guarantees.
20499 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20501         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20503 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20505         [BZ #17744]
20506         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20507         strnlen.
20509 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20511         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20512         of multu on MIPSr6.
20513         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20514         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20515         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20516         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20517         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20519 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20521         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20522         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20523         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20524         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20525         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20526         mips32r6/mips64r6.
20527         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20529 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20531         * string/strncat.c (STRNCAT): Simplify implementation.
20533 2014-12-19  David S. Miller  <davem@davemloft.net>
20535         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20536         access the quad as both a long double and as a series of 4 words.
20538         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20539         link_map->l_info array access.
20541 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20543         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20545         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20546         * math/atest-exp2.c (TIMEOUT): Likewise.
20547         * math/atest-sincos.c (TIMEOUT): Likewise.
20549 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20551         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20552         -Wno-error with -fno-builtin-lround.
20554 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20556         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20557         Contains futex constants and functions moved over from ...
20558         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20559         <lowlevellock-futex.h>.
20560         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20561         (lll_timedwait_tid): Add comments and parentheses around macro
20562         arguments.
20564 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20567         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20568         (__lll_private_flag): Remove.
20569         (lll_futex_wait): Likewise.
20570         (lll_futex_timed_wait): Likewise.
20571         (lll_futex_wake): Likewise.
20572         (lll_futex_requeue): Likewise.
20573         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20574         (__lll_timedwait_tid): Spell out argument names.
20575         (lll_timedwait_tid): Add comments and parentheses around macro
20576         arguments.
20577         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20578         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20580 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20582         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20583         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20584         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20585         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20586         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20587         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20588         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20589         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20590         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20591         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20592         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20593         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20594         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20595         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20596         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20597         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20598         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20599         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20600         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20602 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20604         * sysdeps/x86_64/x32/Makefile: New file.
20606 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20608         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20609         1L with (mp_limb_t) 1.
20611 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20613         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20614         * nptl/libc_pthread_init.c: ... here.
20615         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20616         * nptl/register-atfork.c: ... here.
20618         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20619         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20620         Use assert_perror to check its return value.
20621         (__gai_create_helper_thread): Likewise.
20623         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20625         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20627 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #17725]
20630         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20631         __profil_counter.
20632         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20633         Likewise.
20634         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20635         Likewise.
20636         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20637         Likewise.
20638         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20639         (profil_counter): Likewise.
20640         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20641         (profil_counter): Likewise.
20642         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20643         Likewise.
20644         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20645         Likewise.
20646         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20647         (profil_counter): Likewise.
20648         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20649         Likewise.
20650         [!__profil_counter] (profil_counter): Define as weak alias of
20651         __profil_counter.
20652         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20653         (profil_counter): Rename to __profil_counter.
20654         [!__profil_counter] (profil_counter): Define as weak alias of
20655         __profil_counter.
20656         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20657         (profil_counter): Rename to __profil_counter.
20658         [!__profil_counter] (profil_counter): Define as weak alias of
20659         __profil_counter.
20660         * sysdeps/posix/profil.c: Update comment referring to
20661         profil_counter.
20662         (__profil): Use __profil_counter instead of profil_counter.
20663         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20664         __profil_counter.  Use __profil_counter_ushort and
20665         __profil_counter_uint in definitions.
20666         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20667         instead of profil_counter_uint and profil_counter_ushort.
20669         [BZ #17722]
20670         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20671         define as weak alias of __inet_makeaddr.
20672         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20673         as weak alias of __inet_addr.
20674         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20675         as weak alias of __inet_pton.  Use libc_hidden_weak.
20676         * include/arpa/inet.h (__inet_pton): Declare.  Use
20677         libc_hidden_proto.
20678         (inet_makeaddr): Don't use libc_hidden_proto.
20679         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20680         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20681         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20682         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20683         Remove variable.
20684         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20685         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20687 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20689         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20691 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20693         * stdio-common/bug-vfprintf-nargs.c (do_test):
20694         Cast value to intptr_t to avoid format warning
20695         for usage with PRIdPTR printing macro.
20697 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20699         * libio/tst-widetext.c (do_test):
20700         Use format type %td instead of %Zd for ptrdiff_t
20701         in order to avoid format warning.
20703 2014-12-17  Andreas Schwab  <schwab@suse.de>
20705         * nscd/mem.c (gc): Add size_t cast to match printf format.
20707 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20709         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20710         (init): Apply PTR_MANGLE to pointers before storing them.
20711         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20712         before using them.
20714 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20716         [BZ #17719]
20717         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20718         define as weak alias of __memrchr.
20719         (__memrchr): Do not define as strong alias of memrchr.
20720         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20721         Remove variable.
20722         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20723         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20724         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20726         [BZ #17717]
20727         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20728         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20729         (if_indextoname): Rename to __if_indextoname and define as weak
20730         alias of __if_indextoname.  Use libc_hidden_weak.
20731         (if_freenameindex): Rename to __if_freenameindex and define as
20732         weak alias of __if_freenameindex.
20733         (if_nameindex): Rename to __if_nameindex and define as weak alias
20734         of __if_nameindex.
20735         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20736         __if_nametoindex and define as weak alias of __if_nametoindex.
20737         Use libc_hidden_weak.
20738         (if_freenameindex): Rename to __if_freenameindex and define as
20739         weak alias of __if_freenameindex.
20740         (if_nameindex): Rename to __if_nameindex and define as weak alias
20741         of __if_nameindex.
20742         (if_indextoname): Rename to __if_indextoname and define as weak
20743         alias of __if_indextoname.  Use libc_hidden_weak.
20744         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20745         __if_nametoindex and define as weak alias of __if_nametoindex.
20746         Use libc_hidden_weak.
20747         (if_freenameindex): Rename to __if_freenameindex and define as
20748         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20749         (if_nameindex_netlink): Use __if_freenameindex instead of
20750         if_freenameindex.
20751         (if_nameindex): Rename to __if_nameindex and define as weak alias
20752         of __if_nameindex.  Use libc_hidden_weak.
20753         (if_indextoname): Rename to __if_indextoname and define as weak
20754         alias of __if_indextoname.  Use libc_hidden_weak.
20755         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20756         libc_hidden_proto.
20757         [!_ISOMAC] (__if_freenameindex): Likewise.
20758         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20759         if_nametoindex.
20760         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20761         variable.
20762         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20763         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20764         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20765         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20766         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20767         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20768         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20770         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20771         Remove variable.
20772         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20773         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20775 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20777         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20778         subscript above bounds'
20780         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20781         bounds.
20783 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20785         * libio/tst-fopenloc.c: Use test-skeleton.c.
20787         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20788         (entry): Rename to ITEM.
20789         (do_test, comp): Adjust.
20791         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20793 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20795         * string/tester.c: Include <libc-internal.h>.
20796         (test_memset): Ignore -Wmemset-transposed-args.
20798 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20800         * misc/tst-mntent2.c (do_test): Fix warning.
20802 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20804         * elf/tst-unique4lib.cc(a): Mark as used.
20806 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20808         [BZ #17630]
20809         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20810         names.
20812 2014-12-16  Allan McRae  <allan@archlinux.org>
20814         * stdio-common/Makefile (tests): Re-add bug26.
20816 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20818         [BZ #17657]
20819         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20820         static array.
20822 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20824         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20825         (__lll_lock_wait): Likewise.
20826         (__lll_timedlock_wait): Likewise.
20827         (__lll_timedwait_tid): Likewise.
20828         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20829         (__lll_robust_timedlock_wait): Likewise.
20830         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20831         (lll_cond_trylock): Likewise.
20832         (__lll_lock): Likewise.
20833         (__lll_robust_lock): Likewise.
20834         (__lll_cond_lock): Likewise.
20835         (lll_robust_cond_lock): Likewise.
20836         (__lll_timedlock): Likewise.
20837         (__lll_robust_timedlock): Likewise.
20838         (__lll_unlock): Likewise.
20839         (__lll_robust_unlock): Likewise.
20840         (lll_wait_tid): Likewise.
20841         (lll_timedwait_tid): Likewise.
20843 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20845         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20847 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20849         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20851 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20853         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20854         * stdio-common/tst-sprintf.c: Likewise.
20856 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20858         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20860 2014-12-15  Jeff Law  <law@redhat.com>
20862         [BZ #16617]
20863         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20864         on the heap.  (CVE-2012-3406)
20865         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20866         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20867         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20869 2014-12-15  Will Newton  <will.newton@linaro.org>
20871         * manual/install.texi: Bump required version of texinfo
20872         to 4.7 from 4.5.
20873         * INSTALL: Regenerated.
20874         * configure.ac: Check for makeinfo version 4.7 and above.
20875         * configure: Regenerated.
20877 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20879         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20880         PREFIX, string constant to insert between directory and name.
20881         * sysdeps/posix/shm_open.c: Update caller.
20882         * sysdeps/posix/shm_unlink.c: Likewise.
20883         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20884         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20885         (SEM_SHM_PREFIX): New macro.
20886         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20887         [$(have-thread-library) = no].
20888         * nptl/Makefile (libpthread-routines): Add shm-directory.
20889         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20890         * sysdeps/nptl/shm-directory.h: New file.
20891         * sysdeps/posix/shm-directory.c
20892         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20893         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20894         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20895         INTERNAL_SYSCALL.
20896         (__where_is_shmfs): Function removed.
20897         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20898         Variables removed.
20899         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20900         Use SHM_GET_NAME.
20901         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20903         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20904         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20905         unconditional for use inside libpthread.
20906         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20908 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20910         * nptl/pthread_getaffinity.c: New file.
20911         * nptl/pthread_setaffinity.c: New file.
20912         * nptl/pthread_getname.c: New file.
20913         * nptl/pthread_setname.c: New file.
20915         * nptl/pthread_create.c (START_THREAD_DEFN)
20916         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20918 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20919             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20921         * resolv/res_send.c (send_vc): Disable warning resplen may
20922         be used uninitialized.
20924 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20926         * nptl/tst-mutex6.c
20927         (ATTR_NULL): New define checks ATTR against NULL.
20928         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20929         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20931 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20933         [BZ #17581]
20934         * malloc/hooks.c
20935         (mem2mem_check): Revert my previous change.
20936         (malloc_check_get_size): Revert my previous change.
20937         (mem2chunk_check): Revert my previous change.
20939 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20941         * sysdeps/posix/shm-directory.c: New file.
20942         * sysdeps/posix/shm-directory.h: New file.
20943         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20944         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20945         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20946         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20947         Transmute EPERM to EACCES.
20948         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20949         from ...
20950         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20951         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20953 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20955         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20956         pointer and cast to uintptr_t.
20957         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20958         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20959         Add cast to avoid warning.
20960         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20962 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20964         * nptl/semaphore.h: Move to ...
20965         * sysdeps/pthread/semaphore.h: ... here.
20966         * Makefile (installed-headers): Change nptl/semaphore.h to
20967         sysdeps/pthread/semaphore.h.
20969 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20971         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20972         generated error format strings.
20974         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20975         -Wformat-extra-args warnings for scanf formats.
20976         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20977         test of zero-length format (duh).
20978         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20979         corner-case scanf format test.
20980         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20981         generated fprintf format string.
20982         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20983         corner-case sprintf format tests.
20984         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20985         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20986         -Wformat-extra-args warnings throughout.
20987         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20988         (CFLAGS-scanf4.c): Likewise.
20989         (CFLAGS-scanf7.c): Likewise.
20990         (CFLAGS-tst-sprintf.c): Likewise.
20991         (CFLAGS-tst-printf.c): Likewise.
20992         (CFLAGS-tst-printfsz.c): Likewise.
20994 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20996         * include/cpio.h: New file.
20997         * include/fmtmsg.h: Likewise.
20999         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21000         corresponding format argument to size_t.
21001         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21002         arguments.
21003         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21004         corresponding format argument to size_t.
21005         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21006         arguments.
21007         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21008         corresponding format argument to size_t.
21009         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21010         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21011         (CFLAGS-tst-mbswcs2.c): Likewise.
21012         (CFLAGS-tst-mbswcs3.c): Likewise.
21013         (CFLAGS-tst-mbswcs4.c): Likewise.
21014         (CFLAGS-tst-mbswcs5.c): Likewise.
21015         (CFLAGS-tst-trans.c): Likewise.
21017 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21019         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21020         rather than assuming they won't contain any '%'s.
21022 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21024         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21025         inhibit_loop_to_libcall to avoid recursive calls.
21026         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21027         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21029 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21031         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21032         prototype.
21034 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21036         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21037         integer value instead of boolean.
21039 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21041         * malloc/malloc.c: Fix powerof2 check.
21043 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21045         * locale/programs/locfile.h (maybe_swap_uint32):
21046         Remove inline and add unused attribute.
21048 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21050         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21051         Truncating assembler expression to a .long expression.
21053 2014-12-11  Andreas Schwab  <schwab@suse.de>
21055         * elf/rtld.c (struct map_args): Constify str member.
21056         (do_preload): Constify fname argument.
21058 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21060         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21061         constants definition.
21063 2014-12-11  Andreas Schwab  <schwab@suse.de>
21065         [BZ #16657]
21066         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21067         FORCE_ELISION instead of DO_ELISION.
21068         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21069         Remove.
21070         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21071         Likewise.
21073         * iconvdata/gconv-modules: Remove duplicate entry.
21075 2014-12-11  Will Newton  <will.newton@linaro.org>
21077         Merge gettext 0.19.3 into intl/.
21079         This involves a number of cosmetic changes to comments
21080         and ANSI function definitions and prototypes throughout
21081         all the files. The gettext copyright header is used but
21082         with the date ranges taken from the glibc copy.
21084         * NEWS: Add gettext merge to 2.21.
21085         * intl/bindtextdom.c: Switch to gettext copyright.
21086         Use ANSI definitions and prototypes.
21087         Use gl_* locking primitives rather than __libc_* ones.
21088         Use __builtin_expect rather than __glibc_likely/unlikely.
21089         * intl/dcgettext.c: Switch to gettext copyright.
21090         Use ANSI definitions and prototypes.
21091         * intl/dcigettext.c: Switch to gettext copyright.
21092         Use ANSI definitions and prototypes.
21093         (INTDIV0_RAISES_SIGFPE): New define.
21094         Use gl_* locking primitives rather than __libc_* ones.
21095         Include eval-plural.h instead of plural-eval.c.
21096         Use __builtin_expect rather than __glibc_likely/unlikely.
21097         * intl/dcngettext.c: Switch to gettext copyright.
21098         Use ANSI definitions and prototypes.
21099         * intl/dgettext.c: Likewise.
21100         * intl/dngettext.c: Likewise.
21101         * intl/plural-eval.c: Renamed to...
21102         * intl/eval-plural.h: ...this.
21103         * intl/explodename.c: Switch to gettext copyright.
21104         Use ANSI definitions and prototypes.
21105         (_nl_explode_name): Use strchr instead of __rawmemchr.
21106         * intl/finddomain.c: Switch to gettext copyright.
21107         Use ANSI definitions and prototypes.
21108         Use gl_* locking primitives rather than __libc_* ones.
21109         (_nl_find_domain): Use malloc rather than alloca for
21110         allocation of temporary locale name.
21111         * intl/gettext.c: Switch to gettext copyright.
21112         Use ANSI definitions and prototypes.
21113         * intl/gettextP.h: Switch to gettext copyright.
21114         Use ANSI definitions and prototypes.
21115         Use gl_* locking primitives rather than __libc_* ones.
21116         * intl/gmo.h: Switch to gettext copyright.
21117         (struct sysdep_string): Move struct segment_pair outside of
21118         struct definition.
21119         * intl/hash-string.c: Use ANSI definitions and prototypes.
21120         * intl/hash-string.h: Switch to gettext copyright.
21121         Use ANSI definitions and prototypes.
21122         * intl/l10nflist.c: Switch to gettext copyright.
21123         Use ANSI definitions and prototypes.
21124         (_nl_normalize_codeset): Avoid integer overflow.
21125         * intl/loadinfo.h: Switch to gettext copyright.
21126         Use ANSI definitions and prototypes.
21127         (LIBINTL_DLL_EXPORTED): New define.
21128         (PATH_SEPARATOR): New define.
21129         * intl/loadmsgcat.c: Switch to gettext copyright.
21130         * intl/localealias.c: Switch to gettext copyright.
21131         Use ANSI definitions and prototypes.
21132         (_nl_expand_alias): Use PATH_SEPARATOR.
21133         * intl/ngettext.c: Switch to gettext copyright.
21134         Use ANSI definitions and prototypes.
21135         * intl/plural-exp.c: Likewise.
21136         * intl/plural-exp.h: Switch to gettext copyright.
21137         Use ANSI definitions and prototypes.
21138         (struct expression): Move definition of enum operator outside
21139         of struct definition.
21140         * intl/plural.c: Regenerate.
21141         * intl/plural.y: Switch to gettext copyright.
21142         Use ANSI definitions and prototypes.
21143         Port to bison 3.0.
21144         * intl/textdomain.c: Switch to gettext copyright.
21145         Use ANSI definitions and prototypes.
21146         Use gl_* locking primitives rather than __libc_* ones.
21148 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21150         * debug/warning-nop.c: Add used atrribute.
21152 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21154         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21156         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21157         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21158         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21160 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21161             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21163         [BZ #17634]
21164         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21165         Undefine after defining function.  Define as weak alias of
21166         __wcschr.  Use libc_hidden_weak.
21167         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21168         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21169         (libc_hidden_def): Also define __GI___wcschr alias.
21170         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21171         __wcschr and define as weak alias of __wcschr.
21172         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21173         __wcschr.
21174         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21175         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21176         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21177         libc_hidden_weak.  Do not use libc_hidden_def.
21178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21179         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21180         __GI___wcschr alias.
21181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21182         [IS_IN (libc)] (wcschr): Define as macro expanding to
21183         __redirect_wcschr.
21184         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21185         [IS_IN (libc)] (__wcschr_power6): Likewise.
21186         [IS_IN (libc)] (__wcschr_power7): Likewise.
21187         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21188         instead of wcschr.
21189         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21190         __libc_wcschr.
21191         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21192         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21193         __wcschr and define as weak alias of __wcschr.  Use
21194         libc_hidden_builtin_def.
21195         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21196         as weak alias of __wcschr.  Use libc_hidden_weak.
21197         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21198         wcschr.
21199         * time/era.c (_nl_init_era_entries): Likewise.
21200         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21201         variable.
21202         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21203         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21205 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21207         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21208         format for long int variable.
21210 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21212         [BZ #10672]
21213         * manual/search.texi: (Array Sort Function): Remove claim how to make
21214         qsort stable.
21216 2014-12-10  Andreas Schwab  <schwab@suse.de>
21218         [BZ #12847]
21219         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21220         user-controlled locks.
21222 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21224         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21225         register.
21227 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21229         * configure.ac (--disable-werror): New configure option.
21230         (enable_werror): New AC_SUBST.
21231         * configure: Regenerated.
21232         * config.make.in (enable-werror): New variable.
21233         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21234         -Wno-error=undef.
21235         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21236         * manual/install.texi (Configuring and compiling): Document
21237         --disable-werror.
21238         * INSTALL: Regenerated.
21239         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21240         (CFLAGS-tst-chk2.c): Likewise.
21241         (CFLAGS-tst-chk3.c): Likewise.
21242         (CFLAGS-tst-chk4.cc): Likewise.
21243         (CFLAGS-tst-chk5.cc): Likewise.
21244         (CFLAGS-tst-chk6.cc): Likewise.
21245         (CFLAGS-tst-lfschk1.c): Likewise.
21246         (CFLAGS-tst-lfschk2.c): Likewise.
21247         (CFLAGS-tst-lfschk3.c): Likewise.
21248         (CFLAGS-tst-lfschk4.cc): Likewise.
21249         (CFLAGS-tst-lfschk5.cc): Likewise.
21250         (CFLAGS-tst-lfschk6.cc): Likewise.
21252         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21253         (main): Disable -Wdeprecated-declarations around calls to
21254         register_printf_function.
21256         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21257         (do_test): Disable -Wdiv-by-zero around some calls to
21258         fwrite_unlocked and fread_unlocked.
21260         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21261         (DIAG_POP_NEEDS_COMMENT): Likewise.
21262         (_DIAG_STR1): Likewise.
21263         (_DIAG_STR): Likewise.
21264         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21265         * stdio-common/bug21.c: Include <libc-internal.h>.
21266         (do_test): Disable -Wformat around call to sscanf.
21267         * stdio-common/scanf14.c: Include <libc-internal.h>.
21268         (main): Disable -Wformat around some calls to scanf functions.
21270 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21272         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21274 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21276         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21277         stack variable alignment.
21279 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21281         [BZ #17682]
21282         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21283         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21284         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21285         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21286         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21287         __getrlimit instead of getrlimit.
21288         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21289         __gettimeofday instead of gettimeofday.
21290         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21291         Likewise.
21292         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21293         Likewise.
21294         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21295         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21296         Remove variable.
21297         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21298         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21300 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21302         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21303         for wide-character tests.
21305 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21307         * io/openat64.c: #include <libc-internal.h>
21308         (__openat64): Prototypify.  Use ignore_value on MODE.
21309         * io/openat.c: Likewise.
21310         * misc/reboot.c: #include <libc-internal.h>
21311         (reboot): Prototypify.  Use ignore_value on HOWTO.
21312         * misc/ptrace.c: #include <libc-internal.h>
21313         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21315 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21317         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21318         XPG4, UNIX98 and XOPEN2K.
21319         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21320         Remove variable.
21321         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21323 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21325         * libio/fileops.c: Use ISO C style for function definitions.
21326         * libio/iofopen.c: Likewise.
21327         * libio/wfileops.c: Likewise.
21329         [BZ #17653]
21330         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21331         offset on EOF.
21332         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21333         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21334         (fgets_func): Function pointer to fgets and fgetws.
21335         (do_ftell_test): Add test to verify ftell value after read
21336         EOF.
21337         (do_test): Set fgets_func.
21339         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21340         O_TRUNC flag for w and w+ modes.
21341         (do_rewind_test): Likewise.
21342         (do_ftell_test): Likewise.
21343         (do_write_test): Likewise.
21345         [BZ #17647]
21346         * libio/fileops.c (do_ftell): Seek only when there are
21347         unflushed writes.
21348         * libio/wfileops.c (do_ftell_wide): Likewise.
21349         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21350         test case.
21351         (do_one_test): Call it.
21353 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21355         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21356         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21357         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21358         Remove variable.
21359         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21360         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21361         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21363 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21365         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21366         Remove variable.
21367         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21369         [BZ #17668]
21370         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21371         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21372         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21373         __freeifaddrs.  Use libc_hidden_weak.
21374         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21375         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21376         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21377         __freeifaddrs.  Use libc_hidden_weak.
21378         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21379         __getifaddrs and define as weak alias of __getifaddrs.  Use
21380         libc_hidden_weak.
21381         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21382         __freeifaddrs.  Use libc_hidden_weak.
21383         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21384         Remove variable.
21385         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21386         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21388 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21390         [BZ #17601]
21391         * sysdeps/mips/start.S (__start): Use indirect jump to call
21392         __libc_start_main.
21394 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21396         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21398         * nptl/tst-mutex1.c: Include <stdbool.h>.
21399         [!ATTR] (ATTR_NULL): New macro.
21400         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21401         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21402         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21404         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21405         to char *.
21407         [BZ #17665]
21408         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21409         Change conditional to [__USE_MISC].
21411         [BZ #17664]
21412         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21413         fgets_unlocked.
21414         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21415         __fgets_unlocked.
21416         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21417         fgets_unlocked.
21418         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21419         Remove variable.
21420         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21421         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21422         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21423         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21424         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21425         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21426         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21427         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21428         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21430         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21432 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21435         Remove strpbrk objects.
21436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21437         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21438         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21439         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21440         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21441         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21443         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21444         Remove strcspn objects.
21445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21446         (__libc_ifunc_impl_list): Remove strcspn implementation.
21447         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21448         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21449         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21450         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21452         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21453         Remove strspn objetcs.
21454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21455         (__libc_ifunc_impl_list): Remove strspn implementation.
21456         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21457         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21458         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21459         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21461 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21463         [BZ #17581]
21464         * malloc/hooks.c
21465         (mem2mem_check): Add a terminator to the chain of checking blocks.
21466         (malloc_check_get_size): Use it here.
21467         (mem2chunk_check): Ditto.
21469 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21471         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21472         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21474 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21476         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21478         * nptl/nptl-init.c: Include libc-internal.h.
21479         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21481         * elf/ldconfig.c (search_dir): Expand comment.
21483 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21485         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21486         variable.
21487         (linknamespace-symlist-stdlibs-tests): Likewise.
21488         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21489         instead of $(objpfx)symlist-stdlibs.
21490         (linknamespace-libs-isoc): New variable.
21491         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21492         (linknamespace-libs-ISO): New variable.
21493         (linknamespace-libs-ISO99): Likewise.
21494         (linknamespace-libs-ISO11): Likewise.
21495         (linknamespace-libs-XPG3): Likewise.
21496         (linknamespace-libs-XPG4): Likewise.
21497         (linknamespace-libs-POSIX): Likewise.
21498         (linknamespace-libs-UNIX98): Likewise.
21499         (linknamespace-libs-XOPEN2K): Likewise.
21500         (linknamespace-libs-POSIX2008): Likewise.
21501         (linknamespace-libs-XOPEN2K8): Likewise.
21502         ($(objpfx)symlist-stdlibs): Replace by
21503         $(linknamespace-symlist-stdlibs-tests).  Use
21504         $(linknamespace-libs-$*) as set of libraries.
21505         ($(linknamespace-header-tests)): Update dependencies.  Use
21506         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21507         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21508         * conform/linknamespace.pl: Remove comment about considering
21509         definitions of symbols from irrelevant libraries.
21511 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21513         [BZ #13862]
21514         * elf/dl-tls.c: Include <atomic.h>.
21515         (oom): Remove #ifdef SHARED/#endif.
21516         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21517         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21518         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21519         big enough.
21520         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21521         * nptl/Makefile (tests): Add tst-stack4.
21522         (modules-names): Add tst-stack4mod.
21523         ($(objpfx)tst-stack4): New.
21524         (tst-stack4mod.sos): Likewise.
21525         ($(objpfx)tst-stack4.out): Likewise.
21526         ($(tst-stack4mod.sos)): Likewise.
21527         (clean): Likewise.
21528         * nptl/tst-stack4.c: New file.
21529         * nptl/tst-stack4mod.c: Likewise.
21531 2014-11-27  J. Brown  <jb999@gmx.de>
21533         * sysdeps/x86/bits/string.h: Add recent CPUs.
21535 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21537         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21538         sigblock.
21540         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21541         feof.
21543         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21544         variable.
21546 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21548         * nscd/connections.c: Include libc-internal.h because of macro
21549         usage ignore_value.
21551 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21553         * string/bits/string3.h (__warn_memset_zero_len): Don't
21554         declare for gcc newer than 5.0.
21555         (memset): Don't test for zero-length __LEN for gcc newer than
21556         5.0.
21558 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21560         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21561         size_t for %zu format.
21563         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21564         difference, not %ju.
21566 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21568         * include/libc-internal.h (ignore_value): New macro.
21569         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21570         with ignore_value.
21572         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21573         definition.
21575         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21576         pthread_cleanup_push to void *.
21578         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21579         Undefine.
21581         [BZ #16619]
21582         [BZ #16740]
21583         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21584         instead of 1L << 52.
21586         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21587         * libio/bug-rewind2.c (do_test): Likewise.
21589         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21590         * debug/test-strcpy_chk-ifunc.c: Likewise.
21591         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21592         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21593         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21594         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21595         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21596         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21597         * Rules [$(multi-arch) = no] (tests): Do not filter out
21598         $(tests-ifunc).
21599         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21600         * debug/Makefile (tests-ifunc): Remove variable.
21601         (tests): Do not add $(tests-ifunc).
21602         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21603         (tests): Do not add $(tests-ifunc).
21604         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21605         [TEST_IFUNC]: Remove conditionals.
21606         * string/test-string.h (TEST_IFUNC): Remove macro.
21607         [TEST_IFUNC]: Remove conditionals.
21609         * string/test-strchr.c [!WIDE] (L): New macro.
21610         [WIDE] (L): Likewise.
21611         (check1): Use CHAR instead of char.  Use L on string and character
21612         constants.
21614 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21616         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21617         tests.
21618         * sysdeps/powerpc/bits/atomic.h
21619         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21620         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21621         (atomic_exchange_and_add_acq): Likewise.
21622         (atomic_exchange_and_add_rel): Likewise.
21623         * sysdeps/powerpc/powerpc32/bits/atomic.h
21624         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21625         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21626         * sysdeps/powerpc/powerpc64/bits/atomic.h
21627         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21628         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21630 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21632         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21633         Change synchronization of __sched_fifo_min_prio and
21634         __sched_fifo_max_prio.
21635         * nptl/pthread_mutexattr_getprioceiling.c
21636         (pthread_mutexattr_getprioceiling): Likewise.
21637         * nptl/pthread_mutexattr_setprioceiling.c
21638         (pthread_mutexattr_setprioceiling): Likewise.
21639         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21640         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21641         Likewise.
21643 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21645         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21646         void.
21648 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21650         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21651         third argument const.
21653 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21655         fnmatch: work around GCC compiler warning bug with uninit var
21656         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21657         This works around a bug with x86-64 GCC 4.9.2 and earlier
21658         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21659         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21660         used uninitialized in this function [-Wmaybe-uninitialized]".
21662 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21664         * posix/bug-regex31.c (main): Return RES not 0.
21666 2014-11-25  Anton Blanchard <anton@samba.org>
21668         * sysdeps/powerpc/bits/atomic.h
21669         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21671 2014-11-24  Sterling Augustine  <saugustine@google.com>
21673         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21675 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21677         [BZ #17608]
21678         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21680 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21682         [BZ #17633]
21683         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21684         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21685         variable.
21686         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21687         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21689 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21691         * string/strncpy.c (strncpy): Improve performance by using memset.
21693 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21695         * string/strcpy.c (strcpy):
21696         Improve performance by using strlen and memcpy.
21698 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21700         * string/strcoll_l.c (get_next_seq): __always_inline.
21701         * string/strcoll_l.c (do_compare): __always_inline.
21703 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21705         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21706         defined.
21707         * include/mqueue.h: Likewise.
21708         * include/stdlib.h: Likewise.
21710         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21711         (get_null_defines): Adjust.
21712         * sunrpc/Makefile: Adjust comment.
21713         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21714         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21715         (CFLAGS-interp.c): Likewise.
21716         (CFLAGS-ldconfig.c): Likewise.
21717         (CPPFLAGS-.os): Likewise.
21718         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21719         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21720         * extra-modules.mk (extra-modules.mk): Likewise.
21721         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21722         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21723         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21724         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21725         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21726         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21727         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21728         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21729         * iconvdata/Makefile (CPPFLAGS): Likewise.
21730         (cpp-srcs-left): Add libof for all iconvdata routines.
21731         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21732         * include/assert.h: Likewise.
21733         * include/ctype.h: Likewise.
21734         * include/errno.h: Likewise.
21735         * include/libc-symbols.h: Likewise.
21736         * include/math.h: Likewise.
21737         * include/netdb.h: Likewise.
21738         * include/resolv.h: Likewise.
21739         * include/stdio.h: Likewise.
21740         * include/stdlib.h: Likewise.
21741         * include/string.h: Likewise.
21742         * include/sys/stat.h: Likewise.
21743         * include/wctype.h: Likewise.
21744         * intl/l10nflist.c: Likewise.
21745         * libidn/idn-stub.c: Likewise.
21746         * libio/libioP.h: Likewise.
21747         * nptl/libc_multiple_threads.c: Likewise.
21748         * nptl/pthreadP.h: Likewise.
21749         * posix/regex_internal.h: Likewise.
21750         * resolv/res_hconf.c: Likewise.
21751         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21752         * sysdeps/arm/memmove.S: Likewise.
21753         * sysdeps/arm/sysdep.h: Likewise.
21754         * sysdeps/generic/_itoa.h: Likewise.
21755         * sysdeps/generic/symbol-hacks.h: Likewise.
21756         * sysdeps/gnu/errlist.awk: Likewise.
21757         * sysdeps/gnu/errlist.c: Likewise.
21758         * sysdeps/i386/i586/memcpy.S: Likewise.
21759         * sysdeps/i386/i586/memset.S: Likewise.
21760         * sysdeps/i386/i686/memcpy.S: Likewise.
21761         * sysdeps/i386/i686/memmove.S: Likewise.
21762         * sysdeps/i386/i686/mempcpy.S: Likewise.
21763         * sysdeps/i386/i686/memset.S: Likewise.
21764         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21765         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21766         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21767         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21768         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21769         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21770         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21771         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21772         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21773         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21774         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21775         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21776         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21777         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21778         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21779         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21780         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21781         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21782         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21783         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21784         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21785         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21786         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21787         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21788         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21789         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21790         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21791         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21792         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21793         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21794         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21795         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21797         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21798         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21799         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21800         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21801         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21802         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21803         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21804         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21805         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21806         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21807         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21808         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21809         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21810         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21811         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21812         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21813         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21814         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21815         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21816         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21817         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21818         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21819         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21820         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21821         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21822         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21823         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21824         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21825         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21826         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21827         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21828         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21829         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21830         * sysdeps/posix/closedir.c: Likewise.
21831         * sysdeps/posix/opendir.c: Likewise.
21832         * sysdeps/posix/readdir.c: Likewise.
21833         * sysdeps/posix/rewinddir.c: Likewise.
21834         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21835         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21836         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21837         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21838         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21839         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21840         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21842         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21844         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21845         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21846         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21847         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21848         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21849         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21850         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21851         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21852         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21853         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21854         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21855         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21856         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21857         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21858         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21860         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21862         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21869         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21870         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21871         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21872         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21873         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21874         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21875         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21876         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21878         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21879         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21880         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21881         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21882         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21883         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21884         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21885         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21888         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21889         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21891         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21892         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21893         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21894         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21895         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21896         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21897         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21898         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21899         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21900         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21901         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21902         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21903         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21904         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21905         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21906         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21907         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21908         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21909         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21910         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21911         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21912         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21913         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21914         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21915         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21916         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21917         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21918         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21919         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21920         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21921         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21922         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21923         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21924         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21925         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21926         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21927         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21928         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21930         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21932         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21933         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21934         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21935         * sysdeps/unix/alpha/sysdep.S: Likewise.
21936         * sysdeps/unix/alpha/sysdep.h: Likewise.
21937         * sysdeps/unix/make-syscalls.sh: Likewise.
21938         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21939         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21940         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21941         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21942         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21943         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21944         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21945         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21946         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21947         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21948         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21949         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21950         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21951         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21952         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21953         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21954         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21955         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21956         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21957         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21958         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21959         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21960         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21961         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21962         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21963         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21964         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21967         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21968         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21970         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21972         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21973         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21975         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21976         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21977         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21978         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21979         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21980         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21981         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21982         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21985         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21988         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21989         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21990         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21991         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21992         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21993         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21994         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21996         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21997         * sysdeps/x86_64/memcpy.S: Likewise.
21998         * sysdeps/x86_64/memmove.c: Likewise.
21999         * sysdeps/x86_64/memset.S: Likewise.
22000         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22001         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22002         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22003         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22004         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22006         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22007         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22008         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22009         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22010         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22011         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22012         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22013         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22014         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22015         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22016         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22017         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22018         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22019         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22020         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22021         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22022         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22023         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22024         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22025         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22026         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22027         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22028         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22029         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22030         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22031         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22032         * sysdeps/x86_64/strcmp.S: Likewise.
22034         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22036         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22037         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22038         * elf/rtld-Rules: Likewise.
22039         * elf/setup-vdso.h: Likewise.
22040         * include/assert.h: Likewise.
22041         * include/bits/stdlib-float.h: Likewise.
22042         * include/errno.h: Likewise.
22043         * include/sys/stat.h: Likewise.
22044         * include/unistd.h: Likewise.
22045         * sysdeps/aarch64/setjmp.S: Likewise.
22046         * sysdeps/alpha/setjmp.S: Likewise.
22047         * sysdeps/arm/__longjmp.S: Likewise.
22048         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22049         * sysdeps/arm/setjmp.S: Likewise.
22050         * sysdeps/arm/sysdep.h: Likewise.
22051         * sysdeps/generic/_itoa.h: Likewise.
22052         * sysdeps/generic/dl-sysdep.h: Likewise.
22053         * sysdeps/generic/ldsodefs.h: Likewise.
22054         * sysdeps/i386/dl-tls.h: Likewise.
22055         * sysdeps/i386/setjmp.S: Likewise.
22056         * sysdeps/m68k/setjmp.c: Likewise.
22057         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22058         * sysdeps/mach/hurd/opendir.c: Likewise.
22059         * sysdeps/posix/getcwd.c: Likewise.
22060         * sysdeps/posix/opendir.c: Likewise.
22061         * sysdeps/posix/profil.c: Likewise.
22062         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22063         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22064         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22065         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22066         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22067         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22068         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22069         * sysdeps/s390/dl-tls.h: Likewise.
22070         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22071         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22072         * sysdeps/sh/sh3/setjmp.S: Likewise.
22073         * sysdeps/sh/sh4/setjmp.S: Likewise.
22074         * sysdeps/unix/alpha/sysdep.h: Likewise.
22075         * sysdeps/unix/arm/sysdep.S: Likewise.
22076         * sysdeps/unix/i386/sysdep.S: Likewise.
22077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22078         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22079         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22080         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22081         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22082         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22083         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22084         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22085         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22086         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22087         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22088         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22089         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22092         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22095         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22096         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22097         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22100         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22101         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22103         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22104         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22105         * sysdeps/x86_64/setjmp.S: Likewise.
22107         * include/math.h: Use IS_IN instead of IS_IN_libm.
22108         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22109         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22110         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22111         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22112         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22113         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22114         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22115         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22116         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22117         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22118         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22119         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22120         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22121         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22122         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22123         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22124         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22125         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22126         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22127         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22128         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22129         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22130         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22131         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22132         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22133         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22134         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22135         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22136         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22137         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22138         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22139         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22140         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22142         Likewise.
22143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22144         Likewise.
22145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22146         Likewise.
22147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22148         Likewise.
22149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22150         Likewise.
22151         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22152         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22153         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22154         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22155         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22156         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22162         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22163         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22164         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22165         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22166         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22167         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22168         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22169         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22170         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22171         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22173         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22174         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22175         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22177         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22179         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22180         * nptl/pthreadP.h: Likewise.
22181         * nptl_db/structs.def: Likewise.
22182         * sysdeps/arm/sysdep.h: Likewise.
22183         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22184         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22185         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22186         * sysdeps/unix/alpha/sysdep.h: Likewise.
22187         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22188         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22189         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22190         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22191         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22192         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22194         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22195         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22196         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22197         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22198         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22199         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22200         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22203         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22205         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22206         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22207         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22208         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22209         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22210         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22211         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22212         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22214         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22215         * nptl/pthreadP.h: Likewise.
22216         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22217         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22219         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22220         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22221         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22222         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22223         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22224         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22225         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22226         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22227         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22229         Likewise.
22230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22231         Likewise.
22232         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22233         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22234         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22237         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22238         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22239         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22241         * dlfcn/dladdr.c: Use IS_IN.
22242         * dlfcn/dladdr1.c: Likewise.
22243         * dlfcn/dlclose.c: Likewise.
22244         * dlfcn/dlerror.c: Likewise.
22245         * dlfcn/dlinfo.c: Likewise.
22246         * dlfcn/dlmopen.c: Likewise.
22247         * dlfcn/dlopen.c: Likewise.
22248         * dlfcn/dlsym.c: Likewise.
22249         * dlfcn/dlvsym.c: Likewise.
22251         * include/ifaddrs.h: Use IS_IN.
22252         * inet/check_pf.c: Likewise.
22253         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22254         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22256         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22257         IS_IN_ldconfig.
22258         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22259         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22261         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22262         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22263         IS_IN (libc).
22265         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22267         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22268         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22269         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22270         * include/libc-symbols.h (IS_IN_LIB): New macro.
22271         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22272         * include/netdb.h: Likewise.
22273         * include/stap-probe.h: Remove all uses of IN_LIB.
22275         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22276         instead of IN_MODULE.
22277         * include/libc-symbols.h (IN_MODULE): Define using
22278         MODULE_NAME.
22279         (PASTE_NAME, PASTE_NAME1): New macros.
22280         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22281         of IN_LIB.
22282         (STAP_PROBE_ASM): Likewise.
22284 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22286         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22287         __mach_init in dlopened libc.
22289 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22291         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22292         * sysdeps/arm/preconfigure: Regenerate.
22294 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22296         * nptl/pthread_create.c (__pthread_create_2_1): Set
22297         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22298         when copying values from IATTR into PD.
22300 2014-11-21  Will Newton  <will.newton@linaro.org>
22301             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22303         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22304         Refactor inline-asm.  Also add comment.
22306         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22307         ElfW macro instead of hardcoded Elf64 types.
22308         (la_aarch64_gnu_pltenter): Likewise.
22309         * sysdeps/aarch64/dl-machine.h
22310         (elf_machine_runtime_setup): Use ElfW(Addr).
22312         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22313         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22314         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22315         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22316         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22317         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22318         (R_AARCH64_TLS_DTPMOD): This.
22319         (R_AARCH64_TLS_DTPREL64): Rename to ...
22320         (R_AARCH64_TLS_DTPREL): This.
22321         (R_AARCH64_TLS_TPREL64): Rename to ...
22322         (R_AARCH64_TLS_TPREL): This.
22323         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22324         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22325         R_AARCH64_TLS_TPREL64.
22326         (elf_machine_rela): Likewise.
22328 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22330         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22331         by setting it to 0.  64b atomics are not supported currently.
22333 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22335         [BZ #16469]
22336         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22337         search domain names.
22339 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22341         [BZ #16469]
22342         * NEWS: Update.
22343         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22344         trailing dot.
22345         * posix/tst-getaddrinfo5.c: New.
22346         * posix/Makefile (tests): Add it.
22348 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22350         [BZ #14498]
22351         * NEWS: Fixed.
22352         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22353         after parsing line but before break_if_match.
22354         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22355         if there is a protocol mismatch.
22357 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22359         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22360         because the potential race is on the user-supplied stream.
22362 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22364         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22365         string literal if not passed a buffer.
22366         * manual/job.texi (ctermid): Update reasoning, note deviation
22367         from posix, suggest mtasurace when not passed a buffer, for
22368         future non-preliminary safety notes.
22370 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22372         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22373         of not passing it a buffer.
22374         Reported by Peng Haitao.
22376 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22378         * manual/Makefile ($(objpfx)stamp-summary): Require
22379         check-safety.sh to pass.
22380         * manual/check-safety.sh: Wish for verification that every
22381         @deftypefn and @deftypefun is followed by a @safety remark.
22383 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22385         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22387         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22388         PTHREAD_CANCEL_ASYNCHRONOUS.
22389         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22390         send SIGCANCEL.
22392         * nptl/default-sched.h: New file.
22393         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22394         * nptl/pthread_create.c: Include it.
22395         (__pthread_create_2_1): Use collect_default_sched instead of making
22396         Linux syscalls here directly.
22398 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22400         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22401         __pthread_once): Use C11 atomics.
22403 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22405         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22407 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22409         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22410         atomic_thread_fence_acquire, atomic_thread_fence_release,
22411         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22412         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22413         atomic_compare_exchange_weak_relaxed,
22414         atomic_compare_exchange_weak_acquire,
22415         atomic_compare_exchange_weak_release,
22416         atomic_exchange_acquire, atomic_exchange_release,
22417         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22418         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22419         atomic_fetch_and_acquire,
22420         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22422 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22424         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22425         USE_ATOMIC_COMPILER_BUILTINS): Define.
22426         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22427         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22428         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22429         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22430         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22431         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22432         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22433         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22434         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22435         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22436         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22437         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22438         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22439         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22440         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22441         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22442         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22443         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22444         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22445         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22446         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22447         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22448         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22449         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22450         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22451         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22452         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22453         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22454         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22455         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22456         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22457         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22458         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22459         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22460         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22461         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22462         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22463         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22464         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22465         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22467 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22469         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22470         the sched_priority value here.  It was already checked when the user
22471         called pthread_attr_setschedparam.
22473         * nptl/tst-bad-schedattr.c: New file.
22474         * nptl/Makefile (tests): Add it.
22476 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22477             Florian Weimer  <fweimer@redhat.com>
22478             Joseph Myers  <joseph@codesourcery.com>
22479             Adam Conrad  <adconrad@0c3.net>
22480             Andreas Schwab  <schwab@suse.de>
22481             Brooks  <bmoses@google.com>
22483         [BZ #17625]
22484         * wordexp-test.c (__dso_handle): Add prototype.
22485         (__register_atfork): Likewise.
22486         (__app_register_atfork): New function.
22487         (registered_forks): New global.
22488         (register_fork): New function.
22489         (test_case): Add 3 new tests for WRDE_CMDSUB.
22490         (main): Call __app_register_atfork.
22491         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22492         fork count is non-zero fail the test.
22493         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22494         is set.
22495         (parse_dollars): Remove check for WRDE_NOCMD.
22496         (parse_dquote): Likewise.
22498 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22500         * Makeconfig (built-modules): List non-library modules to be
22501         built.
22502         (module-cppflags): Include libc-modules.h for
22503         everything except shlib-versions.v.i.
22504         (CPPFLAGS): Use it.
22505         (before-compile): Add libc-modules.h.
22506         ($(common-objpfx)libc-modules.h,
22507         $(common-objpfx)libc-modules.stmp): New targets.
22508         (common-generated): Add libc-modules.h and libc-modules.stmp.
22509         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22510         * include/libc-symbols.h: Don't include libc-modules.h.
22511         * include/libc-modules.h: Remove file.
22512         * scripts/gen-libc-modules.awk: New script to generate
22513         libc-modules.h.
22514         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22515         Depend on libc-modules.stmp.
22517         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22519         * Makeconfig (in-module): Get value of libof set for the
22520         translation unit.
22521         (CPPFLAGS): Use $(in-module).
22522         * Makerules: Don't suffix routine names for nonlib.
22523         * include/libc-modules.h: New file.
22524         * include/libc-symbols.h: Include libc-modules.h
22525         (IS_IN): New macro to replace IS_IN_* macros.
22526         * elf/Makefile: Set libof-* for each routine.
22527         * elf/rtld-Rules: Likewise.
22528         * extra-modules.mk: Likewise.
22529         * iconv/Makefile: Likewise.
22530         * iconvdata/Makefile: Likewise.
22531         * locale/Makefile: Likewise.
22532         * malloc/Makefile: Likewise.
22533         * nss/Makefile: Likewise.
22534         * sysdeps/gnu/Makefile: Likewise.
22535         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22536         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22537         * sysdeps/s390/s390-64/Makefile: Likewise.
22538         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22539         CPPFLAGS for nscd instead of nonlib.
22541 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22543         * nptl/createthread.c: New file.
22545         * nptl/createthread.c: Moved ...
22546         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22548         * nptl/createthread.c: Add proper top-line comment.
22549         (do_clone): Folded into ...
22550         (create_thread): ... here.  Take new arguments STOPPED_START and
22551         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22552         increment __nptl_threads, do event-reporting logic, do
22553         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22554         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22555         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22556         just send SIGCANCEL.
22557         * nptl/pthread_create.c: Forward-declare create_thread before
22558         including createthread.c.
22559         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22560         declaration, and new macro START_THREAD_SELF to replace argument.
22561         Remove return statement.
22562         (report_thread_creation): New function.
22563         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22564         synchronization logic, and __nptl_nthreads increment here, around
22565         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22566         PD->parent_cancelhandling here, before create_thread.  When
22567         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22568         __deallocate_stack, and ENOMEM translation here.
22570 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22572         [BZ #17616]
22573         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22574         (mptwo): Rename to __mptwo.
22575         (__inv): Use __mptwo instead of mptwo.
22576         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22577         (mptwo): Rename to __mptwo.
22578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22579         of mpone and __mptwo instead of mptwo.
22580         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22581         instead of mpone.
22582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22583         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22584         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22585         of mpone and __mptwo instead of mptwo.
22586         (__mpranred): Use __mpone instead of mpone.
22587         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22588         variable.
22589         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22590         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22591         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22592         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22593         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22594         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22595         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22596         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22597         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22598         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22599         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22600         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22601         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22602         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22603         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22604         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22605         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22606         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22607         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22609 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22611         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22612         replace BSD Handler xref with BSD Signal Handling.
22614 2014-11-17  Richard Henderson  <rth@redhat.com>
22616         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22617         (_FP_PACK_RAW_2): Remove.
22618         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22619         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22620         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22621         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22622         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22623         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22624         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22625         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22626         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22627         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22628         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22629         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22630         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22631         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22632         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22633         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22635 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22637         * signal/signal.h [__USE_MISC]
22638         (struct sigvec): Remove type.
22639         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22640         (sigvec): Remove declaration.
22641         * sysdeps/posix/sigvec.c: Moved ...
22642         * signal/sigvec.c: ... here, replacing old file.
22643         (struct sigvec): New type, copied from old signal.h definition.
22644         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22645         (__sigvec): Convert definition to prototype.
22646         (sigvec): Replace weak_alias with compat_symbol.
22647         * signal/Versions (libc: GLIBC_2.21): New version set.
22648         * include/signal.h: Remove __sigvec declaration.
22649         * sysdeps/unix/bsd/sigvec.c: Remove file.
22650         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22651         * manual/signal.texi (BSD Handler): Remove subsection.
22652         Move siginterrupt up to ...
22653         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22654         (Blocking in BSD): Fold subsection into its parent.
22655         * NEWS: Mention sigvec removal.
22657 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22659         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22660         (DLA_FMS): Make definition conditional only on [__FMA4__].
22661         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22662         definition.
22664         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22665         Make definition conditional only on [PROF].
22666         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22667         definition.
22668         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22669         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22671         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22672         !__GNUC__].
22673         * include/signal.h (__sigpause): Move declaration above call to
22674         libc_hidden_proto.
22675         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22676         variable.
22677         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22678         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22680 2014-11-14  David S. Miller  <davem@davemloft.net>
22682         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22683         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22685 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22687         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22688         * configure: Regenerated.
22689         * manual/install.texi (Tools for Compilation): Document a
22690         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22691         compiler verified to work.
22692         * INSTALL: Regenerated.
22694         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22695         redeclare with asm name.
22696         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22697         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22698         including <string.h>.
22699         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22700         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22701         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22702         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22703         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22704         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22705         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22707 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22709         * stdlib/strtol.c (__strtol): Use prototype definition.
22711         [BZ #17594]
22712         * stdlib/strtol.c (SYM__): New macro.
22713         (SYM__1): Likewise.
22714         (__strtol): Likewise.
22715         (strtol): Rename to __strtol and define as weak alias of
22716         __strtol.  Use libc_hidden_weak.
22718 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22720         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22721         Use numbered labels in inline assembly.
22723 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22725         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22726         Add setjmp LIBC_PROBE.
22727         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22728         Likewise.
22729         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22730         Add longjmp, longjmp_target LIBC_PROBE.
22731         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22732         Likewise.
22734 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22736         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22737         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22738         to get rid of unused variable warning.
22740 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22742         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22743         Check for unwind_backtrace ==  NULL only in SHARED case.
22744         (__backchain_backtrace): Compile only in SHARED case.
22745         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22746         Likewise.
22747         (__backchain_backtrace): Declare as static.
22749 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22751         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22752         (__libc_multiple_threads_ptr): Variable moved ...
22753         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22755 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22757         * conform/GlibcConform.pm: New file.
22758         * conform/conformtest.pl: Use GlibcConform module.
22759         * conform/linknamespace.pl: New file.
22760         * conform/list-header-symbols.pl: Likewise.
22761         * conform/Makefile (linknamespace-symlists-base): New variable.
22762         (linknamespace-symlists-tests): Likewise.
22763         (linknamespace-header-base): Likewise.
22764         (linknamespace-header-tests): Likewise.
22765         (tests-special): Add new tests.
22766         ($(linknamespace-symlists-tests)): New rule.
22767         (linknamespace-libs): New variable.
22768         ($(objpfx)symlist-stdlibs): New rule.
22769         ($(linknamespace-header-tests)): Likewise.
22770         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22771         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22772         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22773         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22774         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22775         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22776         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22777         (test-xfail-ISO/math.h/linknamespace): Likewise.
22778         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22779         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22780         (test-xfail-ISO/time.h/linknamespace): Likewise.
22781         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22782         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22783         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22784         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22785         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22786         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22787         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22788         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22789         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22790         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22791         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22792         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22793         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22794         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22795         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22796         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22797         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22798         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22799         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22800         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22801         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22802         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22803         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22804         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22805         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22806         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22807         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22808         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22809         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22810         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22811         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22812         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22813         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22814         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22815         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22816         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22817         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22818         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22819         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22820         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22821         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22822         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22823         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22824         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22825         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22826         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22827         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22828         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22829         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22830         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22831         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22832         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22833         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22834         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22835         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22836         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22837         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22838         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22839         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22840         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22841         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22842         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22843         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22844         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22845         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22846         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22847         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22848         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22849         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22850         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22851         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22852         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22853         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22854         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22855         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22856         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22857         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22858         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22859         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22860         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22861         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22862         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22863         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22864         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22865         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22866         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22867         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22868         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22869         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22870         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22871         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22872         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22873         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22874         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22875         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22876         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22877         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22878         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22879         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22880         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22881         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22882         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22883         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22884         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22885         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22886         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22887         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22888         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22889         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22890         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22891         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22892         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22893         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22894         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22895         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22896         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22897         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22898         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22899         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22900         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22901         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22902         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22903         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22904         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22905         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22906         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22907         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22908         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22909         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22910         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22911         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22912         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22913         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22914         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22915         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22916         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22917         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22918         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22919         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22920         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22921         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22922         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22923         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22924         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22925         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22926         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22927         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22928         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22929         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22930         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22932         [BZ #17589]
22933         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22934         of fgets_unlocked.
22936         [BZ #17585]
22937         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22938         (memmem): Rename to __memmem and define as weak alias of
22939         __memmem.  Use libc_hidden_weak.
22940         (__memmem): Use libc_hidden_def.
22941         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22942         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22943         memmem.
22945         [BZ #17582]
22946         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22947         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22948         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22949         and define as weak alias of __fgets_unlocked.  Use
22950         libc_hidden_weak.
22951         (__fgets_unlocked): Use libc_hidden_def.
22952         * include/stdio.h (__fgets_unlocked): Declare.  Use
22953         libc_hidden_proto.
22954         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22955         __fgets_unlocked instead of fgets_unlocked.
22956         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22957         (GET_NPROCS_CONF_PARSER): Likewise.
22958         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22959         (GET_NPROCS_CONF_PARSER): Likewise.
22961         [BZ #17574]
22962         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22963         weak alias of __wmemset.  Use libc_hidden_weak.
22964         (__wmemset): Use libc_hidden_def.
22965         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22966         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22967         of wmemset.
22969         [BZ #17573]
22970         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22971         with asm name __mempcpy.
22972         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22974         [BZ #17572]
22975         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22976         and define as weak alias of __rawmemchr.
22977         (__rawmemchr): Do not define as strong alias of rawmemchr.
22979         [BZ #17571]
22980         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22981         alias of __qsort_r.
22982         (qsort): Call __qsort_r instead of qsort_r.
22983         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22984         (__qsort_r): Declare.  Call libc_hidden_proto.
22985         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22986         instead of qsort_r.
22987         * nscd/gai.c (__qsort_r): Define to qsort_r.
22988         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22989         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22990         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22992         [BZ #17570]
22993         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22994         define as weak alias of __malloc_info.
22996         [BZ #17584]
22997         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22998         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22999         (__rewinddir): Use libc_hidden_def.
23000         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23001         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23002         (__rewinddir): Use libc_hidden_def.
23003         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23004         weak alias of __rewinddir.  Don't use libc_hidden_def.
23005         (__rewinddir): Use libc_hidden_def.
23006         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23007         (__rewinddir): Use libc_hidden_proto.
23008         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23009         rewinddir.
23010         (__getcwd): Use __rewinddir instead of rewinddir.
23012         [BZ #17583]
23013         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23014         alias of __fileno.  Use libc_hidden_weak.
23015         (__fileno): Use libc_hidden_def.
23016         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23017         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23018         alias of __ftello.
23019         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23020         __ftello.
23021         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23022         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23023         libc_hidden_def.
23024         (fread_unlocked): Don't use libc_hidden_ver.
23025         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23026         and define as weak alias of __fread_unlocked.  Don't use
23027         libc_hidden_def.
23028         (__fread_unlocked): Use libc_hidden_def.
23029         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23030         (ftello): Don't use libc_hidden_proto.
23031         (__ftello): Declare.  Use libc_hidden_proto.
23032         (fread_unlocked): Don't use libc_hidden_proto.
23033         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23034         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23035         and __ftello instead of fileno, fread_unlocked and ftello.
23037 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23039         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23040         GOT12.
23041         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23042         Likewise.
23043         (_dl_start_user): Likewise.
23044         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23046 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23047             Siddhesh Poyarekar  <siddhesh@redhat.com>
23049         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23050         Move argv and envp down instead of moving argc up.
23051         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23053 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23055         [BZ #17506]
23056         * test-skeleton.c (main): Return successful if one of
23057         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23058         * string/tst-strcoll-overflow.c: Define expected status.
23060 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23062         [BZ #17475]
23063         * locale/iso-639.def: Define Bhili and Tulu language codes.
23065 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23067         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23069 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23071         [BZ #17555]
23072         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23074 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23076         * configure.ac: Updated check of minimal required version to
23077         2.22.
23078         * manual/install.texi (Tools for Compilation): Updated version
23079         number.
23080         * configure: Regenerated.
23081         * INSTALL: Likewise.
23083 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23085         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23086         __tls_get_addr.
23088 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23090         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23091         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23092         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23093         libc_hidden_weak.
23094         (waitpid): Define as alias of __waitpid.
23095         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23096         __waitpid.
23097         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23098         libc_hidden_weak.
23099         (waitpid): Define as alias of __waitpid.
23100         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23101         __libc_waitpid alias.
23102         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23103         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23104         Likewise.
23105         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23106         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23107         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23108         alias.
23109         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23110         __waitpid.
23111         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23112         libc_hidden_weak.
23113         (waitpid): Define as alias of __waitpid.
23115 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23117         * manual/llio.texi: Add comment that write safety has been
23118         fixed in Linux.
23120         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23121         (localplt-build-dso): Add elf/ld.so.
23122         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23123         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23124         and free for ld.so.
23125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23126         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23128         Likewise.
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23130         Likewise.
23131         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23132         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23133         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23134         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23135         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23136         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23137         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23138         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23139         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23140         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23141         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23143 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23145         [BZ #14132]
23146         * include/libc-symbols.h (INTUSE): Remove macro.
23147         (INTDEF): Likewise.
23148         (INTVARDEF): Likewise.
23149         (_INTVARDEF): Likewise.
23150         (INTDEF2): Likewise.
23151         (INTVARDEF2): Likewise.
23152         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23153         rtld_hidden_def instead of INTVARDEF.
23154         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23155         (_dl_starting_up_internal): Remove declaration.
23156         (_dl_starting_up): Use rtld_hidden_proto.
23157         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23158         declaration.
23159         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23160         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23161         _dl_starting_up.
23162         * elf/dl-writev.h (_dl_writev): Likewise.
23163         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23164         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23165         _dl_starting_up_internal.
23167 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23169         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23170         test-skeleton.c.
23172 2014-11-05  Will Newton  <will.newton@linaro.org>
23174         * benchtests/Makefile: (bench-malloc): Add malloc thread
23175         scalability benchmark.
23176         * benchtests/bench-malloc-threads.c: New file.
23178 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23180         * sysdeps/aarch64/strchrnul.S: New file.
23182 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23184         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23185         definition.
23186         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23187         Likwise.
23188         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23189         Likewise.
23190         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23191         Likewise.
23192         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23193         Likewise.
23194         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23195         Likewise.
23197 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23199         * catgets/test-gencat.c: Use test-skeleton.c.
23200         * catgets/tst-catgets.c: Likewise.
23201         * csu/tst-empty.c: Likewise.
23202         * elf/tst-audit2.c: Likewise.
23203         * elf/tst-global1.c: Likewise.
23204         * elf/tst-pathopt.c: Likewise.
23205         * elf/tst-piemod1.c: Likewise.
23206         * elf/tst-tls10.c: Likewise.
23207         * elf/tst-tls11.c: Likewise.
23208         * elf/tst-tls12.c: Likewise.
23209         * gnulib/tst-gcc.c: Likewise.
23210         * iconvdata/tst-e2big.c: Likewise.
23211         * iconvdata/tst-loading.c: Likewise.
23212         * iconv/tst-iconv1.c: Likewise.
23213         * iconv/tst-iconv2.c: Likewise.
23214         * inet/test-inet6_opt.c: Likewise.
23215         * inet/tst-gethnm.c: Likewise.
23216         * inet/tst-network.c: Likewise.
23217         * inet/tst-ntoa.c: Likewise.
23218         * intl/tst-codeset.c: Likewise.
23219         * intl/tst-gettext2.c: Likewise.
23220         * intl/tst-gettext3.c: Likewise.
23221         * intl/tst-ngettext.c: Likewise.
23222         * intl/tst-translit.c: Likewise.
23223         * io/test-stat.c: Likewise.
23224         * libio/test-fmemopen.c: Likewise.
23225         * libio/tst-freopen.c: Likewise.
23226         * libio/tst-sscanf.c: Likewise.
23227         * libio/tst-ungetwc1.c: Likewise.
23228         * libio/tst-ungetwc2.c: Likewise.
23229         * libio/tst-widetext.c: Likewise.
23230         * localedata/tst-ctype.c: Likewise.
23231         * localedata/tst-digits.c: Likewise.
23232         * localedata/tst-leaks.c: Likewise.
23233         * localedata/tst-mbswcs1.c: Likewise.
23234         * localedata/tst-mbswcs2.c: Likewise.
23235         * localedata/tst-mbswcs3.c: Likewise.
23236         * localedata/tst-mbswcs4.c: Likewise.
23237         * localedata/tst-mbswcs5.c: Likewise.
23238         * localedata/tst-setlocale.c: Likewise.
23239         * localedata/tst-trans.c: Likewise.
23240         * localedata/tst-wctype.c: Likewise.
23241         * localedata/tst-xlocale1.c: Likewise.
23242         * login/tst-grantpt.c: Likewise.
23243         * malloc/tst-calloc.c: Likewise.
23244         * malloc/tst-malloc.c: Likewise.
23245         * malloc/tst-mallocstate.c: Likewise.
23246         * malloc/tst-mcheck.c: Likewise.
23247         * malloc/tst-mtrace.c: Likewise.
23248         * malloc/tst-obstack.c: Likewise.
23249         * math/atest-exp2.c: Likewise.
23250         * math/atest-exp.c: Likewise.
23251         * math/atest-sincos.c: Likewise.
23252         * math/test-matherr.c: Likewise.
23253         * math/test-misc.c: Likewise.
23254         * math/test-powl.c: Likewise.
23255         * math/tst-definitions.c: Likewise.
23256         * misc/tst-dirname.c: Likewise.
23257         * misc/tst-efgcvt.c: Likewise.
23258         * misc/tst-fdset.c: Likewise.
23259         * misc/tst-hsearch.c: Likewise.
23260         * misc/tst-mntent2.c: Likewise.
23261         * nptl/tst-sem7.c: Likewise.
23262         * nptl/tst-sem8.c: Likewise.
23263         * nptl/tst-sem9.c: Likewise.
23264         * nss/test-netdb.c: Likewise.
23265         * posix/tst-fnmatch.c: Likewise.
23266         * posix/tst-getlogin.c: Likewise.
23267         * posix/tst-gnuglob.c: Likewise.
23268         * posix/tst-mmap.c: Likewise.
23269         * pwd/tst-getpw.c: Likewise.
23270         * resolv/tst-inet_ntop.c: Likewise.
23271         * rt/tst-timer.c: Likewise.
23272         * stdio-common/test-fseek.c: Likewise.
23273         * stdio-common/test-popen.c: Likewise.
23274         * stdio-common/test-vfprintf.c: Likewise.
23275         * stdio-common/tst-cookie.c: Likewise.
23276         * stdio-common/tst-fileno.c: Likewise.
23277         * stdio-common/tst-gets.c: Likewise.
23278         * stdio-common/tst-obprintf.c: Likewise.
23279         * stdio-common/tst-perror.c: Likewise.
23280         * stdio-common/tst-sprintf2.c: Likewise.
23281         * stdio-common/tst-sprintf3.c: Likewise.
23282         * stdio-common/tst-sprintf.c: Likewise.
23283         * stdio-common/tst-swprintf.c: Likewise.
23284         * stdio-common/tst-tmpnam.c: Likewise.
23285         * stdio-common/tst-unbputc.c: Likewise.
23286         * stdio-common/tst-wc-printf.c: Likewise.
23287         * stdlib/tst-environ.c: Likewise.
23288         * stdlib/tst-fmtmsg.c: Likewise.
23289         * stdlib/tst-limits.c: Likewise.
23290         * stdlib/tst-rand48-2.c: Likewise.
23291         * stdlib/tst-rand48.c: Likewise.
23292         * stdlib/tst-random2.c: Likewise.
23293         * stdlib/tst-random.c: Likewise.
23294         * stdlib/tst-strtol.c: Likewise.
23295         * stdlib/tst-strtoll.c: Likewise.
23296         * stdlib/tst-tls-atexit.c: Likewise.
23297         * stdlib/tst-xpg-basename.c: Likewise.
23298         * string/test-ffs.c: Likewise.
23299         * string/tst-bswap.c: Likewise.
23300         * string/tst-inlcall.c: Likewise.
23301         * string/tst-strtok.c: Likewise.
23302         * string/tst-strxfrm.c: Likewise.
23303         * sysdeps/x86_64/tst-audit10.c: Likewise.
23304         * sysdeps/x86_64/tst-audit3.c: Likewise.
23305         * sysdeps/x86_64/tst-audit4.c: Likewise.
23306         * sysdeps/x86_64/tst-audit5.c: Likewise.
23307         * time/tst-ftime_l.c: Likewise.
23308         * time/tst-getdate.c: Likewise.
23309         * time/tst-mktime3.c: Likewise.
23310         * time/tst-mktime.c: Likewise.
23311         * time/tst-posixtz.c: Likewise.
23312         * time/tst-strptime2.c: Likewise.
23313         * time/tst-strptime3.c: Likewise.
23314         * wcsmbs/tst-btowc.c: Likewise.
23315         * wcsmbs/tst-mbrtowc.c: Likewise.
23316         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23317         * wcsmbs/tst-wchar-h.c: Likewise.
23318         * wcsmbs/tst-wcpncpy.c: Likewise.
23319         * wcsmbs/tst-wcrtomb.c: Likewise.
23320         * wcsmbs/tst-wcsnlen.c: Likewise.
23321         * wcsmbs/tst-wcstof.c: Likewise.
23323 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23325         [BZ #14132]
23326         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23327         INTDEF.
23328         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23329         declaration.
23330         (_dl_mcount): Use rtld_hidden_proto.
23331         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23332         _dl_mcount.
23333         * elf/rtld.c (_rtld_global_ro): Likewise.
23335         [BZ #14132]
23336         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23337         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23338         of _dl_init_internal.
23339         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23340         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23341         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23342         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23343         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23344         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23345         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23346         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23347         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23348         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23349         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23350         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23351         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23352         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23353         * sysdeps/tile/dl-start.S (_start): Likewise.
23354         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23355         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23357         [BZ #14132]
23358         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23359         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23360         (rtld_progname): Make macro definition unconditional.
23361         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23362         INTDEF.
23363         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23364         (dl_main): Likewise.
23365         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23366         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23367         instead of _dl_argv_internal.
23368         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23369         __GI__dl_argv instead of INTUSE(_dl_argv).
23370         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23371         __GI__dl_argv instead of _dl_argv_internal.
23373         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23374         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23375         macro.
23376         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23377         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23378         New macro.
23379         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23380         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23381         macro.
23382         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23383         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23385 2014-11-04  Andreas Schwab  <schwab@suse.de>
23387         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23389 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23391         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23392         mtvsrd instruction in binary form.
23394 2014-11-03  Andreas Schwab  <schwab@suse.de>
23396         [BZ #17522]
23397         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23398         for less than MB_LEN_MAX use a local buffer of that size.
23399         * libio/tst-fputws.c: New file.
23400         * libio/Makefile (tests): Add tst-fputws.
23402 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23404         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23405         the size of the fpu_fr.fpu_dregs[] array.
23407 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23409         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23410         (__nanosleep): Do not define as alias.
23411         (nanosleep): Define as alias of __nanosleep.
23412         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23413         __libc_nanosleep name.
23415 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23417         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23418         install.texi in comment.
23420 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23422         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23423         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23424         ... add here and use lwsync or sync ...
23425         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23426         ... and add here using lwsync.
23428 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23430         * elf/dl-machine-reject-phdr.h: New file.
23431         * elf/dl-load.c: #include that.
23432         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23433         if that returned true.
23435 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23437         [BZ #17496]
23438         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23439         gen-as-const-headers chunk.  Add a big scare comment after the last
23440         safe place to touch before-compile.
23442 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23444         * manual/install.texi (Tools for Compilation): Update autoconf
23445         version requirements.
23446         * INSTALL: Regenerated.
23448         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23449         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23450         (__libc_pselect): Likewise.
23452         [BZ #14138]
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23458 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23460         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23461         correct barrier instruction.
23462         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23463         Likewise.
23464         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23465         Likewise.
23467 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23469         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23470         after defining inlines.  Instead, just use parens to defeat macro
23471         expansion of __isctype in its declaration.
23473 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23475         * include/sys/uio.h (__libc_readv): Remove declaration.
23476         (__libc_writev): Likewise.
23477         * misc/readv.c (__libc_readv): Rename to __readv.
23478         (__readv): Do not define as alias.
23479         (readv): Define as alias of __readv.
23480         * misc/writev.c (__libc_writev): Rename to __writev.
23481         (__writev): Do not define as alias.
23482         (writev): Define as alias of __writev.
23483         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23484         (__readv): Do not define as alias.
23485         (readv): Define unconditionally as alias of __readv.
23486         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23487         (__writev): Do not define as alias.
23488         (writev): Define unconditionally as alias of __writev.
23489         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23490         name.
23491         (writev): Do not define __libc_writev name.
23493 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23495         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23496         (convert_charseq): New function, broken out of ...
23497         (use_from_charmap): ... here.  Call it.
23498         (use_to_charmap): Use convert_charseq and free instead of duplicating
23499         its code with a variable-length stack struct.
23501 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23503         * include/fcntl.h (__libc_creat): Remove declaration.
23504         * io/creat.c (__libc_creat): Rename to creat.
23505         (creat): Do not define as alias.
23506         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23507         of creat instead of __libc_creat.
23508         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23509         to creat.
23510         (creat): Do not define as alias.
23511         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23512         __libc_creat.
23513         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23514         __libc_creat name.
23515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23516         Likewise.
23518 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23520         * manual/llio.texi: Add comments discussing why write() may be
23521         considered MT-unsafe on Linux.
23523 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23525         * dl-load.c (local_strdup): Remove.
23526         (expand_dynamic_string_token): Use __strdup.
23527         (decompose_rpath): Likewise.
23528         (_dl_map_object): Likewise.
23530 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23532         [BZ #14132]
23533         * sysdeps/generic/unwind-dw2-fde.c
23534         (__register_frame_info_bases_internal): Do not declare.
23535         (__register_frame_info_table_bases_internal): Likewise.
23536         (__deregister_frame_info_bases_internal): Likewise.
23537         (__register_frame_info_bases): Declare and use hidden_proto before
23538         definition.  Use hidden_def instead of INTDEF.
23539         (__register_frame_info_table_bases): Likewise.
23540         (__deregister_frame_info_bases): Likewise.
23541         (__register_frame_info): Do not use INTUSE.
23542         (__register_frame): Likewise.
23543         (__register_frame_info_table): Likewise.
23544         (__register_frame_table): Likewise.
23545         (__deregister_frame_info): Likewise.
23546         (__deregister_frame): Likewise.
23548 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23550         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23551         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23552         not undefine.
23553         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23554         Likewise.
23555         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23556         Likewise.
23558 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23560         [BZ #14138]
23561         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23562         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23563         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23564         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23565         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23566         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23567         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23568         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23569         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23570         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23571         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23572         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23573         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23574         syscall.
23575         (setfsuid): Likewise.
23576         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23577         (setfsuid): Likewise.
23578         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23579         (setfsuid): Likewise.
23580         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23581         Likewise.
23582         (setfsuid): Likewise.
23583         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23584         (setfsuid): Likewise.
23585         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23586         Likewise.
23587         (setfsuid): Likewise.
23589 2014-10-27  Andreas Schwab  <schwab@suse.de>
23591         [BZ #17501]
23592         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23593         check for Slow_SSE4_2 feature bit.
23594         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23595         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23596         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23597         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23599 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23601         * configure.ac: Validate compiler version with a empirical test of
23602         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23603         $CC -v output.
23604         * configure: Regenerated.
23606         * inet/htons.c (htons): Prototypify.
23607         * inet/htonl.c (htonl): Likewise.
23609 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23611         * string/strncat.c (strncat): Improve performance by using strlen.
23613 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23615         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23617 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23619         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23620         Call libc_fetestexcept_aarch64.
23622 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23624         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23625         Call libc_feholdexcept_aarch64.
23627 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23629         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23630         Call get_rounding_mode.
23632 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23634         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23635         Simplify logic.
23637 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23639         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23640         Simplify logic.
23642 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23644         [BZ #14138]
23645         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23646         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23647         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23648         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23649         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23650         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23651         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23652         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23653         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23654         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23655         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23656         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23657         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23658         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23659         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23660         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23661         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23662         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23663         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23664         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23665         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23666         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23667         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23668         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23669         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23670         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23671         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23672         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23673         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23674         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23675         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23676         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23677         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23678         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23679         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23680         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23681         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23682         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23683         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23684         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23685         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23686         syscall.
23687         (geteuid): Likewise.
23688         (getgid): Likewise.
23689         (getuid): Likewise.
23690         (getresgid): Likewise.
23691         (getresuid): Likewise.
23692         (getgroups): Likewise.
23693         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23694         (geteuid): Likewise.
23695         (getgid): Likewise.
23696         (getuid): Likewise.
23697         (getresgid): Likewise.
23698         (getresuid): Likewise.
23699         (getgroups): Likewise.
23700         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23701         (geteuid): Likewise.
23702         (getgid): Likewise.
23703         (getuid): Likewise.
23704         (getresgid): Likewise.
23705         (getresuid): Likewise.
23706         (getgroups): Likewise.
23707         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23708         Likewise.
23709         (geteuid): Likewise.
23710         (getgid): Likewise.
23711         (getuid): Likewise.
23712         (getresgid): Likewise.
23713         (getresuid): Likewise.
23714         (getgroups): Likewise.
23715         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23716         (geteuid): Likewise.
23717         (getgid): Likewise.
23718         (getuid): Likewise.
23719         (getresgid): Likewise.
23720         (getresuid): Likewise.
23721         (getgroups): Likewise.
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23723         Likewise.
23724         (geteuid): Likewise.
23725         (getgid): Likewise.
23726         (getuid): Likewise.
23727         (getgroups): Likewise.
23729         [BZ #14138]
23730         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23731         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23732         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23733         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23734         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23735         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23736         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23737         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23738         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23739         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23740         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23741         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23742         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23743         __chown.
23744         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23745         (lchown): Likewise.
23746         (fchown): Likewise.
23747         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23748         Likewise.
23749         (lchown): Likewise.
23750         (fchown): Likewise.
23751         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23752         (lchown): Likewise.
23753         (fchown): Likewise.
23754         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23755         Likewise.
23756         (lchown): Likewise.
23757         (fchown): Likewise.
23759 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23761         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23762         Simplify logic.
23764 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23766         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23767         Cleanup logic.
23769 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23771         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23772         Remove unused include.
23774 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23776         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23777         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23778         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23779         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23781 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23782             Helge Deller <deller@gmx.de>
23784         [BZ #17508]
23785         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23786         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23787         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23789 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23791         [BZ #14132]
23792         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23793         Remove macro definition.
23794         (__ashrdi3_v_glibc20): Likewise.
23795         (__lshrdi3_v_glibc20): Likewise.
23796         (__cmpdi2_v_glibc20): Likewise.
23797         (__ucmpdi2_v_glibc20): Likewise.
23798         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23799         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23800         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23801         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23802         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23803         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23805 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23807         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23808         old GNU extension [0] syntax.
23809         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23810         alloca rather than an array member with variable length.
23811         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23812         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23813         (parse_opt): ... here.  Likewise use alloca there.
23814         Validate the -i argument before checking for rootness.
23815         (send_shutdown): New function, broken out of ...
23816         (parse_opt): ... here.
23818 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23820         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23821         macro to get at the _rt_local_ro field.
23822         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23823         ([PIC] case) or _dl_hwcap ([!PIC] case).
23824         * sysdeps/arm/setjmp.S: Likewise.
23826         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23827         * sysdeps/arm/configure.ac: New check to define it.
23828         * sysdeps/arm/configure: Regenerated.
23829         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23830         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23831         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23832         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23833         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23834         Use move/movt pair instead of a load.
23835         (LDST_GLOBAL): Macro removed.
23836         (LDR_GLOBAL): New macro replaces it.
23837         (LDR_HIDDEN): New macro.
23838         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23839         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23841         * setjmp/tst-setjmp-static.c: New file.
23842         * setjmp/Makefile (tests): Add it.
23843         (tests-static): New variable.
23845 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23847         [BZ #17485]
23848         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23850 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23852         [BZ #14132]
23853         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23855 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23857         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23859 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23861         * io/fts.c (dirent_not_directory): New function.
23862         (fts_build): Call it.
23864 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23866         * nptl/version.c (__nptl_main): Use normal __write rather than
23867         INTERNAL_SYSCALL.
23868         (banner): Update copyright years.
23870         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23871         gettimeofday.
23872         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23873         * nptl/pthread_cond_timedwait.c: Likewise.
23874         * nptl/pthread_mutex_timedlock.c: Likewise.
23875         * nptl/sem_timedwait.c: Likewise.
23877         * sysdeps/nptl/bits/libc-lock.h
23878         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23879         (__libc_lock_init_recursive): Return void, not 0.
23880         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23881         (__libc_rwlock_init): Likewise.
23882         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23884 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23886         [BZ #15215]
23887         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23888         (__pthread_once_slow): ... here.
23889         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23890         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23892 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23894         [BZ #15215]
23895         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23896         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23897         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23898         * nptl/pthread_once.c (__pthread_once): Likewise.
23899         Update comments.
23901 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23903         [BZ #14138]
23904         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23905         name.
23906         (writev): Use __libc_writev as strong name.
23907         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23908         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23910 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23912         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23914         * sysdeps/i386/nptl/tls.h
23915         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23916         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23917         New macros.
23918         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23919         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23920         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23921         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23922         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23923         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23925         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23926         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23927         on [__NR_futex].
23928         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23929         broken out of ...
23930         (__pthread_mutex_init): ... here.  Call it.
23931         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23932         Conditionalize PI cases on [__NR_futex].
23933         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23934         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23935         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23937         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23938         conditional on [SIGSETXID].
23939         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23940         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23941         is defined.  Likewise for SIGSETXID.
23942         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23943         Conditionalize definitions on [SIGSETXID].
23944         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23945         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23946         unblocking on [SIGCANCEL].
23948         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23949         [__NR_set_robust_list].
23951 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23953         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23954         (do_compare): Likewise.
23956 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23958         [BZ #15884]
23959         * string/strcoll_l.c: Don't include stdio.h.
23960         (coll_seq): Remove members idxarr and rulearr.
23961         (get_next_seq_cached): Remove function.
23962         (get_next_seq): Likewise.
23963         (get_next_seq_nocache): Rename to get_next_seq.
23964         (do_compare): Remove function.
23965         (do_compare_nocache): Rename to do_compare.
23966         (STRCOLL): Remove weight and rules cache.
23968 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23970         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23971         * sysdeps/arm/sfp-machine.h: ... to here.
23972         * sysdeps/arm/Implies: Remove arm/soft-fp.
23974 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23976         * conform/data/sys/utsname.h-data (*_t): Allow.
23977         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23978         [POSIX] (WEXITED): Do not expect constant.
23979         [POSIX] (WSTOPPED): Likewise.
23980         [POSIX] (WNOHANG): Likewise.
23981         [POSIX] (WNOWAIT): Likewise.
23982         [POSIX] (siginfo_t): Do not expect type or elements.
23983         [POSIX] (pid_t): Do not expect type.
23984         [POSIX] (signal.h): Do not allow header.
23985         [POSIX] (sys/resource.h): Likewise.
23986         [POSIX] (si_*): Do not allow pattern.
23987         [POSIX] (W*): Likewise.
23988         [POSIX] (P_*): Likewise.
23989         [POSIX] (BUS_*): Likewise.
23990         [POSIX] (CLD_*): Likewise.
23991         [POSIX] (FPE_*): Likewise.
23992         [POSIX] (ILL_*): Likewise.
23993         [POSIX] (POLL_*): Likewise.
23994         [POSIX] (SEGV_*): Likewise.
23995         [POSIX] (SI_*): Likewise.
23996         [POSIX] (TRAP_*): Likewise.
23997         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23998         variable.
24000 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24002         [BZ #12926]
24003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24004         infinite loop when __recvmsg returns 0.
24006 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24008         * CANCEL-FCT-WAIVE: Remove file.
24009         * CANCEL-FILE-WAIVE: Likewise.
24011         [BZ #14132]
24012         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24013         instead of INTVARDEF.
24014         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24015         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24016         rtld_hidden_data_def instead of INTVARDEF.
24017         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24018         * elf/dl-deps.c (expand_dst): Likewise.
24019         * elf/dl-load.c (_dl_dst_count): Likewise.
24020         (_dl_dst_substitute): Likewise.
24021         (decompose_rpath): Likewise.
24022         (_dl_init_paths): Likewise.
24023         (open_path): Likewise.
24024         (_dl_map_object): Likewise.
24025         * elf/rtld.c (dl_main): Likewise.
24026         (process_dl_audit): Likewise.
24027         (process_envvars): Likewise.
24028         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24029         Remove declaration.
24030         (__libc_enable_secure): Use rtld_hidden_proto.
24032 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24034         * elf/dl-load.c
24035         (add_path): New function broken out of _dl_rtld_di_serinfo.
24036         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24038 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24040         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24041         parentheses around macro arguments.
24042         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24043         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24044         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24045         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24046         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24047         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24048         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24049         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24050         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24051         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24052         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24053         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24054         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24055         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24056         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24057         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24058         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24059         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24060         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24061         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24062         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24063         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24064         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24065         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24067         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24068         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24070         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24071         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24072         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24073         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24074         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24075         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24076         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24077         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24078         Likewise.
24079         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24080         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24081         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24082         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24085         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24086         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24087         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24088         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24089         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24090         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24091         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24092         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24093         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24094         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24095         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24096         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24097         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24098         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24099         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24100         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24101         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24102         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24103         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24104         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24105         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24106         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24107         (_FP_FRAC_SRS_1): Likewise.
24108         (_FP_FRAC_CLZ_1): Likewise.
24109         (_FP_MUL_MEAT_1_imm): Likewise.
24110         (_FP_MUL_MEAT_1_wide): Likewise.
24111         (_FP_MUL_MEAT_1_hard): Likewise.
24112         (_FP_SQRT_MEAT_1): Likewise.
24113         (_FP_FRAC_ASSEMBLE_1): Likewise.
24114         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24115         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24116         (__FP_CLZ_2): Likewise.
24117         (_FP_MUL_MEAT_2_wide): Likewise.
24118         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24119         (_FP_MUL_MEAT_2_gmp): Likewise.
24120         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24121         (_FP_SQRT_MEAT_2): Likewise.
24122         (_FP_FRAC_ASSEMBLE_2): Likewise.
24123         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24124         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24125         (_FP_FRAC_CLZ_4): Likewise.
24126         (_FP_MUL_MEAT_4_wide): Likewise.
24127         (_FP_MUL_MEAT_4_gmp): Likewise.
24128         (_FP_SQRT_MEAT_4): Likewise.
24129         (_FP_FRAC_ASSEMBLE_4): Likewise.
24130         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24131         * soft-fp/op-common.h (_FP_CMP): Likewise.
24132         (_FP_CMP_EQ): Likewise.
24133         (_FP_CMP_UNORD): Likewise.
24134         (_FP_TO_INT): Likewise.
24135         (_FP_FROM_INT): Likewise.
24136         [!__FP_CLZ] (__FP_CLZ): Likewise.
24137         (_FP_DIV_HELP_imm): Likewise.
24138         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24139         Likewise.
24140         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24143         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24144         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24145         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24146         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24147         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24148         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24150         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24151         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24152         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24153         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24154         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24155         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24156         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24157         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24158         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24159         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24161         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24162         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24165         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24169         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24170         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24171         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24172         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24173         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24174         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24175         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24176         (FP_UNPACK_RAW_SP): Likewise.
24177         (FP_PACK_RAW_S): Likewise.
24178         (FP_PACK_RAW_SP): Likewise.
24179         (FP_UNPACK_S): Likewise.
24180         (FP_UNPACK_SP): Likewise.
24181         (FP_UNPACK_SEMIRAW_S): Likewise.
24182         (FP_UNPACK_SEMIRAW_SP): Likewise.
24183         (FP_PACK_S): Likewise.
24184         (FP_PACK_SP): Likewise.
24185         (FP_PACK_SEMIRAW_S): Likewise.
24186         (FP_PACK_SEMIRAW_SP): Likewise.
24187         (_FP_SQRT_MEAT_S): Likewise.
24188         (FP_CMP_S): Likewise.
24189         (FP_CMP_EQ_S): Likewise.
24190         (FP_CMP_UNORD_S): Likewise.
24191         (FP_TO_INT_S): Likewise.
24192         (FP_FROM_INT_S): Likewise.
24194         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24196         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24197         (FP_EX_INVALID_IMZ): Likewise.
24198         (FP_EX_INVALID_IMZ_FMA): Likewise.
24199         (FP_EX_INVALID_ISI): Likewise.
24200         (FP_EX_INVALID_ZDZ): Likewise.
24201         (FP_EX_INVALID_IDI): Likewise.
24202         (FP_EX_INVALID_SQRT): Likewise.
24203         (FP_EX_INVALID_CVI): Likewise.
24204         (FP_EX_INVALID_VC): Likewise.
24205         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24206         "invalid" exceptions.
24207         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24208         (_FP_ADD_INTERNAL): Likewise.
24209         (_FP_MUL): Likewise.
24210         (_FP_FMA): Likewise.
24211         (_FP_DIV): Likewise.
24212         (_FP_CMP_CHECK_NAN): Likewise.
24213         (_FP_SQRT): Likewise.
24214         (_FP_TO_INT): Likewise.
24215         (FP_EXTEND): Likewise.
24217 2014-10-09  Allan McRae  <allan@archlinux.org>
24219         * po/fr.po: Update French translation from translation project.
24221 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24223         [BZ #14132]
24224         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24225         of INTDEF.
24226         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24227         (__cxa_atexit): Use libc_hidden_proto.
24228         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24230         [BZ #14132]
24231         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24232         declaration.
24233         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24234         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24235         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24236         [!_ISOMAC] (__iswctype_internal): Likewise.
24237         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24238         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24239         alias.
24240         (fcntl): Remove __fcntl_internal alias.
24241         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24242         __connect_internal alias.
24243         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24244         Likewise.
24246         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24247         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24248         FP_DENORM_ZERO.
24249         (_FP_CHECK_FLUSH_ZERO): New macro.
24250         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24251         (_FP_CMP): Likewise.
24252         (_FP_CMP_EQ): Likewise.
24253         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24254         FP_DENORM_ZERO.
24255         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24256         (FP_TRUNC): Likewise.
24258         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24259         treated as invalid conversion, not as normal exponent.
24261         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24262         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24263         (_FP_CMP_EQ): Likewise.
24264         (_FP_CMP_UNORD): Likewise.
24265         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24266         (FP_CMP_EQ_D): Likewise.
24267         (FP_CMP_UNORD_D): Likewise.
24268         * soft-fp/extended.h (FP_CMP_E): Likewise.
24269         (FP_CMP_EQ_E): Likewise.
24270         (FP_CMP_UNORD_E): Likewise.
24271         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24272         (FP_CMP_EQ_Q): Likewise.
24273         (FP_CMP_UNORD_Q): Likewise.
24274         * soft-fp/single.h (FP_CMP_S): Likewise.
24275         (FP_CMP_EQ_S): Likewise.
24276         (FP_CMP_UNORD_S): Likewise.
24277         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24278         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24279         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24280         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24281         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24282         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24283         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24284         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24285         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24286         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24287         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24288         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24289         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24290         to FP_CMP_Q.
24291         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24292         FP_CMP_Q.
24293         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24294         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24295         FP_CMP_EQ_Q.
24296         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24297         FP_CMP_Q.
24298         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24299         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24300         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24301         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24302         FP_CMP_EQ_Q.
24303         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24304         FP_CMP_Q.
24305         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24306         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24307         FP_CMP_EQ_Q.
24308         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24309         FP_CMP_Q.
24310         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24311         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24312         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24313         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24314         FP_CMP_EQ_Q.
24316         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24317         a subnormal result, set the underflow exception if trapping on
24318         underflow is enabled.
24319         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24320         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24321         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24322         redefine to 0.
24323         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24324         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24325         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24326         * soft-fp/extendxftf2.c (__extendxftf2): Use
24327         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24329         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24330         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24331         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24332         FP_HANDLE_EXCEPTIONS.
24333         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24334         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24335         FP_HANDLE_EXCEPTIONS.
24336         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24337         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24338         FP_HANDLE_EXCEPTIONS.
24339         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24340         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24341         FP_HANDLE_EXCEPTIONS.
24343 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24345         [BZ #14132]
24346         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24347         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24348         use INTUSE.
24349         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24350         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24351         Remove alias.
24352         (__adjtimex): Define using libc_hidden_ver.
24353         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24354         Remove declaration.
24355         (ntp_gettime): Call __adjtimex directly.
24356         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24357         Remove declaration.
24358         (ntp_gettimex): Call __adjtimex directly.
24359         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24360         __adjtimex_internal alias.
24362 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24364         [BZ #17460]
24365         * nscd/nscd.c (more_help): Rewrite list of tables collection
24366         using xstrdup and asprintf.
24368         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24370 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24371             Roland McGrath  <roland@hack.frob.com>
24373         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24374         (do_lookup_unique): ... local function 'enter' here; update callers.
24376 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24378         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24379         compat_symbol calls on [SHARED].
24380         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24381         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24382         Remove.
24383         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24384         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24385         (oldsetrlimit): Remove.
24386         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24388         (lchown): New syscall entry.
24389         (oldsetrlimit): Remove.
24390         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24391         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24392         (oldsetrlimit): Remove.
24393         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24395         [BZ #14138]
24396         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24397         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24398         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24399         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24400         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24401         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24402         (fchown): Likewise.
24403         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24404         (fchown): Likewise.
24405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24406         Likewise.
24408 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24410         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24411         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24412         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24413         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24414         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24415         Likewise.
24416         (__old_sem_post): Likewise.
24418 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24420         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24421         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24422         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24423         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24424         Use INLINE_VSYSCALL macro.
24425         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24426         __vdso_clock_gettime.
24427         * sysdeps/unix/sysv/linux/tile/init-first.c
24428         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24429         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24430         __vdso_clock_gettime.
24432         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24433         to set up frame more cleanly.
24435         * sysdeps/tile/memcmp.c: New file.
24437         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24439         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24440         * sysdeps/tile/tilegx/strcasestr.c: New file.
24441         * sysdeps/tile/tilegx/strnlen.c: New file.
24442         * sysdeps/tile/tilegx/strstr.c: New file.
24444         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24446 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24448         * nptl/tst-setuid3.c: Write errors to stdout.
24450 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24452         * elf/dl-deps.c
24453         (preload): New functions broken out of _dl_map_object_deps.
24454         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24456 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24458         [BZ #14138]
24459         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24460         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24462 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24464         * sysdeps/mips/strcmp.S: New.
24466 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24468         [BZ #14138]
24469         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24470         (linkat): Likewise.
24471         (mkdirat): Likewise.
24472         (readlinkat): Likewise.
24473         (renameat): Likewise.
24474         (symlinkat): Likewise.
24475         (unlinkat): Likewise.
24476         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24477         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24478         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24479         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24480         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24481         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24482         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24484 2014-09-30  Will Newton  <will.newton@linaro.org>
24486         * math/math.h: Define long double math functions if
24487         _LIBC_TEST is defined.
24488         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24490         * localedata/Makefile: Move assignment to tests-special
24491         into an ifdef testing run-built-tests.
24492         * timezone/Makefile: Likewise.
24494 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24496         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24497         with $(BASH) not $(SHELL).
24499 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24500             Matthew LeGendre  <legendre1@llnl.gov>
24502         [BZ #17411]
24503         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24504         l_reloc_result.
24506 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24508         * stdio-common/printf_fp.c
24509         (hack_digit): New function, broken out of ...
24510         (__printf_fp): ... local function here.  Update call sites.
24511         hack_digit now takes an additional parameter that is a pointer
24512         to a struct of the referenced locals.  Those locals moved inside
24513         the struct and references updated.
24515 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24517         * aclocal.m4: Require autoconf 2.69.
24518         * configure: Regenerated.
24519         * sysdeps/aarch64/configure: Likewise.
24520         * sysdeps/alpha/configure: Likewise.
24521         * sysdeps/arm/armv7/configure: Likewise.
24522         * sysdeps/arm/configure: Likewise.
24523         * sysdeps/ia64/configure: Likewise.
24524         * sysdeps/mach/configure: Likewise.
24525         * sysdeps/mips/configure: Likewise.
24526         * sysdeps/s390/configure: Likewise.
24527         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24530         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24531         file.
24532         * sysdeps/ia64/configure.ac: Likewise.
24534 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24537         specify symbol version for ld.so.  Do not include entry for
24538         libpthread.
24539         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24540         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24541         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24543         [BZ #14171]
24544         * Makeconfig [$(build-shared) = yes]
24545         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24546         makefiles.
24547         [$(build-shared) = yes && $(soversions.mk-done) = t]
24548         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24549         [$(build-shared) = yes && $(soversions.mk-done) = t]
24550         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24551         to Makerules.
24552         [$(build-shared) = yes && $(soversions.mk-done) = t]
24553         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24554         here.
24555         [$(build-shared) = yes && $(soversions.mk-done) = t]
24556         (common-generated): Don't append gnu/lib-names.h and
24557         gnu/lib-names.stmp here.
24558         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24559         (lib-names-h-abi): New variable.
24560         [$(build-shared) = yes && $(soversions.mk-done) = t]
24561         (lib-names-stmp-abi): Likewise.
24562         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24563         abi-variants] (before-compile): Append
24564         $(common-objpfx)$(lib-names-h-abi).
24565         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24566         abi-variants] (common-generated): Append gnu/lib-names.h.
24567         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24568         abi-variants] (install-others-nosubdir): Depend on
24569         $(inst_includedir)/$(lib-names-h-abi).
24570         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24571         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24572         [$(build-shared) = yes && $(soversions.mk-done) = t]
24573         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24574         [$(build-shared) = yes && $(soversions.mk-done) = t]
24575         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24576         [$(build-shared) = yes && $(soversions.mk-done) = t]
24577         (common-generated): Append $(lib-names-h-abi) and
24578         $(lib-names-stmp-abi).
24579         * scripts/lib-names.awk: Do not handle multi being set.
24580         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24581         Remove variable.
24582         (abi-lp64_be-ld-soname): Likewise.
24583         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24584         Likewise.
24585         (abi-hard-ld-soname): Likewise.
24586         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24587         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24588         Remove variable.
24589         (abi-o32_hard-ld-soname): Likewise.
24590         (abi-o32_soft_2008-ld-soname): Likewise.
24591         (abi-o32_hard_2008-ld-soname): Likewise.
24592         (abi-n32_soft-ld-soname): Likewise.
24593         (abi-n32_hard-ld-soname): Likewise.
24594         (abi-n32_soft_2008-ld-soname): Likewise.
24595         (abi-n32_hard_2008-ld-soname): Likewise.
24596         (abi-n64_soft-ld-soname): Likewise.
24597         (abi-n64_hard-ld-soname): Likewise.
24598         (abi-n64_soft_2008-ld-soname): Likewise.
24599         (abi-n64_hard_2008-ld-soname): Likewise.
24600         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24601         Likewise.
24602         (abi-64-v2-ld-soname): Likewise.
24603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24604         ld.so entries.
24605         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24606         variable.
24607         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24608         entry.
24609         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24610         variable.
24611         (abi-64-ld-soname): Likewise.
24612         (abi-x32-ld-soname): Likewise.
24613         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24614         entry.
24615         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24617 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24619         [BZ #14138]
24620         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24621         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24622         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24623         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24624         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24625         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24626         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24627         syscall entry for GLIBC_2.2 symbol version.
24628         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24629         Likewise.
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24631         (setrlimit): Likewise.
24632         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24633         Likewise.
24635 2014-09-23  Will Newton  <will.newton@linaro.org>
24637         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24638         _LINUX_ARM_SYSDEP_H include guard too.
24639         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24640         define.
24642 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24644         * sysdeps/unix/sysv/linux/eventfd.c:
24645         Make first argument unsigned.
24646         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24647         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24649 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24651         [BZ #16852]
24652         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24653         * socket/sys/socket.h: Likewise.
24654         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24656 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24658         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24660 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24662         * time/tst-ftime.c: New test.
24663         * time/Makefile (tests): Add tst-ftime.
24665 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24667         * soft-fp/extended.h: Fix comment formatting.
24668         * soft-fp/op-1.h: Likewise.
24669         * soft-fp/op-2.h: Likewise.
24670         * soft-fp/op-4.h: Likewise.
24671         * soft-fp/op-8.h: Likewise.
24672         * soft-fp/op-common.h: Likewise.
24673         * soft-fp/soft-fp.h: Likewise.
24675         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24677 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #6652]
24680         * Makeconfig (soversions-default-setname): Remove variable.
24681         ($(common-objpfx)soversions.i): Don't pass default_setname to
24682         soversions.awk.
24683         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24684         oldest_abi to abi-versions.awk.
24685         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24686         * config.make.in (oldest-abi): Remove variable.
24687         * configure.ac (--enable-oldest-abi): Remove configure option.
24688         * configure: Regenerated.
24689         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24690         text.
24691         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24692         * scripts/soversions.awk: Do not handle default_setname variable.
24693         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24694         variable.
24695         * sysdeps/mach/hurd/configure: Regenerated.
24696         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24697         variable.
24698         * sysdeps/unix/sysv/linux/configure: Regenerated.
24700 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24702         * elf/Makefile (CFLAGS-interp.c): Remove.
24703         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24704         path string.
24705         * elf/interp.c: Include generated runtime-linker.h
24707         * Makerules (lib%.so): Don't include $(+interp) in
24708         prerequisites.
24709         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24710         * dlfcn/eval.c: Remove file.
24712         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24713         macros.
24715         [BZ #17266]
24716         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24717         4.2 and newer.
24719         [BZ #17370]
24720         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24722 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24723             Jakub Jelinek  <jakub@redhat.com>
24725         [BZ #17266]
24726         * libio/stdio.h: Check definition of __fortify_function
24727         instead of __extern_always_inline to include bits/stdio2.h.
24728         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24729         check if __extern_always_inline is defined.
24730         [__USE_MISC || __USE_XOPEN]: Likewise.
24731         [__USE_ISOC99] Likewise.
24732         * misc/sys/cdefs.h (__fortify_function): Define only if
24733         __extern_always_inline is defined.
24734         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24735         __extern_always_inline and __extern_inline only for g++-4.3
24736         and newer or a compatible gcc.
24738 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24740         [BZ #17371]
24741         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24742         last change to handle zero prefix length.
24744 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24746         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24747         _SC_REGEX_VERSION.
24749         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24750         _POSIX_RAW_SOCKETS.
24752 2014-09-13  Allan McRae  <allan@archlinux.org>
24754         * po/ru.po: Update Russian translation from translation project.
24756 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24758         * locale/programs/locale.c (show_locale_vars): Inline local function
24759         into its sole call site.  Clean up some style nits.
24760         (print_item): New function, broken out of ...
24761         (show_info): ... local function here.  Clean up style nits.
24763         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24764         out of ...
24765         (set_class_defaults): ... local function set_default here.
24766         Define set_default as a macro locally to pass constant parameters.
24767         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24768         rather than a shared local.
24770         * stdlib/rpmatch.c (try): New function, broken out of ...
24771         (rpmatch): ... local function here.  Also, prototypify definition.
24773 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24775         * scripts/soversions.awk: Do not handle configuration names.
24776         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24777         vendor and os variables to soversions.awk.
24778         * configure.ac: Do not modify gnu-* host_os.
24779         * configure: Regenerated
24780         * shlib-versions: Remove first column with configuration names.
24781         * nptl/shlib-versions: Likewise.
24782         * nptl_db/shlib-versions: Likewise.
24783         * sysdeps/hppa/shlib-versions: Likewise.
24784         * sysdeps/m68k/shlib-versions: Likewise.
24785         * sysdeps/mach/hurd/shlib-versions: Likewise.
24786         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24787         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24788         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24789         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24790         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24791         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24792         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24793         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24795         Likewise.
24796         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24797         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24798         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24799         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24800         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24801         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24802         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24803         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24806         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24808         Regenerated.
24809         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24811         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24813         * shlib-versions: Remove OS-specific entries.  Moved to files in
24814         sysdeps.
24815         * sysdeps/mach/hurd/shlib-versions: New file.
24816         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24818         * nptl/shlib-versions: Remove architecture-specific entries.
24819         Moved to files in sysdeps.
24820         * shlib-versions: Likewise.
24821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24822         file.
24823         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24824         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24825         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24826         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24828         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24829         (UDP_NO_CHECK6_RX): Likewise.
24831 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24833         * sysdeps/posix/sysconf.c (__sysconf): Spell
24834         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24836 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24838         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24839         loading.
24840         * iconv/Versions (__gconv_transliterate): Export for use from
24841         gconv modules.
24842         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24843         (struct __gconv_trans_data, __gconv_trans_fct,
24844         __gconv_trans_context_fct, __gconv_trans_query_fct,
24845         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24846         definitions.
24847         (struct __gconv_step_data): Remove __trans member.
24848         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24849         longer hidden.  Remove unused trans_data argument.
24850         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24851         (__gconv_translit_find): Remove declaration.
24852         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24853         prototype.
24854         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24855         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24856         trans_data argument.  Add hidden definition.
24857         (__gconv_translit_find): Remove.
24858         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24859         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24860         * iconv/skeleton.c: Remove transliteration initialization.
24861         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24862         __gconv_step_data initialization.
24863         * libio/iofwide.c (__libio_translit_): Remove.
24864         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24865         * wcsmbs/btowc.c (__btowc): Likewise.
24866         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24867         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24868         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24869         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24870         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24871         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24872         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24873         * wcsmbs/wctob.c (wctob): Likewise.
24875 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24877         [BZ #16194]
24878         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24879         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24880         register usage.
24881         * sysdeps/x86/Makefile: Adjust.
24883 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24884             Roland McGrath  <roland@hack.frob.com>
24886         * locale/weight.h: Add include guard.
24887         (findidx): Make static rather than auto; take new parameters
24888         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24889         * locale/weightwc.h: Likewise.
24890         * posix/fnmatch_loop.c
24891         (FCT): Change type of EXTRA from int32_t to wint_t.
24892         Don't include either header inside the function.
24893         Call FINDIDX rather than findidx, and pass new arguments.
24894         #undef FINDIDX at the end of the file.
24895         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24896         FINDIDX before including fnmatch_loop.c for the non-wide version.
24897         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24898         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24899         for the wide version.
24900         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24901         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24902         Pass new arguments to findidx.
24903         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24904         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24905         Don't #include it inside the function.  Pass new arguments to findidx.
24906         * posix/regex_internal.h
24907         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24908         (re_string_elem_size_at): Don't #include it inside the function.
24909         Pass new arguments to findidx.
24910         * string/strcoll_l.c: #include WEIGHT_H at top level.
24911         (get_next_seq): Don't #include it inside the function.
24912         Pass new arguments to findidx.
24913         (get_next_seq_nocache): Likewise.
24914         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24915         (STRXFRM): Don't #include it inside the function.
24916         Pass new arguments to findidx.
24918 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24920         [BZ #17344]
24921         * malloc/malloc.c (unlink): Turn asserts into a call to
24922         malloc_printerr.
24924 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24926         [BZ #17370]
24927         * libio/wfileops (do_ftell_wide): Free OUT.
24929 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24931         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24933 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24935         [BZ #17363]
24936         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24937         group if the current group is empty.
24939 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24941         * benchtests/bench-memset.c (test_main): Add more test from size
24942         from 32 to 512 bytes.
24943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24944         Add POWER8 memset object.
24945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24946         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24947         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24948         implementation.
24949         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24950         Likewise.
24951         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24952         multiarch POWER8 memset optimization.
24953         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24954         POWER8 memset optimization.
24956         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24957         Remove bzero multiarch objects.
24958         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24959         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24960         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24961         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24962         Remove define.
24963         [__bzero]: Redefine to specific name.
24964         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24965         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24966         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24967         define.
24968         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24969         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24971 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24973         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24974         warnings into errors.
24976         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24977         __cxa_thread_atexit_impl prototype.
24979 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24981         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24982         Fix capitalization of error message.
24984 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24986         * sysdeps/mips/preconfigure: Modify ABI tests.
24988 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24990         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24992 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24993             Carlos O'Donell  <carlos@systemhalted.org>
24995         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24996         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24997         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24998         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24999         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25000         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25001         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25002         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25003         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25004         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25005         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25006         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25007         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25008         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25009         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25010         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25011         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25012         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25013         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25014         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25015         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25016         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25017         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25018         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25019         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25020         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25021         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25022         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25023         Deconditionalize the code that was previously under [RESET_PID].
25024         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25025         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25026         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25027         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25028         include sysdep.h.
25030 2014-09-08  Allan McRae  <allan@archlinux.org>
25032         * version.h (RELEASE): Set to "development".
25033         (VERSION): Set to "2.20.90"
25035 2014-09-07  Allan McRae  <allan@archlinux.org
25037         * version.h (RELEASE): Set to "stable".
25038         (VERSION): Set to "2.20"
25039         * include/features.h (__GLIBC_MINOR__): Set to 20.
25041         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25042         Liebler.
25044         * po/ko.po: Update Korean translation from translation project.
25046 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25048         [BZ #17354]
25049         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25050         macro for handling signed relocations.
25052 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25054         [BZ #17325]
25055         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25056         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25057         assert.
25058         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25059         * iconvdata/ibm935.c (BODY): Likewise.
25060         * iconvdata/ibm937.c (BODY): Likewise.
25061         * iconvdata/ibm939.c (BODY): Likewise.
25062         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25063         assert.
25064         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25065         script.
25066         * iconvdata/run-iconv-test.sh: New test loop for checking for
25067         decoder crashers.
25069 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25071         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25072         libm_hidden_ver.
25074 2014-09-01  Allan McRae  <allan@archlinux.org>
25076         * po/eo.po: Update Esperanto translation from translation project.
25078         * po/ca.po: Update Catalan translation from translation project.
25080 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25082         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25083         __proc_dostop call.
25085 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25087         [BZ #17319]
25088         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25089         to call set_thread_area instead of hand written asm.
25090         (__NR_set_thread_area): Removed define.
25091         (TLS_FLAG_WRITABLE): Likewise.
25092         (__ASSUME_SET_THREAD_AREA): Remove check.
25093         (TLS_EBX_ARG): Remove define.
25094         (TLS_LOAD_EBX): Likewise.
25096 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25098         Simplify atomicity of socket creation in bind.
25100         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25101         looking up the name after linking the file.
25103 2014-08-27  Allan McRae  <allan@archlinux.org>
25105         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25107 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25109         [BZ #17187]
25110         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25111         trans_compare, open_translit, __gconv_translit_find):
25112         Remove module loading code.
25114 2014-08-26  Allan McRae  <allan@archlinux.org>
25116         * po/vi.po: Update Vietnamese translation from translation project.
25118         * po/uk.po: Update Ukrainian translation from translation project.
25120         * po/fr.po: Update French translation from translation project.
25122         * po/ru.po: Update Russian translation from translation project.
25124         * po/pl.po: Update Polish translation from translation project.
25126         * po/cs.po: Update Czech translation from translation project.
25128         * po/de.po: Update German translation from translation project.
25130         * po/bg.po: Update Bulgarian translation from translation project.
25132         * po/sv.po: Update Sweedish translation from translation project.
25134         * po/nl.po: Update Dutch translation from translation project.
25136         * po/es.po: Update Spanish translation from translation project.
25138 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25140         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25142         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25143         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25144         (CPPFLAGS-iconvconfig): Likewise.
25145         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25147         * include/libc-symbols.h: Remove unnecessary check for
25148         NOT_IN_libc.
25149         * nptl/pthreadP.h: Likewise.
25150         * sysdeps/aarch64/setjmp.S: Likewise.
25151         * sysdeps/alpha/setjmp.S: Likewise.
25152         * sysdeps/arm/sysdep.h: Likewise.
25153         * sysdeps/i386/setjmp.S: Likewise.
25154         * sysdeps/m68k/setjmp.c: Likewise.
25155         * sysdeps/posix/getcwd.c: Likewise.
25156         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25157         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25158         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25159         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25160         * sysdeps/sh/sh3/setjmp.S: Likewise.
25161         * sysdeps/sh/sh4/setjmp.S: Likewise.
25162         * sysdeps/unix/alpha/sysdep.h: Likewise.
25163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25164         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25165         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25166         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25169         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25170         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25171         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25173         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25174         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25176         * sysdeps/x86_64/setjmp.S: Likewise.
25178 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25180         [BZ #17263]
25181         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25182         <stdint.h>.
25183         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25184         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25186 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25188         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25190         [BZ #17262]
25191         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25192         and __x86_64__ when disabling x87 inline functions.
25194 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25196         [BZ #17259]
25197         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25198         asm statement with __cpuid_count.
25200 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25202         * configure.ac: Change __ehdr_start code to dereference the struct.
25203         Run readelf on the output to look for relocations.
25204         * configure: Regenerated.
25206 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25208         [BZ #17261]
25209         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25210         value to 0.
25211         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25213 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25215         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25217 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25219         [BZ #16892]
25220         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25221         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25223 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25225         * malloc/malloc.c: Fix typo in comment.
25227 2014-08-09  Allan McRae  <allan@archlinux.org>
25229         * Regenerate libc.po.
25231 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25233         * intl/tst-gettext2.sh: Check every lang file for creation.
25235 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25237         * sysdeps/aarch64/fpu/math_private.h
25238         (libc_feholdsetround_noex_aarch64_ctx): New function.
25240 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25242         * sysdeps/arm/armv6/strcpy.S (strcpy):
25243         Fix performance issue in misaligned cases.
25245 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25247         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25248         Move definition from termios.h.
25249         (struct termio): Likewise.
25250         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25251         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25252         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25253         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25254         Likewise.
25255         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25256         Move definition to ioctl-types.h
25257         (struct termio): Likewise.
25258         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25259         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25260         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25261         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25262         Likewise.
25264 2014-08-05  Richard Henderson  <rth@redhat.com>
25266         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25267         exceptions.
25268         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25269         Add fraiseexcpt.
25270         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25271         Use __feraiseexcept.
25272         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25273         Protect libm symbols with IS_IN_libm.
25275         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25277 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25279         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25281 2014-08-04  Will Newton  <will.newton@linaro.org>
25283         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25284         file.
25286 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25288         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25289         variants for each function.
25291 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25293         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25294         appended ...
25295         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25296         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25297         appended ...
25298         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25299         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25300         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25301         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25302         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25303         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25304         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25305         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25306         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25307         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25308         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25309         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25310         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25311         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25312         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25313         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25314         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25315         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25316         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25317         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25318         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25319         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25321         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25322         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25323         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25324         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25325         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25326         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25327         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25328         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25329         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25330         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25331         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25332         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25333         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25334         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25335         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25336         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25337         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25338         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25339         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25340         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25341         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25342         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25343         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25344         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25345         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25346         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25347         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25348         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25349         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25350         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25351         Update #include.
25352         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25353         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25355 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25357         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25358         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25359         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25360         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25361         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25362         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25364 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25366         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25367         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25368         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25369         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25371 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25373         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25374         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25375         (__libc_vfork): Define function under this name.
25376         (__vfork): Define as an alias.
25377         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25378         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25380 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25382         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25383         that was previously under [RESET_PID].
25384         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25386 2014-08-04  Andreas Schwab  <schwab@suse.de>
25388         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25390 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25392         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25393         (main): Likewise.
25395 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25397         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25399 2014-08-01  Richard Henderon  <rth@redhat.com>
25401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25402         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25403         typo in exact zero test.
25404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25405         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25406         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25408 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25410         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25411         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25412         * sysdeps/arm/sysdep.h: ... here.
25413         [!__ASSEMBLER__]: Include <stdint.h>.
25415 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25417         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25418         (HAVE_WCTYPE_H): Likewise.
25419         (HAVE_ISWCTYPE): Likewise.
25420         (ENABLE_NLS): Likewise.
25421         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25422         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25424         * posix/regex_internal.c: Check if DEBUG is defined and is
25425         set.
25427         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25428         (HAVE_MBSRTOWCS): Likewise.
25429         * posix/fnmatch.c: Include string.h unconditionally.
25431 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25433         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25434         reversal.
25436 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25438         * sysdeps/generic/safe-fatal.h: New file.
25439         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25440         * nptl/forward.c: Include it.
25441         (__pthread_unwind): Use __safe_fatal as default action, rather
25442         than a bogus use of INTERNAL_SYSCALL that could never work.
25444         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25445         * configure.ac (libc_cv_builtin_trap): New test.
25446         * configure: Regenerated.
25447         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25448         (ABORT_INSTRUCTION): Define using __builtin_trap.
25450         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25451         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25452         * sysdeps/nptl/nptl-signals.h: New file.
25453         * nptl/pthreadP.h: Include <nptl-signals.h>.
25455 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25457         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25458         (ONE_DIRECTION): Define.
25459         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25460         (ONE_DIRECTION): Define.
25461         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25462         (ONE_DIRECTION): Define.
25464 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25466         * sysdeps/s390/Makefile: Delete file.
25467         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25468         * sysdeps/s390/__longjmp.c: Delete file.
25469         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25470         Remove fields __flags and __reserved.
25471         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25472         and add versioning.
25473         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25474         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25475         * sysdeps/s390/rtld-setjmp.S: Likewise.
25476         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25477         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25478         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25479         * sysdeps/s390/s390-32/setjmp.S: ... here.
25480         Add versioning.
25481         (__sigsetjmp): Remove setting __flags field.
25482         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25483         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25484         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25485         * sysdeps/s390/s390-64/setjmp.S: ... here.
25486         Add versioning.
25487         (__sigsetjmp): Remove setting __flags field.
25488         * sysdeps/s390/setjmp.S: Delete file.
25489         * sysdeps/s390/sigjmp.c: Likewise.
25490         * sysdeps/s390/v1-longjmp.c: Likewise.
25491         * sysdeps/s390/v1-setjmp.h: Likewise.
25492         * sysdeps/s390/v1-sigjmp.c: Likewise.
25493         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25494         Remove v1-longjmp_chk.
25495         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25496         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25497         Include debug/longjmp_chk.c and add versioning.
25498         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25499         Include nptl/pt-longjmp.c and add versioning.
25500         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25501         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25502         Include __longjmp.c.
25503         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25504         Move to ...
25505         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25506         (__getcontext): Remove setting __flags field.
25507         Add versioning.
25508         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25509         Don't restore upper high grps.
25510         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25511         Likewise.
25512         (__swapcontext): Remove setting uc_flags field.
25513         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25514         Delete file.
25515         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25516         Include __longjmp.c.
25517         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25518         Move to ...
25519         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25520         (__getcontext): Remove setting __flags field.
25521         Add versioning.
25522         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25523         (__swapcontext): Remove setting uc_flags field.
25524         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25525         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25526         Remove fields uc_high_gprs and __reserved.
25527         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25528         New file with reverted content.
25529         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25530         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25531         Regenerated.
25532         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25533         Regenerated.
25535 2014-07-31  Andreas Schwab  <schwab@suse.de>
25537         * config.h.in (HAVE_IFUNC): Define to 0.
25538         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25539         definedness.
25541 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25544         memmove-avx-unaligned, memcpy-avx-unaligned and
25545         mempcpy-avx-unaligned.
25546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25547         Add tests for AVX memcpy functions.
25548         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25549         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25550         memcpy_chk.
25551         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25552         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25553         memmove_chk.
25554         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25555         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25556         mempcpy_chk.
25557         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25558         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25559         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25561 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25563         [BZ #17213]
25564         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25565         powerpc64le.
25567 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25569         [BZ #16839]
25570         * manual/llio.texi: Add section about open file description locks.
25571         * manual/examples/ofdlocks.c: Example of open file description
25572         lock usage.
25573         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25574         F_OFD_SETLK, and F_OFD_SETLKW.
25576 2014-07-23  Allan McRae  <allan@archlinux.org>
25578         * po/es.po: Update Spanish translation from translation project.
25580 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25582         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25584 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25586         [BZ #17078]
25587         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25588         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25589         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25591 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25593         [BZ #17088]
25594         * math/fesetenv.c (__fesetenv)
25595         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25596         * math/feupdateenv.c (__feupdateenv)
25597         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25599         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25600         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25601         (__ASSUME_SOCKETCALL): Do not define.
25603         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25604         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25605         (__ASSUME_SOCKETCALL): Do not define.
25606         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25607         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25608         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25609         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25610         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25611         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25612         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25613         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25615         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25616         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25617         (__ASSUME_SOCKETCALL): Do not define.
25618         (__ASSUME_IPC64): Define unconditionally.
25619         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25620         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25621         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25622         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25623         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25624         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25625         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25626         Likewise.
25628         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25629         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25630         (__ASSUME_SOCKETCALL): Do not define.
25631         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25632         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25633         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25634         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25635         (__ASSUME_REQUEUE_PI): Define unconditionally.
25636         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25637         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25638         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25639         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25640         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25641         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25643         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25644         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25645         (__ASSUME_SOCKETCALL): Do not define.
25646         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25647         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25648         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25649         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25650         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25651         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25653         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25654         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25655         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25656         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25657         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25658         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25659         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25660         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25661         (__ASSUME_GETCPU_SYSCALL): Likewise.
25663         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25664         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25665         cases for individual architectures.
25666         * sysdeps/gnu/configure: Regenerated.
25667         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25668         LIBC_SLIBDIR_RTLDDIR.
25669         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25670         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25671         LIBC_SLIBDIR_RTLDDIR.
25672         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25674         LIBC_SLIBDIR_RTLDDIR.
25675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25676         Regenerated.
25677         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25678         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25679         file.
25680         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25681         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25682         file.
25683         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25684         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25685         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25686         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25688         * sysdeps/aarch64/shlib-versions: Move to ...
25689         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25690         * sysdeps/alpha/shlib-versions: Move to ...
25691         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25692         * sysdeps/arm/shlib-versions: Move to ...
25693         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25694         * sysdeps/hppa/shlib-versions: Move all contents except for
25695         libgcc_s entry to ...
25696         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25697         entry from ...
25698         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25699         * sysdeps/ia64/shlib-versions: Move to ...
25700         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25701         entry from ...
25702         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25703         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25704         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25705         * sysdeps/microblaze/shlib-versions: Move to ...
25706         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25707         * sysdeps/mips/shlib-versions: Move to ...
25708         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25709         entry from ...
25710         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25711         * sysdeps/tile/shlib-versions: Move to ...
25712         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25713         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25714         from ...
25715         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25716         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25717         entry from ...
25718         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25720 2014-07-17  Will Newton  <will.newton@linaro.org>
25722         * sysdeps/arm/bits/atomic.h
25723         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25724         (__arch_compare_and_exchange_bool_16_int): Likewise.
25725         (__arch_compare_and_exchange_bool_64_int): Likewise.
25727         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25728         into an #else block.
25730 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25732         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25733         just Linux configurations.  Test empirically that the compiler sets
25734         __ARM_EABI__, rather than using the tuple to decide.
25735         * sysdeps/arm/preconfigure: Regenerated.
25736         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25737         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25738         contents appended ...
25739         * sysdeps/arm/configure.ac: ... here.
25740         * sysdeps/arm/configure: Regenerated.
25742 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25744         * nptl/pthread_kill.c: New file.
25745         * nptl/pthread_sigmask.c: New file.
25746         * nptl/pthread_sigqueue.c: New file.
25748         * sysdeps/nptl/lowlevellock.h: New file.
25749         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25750         * sysdeps/nptl/lowlevellock-futex.h: New file.
25752         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25753         Remove dead declarations.
25755 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25757         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25758         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25759         config-cflags-avx2.
25760         * sysdeps/x86_64/configure.ac: Likewise.
25761         * sysdeps/i386/configure: Regenerated.
25762         * sysdeps/x86_64/configure: Likewise.
25763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25764         memset-avx2 only if config-cflags-avx2 is yes.
25765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25766         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25767         defined.
25768         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25769         only if HAVE_AVX2_SUPPORT is defined.
25770         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25772 2014-07-14  Alan Modra  <amodra@gmail.com>
25774         [BZ #17153]
25775         * elf/elf.h (DT_PPC64_NUM): Correct value.
25776         * NEWS: Add to fixed bug list.
25778 2014-07-13  Jim Meyering  <meyering@fb.com>
25780         [BZ 17150]
25781         regex: don't deref NULL upon heap allocation failure
25782         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25783         failure in one more place.
25784         To trigger the segfault, configure grep -with-included-regex,
25785         build it, and run these commands:
25786         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25788 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25790         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25792 2014-07-11  Richard Henderson  <rth@redhat.com>
25794         * sysdeps/aarch64/libm-test-ulps: Update.
25796 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25798         [BZ #17135]
25799         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25800         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25801         (__nptl_setxid): Initialize error member.  Call
25802         __nptl_setxid_error.
25803         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25804         * nptl/descr.h (struct xid_command): Add error member.
25805         * nptl/tst-setuid3.c: New file.
25806         * nptl/Makefile (tests): Add it.
25808 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25810         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25811         New define.
25812         (__lll_trylock): Use __lll_base_trylock.
25813         (__lll_cond_trylock): Likewise.
25815 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25817         * nptl/pthread_create.c (start_thread): Use atomic_or and
25818         lll_futex_wake directly rather than lll_robust_dead.
25819         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25820         (lll_robust_dead): Macro removed.
25821         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25822         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25823         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25824         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25825         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25826         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25827         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25828         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25829         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25830         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25831         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25832         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25833         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25834         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25835         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25837         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25838         Use atomic_compare_and_exchange_val_acq directly rather than
25839         lll_robust_trylock.
25840         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25841         (__lll_robust_trylock, lll_robust_trylock): Removed.
25842         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25843         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25844         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25846         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25847         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25848         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25849         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25850         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25851         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25852         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25853         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25854         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25855         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25857 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25859         * manual/locale.texi (Locale Names): New section documenting
25860         locale name syntax.  Adjust menu and node chaining accordingly.
25861         (Choosing Locale): Reference Locale Names, Locale Categories.
25862         Mention setting LC_ALL=C.  Reflect that name syntax is now
25863         documented.
25864         (Locale Categories): New section title.  Reference Locale Names.
25865         LC_ALL is an environment variable, but not a category.
25866         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25867         description, now in Locale Name.  Reference that section.  Locale
25868         name syntax is now documented.
25870 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25872         [BZ #17137]
25873         * locale/findlocale.c (name_present, valid_locale_name): New
25874         functions.
25875         (_nl_find_locale): Use the loc_name variable to store name
25876         candidates.  Call name_present and valid_locale_name to check and
25877         validate locale names.  Return an error if the locale is invalid.
25879 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25881         * locale/setlocale.c (setlocale): Use strdup for allocating
25882         composite name copy.
25884 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25886         Sync up with gnulib.
25887         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25888         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25889         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25890         and _GL_ARG_NONNULL.
25891         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25892         [!_LIBC]: Include code for Windows and Cygwin.
25893         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25894         Include prototype for int strerror_r.
25895         [!_LIBC] (is_open): New function.
25896         (flush_stdout): New function.
25897         (print_errno_message): Use it.
25898         (error): Likewise.
25899         (error_at_line): Likewise.
25900         (error_tail) Add function attribute macros.  Use
25901         __builtin_expect.
25903         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25905         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25907         * io/ftw.c: Include sys/param.h unconditionally.
25909         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25911         [BZ #17125]
25912         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25913         libc_freeres_ptr.
25914         (freecache): New function to free CACHE on exit.
25916         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25917         initialization.
25919 2014-07-09  David S. Miller  <davem@davemloft.net>
25921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25923         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25924         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25925         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25926         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25927         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25928         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25929         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25930         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25931         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25932         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25933         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25934         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25935         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25937 2014-07-09  Andreas Schwab  <schwab@suse.de>
25939         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25940         output.
25941         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25942         (do_test): Likewise.
25944         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25946 2014-07-09  Will Newton  <will.newton@linaro.org>
25948         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25949         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25950         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25951         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25952         * sysdeps/hppa/start.S (_start): Likewise.
25954 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25956         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25958         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25959         defined.
25961 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25963         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25964         after checking that it is non-NULL.
25966         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25968 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25970         * sysdeps/powerpc/memmove.c: Remove file.
25971         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25972         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25973         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25974         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25975         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25976         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25977         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25978         string memmove instead of removed powerpc one.
25980         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25981         [weak_alias]: Fix compiler warning due trailing data.
25982         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25983         [weak_alias]: Likewise.
25984         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25985         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25988         (__libc_ifunc_impl_list): Add memmove functions.
25990 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25992         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25993         Remove code.
25994         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25995         Likewise.
25996         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25997         Likewise.
25998         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25999         Likewise.
26000         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26001         Likewise.
26002         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26003         Likewise.
26004         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26005         Likewise.
26006         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26007         Likewise.
26008         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26009         Likewise.
26010         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26011         Likewise.
26012         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26013         Likewise.
26014         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26015         Likewise.
26016         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26017         Likewise.
26018         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26019         Likewise.
26020         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26021         Likewise.
26022         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26023         Likewise.
26024         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26025         Likewise.
26027 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26029         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26030         to avoid alignment traps in non-cacheable memory.
26031         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26034         multiarch objects.
26035         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26036         file: multiarch power7 memmove.
26037         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26038         multiarch default memmove.
26039         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26040         multiarch memove for powerpc32/power4.
26042         * string/bcopy.c: Use full path to include memmove.c.
26043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26044         multiarch objects.
26045         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26046         bcopy for powerpc64.
26047         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26048         bcopy for powerpc64.
26049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26050         and memmove implementations.
26051         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26052         optimized multiarch memmove for POWER7/powerpc64.
26053         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26054         default multiarch memmove for powerpc64.
26055         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26056         multiarch for powerpc64.
26057         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26058         for POWER7/powerpc64.
26059         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26060         memmove for POWER7/powerpc64.
26062         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26063         glibc default one.
26065         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26066         __ELF_NATIVE_CLASS equal to 64.
26068 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26070         * sysdeps/nptl/lowlevellock.h: File removed.
26072         * NEWS: NPTL is no longer an add-on!
26073         * nptl/internaltypes.h: Moved ...
26074         * sysdeps/nptl/internaltypes.h: ... here.
26075         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26076         * sysdeps/nptl/fork.c: Likewise.
26077         * sysdeps/nptl/gai_misc.h: Likewise.
26078         * sysdeps/nptl/librt-cancellation.c: Likewise.
26079         * sysdeps/nptl/jmp-unwind.c: Likewise.
26080         * sysdeps/nptl/setxid.h: Likewise.
26081         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26082         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26083         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26084         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26085         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26086         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26087         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26088         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26089         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26090         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26091         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26092         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26093         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26094         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26095         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26096         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26097         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26098         * nptl/Makeconfig: Moved ...
26099         * sysdeps/nptl/Makeconfig: ... here.
26100         * nptl/configure: File removed.
26101         * nptl/ANNOUNCE: File removed.
26102         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26103         * sysdeps/unix/sysv/linux/configure: Regenerated.
26105         * nptl/Makefile (routines): Add libc_pthread_init,
26106         libc_multiple_threads, register-atfork and unregister-atfork.
26107         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26108         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26109         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26110         pthread-pi-defines.sym, structsem.sym.
26111         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26112         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26113         [$(subdir) = nptl] (tests): Add tst-setgetname.
26114         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26115         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26116         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26117         [!LIBC_SIGACTION]: Remove aliases.
26118         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26119         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26120         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26121         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26122         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26123         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26124         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26125         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26126         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26127         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26128         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26129         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26130         __libc_allocate_rtsig_private.
26131         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26132         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26133         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26134         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26135         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26136         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26137         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26138         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26139         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26140         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26141         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26142         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26143         * nptl/internaltypes.h: ... here.
26144         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26145         * sysdeps/nptl/jmp-unwind.c: ... here.
26146         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26147         * nptl/libc-lowlevellock.c: ... here.
26148         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26149         * nptl/libc_multiple_threads.c: ... here.
26150         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26151         * nptl/libc_pthread_init.c: ... here.
26152         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26153         * nptl/lowlevelbarrier.sym: ... here.
26154         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26155         * nptl/lowlevelcond.sym: ... here.
26156         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26157         * nptl/lowlevellock.c: ... here.
26158         * nptl/lowlevellock.h: Moved ...
26159         * sysdeps/nptl/lowlevellock.h: ... here.
26160         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26161         * nptl/lowlevelrobustlock.c: ... here.
26162         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26163         * nptl/lowlevelrobustlock.sym: ... here.
26164         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26165         * nptl/lowlevelrwlock.sym: ... here.
26166         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26167         * nptl/pt-fork.c: ... here.
26168         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26169         * nptl/pthread-pi-defines.sym: ... here.
26170         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26171         * nptl/pthread_attr_getaffinity.c: ... here.
26172         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26173         * nptl/pthread_attr_setaffinity.c: ... here.
26174         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26175         * nptl/pthread_mutex_cond_lock.c: ... here.
26176         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26177         Update #include.
26178         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26179         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26180         * nptl/pthread_once.c: ... here, replacing old file.
26181         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26182         * nptl/pthread_yield.c: ... here.
26183         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26184         * nptl/register-atfork.c: ... here.
26185         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26186         * nptl/sem_post.c: ... here.
26187         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26188         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26189         * nptl/sem_timedwait.c: ... here.
26190         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26191         * nptl/sem_trywait.c: ... here.
26192         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26193         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26194         * nptl/sem_wait.c: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26196         * nptl/structsem.sym: ... here.
26197         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26198         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26199         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26200         * nptl/unregister-atfork.c: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26202         * nptl/unwindbuf.sym: ... here.
26203         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26204         * sysdeps/nptl/fork.c: ... here.
26205         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26206         * sysdeps/nptl/fork.h: ... here.
26207         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26208         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26209         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26210         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26211         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26212         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26213         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26214         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26215         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26216         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26217         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26218         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26219         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26220         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26221         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26222         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26223         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26224         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26225         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26226         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26227         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26228         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26229         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26230         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26231         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26232         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26233         * sysdeps/unix/sysv/linux/raise.c: ... here.
26234         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26235         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26236         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26237         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26238         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26239         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26240         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26241         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26242         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26243         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26244         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26245         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26246         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26247         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26248         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26250 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26252         * sysdeps/generic/memcopy.h: Add comment for
26253         MEMCPY_OK_FOR_FWD_MEMMOVE.
26255 2014-07-04  Will Newton  <will.newton@linaro.org>
26257         * string/memchr.c: Merge from gnulib.
26258         [_LIBC]: Remove conditionals.
26259         (__ptr_t): Remove define.
26260         (LONG_MAX_32_BITS): Likewise.
26261         (LONG_MAX): Likewise.
26262         (MEMCHR): Use ANSI prototype and optimize algorithm.
26264         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26266 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26268         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26269         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26271         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26272         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26273         in a bare environment with no <stdlib.h> installed.
26274         * sysdeps/nptl/configure: Regenerated.
26276         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26278         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26279         AC_EGREP_CPP for kernel header checks, so they only succeed if
26280         including <linux/version.h> actually works right.
26281         * sysdeps/unix/sysv/linux/configure: Regenerated.
26283         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26284         value so it's not diagnosed as unused.
26286         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26287         thing) with "ifeq ($(subdir),rt)".
26289 2014-07-03  Richard Henderson  <rth@redhat.com>
26291         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26292         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26293         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26295         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26296         (math_force_eval): New.
26298         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26299         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26301         * sysdeps/alpha/fpu/s_round.c: Remove file.
26302         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26304         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26305         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26306         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26307         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26308         (_dl_start, print_statistics): Likewise.
26309         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26310         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26312         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26313         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26314         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26315         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26316         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26317         (HP_SMALL_TIMING_AVAIL): Define.
26318         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26319         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26320         (HP_SMALL_TIMING_AVAIL): Define.
26321         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26322         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26324         * sysdeps/aarch64/hp-timing.h: New file.
26326         * sysdeps/generic/hp-timing.h: Remove dead comment.
26327         * sysdeps/generic/hp-timing-common.h: New file.
26328         * sysdeps/alpha/hp-timing.h: Include it.
26329         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26330         * sysdeps/i386/i686/hp-timing.h: Likewise.
26331         * sysdeps/ia64/hp-timing.h: Likewise.
26332         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26333         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26334         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26335         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26336         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26337         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26338         (hp_timing_t): New.
26340         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26341         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26342         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26343         * elf/rtld.c (_dl_start_final): Likewise.
26344         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26345         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26346         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26347         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26348         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26349         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26350         (HP_TIMING_DIFF_INIT): Remove.
26351         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26352         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26353         (HP_TIMING_DIFF_INIT): Remove.
26354         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26355         * sysdeps/i386/i686/hp-timing.c: Remove file.
26356         * sysdeps/x86_64/hp-timing.c: Remove file.
26357         * sysdeps/ia64/hp-timing.c: Remove file.
26358         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26359         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26360         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26361         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26363         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26364         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26365         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26366         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26367         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26368         (HP_TIMING_ACCUM): Remove.
26369         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26370         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26371         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26373         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26374         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26375         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26376         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26378         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26379         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26380         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26382         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26384 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26386         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26388 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26390         Sync up with gettext.
26391         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26392         [_MSC_VER]: Include malloc.h
26393         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26394         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26395         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26396         TEMP_FAILURE_RETRY.  Cast return of alloca.
26397         [!_LIBC] Call gl_rwlock_init.
26398         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26400 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26402         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26403         before checking its value.
26405 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26407         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26409         * debug/memcpy_chk.c: Don't include pagecopy.h.
26410         * debug/mempcpy_chk.c: Likewise.
26411         * string/memcpy.c: Likewise.
26412         * string/memmove.c: Likewise.
26413         * sysdeps/powerpc/memmove.c: Likewise.
26414         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26415         definition of PAGE_COPY_FWD_MAYBE here...
26416         * sysdeps/generic/pagecopy.h: ... from here.
26417         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26419 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26420             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26422         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26424         optimizations.
26425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26426         (__libc_ifunc_impl_list): Likewise.
26427         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26428         multiarch strcat for PPC64.
26429         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26430         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26432 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26434         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26436 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26438         * intl/loadmsgcat.c: Remove declaration of
26439         get_sysdep_segment_value.
26440         (get_sysdep_segment_value): Use ISO C style.
26441         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26442         semicolon.  Fix typo and formatting in comment.
26443         (_nl_unload_domain): Use ISO C style.
26445         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26447 2014-07-02  Will Newton  <will.newton@linaro.org>
26449         * malloc/obstack.c: Merge from gnulib master.
26450         [HAVE_CONFIG_H]: Remove conditional code.
26451         [!_LIBC]: Include config.h.
26452         [!ELIDE_CODE]: Don't include inttypes.h, include
26453         stdint.h unconditionally.
26454         (print_and_abort): Mark as _Noreturn.
26455         (_obstack_allocated_p): Mark as __attribute_pure__.
26456         (obstack_free): Rename to __obstack_free.
26457         [!__attribute__]: Remove conditional code.
26458         * malloc/obstack.h: Merge from gnulib master.
26459         [__cplusplus]: Move conditional down.
26460         [!__attribute_pure__]: Define __attribute_pure__ here
26461         if it is not already defined.
26462         (_obstack_memory_used): Mark as __attribute_pure__.
26463         [!__obstack_free]: Define as obstack_free.
26464         [__GNUC__]: Remove check for ancient NeXT gcc.
26466 2014-07-02  Will Newton  <will.newton@linaro.org>
26467             Paul Eggert  <eggert@cs.ucla.edu>
26469         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26471 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26473         * resolv/gethnamaddr.c: Add comment warning that the file is
26474         not maintained.
26476 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26478         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26479         entries.
26481         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26482         entry for aio_cancel and aio_cancel64.
26483         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26484         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26485         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26486         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26487         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26488         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26489         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26490         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26491         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26492         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26493         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26494         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26495         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26497 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26499         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26500         * nptl/pthread_mutex_lock.c: Likewise.
26501         * nptl/pthread_mutex_timedlock.c: Likewise.
26502         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26504 2014-07-01  Richard henderson  <rth@redhat.com>
26506         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26507         (__isnan, __isnanl): Remove.
26508         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26510         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26512 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26514         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26516 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518         * resolv/nss_dns/dns-host.c (getanswer_r)
26519         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26521 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26524         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26525         undefine.
26526         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26527         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26529 2014-07-01  Roland McGrath <roland@hack.frob.com>
26531         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26532         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26534         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26535         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26537         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26538         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26539         ... here.
26540         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26541         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26543         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26544         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26545         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26546         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26548         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26549         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26550         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26551         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26552         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26553         Moved ...
26554         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26555         ... here.
26556         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26557         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26558         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26559         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26560         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26561         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26562         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26563         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26564         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26565         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26566         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26567         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26568         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26569         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26570         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26571         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26572         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26573         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26574         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26575         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26576         ... here.
26577         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26578         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26579         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26580         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26581         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26582         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26583         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26584         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26586 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26588         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26589         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26590         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26591         Add sysdep.
26593 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26597 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26599         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26600         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26602         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26604         * sysdeps/arm/libm-test-ulps: Regenerated.
26606 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26607             Roland McGrath <roland@hack.frob.com>
26609         * test-skeleton.c (signal_handler): Kill the whole process group
26610         before killing the child individually.
26611         (main): Report any failure on `setpgid'.
26613 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26615         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26616         from _TLS_H to _ARM_NPTL_TLS_H.
26617         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26618         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26620 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26622         [BZ #16539]
26623         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26624         (__expm1l): Return argument unchanged when small but not
26625         subnormal.
26627         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26628         include macro name.
26629         (_FP_UNPACK_RAW_1_P): Likewise.
26630         (_FP_PACK_RAW_1): Likewise.
26631         (_FP_PACK_RAW_1_P): Likewise.
26632         (_FP_MUL_MEAT_1_wide): Likewise.
26633         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26634         (_FP_MUL_MEAT_1_hard): Likewise.
26635         (_FP_DIV_MEAT_1_imm): Likewise.
26636         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26637         (_FP_DIV_MEAT_1_udiv): Likewise.
26638         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26639         (_FP_UNPACK_RAW_2): Likewise.
26640         (_FP_UNPACK_RAW_2_P): Likewise.
26641         (_FP_PACK_RAW_2): Likewise.
26642         (_FP_PACK_RAW_2_P): Likewise.
26643         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26644         (_FP_MUL_MEAT_2_wide): Likewise.
26645         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26646         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26647         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26648         (_FP_MUL_MEAT_2_gmp): Likewise.
26649         (_FP_DIV_MEAT_2_udiv): Likewise.
26650         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26651         (_FP_FRAC_SRL_4): Likewise.
26652         (_FP_FRAC_SRST_4): Likewise.
26653         (_FP_FRAC_SRS_4): Likewise.
26654         (_FP_UNPACK_RAW_4): Likewise.
26655         (_FP_UNPACK_RAW_4_P): Likewise.
26656         (_FP_PACK_RAW_4): Likewise.
26657         (_FP_PACK_RAW_4_P): Likewise.
26658         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26659         (_FP_MUL_MEAT_4_wide): Likewise.
26660         (_FP_MUL_MEAT_4_gmp): Likewise.
26661         (umul_ppppmnnn): Likewise.
26662         (_FP_DIV_MEAT_4_udiv): Likewise.
26663         (__FP_FRAC_ADD_4): Likewise.
26664         (__FP_FRAC_SUB_3): Likewise.
26665         (__FP_FRAC_SUB_4): Likewise.
26666         (__FP_FRAC_DEC_3): Likewise.
26667         (__FP_FRAC_DEC_4): Likewise.
26668         (__FP_FRAC_ADDI_4): Likewise.
26669         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26670         (_FP_FRAC_SRL_8): Likewise.
26671         (_FP_FRAC_SRS_8): Likewise.
26673         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26674         include macro name.
26675         (FP_UNPACK_RAW_EP): Likewise.
26676         (FP_PACK_RAW_E): Likewise.
26677         (FP_PACK_RAW_EP): Likewise.
26678         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26679         (_FP_ISSIGNAN): Likewise.
26680         (_FP_ADD_INTERNAL): Likewise.
26681         (_FP_FMA): Likewise.
26682         (_FP_CMP): Likewise.
26683         (_FP_SQRT): Likewise.
26684         (_FP_TO_INT): Likewise.
26685         (_FP_FROM_INT): Likewise.
26686         (FP_EXTEND): Likewise.
26687         (_FP_DIV_MEAT_N_loop): Likewise.
26689 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26691         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26692         throughout.
26694 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26696         [BZ #17097]
26697         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26698         result with correct sign in case of exponents that produce
26699         overflow except for X very close to 1.
26701 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26703         mktime: merge #if/#ifdef usage from glibc
26704         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26705         as that works with both Glibc's and Gnulib's style.
26706         See thread starting at Siddhesh Poyarekar's bug report at:
26707         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26709 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26711         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26712         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26713         * sysdeps/tile/tilegx/memmove.c: Remove file.
26715 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26717         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26718         abi-name definition.
26719         * scripts/soversions.awk: Do not handle or generate ABI lines.
26720         * shlib-versions: Remove ABI entries.
26721         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26722         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26724 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26727         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26728         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26729         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26731         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26733         Moved ...
26734         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26735         ... here.
26736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26737         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26739         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26741         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26743         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26744         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26745         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26747         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26749         Moved ...
26750         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26752         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26753         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26754         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26755         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26756         Moved ...
26757         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26758         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26759         Moved ...
26760         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26762         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26764         Moved ...
26765         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26767         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26769         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26771         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26773         Moved ...
26774         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26776         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26777         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26778         Moved ...
26779         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26781         Moved ...
26782         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26783         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26784         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26786         Moved ...
26787         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26788         ... here.
26789         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26790         Identical file removed.
26791         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26792         Moved ...
26793         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26794         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26795         Identical file removed.
26796         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26797         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26798         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26799         Moved ...
26800         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26801         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26802         Identical file removed.
26803         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26804         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26805         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26806         Identical file removed.
26807         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26808         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26809         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26810         Identical file removed.
26811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26812         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26814         Identical file removed.
26815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26816         Moved ...
26817         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26819         Identical file removed.
26820         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26821         Moved ...
26822         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26823         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26824         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26826         Identical file removed.
26827         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26828         Moved ...
26829         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26830         ... here.
26831         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26832         Identical file removed.
26833         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26834         Moved ...
26835         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26837         Identical file removed.
26838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26839         Moved ...
26840         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26842         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26844         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26845         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26846         Moved ...
26847         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26848         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26849         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26851         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26852         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26853         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26854         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26855         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26857 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26859         [BZ #17092]
26860         * nscd/nscd.c (monitor_child): Return exit status of child
26861         instead of return value from wait syscall.
26863 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26865         * configure.ac (libc_commonpagesize): Remove variable.
26866         (libc_relro_required): Likewise.
26867         (libc_cv_z_relro): Remove configure test.
26868         * configure: Regenerated.
26869         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26870         variable.
26871         (libc_relro_required): Likewise.
26872         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26873         (libc_relro_required): Likewise.
26874         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26875         (libc_relro_required): Likewise.
26876         * sysdeps/arm/preconfigure: Regenerated.
26877         * sysdeps/ia64/preconfigure: Remove file.
26878         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26879         variable.
26880         (libc_relro_required): Likewise.
26882         [BZ #16561]
26883         [BZ #16562]
26884         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26885         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26886         recompute overflowing results in original rounding mode.
26887         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26888         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26889         recompute overflowing results in original rounding mode.
26890         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26891         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26892         recompute overflowing results in original rounding mode.
26893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26894         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26895         recompute overflowing results in original rounding mode.
26896         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26897         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26898         recompute overflowing results in original rounding mode.
26899         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26900         (libc_feholdsetround_ctx): New macro.
26901         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26902         * sysdeps/i386/fpu/libm-test-ulps: Update.
26903         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26905 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26907         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26908         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26909         corresponding .cpsetup call.
26911 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26913         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26914         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26915         * sysdeps/arm/Makefile [$(subdir) = csu]
26916         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26917         (static-only-routines): Add aeabi_read_tp here.
26918         (shared-only-routines): Add libc-aeabi_read_tp here.
26919         (CFLAGS-libc-start.c): Add -fexceptions here.
26920         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26921         (sysdep_routines, static-only-routines, shared-only-routines):
26922         Don't add to these here.
26923         (CFLAGS-libc-start.c): Likewise.
26925         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26926         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26927         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26928         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26929         * sysdeps/arm/Makefile [$(subdir) = rt]
26930         (librt-sysdep_routines, librt-shared-only-routines):
26931         Append rt-aeabi_unwind_cpp_pr1 here.
26932         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26933         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26934         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26935         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26936         Append nptl-aeabi_unwind_cpp_pr1 here.
26937         (tests): Filter out tst-cleanupx4 here.
26938         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26939         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26940         Don't do those here.
26942 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26944         * scripts/list-sources.sh: Do not handle ports specially.
26946 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26948         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26949         * sysdeps/arm/feupdateenv.c: Likewise.
26951         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26953 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26955         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26956         trailing whitespace removed.
26957         * scripts/config.guess: Update to version 2014-03-23.
26958         * scripts/config.sub: Update to version 2014-05-01
26959         * scripts/install-sh: Update to version 2013-12-25.23.
26960         * scripts/move-if-change: Update from gnulib.
26962 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26964         * debug/memmove_chk.c: Remove pagecopy.h include.
26966 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26968         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26969         identical to gnulib mktime.
26971 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26973         * configure.ac: Do not test for machine being rs6000.  Do not test
26974         for powerpc*-*soft.
26975         * configure: Regenerated.
26977         [BZ #11505]
26978         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26979         test.
26980         * configure: Regenerated.
26981         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26982         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26983         Remove configure test.
26984         * sysdeps/arm/configure: Regenerated.
26985         * sysdeps/nptl/configure.ac: Do not check
26986         libc_cv_asm_cfi_directives.
26987         * sysdeps/nptl/configure: Regenerated.
26988         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26989         * sysdeps/x86_64/nptl/configure: Remove generated file.
26990         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26991         unconditional.
26992         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26994 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26996         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26997         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26998         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26999         it is defined.
27001         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27002         instead of whether it is defined.
27003         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27004         * sysdeps/hppa/dl-machine.h: Likewise.
27005         * sysdeps/ia64/dl-machine.h: Likewise.
27006         * sysdeps/m68k/dl-machine.h: Likewise.
27007         * sysdeps/microblaze/dl-machine.h: Likewise.
27008         * sysdeps/mips/dl-machine.: Likewise.
27009         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27010         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27011         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27012         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27013         * sysdeps/sh/dl-machine.h: Likewise.
27014         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27015         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27016         * sysdeps/tile/dl-machine.h: Likewise.
27017         * sysdeps/x86_64/dl-machine.h: Likewise.
27019         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27020         code.
27021         (verify_persistent_db): Likewise.
27023 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27026         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27028         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27030         Moved ...
27031         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27032         ... here.
27033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27034         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27036         Identical file removed.
27037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27038         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27040         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27042         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27044         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27046         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27048         Moved ...
27049         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27051         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27053         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27055         Moved ...
27056         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27058         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27060         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27062         Identical file removed.
27063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27064         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27066         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27068         Moved ...
27069         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27070         ... here.
27071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27072         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27074         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27076         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27077         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27078         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27080         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27082         Moved ...
27083         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27085         Moved ...
27086         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27088         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27090         Moved ...
27091         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27093         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27095         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27096         folded into ...
27097         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27098         * sysdeps/unix/sysv/linux/s390/Versions
27099         (libpthread: GLIBC_2.19): New version set.
27100         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27101         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27102         (librt: GLIBC_2.3.3): New version set.
27103         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27104         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27105         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27106         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27107         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27108         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27109         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27110         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27111         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27112         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27113         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27114         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27115         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27116         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27117         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27118         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27119         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27120         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27121         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27122         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27123         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27124         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27125         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27126         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27127         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27128         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27129         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27130         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27131         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27133         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27134         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27135         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27139         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27140         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27141         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27142         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27143         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27144         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27145         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27147         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27149         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27150         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27151         (__libc_vfork): Define the function under this name.
27152         [!NOT_IN_libc] (__vfork): Make this an alias.
27153         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27155         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27156         (__libc_vfork): Define the function under this name.
27157         [!NOT_IN_libc] (__vfork): Make this an alias.
27158         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27159         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27160         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27163         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27165         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27166         code that was previously under [RESET_PID].
27167         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27168         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27169         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27171         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27172         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27173         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27174         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27175         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27176         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27177         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27178         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27179         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27180         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27181         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27182         Moved ...
27183         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27184         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27185         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27186         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27187         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27188         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27189         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27190         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27191         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27192         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27193         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27194         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27195         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27196         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27197         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27198         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27199         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27200         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27201         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27202         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27203         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27204         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27205         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27206         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27207         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27208         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27209         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27210         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27211         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27213 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27215         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27216         that was previously under [RESET_PID].
27217         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27219 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27221         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27222         not undefine and redefine.
27223         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27224         [O_CLOEXEC]: Make code unconditional.
27225         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27226         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27227         <kernel-features.h>.
27228         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27229         conditional variable definition.
27230         (shm_open) [O_CLOEXEC]: Make code unconditional.
27231         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27232         code.
27234         * configure.ac (USE_REGPARMS): Don't define here.
27235         * configure: Regenerated.
27236         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27237         * sysdeps/i386/configure: Regenerated.
27239         * nptl/createthread.c: Don't include kernel-features.h.
27240         * nptl/pthread_cancel.c: Likewise.
27241         * nptl/pthread_condattr_setclock.c: Likewise.
27242         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27243         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27244         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27245         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27246         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27247         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27248         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27251         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27252         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27253         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27254         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27255         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27256         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27257         * nscd/gai.c: Likewise.
27258         * nss/nss_db/db-open.c: Likewise.
27259         * sysdeps/generic/ldsodefs.h: Likewise.
27260         * sysdeps/sh/nptl/tls.h: Likewise.
27261         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27262         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27263         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27264         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27265         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27266         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27267         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27268         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27269         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27270         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27271         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27272         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27273         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27274         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27275         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27276         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27277         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27278         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27279         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27280         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27281         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27282         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27283         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27284         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27285         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27289         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27290         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27291         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27292         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27293         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27294         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27295         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27296         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27297         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27298         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27299         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27300         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27301         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27302         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27303         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27304         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27305         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27306         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27307         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27308         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27309         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27310         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27311         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27312         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27313         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27314         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27315         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27316         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27317         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27318         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27341         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27342         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27343         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27344         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27345         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27346         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27347         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27348         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27349         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27350         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27351         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27352         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27353         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27354         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27355         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27356         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27357         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27358         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27359         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27360         * sysdeps/unix/sysv/linux/system.c: Likewise.
27361         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27362         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27363         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27364         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27365         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27366         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27367         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27369         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27370         * configure: Regenerated.
27371         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27373         * configure.ac (base_machine): Do not set specially for particular
27374         machines here.
27375         * configure: Regenerated.
27376         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27377         settings from configure.ac.
27378         * sysdeps/i386/preconfigure: New file.
27379         * sysdeps/s390/preconfigure: Likewise.
27380         * sysdeps/sh/preconfigure: Likewise.
27381         * sysdeps/sparc/preconfigure: Likewise.
27383 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27385         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27386         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27387         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27388         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27389         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27390         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27391         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27392         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27393         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27394         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27395         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27396         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27397         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27398         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27399         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27400         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27402         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27403         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27405         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27406         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27407         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27408         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27409         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27410         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27411         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27412         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27413         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27414         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27415         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27416         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27417         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27418         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27419         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27420         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27421         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27422         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27423         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27424         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27425         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27426         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27427         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27428         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27429         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27430         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27431         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27432         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27433         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27434         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27435         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27436         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27437         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27438         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27439         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27440         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27441         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27442         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27445         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27447         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27449         Moved ...
27450         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27451         ... here.
27452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27453         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27455         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27457         Moved ...
27458         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27460         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27462         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27464         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27466         Moved ...
27467         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27469         Moved ...
27470         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27472         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27474         Moved ...
27475         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27477         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27479         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27481         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27483         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27485         Moved ...
27486         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27487         ... here.
27488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27489         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27491         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27493         Moved ...
27494         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27496         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27498         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27500         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27502         Moved ...
27503         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27505         Moved ...
27506         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27508         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27510         Moved ...
27511         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27513         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27515         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27517 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27519         * timezone/checktab.awk: Update from tzcode 2014e.
27520         * timezone/private.h: Likewise.
27521         * timezone/tzfile.h: Likewise.
27522         * timezone/zdump.c: Likewise.
27523         * timezone/zic.c: Likewise.
27525         * sysdeps/unix/sysv/linux/kernel-features.h
27526         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27527         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27528         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27529         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27530         Remove conditional code.
27532 2014-06-25  Will Newton  <will.newton@linaro.org>
27534         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27535         (_dl_arm_cap_flags): Add HWCAP2 values.
27536         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27537         (_DL_HWCAP_COUNT): Increase to 37.
27538         (_DL_HWCAP_LAST): New define.
27539         (_DL_HWCAP2_LAST): New define.
27540         (_dl_procinfo): Add support for printing
27541         AT_HWCAP2 entries.
27542         (_dl_string_hwcap): Use _dl_hwcap_string.
27544 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27548 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27550         * README: Do not mention ports directory.
27552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27553         Remove macro.
27554         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27555         <kernel-features.h>.
27556         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27557         conditional variable definition.
27558         (__futimes): Update comment.
27559         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27560         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27562         [BZ #16560]
27563         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27564         arguments close to 0.
27565         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27566         Likewise.
27567         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27568         Likewise.
27569         * math/auto-libm-test-in: Add more tests of exp10.
27570         * math/auto-libm-test-out: Regenerated.
27571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27573         * sysdeps/unix/sysv/linux/kernel-features.h
27574         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27575         * sysdeps/unix/sysv/linux/readv.c: Do not include
27576         <kernel-features.h>.
27577         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27578         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27579         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27580         unconditional.
27581         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27582         conditional code.
27583         * sysdeps/unix/sysv/linux/writev.c: Do not include
27584         <kernel-features.h>.
27585         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27586         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27587         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27588         unconditional.
27589         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27590         conditional code.
27592 2014-06-25  Will Newton  <will.newton@linaro.org>
27594         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27595         comment changes throughout the file.  Remove checks
27596         for HAVE_*_H definitions that are not required.
27597         (__gen_tempname): Call abort if an unknown kind value is
27598         passed.
27600 2014-06-25  Andreas Schwab  <schwab@suse.de>
27602         [BZ #17086]
27603         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27604         scalbln, scalblnf, scalblnl in libc.
27606 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27608         [BZ #17086]
27609         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27610         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27611         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27613 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27615         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27616         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27617         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27618         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27619         Update #include.
27620         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27621         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27622         Update #include.
27623         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27624         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27625         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27626         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27627         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27628         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27629         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27630         * sysdeps/x86/bits/semaphore.h: ... here.
27631         * sysdeps/x86/nptl/elide.h: Moved ...
27632         * sysdeps/x86/elide.h: ... here.
27633         * sysdeps/x86_64/nptl/Implies: File removed.
27634         * sysdeps/i386/nptl/Implies: File removed.
27636 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27638         [BZ #16539]
27639         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27640         return the argument for normal arguments with exponent below -64.
27641         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27642         Likewise.
27643         * math/auto-libm-test-in: Add another test of expm1.
27644         * math/auto-libm-test-out: Regenerated.
27646         [BZ #16287]
27647         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27648         calling __erfcl for arguments at least 16.
27649         * math/auto-libm-test-in: Add more tests of erf.
27650         * math/auto-libm-test-out: Regenerated.
27652         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27653         individual architectures.
27654         * sysdeps/unix/sysv/linux/configure: Regenerated.
27655         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27656         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27657         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27658         (ldd_rewrite_script): Define variable.
27659         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27661         file.
27662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27663         generated file.
27664         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27665         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27666         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27667         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27668         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27669         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27670         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27671         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27673 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27675         [BZ #17084]
27676         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27677         Rename member __data.d to __data.__elision_data.
27679 2014-06-24  Wilco  <wdijkstr@arm.com>
27681         * NEWS: Add 16918 to fixed bug list.
27683 2014-06-24  Wilco  <wdijkstr@arm.com>
27685         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27687 2014-06-24  Wilco  <wdijkstr@arm.com>
27689         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27690         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27691         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27692         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27693         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27694         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27695         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27696         Use _FPU_MASK_RM.
27698 2014-06-24  Wilco  <wdijkstr@arm.com>
27700         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27702 2014-06-24  Wilco  <wdijkstr@arm.com>
27704         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27705         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27706         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27707         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27709 2014-06-24  Wilco  <wdijkstr@arm.com>
27711         [BZ #16918]
27712         * sysdeps/arm/feupdateenv.c (feupdateenv):
27713         Rewrite to reduce FPSCR accesses and fix return value.
27715 2014-06-24  Wilco  <wdijkstr@arm.com>
27717         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27718         Optimize to avoid unnecessary FPSCR writes.
27719         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27720         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27721         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27722         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27724 2014-06-24  Wilco  <wdijkstr@arm.com>
27726         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27727         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27728         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27729         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27730         Call libc_fetestexcept_vfp.
27731         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27732         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27733         __SOFTFP__ ifdef so that they can be built for softfp.
27735 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27737         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27738         argument type signed char.
27740         * Makerules (check-abi): Dump diff of symlist if the test
27741         fails.
27743 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27745         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27746         using abort.
27748         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27749         Remove unused variable ST.
27751 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27753         [BZ #16354]
27754         [BZ #17061]
27755         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27756         small arguments before calling __expm1.
27757         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27758         small arguments before calling __expm1f.
27759         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27760         small arguments before calling __expm1l.
27761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27762         Likewise.
27763         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27764         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27765         spurious underflow for some cosh tests.
27766         * math/auto-libm-test-out: Regenerated.
27767         * sysdeps/i386/fpu/libm-test-ulps: Update.
27769         [BZ #17050]
27770         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27771         (__ieee754_y1): Set errno if return value overflows.
27772         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27773         (__ieee754_y1f): Set errno if return value overflows.
27774         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27775         (__ieee754_y1l): Set errno if return value overflows.
27776         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27777         (__ieee754_y1l): Set errno if return value overflows.
27778         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27779         * math/auto-libm-test-out: Regenerated.
27781         * math/gen-auto-libm-tests.c: Document use of
27782         ignore-zero-inf-sign.
27783         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27784         (input_flags): Add ignore-zero-inf-sign.
27785         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27786         * math/gen-libm-test.pl (generate_testfile): Handle
27787         ignore-zero-inf-sign.
27788         * math/auto-libm-test-in: Mark some cpow tests with
27789         ignore-zero-inf-sign and some with xfail-rounding.
27790         * math/auto-libm-test-out: Regenerated.
27791         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27792         * sysdeps/i386/fpu/libm-test-ulps: Update.
27793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27795         [BZ #16315]
27796         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27797         overflowing or underflowing operations take place with sign of
27798         result.
27799         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27800         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27801         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27802         (__ieee754_pow): Recompute overflowing and underflowing results in
27803         original rounding mode.
27804         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27805         (__powl_helper): Allow negative argument X and scale negated value
27806         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27807         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27808         overflowing or underflowing operations take place with sign of
27809         result.
27810         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27811         Include <math.h>.
27812         * math/auto-libm-test-in: Add more tests of pow.
27813         * math/auto-libm-test-out: Regenerated.
27814         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27815         (pow_tonearest_test_data): Remove.
27816         (pow_test_tonearest): Likewise.
27817         (pow_towardzero_test_data): Likewise.
27818         (pow_test_towardzero): Likewise.
27819         (pow_downward_test_data): Likewise.
27820         (pow_test_downward): Likewise.
27821         (pow_upward_test_data): Likewise.
27822         (pow_test_upward): Likewise.
27823         (main): Don't call removed functions.
27824         * sysdeps/i386/fpu/libm-test-ulps: Update.
27825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27827 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27830         Moved ...
27831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27833         Moved ...
27834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27836         Moved ...
27837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27839         Moved ...
27840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27842         File removed.
27843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27844         File removed.
27845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27846         File removed.
27847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27848         File removed.
27849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27850         File removed.
27851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27852         File removed.
27853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27854         File removed.
27855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27856         File removed.
27857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27858         File removed.
27859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27860         File removed.
27861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27862         File removed.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27864         File removed.
27865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27866         Moved ...
27867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27869         Moved ...
27870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27871         ... here.
27872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27873         Moved ...
27874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27876         Moved ...
27877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27879         Moved ...
27880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27882         Moved ...
27883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27885         Moved ...
27886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27888         Moved ...
27889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27891         Moved ...
27892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27895         ... here.
27896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27897         Moved ...
27898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27900         Moved ...
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27902         ... here.
27903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27904         Moved ...
27905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27906         ... here.
27907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27908         Moved ...
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27910         ... here.
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27912         Moved ...
27913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27915         Moved ...
27916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27920         Moved ...
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27922         ... here.
27923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27924         Moved ...
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27926         ... here.
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27928         Moved ...
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27931         Moved ...
27932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27934         Moved ...
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27937         Moved ...
27938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27940         Moved ...
27941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27942         ... here.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27944         Moved ...
27945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27947         Moved ...
27948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27950         Moved ...
27951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27953         Moved ...
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27958         Moved ...
27959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27961         Moved ...
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27964         Moved ...
27965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27966         ... here.
27967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27968         Moved ...
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27970         ... here.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27972         Moved ...
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27974         ... here.
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27976         Moved ...
27977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27979         Moved ...
27980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27982         Moved ...
27983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27985         Moved ...
27986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27987         ... here.
27988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27989         Moved ...
27990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27991         ... here.
27992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27993         Moved ...
27994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27995         ... here.
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27997         Moved ...
27998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28000         Moved ...
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28003 2014-06-23  Will Newton  <will.newton@linaro.org>
28004             Wilco  <wdijkstr@arm.com>
28006         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28007         implementation.  Include get-rounding-mode.h.
28008         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28009         [!libc_feholdsetround_noex_ctx]: Define
28010         libc_feholdsetround_noex_ctx.
28011         [!libc_feholdsetround_noexf_ctx]: Define
28012         libc_feholdsetround_noexf_ctx.
28013         [!libc_feholdsetround_noexl_ctx]: Define
28014         libc_feholdsetround_noexl_ctx.
28015         (libc_feholdsetround_ctx): New function.
28016         (libc_feresetround_ctx): New function.
28017         (libc_feholdsetround_noex_ctx): New function.
28018         (libc_feresetround_noex_ctx): New function.
28020 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28022         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28023         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28024         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28025         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28026         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28027         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28029         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28030         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28031         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28032         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28033         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28034         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28035         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28036         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28037         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28038         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28039         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28040         Moved ...
28041         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28042         ... here.
28043         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28044         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28045         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28046         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28047         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28048         Moved ...
28049         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28050         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28051         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28053         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28054         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28055         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28056         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28057         Moved ...
28058         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28060         Moved ...
28061         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28062         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28063         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28064         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28065         Moved ...
28066         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28068         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28069         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28070         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28071         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28072         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28074         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28075         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28076         Moved ...
28077         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28078         ... here.
28079         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28080         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28081         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28082         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28083         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28084         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28086         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28087         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28088         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28089         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28090         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28091         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28092         Moved ...
28093         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28094         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28095         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28096         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28097         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28098         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28099         Moved ...
28100         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28102         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28103         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28104         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28106         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28107         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28108         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28109         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28110         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28111         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28112         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28113         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28115         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28116         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28117         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28118         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28119         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28120         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28121         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28122         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28123         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28124         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28125         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28126         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28127         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28128         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28129         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28130         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28131         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28132         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28133         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28135 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28138         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28139         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28140         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28141         (IPV6_PMTUDISC_INTERFACE): Likewise.
28142         (IPV6_PMTUDISC_OMIT): Likewise.
28144 2014-06-23  Andreas Schwab  <schwab@suse.de>
28146         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28147         Remove unused errout label.
28149 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28151         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28152         macro: hardware supports Vector Crypto instructions.
28154 2014-06-23  Will Newton  <will.newton@linaro.org>
28156         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28157         rather than __builtin_expect.
28159         * elf/dl-lookup.c (undefined_msg): Remove variable.
28160         (_dl_lookup_symbol_x): Replace undefined_msg with string
28161         literal.
28163         * elf/dl-lookup.c (do_lookup_unique): New function.
28164         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28165         to a separate function.
28167 2014-06-23  Andreas Schwab  <schwab@suse.de>
28169         [BZ #17079]
28170         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28171         before reading the next line.
28173 2014-06-23  Will Newton  <will.newton@linaro.org>
28175         * test-skeleton.c (signal_handler): Use printf and %m
28176         rather than perror.  Use printf rather than fprintf to
28177         stderr.  Use puts rather than fputs to stderr.
28178         (main): Likewise.
28180 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28182         * nscd/nscd.c (thread_info_t): Remove typedef.
28183         (thread_info): Remove variable.
28185 2014-06-21  Allan McRae  <allan@archlinux.org>
28187         * NEWS: Mention CVE-2014-4043.
28189 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28191         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28192         * nptl/smp.h: ... here.
28194         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28196         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28197         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28198         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28199         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28201         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28202         * nptl/stack-aliasing.h: New file.
28203         * sysdeps/i386/i686/stack-aliasing.h: New file.
28204         * sysdeps/i386/i686/nptl/Makefile: File removed.
28205         * sysdeps/x86_64/stack-aliasing.h: New file.
28206         * sysdeps/x86_64/nptl/Makefile
28207         (CFLAGS-pthread_create.c): Variable removed.
28209         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28210         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28211         old file.
28212         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28213         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28214         old file.
28216 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28218         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28219         (__ASSUME_SIGFRAME_V2): Remove macro.
28220         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28221         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28222         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28223         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28224         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28225         Declare as function.  Remove conditional macro definitions.
28226         (__default_rt_sa_restorer): Likewise.
28227         (__default_sa_restorer_v1): Remove declaration.
28228         (__default_sa_restorer_v2): Likewise.
28229         (__default_rt_sa_restorer_v1): Likewise.
28230         (__default_rt_sa_restorer_v2): Likewise.
28231         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28232         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28233         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28235 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28237         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28238         (libpthread-routines): Add sysdep.
28239         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28240         * sysdeps/unix/sysv/linux/sparc/Versions
28241         (libpthread: GLIBC_2.3.3): New version set.
28242         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28243         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28244         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28245         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28246         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28247         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28248         Moved ...
28249         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28250         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28251         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28252         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28253         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28254         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28255         * sysdeps/sparc/nptl/sem_init.c: ... here.
28256         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28257         * sysdeps/sparc/nptl/sem_post.c: ... here.
28258         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28259         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28260         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28261         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28262         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28263         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28264         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28265         (libpthread-routines): Add cpu_relax.
28266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28267         File removed.
28268         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28269         (librt: GLIBC_2.3.3): New version set.
28270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28271         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28272         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28273         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28276         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28278         Moved ...
28279         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28281         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28283         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28285         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28287         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28289         Moved ...
28290         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28291         Update #include.
28292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28293         Moved ...
28294         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28295         Update #include.
28296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28297         Moved ...
28298         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28299         Update #include.
28300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28301         Moved ...
28302         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28303         Update #include.
28304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28305         Moved ...
28306         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28307         Update #include.
28308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28309         Moved ...
28310         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28311         Update #include.
28312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28313         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28319         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28321         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28323         Moved ...
28324         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28326         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28328         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28330 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28332         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28333         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28334         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28335         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28336         * nscd/nscd.c: Likewise.
28337         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28338         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28339         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28340         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28342         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28343         <kernel-features.h>.
28344         (init_mq_netlink): Remove conditional have_sock_cloexec
28345         definitions.  Remove code conditional on have_sock_cloexec < 0.
28346         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28347         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28348         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28349         <kernel-features.h>.
28350         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28351         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28353 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28356         Add tests for memset_chk and memset.
28358         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28359         with AVX2_Usable.
28361 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28363         [BZ #16046]
28364         * elf/tst-dl-iter-static.c: New file.
28365         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28367         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28368         error.
28370 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28372         * sysdeps/unix/sysv/linux/kernel-features.h
28373         (__ASSUME_F_GETOWN_EX): Remove macro.
28374         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28375         <kernel-features.h>.
28376         (miss_F_GETOWN_EX): Remove variable or macro.
28377         (do_fcntl): Do not check miss_F_GETOWN_EX.
28378         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28380         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28381         Remove macro.
28382         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28383         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28384         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28386         * sysdeps/unix/sysv/linux/kernel-features.h
28387         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28388         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28389         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28390         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28392 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28394         [BZ #17075]
28395         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28396         Fix calculation of the symbol's value.
28397         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28398         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28399         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28400         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28401         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28402         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28403         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28404         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28405         (modules-names): Add `tst-armtlsdescmod',
28406         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28407         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28408         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28409         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28410         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28411         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28412         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28413         ($(objpfx)tst-armtlsdescloc): New dependency.
28414         ($(objpfx)tst-armtlsdescextnow): Likewise.
28415         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28416         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28417         TLS scheme support.
28418         * sysdeps/arm/configure: Regenerate.
28420 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28422         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28423         (__atfct_seterrno_2): Likewise.
28424         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28425         <kernel-features.h>.
28426         (__ASSUME_ATFCTS): Do not undefine and redefine.
28427         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28428         (__have_atfcts): Remove conditional definition.
28429         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28430         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28431         unreachable if [__ASSUME_ATFCTS].
28432         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28433         not undefine and redefine.
28434         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28435         <kernel-features.h>.
28436         (faccessat) [__NR_faccessat]: Make code unconditional.
28437         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28438         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28439         <kernel-features.h>.
28440         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28441         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28442         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28443         <kernel-features.h>.
28444         (fchownat) [__NR_fchownat]: Make code unconditional.
28445         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28446         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28447         <kernel-features.h>.
28448         (futimesat) [__NR_futimesat]: Make code unconditional.
28449         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28450         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28451         <kernel-features.h>.
28452         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28453         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28454         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28455         <kernel-features.h>.
28456         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28457         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28458         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28459         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28460         <kernel-features.h>.
28461         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28462         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28463         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28464         <kernel-features.h>.
28465         (linkat) [__NR_linkat]: Make code unconditional.
28466         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28467         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28468         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28469         <kernel-features.h>.
28470         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28471         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28472         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28473         <kernel-features.h>.
28474         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28475         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28476         * sysdeps/unix/sysv/linux/openat.c: Do not include
28477         <kernel-features.h>.
28478         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28479         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28480         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28481         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28482         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28483         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28484         <kernel-features.h>.
28485         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28486         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28487         result of INLINE_SYSCALL directly, not via int variable.
28488         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28489         <kernel-features.h>.
28490         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28491         (renameat) [__NR_renameat]: Make code unconditional.
28492         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28493         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28494         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28495         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28496         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28497         (__ASSUME_ATFCTS): Do not undefine and redefine.
28498         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28499         <kernel-features.h>.
28500         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28501         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28502         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28503         <kernel-features.h>.
28504         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28505         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28506         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28507         (__ASSUME_ATFCTS): Do not undefine and redefine.
28508         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28509         <kernel-features.h>.
28510         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28511         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28512         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28513         <kernel-features.h>.
28514         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28515         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28517 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28519         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28521 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28523         [BZ #17069]
28524         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28525         constructed tree before returning error.
28526         * posix/bug-regexp36.c: Expand test case.
28528 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28530         [BZ #6803]
28531         * math/libm-test.inc (scalbln_test_date):
28532         Add errno expectations.
28533         * math/w_scalblnf.c: New File.
28534         Add wrapper which checks for setting errno to ERANGE.
28535         Add weak_alias for corresponding scalbln function.
28536         * math/w_scalbln.c: Likewise.
28537         * math/w_scalblnl.c: Likewise.
28538         * math/Makefile (libm-calls): Add w_scalbln.
28539         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28540         Remove weak_alias for corresponding scalbln function.
28541         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28542         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28543         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28544         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28545         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28546         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28547         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28548         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28549         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28550         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28551         Remove long_double_symbol for scalblnl function in libm, libc.
28552         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28553         Add wrapper which checks for setting errno to ERANGE.
28554         Add long_double_symbol for scalblnl function in libm, libc.
28555         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28556         Remove long_double_symbol for scalblnl in libm.
28557         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28558         Add wrapper which checks for setting errno to ERANGE.
28559         Add long_double_symbol for scalblnl function in libm.
28560         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28561         Do not use wrapper because of own implementation.
28563 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28565         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28566         3 bytes for __pad1 for x32.
28567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28569 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28570             H.J. Lu  <hongjiu.lu@intel.com>
28572         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28573         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28574         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28575         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28576         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28578 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28580         [BZ #17069]
28581         * posix/regcomp.c (parse_expression): Deallocate partially
28582         constructed tree before returning error.
28583         * posix/Makefile.c (tests): Add bug-regex36.
28584         (generated): Add bug-regex36.mtrace.
28585         (tests-special): Add $(objpfx)bug-regex36-mem.out
28586         (bug-regex36-ENV): New variable.
28587         ($(objpfx)bug-regex36-mem.out): New rule.
28588         * posix/bug-regex36.c: New file.
28590 2014-06-19  Will Newton  <will.newton@linaro.org>
28592         * malloc/malloc.c (systrim): If extra is zero then return
28593         early.
28595 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28597         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28599 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28601         * sysdeps/aarch64/strchr.S: New file.
28603 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #17022]
28606         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28607         from arguments -2 or below.
28608         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28609         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28611 2014-06-18  Andreas Schwab  <schwab@suse.de>
28613         [BZ #17062]
28614         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28615         of a bracket expr not to run off the end of the string.
28616         * posix/Makefile (tests): Add tst-fnmatch3.
28617         * posix/tst-fnmatch3.c: New file.
28619 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28621         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28622         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28623         [$(cross-compiling) = no]: Likewise.
28624         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28625         [$(cross-compiling) = no]: Likewise.
28627 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28629         [BZ #17031]
28630         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28631         double, adjusted for any remainder from the high double.
28632         * math/libm-test.inc (nearbyint): Add tests.
28633         (rint): Likewise.
28635 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28637         * nptl/sysdeps/powerpc/Makefile: Moved ...
28638         * sysdeps/powerpc/nptl/Makefile: ... here.
28639         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28640         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28641         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28642         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28643         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28644         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28645         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28646         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28647         * nptl/sysdeps/powerpc/tls.h: Moved ...
28648         * sysdeps/powerpc/nptl/tls.h: ... here.
28650 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28652         [BZ #16681]
28653         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28654         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28655         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28656         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28657         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28658         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28659         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28660         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28661         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28663 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28665         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28667 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28669         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28670         defined operator.
28672         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28673         $TIMEOUTFACTOR.
28675 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28677         [BZ #17058]
28678         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28679         non-executed part of the test.
28681 2014-06-16  Andreas Schwab  <schwab@suse.de>
28683         * string/bits/string2.h (strdup, strndup): Update feature guard.
28685 2014-06-14  David S. Miller  <davem@davemloft.net>
28687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28689 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28691         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28692         that was previously under [RESET_PID].
28693         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28695         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28696         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28697         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28698         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28699         (__libc_vfork): New strong alias.
28700         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28702 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28704         * sysdeps/generic/elide.h: New file.
28706 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28708         * Makefile (installed-headers): Adjust path of pthread.h header.
28710 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28712         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28713         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28714         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28715         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28717         * nptl/sysdeps/s390/Makefile: Moved ...
28718         * sysdeps/s390/nptl/Makefile: ... here.
28719         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28720         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28721         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28722         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28723         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28724         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28725         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28726         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28727         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28728         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28729         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28730         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28731         * nptl/sysdeps/s390/tls.h: Moved ...
28732         * sysdeps/s390/nptl/tls.h: ... here.
28734         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28735         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28737 2014-06-13  David S. Miller  <davem@davemloft.net>
28739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28742         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28746         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28747         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28748         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28749         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28750         Remove RESET_PID cpp guards.
28751         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28752         Remove RESET_PID cpp guards.
28753         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28755 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28757         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28758         __sp to uintptr_t.
28760 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28762         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28764         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28765         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28766         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28767         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28768         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28769         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28770         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28771         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28772         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28773         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28774         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28775         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28776         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28777         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28778         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28779         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28780         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28781         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28783         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28784         (pthread_rwlock_rdlock): Add elision.
28785         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28786         (pthread_rwlock_wrlock): Add elision.
28787         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28788         (pthread_rwlock_trywrlock): Add elision.
28789         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28790         (pthread_rwlock_tryrdlock): Add elision.
28791         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28792         (pthread_rwlock_tryrdlock): Add elision unlock.
28793         * nptl/sysdeps/pthread/pthread.h:
28794         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28795         (PTHREAD_RWLOCK_INITIALIZER,
28796         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28797         Handle new elision field.
28798         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28799         * sysdeps/arm/nptl/bits/pthreadtypes.h
28800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28801         * sysdeps/sh/nptl/bits/pthreadtypes.h
28802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28803         * sysdeps/tile/nptl/bits/pthreadtypes.h
28804         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28805         * sysdeps/a/nptl/bits/pthreadtypes.h
28806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28807         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28808         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28809         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28810         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28811         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28812         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28813         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28814         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28815         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28816         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28817         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28818         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28819         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28820         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28821         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28822         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28823         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28824         (elision_init): Set try_xbegin to zero when no RTM.
28825         * sysdeps/x86/nptl/bits/pthreadtypes.h
28826         (pthread_rwlock_t): Change __pad1 to __rwelision.
28827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28829 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28831         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28832         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28833         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28834         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28836 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28838         [BZ #16996]
28839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28840         that the cached result has been set before returning it.
28842 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28844         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28845         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28846         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28847         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28848         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28849         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28851         * nptl/sysdeps/sparc/Makefile: Moved ...
28852         * sysdeps/sparc/nptl/Makefile: ... here.
28853         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28854         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28855         * nptl/sysdeps/sparc/tls.h: Moved ...
28856         * sysdeps/sparc/nptl/tls.h: ... here.
28857         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28858         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28859         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28860         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28861         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28862         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28863         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28864         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28865         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28866         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28867         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28868         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28869         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28870         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28871         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28872         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28873         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28874         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28875         Update #include.
28876         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28877         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28878         Update #include.
28879         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28880         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28881         Update #include.
28882         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28883         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28884         Update #include.
28886         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28888         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28889         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28891         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28892         (struct list_links): Type removed.
28893         (struct thread_node, struct timer_node): Replace struct list_links
28894         with struct list_head.
28895         (list_unlink_ip): Likewise.
28896         * sysdeps/pthread/timer_routines.c
28897         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28898         (list_append, list_insbefore): Likewise.
28899         (list_init): Function removed.
28900         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28901         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28902         * sysdeps/pthread/Makefile: ... here, new file.
28904         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28905         * sysdeps/nptl/Implies: ... here.
28906         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28907         * nptl/sysdeps/pthread/list.h: Moved ...
28908         * include/list.h: ... here.
28909         * nptl/sysdeps/pthread/createthread.c: Moved ...
28910         * nptl/createthread.c: ... here.
28911         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28912         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28913         * nptl/pt-longjmp.c: ... here.
28914         * nptl/sysdeps/pthread/Makefile: Moved ...
28915         * sysdeps/nptl/Makefile: ... here.
28916         * nptl/sysdeps/pthread/Subdirs: Moved ...
28917         * sysdeps/nptl/Subdirs: ... here.
28918         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28919         * sysdeps/nptl/aio_misc.h: ... here.
28920         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28921         * sysdeps/nptl/bits/libc-lock.h: ... here.
28922         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28923         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28924         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28925         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28926         * nptl/sysdeps/pthread/configure: Moved ...
28927         * sysdeps/nptl/configure: ... here.
28928         * nptl/sysdeps/pthread/configure.ac: Moved ...
28929         * sysdeps/nptl/configure.ac: ... here.
28930         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28931         * sysdeps/nptl/gai_misc.h: ... here.
28932         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28933         * sysdeps/nptl/librt-cancellation.c: ... here.
28934         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28935         * sysdeps/nptl/malloc-machine.h: ... here.
28936         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28937         * sysdeps/nptl/pthread-functions.h: ... here.
28938         * nptl/sysdeps/pthread/pthread.h: Moved ...
28939         * sysdeps/nptl/pthread.h: ... here.
28940         * nptl/sysdeps/pthread/setxid.h: Moved ...
28941         * sysdeps/nptl/setxid.h: ... here.
28942         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28943         * sysdeps/nptl/sigfillset.c: ... here.
28944         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28945         * sysdeps/nptl/tcb-offsets.h: ... here.
28946         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28947         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28948         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28949         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28950         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28951         * sysdeps/pthread/allocalim.h: ... here.
28952         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28953         * sysdeps/pthread/bits/sigthread.h: ... here.
28954         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28955         * sysdeps/pthread/flockfile.c: ... here.
28956         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28957         * sysdeps/pthread/ftrylockfile.c: ... here.
28958         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28959         * sysdeps/pthread/funlockfile.c: ... here.
28960         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28961         * sysdeps/pthread/posix-timer.h: ... here.
28962         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28963         * sysdeps/pthread/timer_create.c: ... here.
28964         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28965         * sysdeps/pthread/timer_delete.c: ... here.
28966         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28967         * sysdeps/pthread/timer_getoverr.c: ... here.
28968         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28969         * sysdeps/pthread/timer_gettime.c: ... here.
28970         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28971         * sysdeps/pthread/timer_routines.c: ... here.
28972         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28973         * sysdeps/pthread/timer_settime.c: ... here.
28974         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28975         * sysdeps/pthread/tst-timer.c: ... here.
28976         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28977         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28979         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28980         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28982         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28983         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28984         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28985         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28986         Update #include target.
28987         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28988         * sysdeps/i386/i686/nptl/Makefile: ... here.
28989         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28990         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28991         Update #include target.
28992         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28993         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28994         * nptl/sysdeps/i386/Makefile: Moved ...
28995         * sysdeps/i386/nptl/Makefile: ... here.
28996         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28997         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28998         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28999         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29000         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29001         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29002         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29003         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29004         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29005         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29006         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29007         * nptl/sysdeps/i386/tls.h: Moved ...
29008         * sysdeps/i386/nptl/tls.h: ... here.
29010         * sysdeps/sh/Makefile [$(subdir) = csu]
29011         (gen-as-const-headers): Add tcb-offsets.sym.
29012         * nptl/sysdeps/sh/Makefile: File removed.
29013         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29014         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29015         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29016         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29017         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29018         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29019         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29020         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29021         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29022         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29023         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29024         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29025         * nptl/sysdeps/sh/tls.h: Moved ...
29026         * sysdeps/sh/nptl/tls.h: ... here.
29027         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29028         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29029         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29030         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29031         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29032         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29033         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29034         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29035         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29036         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29037         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29038         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29039         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29040         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29041         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29042         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29043         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29044         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29045         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29046         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29047         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29048         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29049         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29050         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29051         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29052         Moved ...
29053         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29054         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29055         Moved ...
29056         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29057         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29058         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29060         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29061         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29062         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29063         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29064         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29065         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29066         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29067         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29068         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29069         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29070         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29071         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29072         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29073         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29074         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29076 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29078         * posix/spawn_faction_addopen.c: Include string.h.
29080 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29082         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29083         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29084         * nptl/sysdeps/x86_64/Makefile: Moved ...
29085         * sysdeps/x86_64/nptl/Makefile: ... here.
29086         * nptl/sysdeps/x86_64/configure: Moved ...
29087         * sysdeps/x86_64/nptl/configure: ... here.
29088         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29089         * sysdeps/x86_64/nptl/configure.ac: ... here.
29090         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29091         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29092         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29093         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29094         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29095         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29096         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29097         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29098         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29099         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29100         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29101         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29102         * nptl/sysdeps/x86_64/tls.h: Moved ...
29103         * sysdeps/x86_64/nptl/tls.h: ... here.
29104         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29105         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29106         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29107         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29109         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29111 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29115 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29117         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29118         type.
29119         [POSIX] (off_t): Likewise.
29120         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29121         [POSIX] (S_ISBLK): Require macro.
29122         [POSIX] (S_ISCHR): Likewise.
29123         [POSIX] (S_ISDIR): Likewise.
29124         [POSIX] (S_ISFIFO): Likewise.
29125         [POSIX] (S_ISREG): Likewise.
29126         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29127         optional-macro.
29128         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29129         type.
29130         [POSIX] (time_t): Likewise.
29131         [POSIX] (timer_t): Likewise.
29133 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29135         [BZ #17048]
29136         * posix/spawn_int.h (struct __spawn_action): Make the path string
29137         non-const to support deallocation.
29138         * posix/spawn_faction_addopen.c
29139         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29140         * posix/spawn_faction_destroy.c
29141         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29142         path in all spawn_do_open actions.
29143         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29144         posix_spawn_file_actions_addopen.
29146 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29148         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29149         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29150         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29151         conditional code always true.
29152         (__libc_vfork): New alias.
29154 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29156         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29157         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29159         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29161         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29162         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29164         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29165         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29167         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29168         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29170 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29172         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29173         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29174         multiarch strcmp for PPC64.
29175         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29176         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29178         multiarch optimizations.
29179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29180         (__libc_ifunc_impl_list): Likewise.
29182 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29184         * benchtests/scripts/validate_benchout.py: New script.
29185         * benchtests/Makefile (bench-func): Call it.
29186         * benchtests/scripts/benchout.schema.json: New file.
29188 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29190         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29191         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29192         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29193         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29194         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29195         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29196         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29197         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29198         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29199         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29200         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29201         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29202         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29203         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29204         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29205         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29207         Moved ...
29208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29209         ... here.
29210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29211         Moved ...
29212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29214         Moved ...
29215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29216         ... here.
29217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29218         Moved ...
29219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29220         ... here.
29221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29222         Moved ...
29223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29225         Moved ...
29226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29227         ... here.
29228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29229         Moved ...
29230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29231         ... here.
29232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29233         Moved ...
29234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29236         Moved ...
29237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29238         ... here.
29239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29240         Moved ...
29241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29242         ... here.
29243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29244         Moved ...
29245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29246         ... here.
29247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29248         Moved ...
29249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29251         Moved ...
29252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29253         ... here.
29254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29255         Moved ...
29256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29257         ... here.
29258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29259         Moved ...
29260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29261         ... here.
29262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29266         Moved ...
29267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29268         ... here.
29269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29270         Moved ...
29271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29272         ... here.
29273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29274         Moved ...
29275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29277         Moved ...
29278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29279         ... here.
29280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29281         Moved ...
29282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29284         Moved ...
29285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29287         Moved ...
29288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29289         ... here.
29290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29291         Moved ...
29292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29293         ... here.
29294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29295         Moved ...
29296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29297         ... here.
29298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29299         Moved ...
29300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29302         Moved ...
29303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29304         ... here.
29305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29306         Moved ...
29307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29308         ... here.
29309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29310         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29311         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29312         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29313         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29314         Moved ...
29315         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29316         ... here.
29317         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29318         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29322         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29323         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29324         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29325         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29326         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29327         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29328         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29329         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29330         Moved ...
29331         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29332         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29333         Moved ...
29334         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29336         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29338         Moved ...
29339         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29340         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29341         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29342         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29343         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29344         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29345         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29347 2014-06-10  Wilco  <wdijkstr@arm.com>
29349         * math/test-fenv-return.c: New file.
29350         * math/Makefile: Add new test test-fenv-return.
29352 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29354         [BZ #17042]
29355         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29356         when x - 1 is zero.
29357         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29358         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29359         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29360         0.0L for an argument of 1.0L.
29361         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29362         Likewise.
29363         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29364         value when x - 1 is zero.
29365         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29366         * sysdeps/i386/fpu/libm-test-ulps: Update.
29367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29369 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29371         [BZ #15119]
29372         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29374 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29376         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29377         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29379 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29381         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29382         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29384         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29385         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29387         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29388         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29390         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29391         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29393         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29394         if not already defined.
29395         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29396         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29397         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29398         (TLS_INIT_TP): Use it.
29399         (TLS_DEFINE_INIT_TP): New macro.
29400         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29402 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29404         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29405         constant.
29406         [POSIX] (IXANY): Likewise.
29407         [POSIX] (OLCUC): Likewise.
29408         [POSIX || POSIX2008] (CBAUD): Do not allow.
29409         [POSIX || POSIX2008] (DEFECHO): Likewise.
29410         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29411         [POSIX || POSIX2008] (ECHOKE): Likewise.
29412         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29413         [POSIX || POSIX2008] (EXTA): Likewise.
29414         [POSIX || POSIX2008] (EXTB): Likewise.
29415         [POSIX || POSIX2008] (FLUSHO): Likewise.
29416         [POSIX || POSIX2008] (LOBLK): Likewise.
29417         [POSIX || POSIX2008] (PENDIN): Likewise.
29418         [POSIX || POSIX2008] (SWTCH): Likewise.
29419         [POSIX || POSIX2008] (VDISCARD): Likewise.
29420         [POSIX || POSIX2008] (VDSUSP): Likewise.
29421         [POSIX || POSIX2008] (VLNEXT): Likewise.
29422         [POSIX || POSIX2008] (VREPRINT): Likewise.
29423         [POSIX || POSIX2008] (VSTATUS): Likewise.
29424         [POSIX || POSIX2008] (VWERASE): Likewise.
29425         (B*): Change to B[0123456789]*.
29426         * conform/data/time.h-data [POSIX || UNIX98]
29427         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29428         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29429         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29430         [POSIX] (tm_*): Do not allow.
29432 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29434         * Makefile (install): Don't set LANGUAGE.
29435         * Makefile.in (install): Likewise.
29436         * assert/Makefile (test-assert-ENV): Remove variable.
29437         (test-assert-perr-ENV): Likewise.
29438         * elf/Makefile (neededtest4-ENV): Likewise.
29439         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29440         [$(cross-compiling) = no]: Don't set LANGUAGE.
29441         * io/ftwtest-sh (LANG): Remove variable.
29442         * libio/Makefile (tst-widetext-ENV): Likewise.
29443         * manual/install.texi (Running make install): Don't refer to
29444         environment settings for make install.
29445         * INSTALL: Regenerated.
29446         * nptl/tst-tls6.sh: Don't set LANG.
29447         * posix/globtest.sh (LANG): Remove variable.
29448         * string/Makefile (tester-ENV): Likewise.
29449         (inl-tester-ENV): Likewise.
29450         (noinl-tester-ENV): Likewise.
29451         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29452         [$(cross-compiling) = no]: Don't set LANGUAGE.
29453         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29454         without explicit environment settings.
29456 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29458         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29459         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29460         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29461         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29463 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29465         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29466         other files in the crypt directory.
29467         * crypt/crypt.c: Remove duplicate includes.
29468         * crypt/crypt-entry.c: Likewise.
29469         * crypt/crypt_util.c: Likewise.
29471 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29473         * Makeconfig (run-program-env): New variable.
29474         (run-program-prefix-before-env): Likewise.
29475         (run-program-prefix-after-env): Likewise.
29476         (run-program-prefix): Define in terms of new variables.
29477         (built-program-cmd-before-env): New variable.
29478         (built-program-cmd-after-env): Likewise.
29479         (built-program-cmd): Define in terms of new variables.
29480         (test-program-prefix-before-env): New variable.
29481         (test-program-prefix-after-env): Likewise.
29482         (test-program-prefix): Define in terms of new variables.
29483         (test-program-cmd-before-env): New variable.
29484         (test-program-cmd-after-env): Likewise.
29485         (test-program-cmd): Define in terms of new variables.
29486         * Rules (make-test-out): Use $(run-program-env).
29487         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29488         (help): Do not mention environment variables.  Mention
29489         --timeoutfactor option.
29490         (timeoutfactor): New variable.
29491         (blacklist_exports): Remove function.
29492         (exports): Remove variable.
29493         (command): Do not include ${exports}.
29494         * manual/install.texi (Configuring and compiling): Do not mention
29495         test wrappers preserving environment variables.  Mention that last
29496         assignment to a variable must take precedence.
29497         * INSTALL: Regenerated.
29498         * benchtests/Makefile (run-bench): Use $(run-program-env).
29499         * catgets/Makefile ($(objpfx)test1.cat): Use
29500         $(built-program-cmd-before-env), $(run-program-env) and
29501         $(built-program-cmd-after-env).
29502         ($(objpfx)test2.cat): Do not specify environment variables
29503         explicitly.
29504         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29505         $(run-program-env) and $(built-program-cmd-after-env).
29506         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29507         $(run-program-env) and $(test-program-cmd-after-env).
29508         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29509         explicitly.
29510         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29511         run_program_env and test_program_cmd_after_env arguments.
29512         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29513         * elf/tst-pathopt.sh: Use run_program_env argument.
29514         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29515         $(test-wrapper-env) and $(run-program-env).
29516         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29517         run_program_env arguments.
29518         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29519         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29520         $(test-program-prefix-before-env), $(run-program-env) and
29521         $(test-program-prefix-after-env).
29522         ($(objpfx)tst-gettext2.out): Likewise.
29523         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29524         run_program_env and test_program_prefix_after_env arguments.
29525         * intl/tst-gettext2.sh: Likewise.
29526         * intl/tst-gettext4.sh: Do not set environment variables
29527         explicitly.
29528         * intl/tst-gettext6.sh: Likewise.
29529         * intl/tst-translit.sh: Likewise.
29530         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29531         $(test-program-prefix-before-env), $(run-program-env) and
29532         $(test-program-prefix-after-env).
29533         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29534         run_program_env and test_program_prefix_after_env arguments.
29535         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29536         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29537         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29538         explicitly with each use of ${test_wrapper_env}.
29539         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29540         $(test-program-prefix-before-env), $(run-program-env) and
29541         $(test-program-prefix-after-env).
29542         * posix/tst-getconf.sh: Do not set environment variables
29543         explicitly.
29544         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29545         run_program_env and test_program_prefix_after_env arguments.
29546         * stdio-common/tst-printf.sh: Do not set environment variables
29547         explicitly.
29548         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29549         $(test-program-prefix-before-env), $(run-program-env) and
29550         $(test-program-prefix-after-env).
29551         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29552         run_program_env and test_program_prefix_after_env arguments.
29553         Split $test calls into $test_pre and $test.
29554         * timezone/Makefile (build-testdata): Use
29555         $(built-program-cmd-before-env), $(run-program-env) and
29556         $(built-program-cmd-after-env).
29558 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29560         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29561         strlen for non SHARED builds.
29563 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29565         * nptl/allocatestack.c (check_list): Inlined function...
29566         (__reclaim_stacks): ... here.
29568 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29570         [BZ #15698]
29571         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29572         memory overrun.
29574 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29576         * Rules (make-test-out): Include
29577         LOCPATH=$(common-objpfx)localedata in default environment.
29578         * debug/Makefile (tst-chk1-ENV): Remove variable.
29579         (tst-chk2-ENV): Likewise.
29580         (tst-chk3-ENV): Likewise.
29581         (tst-chk4-ENV): Likewise.
29582         (tst-chk5-ENV): Likewise.
29583         (tst-chk6-ENV): Likewise.
29584         (tst-lfschk1-ENV): Likewise.
29585         (tst-lfschk2-ENV): Likewise.
29586         (tst-lfschk3-ENV): Likewise.
29587         (tst-lfschk4-ENV): Likewise.
29588         (tst-lfschk5-ENV): Likewise.
29589         (tst-lfschk6-ENV): Likewise.
29590         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29591         (tst-iconv7-ENV): Likewise.
29592         * intl/Makefile (LOCPATH-ENV): Likewise.
29593         (tst-codeset-ENV): Likewise.
29594         (tst-gettext3-ENV): Likewise.
29595         (tst-gettext5-ENV): Likewise.
29596         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29597         (tst-fopenloc-ENV): Likewise.
29598         (tst-fgetws-ENV): Remove variable.
29599         (tst-ungetwc1-ENV): Likewise.
29600         (tst-ungetwc2-ENV): Likewise.
29601         (bug-ungetwc2-ENV): Likewise.
29602         (tst-swscanf-ENV): Likewise.
29603         (bug-ftell-ENV): Likewise.
29604         (tst-fgetwc-ENV): Likewise.
29605         (tst-fseek-ENV): Likewise.
29606         (tst-ftell-partial-wide-ENV): Likewise.
29607         (tst-ftell-active-handler-ENV): Likewise.
29608         (tst-ftell-append-ENV): Likewise.
29609         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29610         (tst-regexloc-ENV): Likewise.
29611         (bug-regex1-ENV): Likewise.
29612         (tst-regex-ENV): Likewise.
29613         (tst-regex2-ENV): Likewise.
29614         (bug-regex5-ENV): Likewise.
29615         (bug-regex6-ENV): Likewise.
29616         (bug-regex17-ENV): Likewise.
29617         (bug-regex18-ENV): Likewise.
29618         (bug-regex19-ENV): Likewise.
29619         (bug-regex20-ENV): Likewise.
29620         (bug-regex22-ENV): Likewise.
29621         (bug-regex23-ENV): Likewise.
29622         (bug-regex25-ENV): Likewise.
29623         (bug-regex26-ENV): Likewise.
29624         (bug-regex30-ENV): Likewise.
29625         (bug-regex32-ENV): Likewise.
29626         (bug-regex33-ENV): Likewise.
29627         (bug-regex34-ENV): Likewise.
29628         (bug-regex35-ENV): Likewise.
29629         (tst-rxspencer-ENV): Likewise.
29630         (tst-rxspencer-no-utf8-ENV): Likewise.
29631         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29632         (tst-sscanf-ENV): Likewise.
29633         (tst-swprintf-ENV): Likewise.
29634         (tst-swscanf-ENV): Likewise.
29635         (test-vfprintf-ENV): Likewise.
29636         (scanf13-ENV): Likewise.
29637         (bug14-ENV): Likewise.
29638         (tst-grouping-ENV): Likewise.
29639         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29640         (tst-strtod3-ENV): Likewise.
29641         (tst-strtod4-ENV): Likewise.
29642         (tst-strtod5-ENV): Likewise.
29643         (testmb2-ENV): Likewise./
29644         * string/Makefile (tst-strxfrm-ENV): Likewise.
29645         (tst-strxfrm2-ENV): Likewise.
29646         (bug-strcoll1-ENV): Likewise.
29647         (test-strcasecmp-ENV): Likewise.
29648         (test-strncasecmp-ENV): Likewise.
29649         * time/Makefile (tst-strptime-ENV): Likewise.
29650         (tst-ftime_l-ENV): Likewise.
29651         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29652         (tst-mbrtowc-ENV): Likewise.
29653         (tst-wcrtomb-ENV): Likewise.
29654         (tst-mbrtowc2-ENV): Likewise.
29655         (tst-c16c32-1-ENV): Likewise.
29656         (tst-mbsnrtowcs-ENV): Likewise.
29658 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29660         * manual/resource.texi (How to get information about the memory
29661         subsystem?): Fix typo.
29662         Reported by Peon de la Parra Ivan <peon@keba.com>
29664 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29666         [BZ #16882]
29667         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29668         (pthread_spin_lock): Branch out of spin loop to proper location.
29669         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29670         (pthread_spin_lock): Likewise.
29672         * nptl/tst-spin4.c: New test.
29673         * nptl/Makefile (tests): Add tst-spin4.
29675 2014-06-03  Andreas Schwab  <schwab@suse.de>
29677         [BZ #15946]
29678         * resolv/res_send.c (send_dg): Reload file descriptor after
29679         calling reopen.
29681 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29683         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29685 2014-06-03  Richard Henderson  <rth@redhat.com>
29687         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29688         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29689         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29690         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29691         in the SAVE_PID block.
29692         (__libc_vfork): New alias.
29693         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29695         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29696         child in registers, not on the stack.  Remove RESET_PID conditionals.
29697         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29699 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29701         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29703 2014-06-03  Wilco  <wdijkstr@arm.com>
29705         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29706         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29707         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29708         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29709         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29710         Likewise.
29712 2014-06-03  Wilco  <wdijkstr@arm.com>
29714         * sysdeps/aarch64/fpu/math_private.h
29715         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29716         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29717         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29718         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29719         Fix declarations.
29721 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29723         * crypt/crypt-private.h: Include ufc-crypt.h.
29724         (__b64_from_24bit): Declare extern.
29725         * crypt/crypt_util.c(__b64_from_24bit): New function.
29726         (b64t): New static const variable.
29727         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29728         (b64t): Remove variable.
29729         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29730         * crypt/sha256-crypt.c: Include crypt-private.h.
29731         (b64t): Remove variable.
29732         (__sha256_crypt_r): Remove b64_from_24bit and replace
29733         with __b64_from_24bit.
29734         * crypt/sha512-crypt.c: Likewise.
29736 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29738         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29739         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29740         Label the code __libc_vfork rather than __vfork.
29741         [!NOT_IN_libc] (vfork): Define as weak alias.
29742         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29743         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29744         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29746 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29748         * malloc/malloc.c (malloc_info): Fix format specifier for
29749         n_mmaps.
29751 2014-06-02  Wilco  <wdijkstr@arm.com>
29753         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29754         FPCR write.
29756 2014-06-02  Wilco  <wdijkstr@arm.com>
29758         [BZ #17009]
29759         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29760         Rewrite to reduce FPCR/FPSR accesses.
29762 2014-06-01  David S. Miller  <davem@davemloft.net>
29764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29766 2014-05-31  David S. Miller  <davem@davemloft.net>
29768         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29769         to occur in round to nearest mode when |x| >= 2.0
29771 2014-05-30  Richard Henderson  <rth@twiddle.net>
29773         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29774         (PSEUDO_RET_NOERRNO): Remove.
29775         (ret): Don't redefine.
29776         (ret_NOERRNO): Define in terms of ret.
29777         (ret_ERRVAL): Likewise.
29779         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29780         use of PSEUDO_RET; perform the error check directly.
29782 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29784         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29785         with __int128_t.
29787 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29789         * malloc/malloc (malloc_info): Fix formatting.
29791 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29792             Roland McGrath  <roland@hack.frob.com>
29794         * malloc/malloc (malloc_info): Also print mmapped statistics.
29796 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29798         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29799         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29801 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29803         * malloc/malloc.c (malloc_info): Inline mi_arena.
29805 2014-05-29  Richard Henderson  <rth@twiddle.net>
29807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29808         Remove comma before expanding ASM_ARGS_##nr.
29809         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29810         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29811         of ASM_ARGS_##nr.
29812         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29813         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29814         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29815         (ASM_ARGS_1): Add leading comma.
29817         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29818         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29819         to __errno_location.
29820         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29821         Remove the expected plt for __errno_location.
29823         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29824         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29825         call to __read_tp.
29827         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29828         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29829         it and break it down.
29830         (DOCARGS_0, DOCARGS_1): Do nothing.
29831         (DOCARGS_2): Update to store into the new stack frame.
29832         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29833         (UNDOCARGS_1): Update to restore from the new stack frame.
29834         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29835         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29837         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29838         (SINGLE_THREAD_P): New parameter for result regno.
29839         (PSEUDO): Update to match; use cbz instead of beq.
29841         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29842         Use ENTRY to define the _nocancel entry point.  Share the syscall
29843         and syscall error check paths with the cancel path.
29844         (PSEUDO_END): New.
29846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29847         whitespace; tabs before and after asm mnemonics.
29849 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29851         [BZ #15132]
29852         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29853         Call fstat64 or stat64 internally, depending on arguments passed.
29854         Replace stat buffer argument with file descriptor argument.
29855         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29856         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29857         Pass fd to __internal_statvfs instead of calling fstat64.
29858         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29859         Pass fd to __internal_statvfs64 instead of calling fstat64.
29860         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29861         Pass -1 to __internal_statvfs instead of calling stat64.
29862         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29863         Pass -1 to __internal_statvfs64 instead of calling stat64.
29865 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29867         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29868         that was previously under [RESET_PID].
29869         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29871         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29872         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29874 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29876         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29878         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29879         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29881 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29883         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29885 2014-05-27  Andreas Schwab  <schwab@suse.de>
29887         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29888         TLS_INIT_TP macro.
29889         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29890         * elf/rtld.c (init_tls, dl_main): Likewise.
29891         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29892         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29893         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29894         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29895         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29896         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29897         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29898         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29899         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29900         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29901         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29902         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29903         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29904         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29905         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29906         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29907         * sysdeps/generic/tls.h: Update description.
29909 2014-05-27  Will Newton  <will.newton@linaro.org>
29911         [BZ #16990]
29912         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29913         and restore r2 rather than just restoring.
29915 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29917         [BZ #16724]
29918         * libio/tst-ftell-append.c: New test case.
29919         * libio/Makefile (tests): Add test case.
29920         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29921         append mode.
29922         * libio/wfileops.c (do_ftell_wide): Likewise.
29924 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29928         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29929         ...
29930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29932         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29933         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29934         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29935         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29936         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29937         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29939         Moved ...
29940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29942         Moved ...
29943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29944         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29945         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29946         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29947         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29948         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29949         ...
29950         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29951         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29952         Moved ...
29953         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29954         here.
29955         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29956         ...
29957         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29958         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29959         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29961         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29962         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29963         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29964         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29967         merge into ...
29968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29969         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29970         ...
29971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29973         ...
29974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29976         Moved ...
29977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29978         here.
29979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29980         Moved ...
29981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29983         Moved ...
29984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29987         conditional [RESET_PID].
29988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29990         removed.
29991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29992         removed.
29994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29995         <tcb-offsets.h>.
29996         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29997         (__libc_vfork): New strong alias.
29998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29999         removed.
30000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30001         Removed.
30003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30004         <tcb-offsets.h>.
30005         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30006         (__libc_vfork): New strong alias.
30007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30008         removed.
30009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30010         removed.
30012 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30014         * malloc/malloc.c (mi_arena): New function.
30015         (malloc_info): Remove nested function mi_arena. Call non-nosted
30016         function mi_arena.
30018 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30020         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30021         by insrwi.
30022         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30023         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30024         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30025         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30026         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30027         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30028         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30030 2014-05-26  Andreas Schwab  <schwab@suse.de>
30032         [BZ #16984]
30033         * locale/programs/repertoire.c (repertoire_read): Add slash
30034         between I18NPATH element and file name.
30035         * locale/programs/locfile.c (locfile_read): Likewise.
30037 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30039         * nptl/pthread_mutexattr_settype.c
30040         (__pthread_mutexattr_settype):
30041         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30043 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30045         * nptl/tst-mutex5 (do_test):
30046         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30048 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30050         * benchtests/README: Document 'init' directive.
30051         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30052         BENCH_INIT.
30053         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30054         (parse_file): Recognize 'init' directive.
30056 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30058         [BZ #16796]
30059         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30060         alignment of struct pthread.
30062 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30064         [BZ #16878]
30065         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30066         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30067         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30068         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30070 2014-05-25  Richard Henderson  <rth@twiddle.net>
30072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30073         (SINGLE_THREAD_P_PIC): Remove.
30074         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30075         (SINGLE_THREAD_P_PIC): Remove.
30077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30078         branch to syscall error ...
30079         (PSEUDO): ... here.
30080         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30081         from __local_syscall_error to .Lsyscall_error.
30082         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30083         (SYSCALL_ERROR): Update label name.
30085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30086         Do not use DOARGS/UNDOARGS.
30087         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30088         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30089         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30090         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30091         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30094         block comment.
30096         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30097         define if !NOT_IN_libc.
30098         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30099         define with non-default symbol versions.
30101 2014-05-23  Richard Henderson  <rth@twiddle.net>
30103         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30104         (vfork, __vfork): Define via compat_symbol.
30106         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30107         [!HAVE_IFUNC] (vfork_compat): Remove.
30108         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30110 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30112         [BZ #16978]
30113         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30114         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30115         variable.
30117 2014-05-23  Richard Henderson  <rth@twiddle.net>
30119         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30120         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30121         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30122         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30124         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30125         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30126         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30127         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30128         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30129         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30130         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30131         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30132         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30133         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30134         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30135         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30136         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30137         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30138         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30139         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30140         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30141         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30142         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30143         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30144         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30145         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30146         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30147         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30148         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30149         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30150         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30151         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30152         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30153         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30154         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30155         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30156         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30157         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30158         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30159         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30160         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30161         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30162         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30163         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30164         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30165         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30166         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30167         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30168         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30169         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30170         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30171         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30172         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30173         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30174         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30175         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30176         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30177         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30178         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30179         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30181         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30182         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30183         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30184         before exiting on error.
30185         (__libc_vfork): New strong alias.
30186         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30187         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30189         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30190         that was previously under [RESET_PID].
30191         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30193         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30195 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30197         [BZ #16977]
30198         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30199         value when x - 1 is zero.
30200         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30201         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30202         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30203         0.0L for an argument of 1.0L.
30204         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30205         Likewise.
30206         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30207         value when x - 1 is zero.
30208         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30209         * sysdeps/i386/fpu/libm-test-ulps: Update.
30210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30212 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30214         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30215         alphasort and versionsort.
30217 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30219         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30220         macro.
30221         [copysignf]: Likewise.
30223 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30225         * crypt/md5-crypt.c: Fix formatting.
30227 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30229         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30230         (b64_from_24bit): New function.
30232 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30234         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30235         libc_hidden_builtin_def to ifunc.
30236         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30237         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30239 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30241         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30242         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30244 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30246         * nscd/Depend (linuxthreads): Remove.
30247         (nptl): Add.
30248         * resolv/Depend (linuxthreads): Remove.
30249         * rt/Depend (linuxthreads): Remove.
30251         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30252         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30253         $(common-objpfx)elf/.
30254         (link-libc-before-gnulib): Likewise.
30255         (elfobjdir): Remove variable.
30256         * Makefile (install): Use $(elf-objpfx) instead of
30257         $(common-objpfx)elf/.
30258         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30259         $(elfobjdir)/.
30260         (link-libc-deps): Likewise.
30261         ($(common-objpfx)libc.so): Likewise.
30262         ($(common-objpfx)linkobj/libc.so): Likewise.
30263         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30264         instead of $(common-objpfx)elf/.
30265         (symbolic-link-list): Likewise.
30266         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30267         [$(cross-compiling) = no]: Likewise.
30268         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30269         $(elfobjdir)/.
30270         (static-gnulib-arch): Likewise.
30271         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30272         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30273         $(common-objpfx)elf/.
30275 2014-05-21  Richard Henderson  <rth@redhat.com>
30277         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30278         (SINGLE_THREAD_P): Use the correct width load.  Fold
30279         into the ldr offset.
30281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30282         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30284 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30286         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30287         (libgcc_s_resume): Use __attribute_used__.
30288         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30289         Likewise.
30291 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30293         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30294         optimization when used with float constants.
30296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30298 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30300         [BZ #16915]
30301         * locale/nl_langinfo_l.c: Make direct reference to every
30302         _nl_current_CATEGORY symbol.
30303         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30304         (tests-static): Add tst-langinfo-static.
30305         (tests-special): Add tst-langinfo-static.out.
30306         ($(objpfx)tst-langinfo.out): Redirect output.
30307         ($(objpfx)tst-langinfo-static.out): New.
30308         * localedata/tst-langinfo.sh: Send output to stdout.
30309         * localedata/tst-langinfo-static.c: New file.
30311         [BZ #16965]
30312         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30313         when the shift amount is modulo the limb size.
30315 2014-05-20  Richard Henderson  <rth@redhat.com>
30317         [BZ #16967]
30318         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30319         Change type of sa_flags from unsigned int to int.
30321         [BZ #16966]
30322         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30324         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30326 2014-05-20  Will Newton  <will.newton@linaro.org>
30328         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30329         Test the return value of the system call in the nocancel case.
30331 2014-05-20  Will Newton  <will.newton@linaro.org>
30332             Yvan Roux  <yvan.roux@linaro.org>
30334         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30335         #include of asm/ptrace.h.
30336         (PTRACE_GET_THREAD_AREA): Remove #undef.
30337         (PTRACE_GETHBPREGS): Likewise.
30338         (PTRACE_SETHBPREGS): Likewise.
30339         (struct user_regs_struct): New structure.
30340         (struct user_fpsimd_struct): New structure.
30341         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30342         #include of asm/ptrace.h and second #include of sys/user.h.
30343         (PTRACE_GET_THREAD_AREA): Remove #undef.
30344         (PTRACE_GETHBPREGS): Likewise.
30345         (PTRACE_SETHBPREGS): Likewise.
30346         (ELF_NGREG): Use new struct user_regs_struct.
30347         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30349 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30351         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30354 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30356         [BZ #16958]
30357         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30358         membar to avoid block loads/stores to overlap previous stores.
30360 2014-05-17  Richard Henderson  <rth@redhat.com>
30362         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30363         Create the __##syscall_name##_nocancel entry point.
30364         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30365         Remove; let the sysdep-cancel.h code create it.
30367 2014-05-17  David S. Miller  <davem@davemloft.net>
30369         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30370         Protect with __USE_GNU.
30371         (TIOCSET_TEMPT): Likewise.
30372         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30373         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30374         these are already provided in bits/ioctl-types.h
30376 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30378         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30379         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30381         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30382         Use wait4 regardless of [__NR_waitpid].
30384 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30386         PR libgcc/60166
30387         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30388         (_FP_NANSIGN_Q): Set the quiet bit.
30390 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30392         * benchtests/Makefile
30393         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30394         not $(common-objpfx)math/libm.so.
30395         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30396         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30397         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30398         $(common-objpfx)dlfcn/libdl.so.
30399         ($(objpfx)tst-audit8): Depend on $(libm), not
30400         $(common-objpfx)math/libm.so.
30401         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30402         not $(common-objpfx)dlfcn/libdl.so.
30403         * math/Makefile
30404         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30405         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30406         [$(build-shared) = yes].
30407         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30408         $(common-objpfx)nptl/libpthread.so.
30409         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30410         $(common-objpfx)math/libm.so$(libm.so-version) or
30411         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30412         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30413         $(common-objpfx)dlfcn/libdl.so.
30414         * setjmp/Makefile (link-libm): Remove variable.
30415         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30416         * stdio-common/Makefile (link-libm): Remove variable.
30417         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30418         * stdlib/Makefile (link-libm): Remove variable.
30419         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30420         ($(objpfx)tst-strtod-round): Likewise.
30421         ($(objpfx)tst-tininess): Likewise.
30422         ($(objpfx)tst-strtod-underflow): Likewise.
30423         ($(objpfx)tst-strtod6): Likewise.
30424         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30425         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30426         $(common-objpfx)dlfcn/libdl.so.
30428 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30430         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30431         BSD terminal modes definitions.
30433 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30435         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30436         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30438         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30439         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30440         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30441         Don't do #include_next.
30442         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30443         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30444         Don't do #include_next.
30445         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30446         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30447         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30448         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30450 2014-05-16  Allan McRae  <allan@archlinux.org>
30452         * po/sv.po: Update Swedish translation from translation project.
30454         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30455         in sed expression.
30457 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30459         [BZ #16917]
30460         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30461         errno if the TIOCGPTN ioctl fails with an error different than
30462         EINVAL.
30463         * login/tst-ptsname.c: New file.
30464         * login/Makefile (tests): Add tst-ptsname.
30466         [BZ #16943]
30467         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30468         and prlimit64.
30470 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30472         [BZ #16849]
30473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30474         herrno to return EAI_AGAIN.
30476 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30478         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30479         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30480         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30481         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30482         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30483         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30484         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30485         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30486         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30487         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30488         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30489         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30490         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30491         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30492         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30493         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30495         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30497         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30498         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30499         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30501         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30502         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30503         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30504         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30505         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30506         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30507         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30509         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30511         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30513         Moved ...
30514         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30516         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30518         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30520         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30522         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30524         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30526         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30528         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30530         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30532         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30536         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30538         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30540         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30545         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30547         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30549         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30551         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30553         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30555         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30557         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30559         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30561         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30563         Moved ...
30564         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30568         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30569         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30570         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30571         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30572         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30573         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30574         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30575         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30576         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30577         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30578         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30579         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30580         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30581         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30582         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30583         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30584         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30585         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30586         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30587         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30588         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30589         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30590         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30591         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30592         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30593         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30594         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30595         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30596         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30597         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30598         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30600         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30601         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30603         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30604         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30605         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30607         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30608         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30609         Moved ...
30610         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30611         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30612         Moved ...
30613         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30614         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30615         Moved ...
30616         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30617         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30618         Moved ...
30619         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30620         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30621         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30622         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30623         Moved ...
30624         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30625         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30626         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30627         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30628         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30629         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30630         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30631         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30632         Moved ...
30633         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30635         Moved ...
30636         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30637         ... here.
30638         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30639         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30640         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30641         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30642         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30643         Moved ...
30644         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30645         ... here.
30646         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30647         Moved ...
30648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30649         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30650         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30651         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30652         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30653         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30654         Moved ...
30655         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30656         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30657         Moved ...
30658         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30659         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30660         Moved ...
30661         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30662         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30663         Moved ...
30664         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30665         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30666         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30667         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30668         Moved ...
30669         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30670         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30671         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30672         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30673         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30674         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30675         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30676         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30677         Moved ...
30678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30679         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30680         Moved ...
30681         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30682         ... here.
30683         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30684         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30685         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30686         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30687         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30688         Moved ...
30689         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30690         ... here.
30691         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30692         Moved ...
30693         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30694         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30695         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30696         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30697         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30698         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30700         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30701         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30702         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30703         Moved ...
30704         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30705         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30706         Moved ...
30707         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30708         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30709         Moved ...
30710         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30711         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30712         Moved ...
30713         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30714         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30715         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30716         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30717         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30718         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30719         Moved ...
30720         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30721         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30722         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30723         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30724         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30725         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30726         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30727         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30728         Moved ...
30729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30730         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30731         Moved ...
30732         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30733         ... here.
30734         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30735         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30736         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30737         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30738         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30739         Moved ...
30740         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30741         ... here.
30742         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30743         Moved ...
30744         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30745         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30746         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30747         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30748         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30749         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30750         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30751         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30752         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30753         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30754         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30756         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30757         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30759         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30760         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30762         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30763         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30764         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30765         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30766         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30767         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30768         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30769         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30770         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30771         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30773         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30775         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30776         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30778         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30779         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30780         Moved ...
30781         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30783         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30784         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30785         Moved ...
30786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30790         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30791         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30792         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30793         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30794         Moved ...
30795         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30797         Moved ...
30798         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30799         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30800         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30802         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30804         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30805         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30806         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30807         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30808         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30809         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30810         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30811         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30812         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30813         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30814         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30816         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30817         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30818         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30819         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30820         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30822         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30823         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30824         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30825         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30826         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30827         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30828         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30829         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30830         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30831         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30836         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30837         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30838         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30839         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30840         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30841         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30842         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30843         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30844         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30845         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30846         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30847         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30848         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30849         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30851         Update #include.
30852         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30853         Likewise.
30854         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30855         Likewise.
30856         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30857         Likewise.
30858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30859         Likewise.
30860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30861         Likewise.
30862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30863         Likewise.
30864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30865         Likewise.
30866         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30867         Likewise.
30868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30869         Likewise.
30870         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30872         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30875         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30876         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30877         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30878         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30879         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30880         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30881         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30882         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30883         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30884         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30886         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30887         that was previously under [RESET_PID].
30888         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30889         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30890         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30892         * sysdeps/i386/nptl/Implies: New file.
30893         * sysdeps/x86_64/nptl/Implies: New file.
30894         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30895         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30896         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30897         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30899         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30900         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30901         (__libc_vfork): New strong alias.
30902         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30903         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30905         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30906         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30907         (__libc_vfork): New strong alias.
30908         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30909         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30911         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30912         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30913         (__libc_vfork): New strong alias.
30914         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30915         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30916         * nptl/pt-vfork.c: New file.
30917         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30918         (libpthread: GLIBC_2.20): New version set (empty).
30920 2014-05-14  Will Newton  <will.newton@linaro.org>
30922         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30923         rather than #if.
30925 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30927         [BZ #16564]
30928         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30929         arguments with exponent 65 or above.
30930         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30931         arguments 0x1p113L or above.
30932         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30933         to arguments 0x1p107L or above.
30934         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30935         positive arguments with exponent 65 or above.
30936         * math/auto-libm-test-in: Add more tests of log1p.
30937         * math/auto-libm-test-out: Regenerated.
30939         [BZ #16928]
30940         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30941         non-finite arguments is +0.
30942         * math/s_cacosf.c (__cacosf): Likewise.
30943         * math/s_cacosl.c (__cacosl): Likewise.
30944         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30945         * sysdeps/i386/fpu/libm-test-ulps: Update.
30946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30948         [BZ #16927]
30949         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30950         value.
30951         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30952         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30953         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30954         for explicit high bit of mantissa when testing for argument equal
30955         to 1.
30956         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30957         * sysdeps/i386/fpu/libm-test-ulps: Update.
30958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30960         [BZ #16516]
30961         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30962         (__erf): Scale by 16 instead of 8 in potentially underflowing
30963         case.  Ensure exception if result actually underflows.
30964         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30965         (__erff): Scale by 16 instead of 8 in potentially underflowing
30966         case.  Ensure exception if result actually underflows.
30967         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30968         (efx8): Remove variable.
30969         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30970         case.  Ensure exception if result actually underflows.
30971         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30972         (efx8): Remove variable.
30973         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30974         case.  Ensure exception if result actually underflows.
30975         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30976         (efx8): Remove variable.
30977         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30978         case.  Ensure exception if result actually underflows.
30979         * math/auto-libm-test-in: Add more tests of erf.
30980         * math/auto-libm-test-out: Regenerated.
30982 2014-05-14  Andreas Schwab  <schwab@suse.de>
30984         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30985         Remove code conditionalized on USE___THREAD.
30987         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30988         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30989         not definedness.
30991 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30994         Define unconditionally.
30995         (__ASSUME_O_CLOEXEC): Likewise.
30996         (__ASSUME_SOCK_CLOEXEC): Likewise.
30997         (__ASSUME_IN_NONBLOCK): Likewise.
30998         (__ASSUME_PIPE2): Likewise.
30999         (__ASSUME_EVENTFD2): Likewise.
31000         (__ASSUME_SIGNALFD4): Likewise.
31001         (__ASSUME_DUP3): Likewise.
31002         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31003         (__ASSUME_DUP3): Do not define.
31004         (__ASSUME_EVENTFD2): Likewise.
31005         (__ASSUME_IN_NONBLOCK): Likewise.
31006         (__ASSUME_O_CLOEXEC): Likewise.
31007         (__ASSUME_PIPE2): Likewise.
31008         (__ASSUME_SIGNALFD4): Likewise.
31009         (__ASSUME_SOCK_CLOEXEC): Likewise.
31010         (__ASSUME_UTIMES): Undefine.
31011         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31012         (__ASSUME_UTIMES): Do not define.
31013         (__ASSUME_O_CLOEXEC): Likewise.
31014         (__ASSUME_SOCK_CLOEXEC): Likewise.
31015         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31016         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31017         0x020621].
31018         (__ASSUME_PIPE2): Likewise.
31019         (__ASSUME_EVENTFD2): Likewise.
31020         (__ASSUME_SIGNALFD4): Likewise.
31021         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31022         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31023         Do not define.
31024         (__ASSUME_EVENTFD2): Likewise.
31025         (__ASSUME_SIGNALFD4): Likewise.
31026         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31027         (__ASSUME_32BITUIDS): Likewise.
31028         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31029         (__ASSUME_IPC64): Likewise.
31030         (__ASSUME_ST_INO_64_BIT): Likewise.
31031         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31032         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31033         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31034         (__ASSUME_UTIMES): Do not define.
31035         (__ASSUME_PSELECT): Likewise.
31036         (__ASSUME_PPOLL): Likewise.
31037         (__ASSUME_O_CLOEXEC): Likewise.
31038         (__ASSUME_SOCK_CLOEXEC): Likewise.
31039         (__ASSUME_IN_NONBLOCK): Likewise.
31040         (__ASSUME_PIPE2): Likewise.
31041         (__ASSUME_EVENTFD2): Likewise.
31042         (__ASSUME_SIGNALFD4): Likewise.
31043         (__ASSUME_DUP3): Likewise.
31044         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31045         (__ASSUME_UTIMES): Likewise.
31046         (__ASSUME_O_CLOEXEC): Likewise.
31047         (__ASSUME_SOCK_CLOEXEC): Likewise.
31048         (__ASSUME_IN_NONBLOCK): Likewise.
31049         (__ASSUME_PIPE2): Likewise.
31050         (__ASSUME_EVENTFD2): Likewise.
31051         (__ASSUME_SIGNALFD4): Likewise.
31052         (__ASSUME_DUP3): Likewise.
31053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31054         (__ASSUME_UTIMES): Likewise.
31055         (__ASSUME_O_CLOEXEC): Likewise.
31056         (__ASSUME_SOCK_CLOEXEC): Likewise.
31057         (__ASSUME_IN_NONBLOCK): Likewise.
31058         (__ASSUME_PIPE2): Likewise.
31059         (__ASSUME_EVENTFD2): Likewise.
31060         (__ASSUME_SIGNALFD4): Likewise.
31061         (__ASSUME_DUP3): Likewise.
31062         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31063         Likewise.
31064         (__ASSUME_UTIMES): Likewise.
31065         (__ASSUME_EVENTFD2): Likewise.
31066         (__ASSUME_SIGNALFD4): Likewise.
31067         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31068         (__ASSUME_O_CLOEXEC): Likewise.
31069         (__ASSUME_SOCK_CLOEXEC): Likewise.
31070         (__ASSUME_IN_NONBLOCK): Likewise.
31071         (__ASSUME_PIPE2): Likewise.
31072         (__ASSUME_EVENTFD2): Likewise.
31073         (__ASSUME_SIGNALFD4): Likewise.
31074         (__ASSUME_DUP3): Likewise.
31075         (__ASSUME_UTIMES): Undefine.
31077         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31078         feclearexcept.  Remove symbol versioning code.
31079         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31080         symbol versioning code.
31081         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31082         symbol versioning code.
31083         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31084         feupdateenv.  Remove symbol versioning code.
31085         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31086         fegetexceptflag.  Remove symbol versioning code.
31087         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31088         fesetexceptflag.  Remove symbol versioning code.
31089         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31090         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31091         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31092         (__posix_fadvise64_l32): Remove prototype.
31093         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31094         code.
31096 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31098         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31099         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31100         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31101         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31103 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31105         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31106         current working directory
31108 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31110         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31111         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31112         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31113         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31114         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31115         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31116         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31117         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31118         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31119         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31120         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31121         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31122         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31123         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31124         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31125         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31126         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31127         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31128         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31129         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31130         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31131         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31133         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31134         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31135         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31136         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31137         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31138         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31139         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31140         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31141         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31142         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31143         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31144         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31145         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31146         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31147         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31148         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31149         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31150         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31151         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31153         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31154         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31156         * sysdeps/unix/sysv/linux/arm/Makefile
31157         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31158         Add rt-aeabi_unwind_cpp_pr1.
31159         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31160         Add nptl-aeabi_unwind_cpp_pr1.
31161         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31162         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31163         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31164         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31165         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31166         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31168         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31169         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31170         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31171         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31173         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31174         Deconditionalize the code that was previously under [RESET_PID].
31175         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31177         * sysdeps/generic/exit-thread.h: New file.
31178         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31179         * include/unistd.h (__exit_thread): Remove declaration.
31180         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31181         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31182         * csu/libc-start.c: Include <exit-thread.h>.
31183         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31184         * nptl/pthread_create.c: Include <exit-thread.h>.
31185         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31186         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31187         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31188         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31189         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31190         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31191         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31192         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31193         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31194         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31195         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31196         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31197         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31198         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31199         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31200         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31201         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31203 2014-05-13  Andreas Schwab  <schwab@suse.de>
31205         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31207 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31209         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31210         (__ASSUME_UTIMES): Do not condition on kernel version.
31211         (__ASSUME_PSELECT): Define unconditionally.
31212         (__ASSUME_PPOLL): Likewise.
31213         (__ASSUME_ATFCTS): Likewise.
31214         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31215         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31216         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31217         (__ASSUME_UTIMENSAT): Define unconditionally.
31218         (__ASSUME_PRIVATE_FUTEX): Likewise.
31219         (__ASSUME_FALLOCATE): Likewise.
31220         (__ASSUME_O_CLOEXEC): Likewise.
31221         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31222         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31223         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31224         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31225         (__ASSUME_IN_NONBLOCK): Likewise.
31226         (__ASSUME_PIPE2): Likewise.
31227         (__ASSUME_EVENTFD2): Likewise.
31228         (__ASSUME_SIGNALFD4): Likewise.
31229         (__ASSUME_DUP3): Likewise.
31230         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31231         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31232         (__ASSUME_AT_RANDOM): Likewise.
31233         (__ASSUME_PREADV): Likewise.
31234         (__ASSUME_PWRITEV): Likewise.
31235         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31236         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31237         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31238         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31239         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31240         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31241         (__ASSUME_O_CLOEXEC): Define unconditionally.
31242         (__ASSUME_PSELECT): Do not undefine conditionally.
31243         (__ASSUME_PPOLL): Likewise.
31244         (__ASSUME_ATFCTS): Likewise.
31245         (__ASSUME_SET_ROBUST_LIST): Likewise.
31246         (__ASSUME_UTIMENSAT): Likewise.
31247         (__ASSUME_FDATASYNC): Define unconditionally.
31248         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31249         (__ASSUME_SIGFRAME_V2): Likewise.
31250         )__ASSUME_EVENTFD2): Likewise.
31251         (__ASSUME_SIGNALFD4): Likewise.
31252         (__ASSUME_PSELECT): Do not undefine conditionally.
31253         (__ASSUME_PPOLL): Likewise.
31254         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31255         (__ASSUME_PSELECT): Define unconditionally.
31256         (__ASSUME_PPOLL): Likewise.
31257         (__ASSUME_O_CLOEXEC): Likewise.
31258         (__ASSUME_SOCK_CLOEXEC): Likewise.
31259         (__ASSUME_IN_NONBLOCK): Likewise.
31260         (__ASSUME_PIPE2): Likewise.
31261         (__ASSUME_EVENTFD2): Likewise.
31262         (__ASSUME_SIGNALFD4): Likewise.
31263         (__ASSUME_DUP3): Likewise.
31264         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31265         (__ASSUME_O_CLOEXEC): Likewise.
31266         (__ASSUME_SOCK_CLOEXEC): Likewise.
31267         (__ASSUME_IN_NONBLOCK): Likewise.
31268         (__ASSUME_PIPE2): Likewise.
31269         (__ASSUME_EVENTFD2): Likewise.
31270         (__ASSUME_SIGNALFD4): Likewise.
31271         (__ASSUME_DUP3): Likewise.
31272         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31273         (__ASSUME_EVENTFD2): Likewise.
31274         (__ASSUME_SIGNALFD4): Likewise.
31275         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31277 2014-05-12  Andreas Schwab  <schwab@suse.de>
31279         [BZ #16932]
31280         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31281         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31282         than maximum RPC packet size.
31283         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31284         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31285         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31286         (_nss_nis_getservbyport_r): Likewise.
31288 2014-05-12  Will Newton  <will.newton@linaro.org>
31290         * malloc/Makefile (tests): Add tst-mallopt.
31291         * malloc/tst-mallopt.c: New file.
31293 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31295         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31296         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31298 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31300         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31301         (tst-tlsmod6.so): Likewise.
31303 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31305         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31307 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31309         [BZ #16064]
31310         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31311         and <dl-procinfo.h>.
31312         (__fegetenv): Save SSE state in envp->__eip if supported.
31313         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31314         envp->__eip if supported.
31315         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31316         and <dl-procinfo.h>.
31317         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31318         __data_offset and __data_selector in environment to 0.  Set SSE
31319         state if supported.
31320         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31321         test-fenv-sse.
31322         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31323         -mfpmath=sse.
31324         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31326 2014-05-09  Will Newton  <will.newton@linaro.org>
31328         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31329         and libc_relro_required for ARM.
31330         * sysdeps/arm/preconfigure: Regenerate.
31332 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31333             Stefan Liebler  <stli@linux.vnet.ibm.com>
31335         * config.make.in (enable-lock-elision): New Makefile variable.
31336         * configure.ac: Likewise.
31337         * configure: Regenerate.
31338         * sysdeps/s390/configure.ac:
31339         Add check for gcc transactions support.
31340         * sysdeps/s390/configure: Regenerate.
31341         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31342         Build elision files if enabled.
31343         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31344         Add lock elision support for s390.
31345         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31346         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31347         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31348         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31349         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31350         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31351         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31352         Likewise.
31353         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31354         Likewise.
31355         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31356         Likewise.
31357         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31358         Likewise.
31359         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31360         (__lll_timedlock_elision, __lll_lock_elision)
31361         (__lll_unlock_elision, __lll_trylock_elision)
31362         (lll_timedlock_elision, lll_lock_elision)
31363         (lll_unlock_elision, lll_trylock_elision): Add.
31364         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31365         (pthread_mutex_t): Add lock elision support for s390.
31367 2014-05-14  Wilco  <wdijkstr@arm.com>
31369         * sysdeps/arm/fclrexcpt.c: Cleanup.
31370         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31371         * sysdeps/arm/feenablxcpt.c: Cleanup.
31372         * sysdeps/arm/fegetenv.c: Cleanup.
31373         * sysdeps/arm/fegetexcept.c: Cleanup.
31374         * sysdeps/arm/fegetround.c: Cleanup.
31375         * sysdeps/arm/feholdexcpt.c: Cleanup.
31376         * sysdeps/arm/fesetenv.c: Cleanup.
31377         * sysdeps/arm/fesetround.c: Cleanup.
31378         * sysdeps/arm/feupdateenv.c: Cleanup.
31379         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31380         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31381         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31382         * sysdeps/arm/ftestexcept.c: Cleanup.
31383         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31384         * sysdeps/arm/setfpucw.c: Cleanup.
31386 2014-05-09  Will Newton  <will.newton@linaro.org>
31388         * sysdeps/arm/armv7/strcmp.S: New file.
31389         * NEWS: Mention addition of ARMv7 optimized strcmp.
31391 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31393         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31394         look for %.ac rather than %.in.
31396         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31397         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31398         * sysdeps/mach/hurd/configure: Regenerated.
31399         * sysdeps/unix/sysv/linux/configure: Regenerated.
31401         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31403 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31405         [BZ# 16922]
31406         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31407         (LONG_SUB): Ditto.
31408         (PTR_SUB): Ditto.
31410 2014-05-07  Andreas Schwab  <schwab@suse.de>
31412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31413         when skipping over non-matching result from nscd.
31415 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31417         [BZ #16876]
31418         * nptl/sockperf.c (client): Check socket return value.
31420         [BZ #16877]
31421         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31422         nscd security class.
31424 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31426         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31427         * sysdeps/arm/unwind.h: ... here.
31429 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31431         [BZ# 16916]
31432         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31433         Define.
31435 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31437         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31438         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31439         multiarch strncpy for PPC64.
31440         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31441         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31443         multiarch optimizations.
31444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31445         (__libc_ifunc_impl_list): Likewise.
31446         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31447         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31448         multiarch stpncpy for PPC64.
31449         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31452 2014-05-06  Andreas Schwab  <schwab@suse.de>
31454         [BZ #16912]
31455         * gmon/mcount.c (_MCOUNT_DECL): Use
31456         atomic_compare_and_exchange_bool_acq instead of
31457         catomic_compare_and_exchange_bool_acq.
31459 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31461         * elf/Makefile (others, install-bin): Remove pldd.
31462         (pldd-modules): Variable removed.
31463         ($(objpfx)pldd): Target removed.
31464         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31465         (others, install-bin): Append pldd here.
31466         ($(objpfx)pldd): New target.
31468         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31469         to 0, so the first #if test emitted later doesn't see it undefined.
31470         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31471         * sysdeps/gnu/errlist.c: Regenerated.
31473 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31476         [libc_hidden_builtin_def]: Define to empty value.
31477         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31478         [libc_hidden_builtin_def]: Likewise.
31479         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31480         [libc_hidden_builtin_def]: Likewise.
31481         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31482         [libc_hidden_builtin_def]: Likewise.
31483         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31484         __redirect_memcpy and define ifunc as default hidden symbol.
31485         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31486         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31488 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31490         * locale/iso-4217.def: Reintroduce XDR currency.
31492 2014-05-04  Allan McRae  <allan@archlinux.org>
31494         * po/eo.po: Update Esperanto translation from translation project.
31496 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31498         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31499         and FEATURE_INDEX_MAX to 1.
31500         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31502 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31504         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31505         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31506         * iconvdata/big5.c (ONE_DIRECTION): Define.
31507         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31508         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31509         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31510         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31511         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31512         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31513         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31514         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31515         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31516         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31517         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31518         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31519         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31520         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31521         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31522         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31523         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31524         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31525         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31526         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31527         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31528         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31529         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31530         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31531         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31532         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31533         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31534         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31535         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31536         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31537         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31538         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31539         * iconvdata/johab.c (ONE_DIRECTION): Define.
31540         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31541         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31542         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31543         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31544         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31545         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31546         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31547         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31548         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31549         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31551 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31553         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31554         (_IO_JUMPS_OFFSET): Define to 0.
31556         * nptl/sysdeps/pthread/bits/libc-lock.h
31557         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31558         (__libc_lock_define_initialized_recursive): Always define using
31559         initializer.  Modern compilers treat uninitialized (implicit zero) and
31560         explicit zero initializers the same (i.e. put the datum in bss).
31562 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31564         * nscd/nscd-client.h: Include <string.h>.
31566 2014-05-01  David S. Miller  <davem@davemloft.net>
31568         [BZ #16885]
31569         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31570         multiple zero bytes exist at the end of a string.
31571         Reported by Aurelien Jarno <aurelien@aurel32.net>
31573         * string/test-strcmp.c (check): Add explicit test for situations where
31574         there are multiple zero bytes after the first.
31576 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31578         [BZ #16890]
31579         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31580         when compiling wprintf.
31581         * stdio-common/tstdiomisc.c (t3): New function.
31582         (main): Call it.
31584 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31586         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31587         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31588         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31589         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31591 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31593         * stdlib/longlong.h: Updated from GCC.
31595 2014-05-01  Will Newton  <will.newton@linaro.org>
31596             Bernard Ogden  <bernie.ogden@linaro.org>
31598         * NEWS: Update fixed bug list.
31600         [BZ #15119]
31601         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31603 2014-04-30  David S. Miller  <davem@davemloft.net>
31605         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31606         (libc_feholdexcept_setround_sparc_ctx): New function.
31607         (libc_fesetenv_sparc_ctx): Likewise.
31608         (libc_feupdateenv_sparc_ctx): Likewise.
31609         (libc_feholdsetround_sparc_ctx): Likewise.
31610         (libc_feholdexcept_setround_ctx): Define.
31611         (libc_feholdexcept_setroundf_ctx): Likewise.
31612         (libc_feholdexcept_setroundl_ctx): Likewise.
31613         (libc_fesetenv_ctx): Likewise.
31614         (libc_fesetenvf_ctx): Likewise.
31615         (libc_fesetenvl_ctx): Likewise.
31616         (libc_feupdateenv_ctx): Likewise.
31617         (libc_feupdateenvf_ctx): Likewise.
31618         (libc_feupdateenvl_ctx): Likewise.
31619         (libc_feresetround_ctx): Likewise.
31620         (libc_feresetroundf_ctx): Likewise.
31621         (libc_feresetroundl_ctx): Likewise.
31622         (libc_feholdsetround_ctx): Likewise.
31623         (libc_feholdsetroundf_ctx): Likewise.
31624         (libc_feholdsetroundl_ctx): Likewise.
31626         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31627         with __USE_GNU instead of XOPEN cpp guards.
31629         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31630         0.
31632         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31633         with XOPEN cpp guards.
31635 2014-04-30  Julian Brown  <julian@codesourcery.com>
31637         [BZ #16888]
31638         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31639         handling.
31641 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31643         [BZ #9894]
31644         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31645         Change to 2.6.32.
31646         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31647         * sysdeps/unix/sysv/linux/configure: Regenerated.
31648         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31649         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31650         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31651         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31652         * README: Update reference to required Linux kernel version.
31653         * manual/install.texi (Linux): Update reference to required Linux
31654         kernel headers version.
31655         * INSTALL: Regenerated.
31657         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31658         header inclusion.
31659         [POSIX] (limits.h): Likewise.
31660         [POSIX] (math.h): Likewise.
31661         [POSIX] (sys/wait.h): Likewise.
31662         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31663         function.
31664         [POSIX] (stddef.h): Do not allow header inclusion.
31666 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31668         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31670 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31672         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31673         Return immediately after lll_futex_wake.
31675 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31677         [BZ #16791]
31678         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31679         structure.
31680         (datahead_init_pos): Call datahead_init_common early.
31681         (datahead_init_neg): Likewise.
31683         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31684         datahead_init_neg): New functions.
31685         * nscd/aicache.c (addhstaiX): Use them.
31686         * nscd/grpcache.c (cache_addgr): Likewise.
31687         * nscd/hstcache.c (cache_addhst): Likewise.
31688         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31689         * nscd/netgroupcache.c (do_notfound): Likewise.
31690         (addgetnetgrentX): Likewise.
31691         (addinnetgrX): Likewise.
31692         * nscd/pwdcache.c (cache_addpw): Likewise.
31693         * nscd/servicescache.c (cache_addserv): Likewise.
31695 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31696             Atsushi Onoe  <atsushi@onoe.org>
31698         [BZ #14308]
31699         [BZ #12994]
31700         [BZ #13651]
31701         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31702         one response is valid.
31703         * resolv/res_send.c (send_dg): Check for validity of other
31704         response if the current response is a referral.
31706 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31708         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31710 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31712         [BZ #16823]
31713         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31714         Always divide by positive zero when computing -Inf result.
31715         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31716         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31718 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31720         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31721         FPSCR if value do not change.
31722         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31723         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31724         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31725         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31726         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31727         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31728         function.
31730 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31732         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31733         * sysdeps/unix/sysv/linux/hppa: Move directory from
31734         ports/systeps/unix/sysv/linux/hppa.
31735         * README: Update listing for hppa-*-linux-gnu.
31737 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31739         [BZ #16754]
31740         * manual/stdio.texi (Hook functions): Fix types of stream hook
31741         functions.
31742         [BZ #16854]
31743         * socket/sys/socket.h: Fix typo in comment.
31745 2014-04-28  Wilco  <wdijkstr@arm.com>
31747         * sysdeps/arm/fenv_private.h: New file.
31748         * sysdeps/arm/math_private.h: New file.
31749         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31751 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31753         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31754         with __int128_t.
31755         (La_x86_64_retval): Likewise.
31757 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31759         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31760         fpsr if value didn't change.
31761         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31762         to fpcr if value didn't change.
31763         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31764         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31765         fpsr or fpcr if value didn't change.
31766         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31767         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31768         fpcr if value didn't change.
31769         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31770         to fpsr if value didn't change.
31772 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31774         * nptl/tst-sem3.c: Use test-skeleton.c
31775         (main): Rename to do_test.  Use return instead of
31776         exit.
31777         * nptl/tst-sem4.c: Use test-skeleton.c
31778         (main): Rename to do_test.
31780 2014-04-22  David S. Miller  <davem@davemloft.net>
31782         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31783         (struct sigaction): New struct member __glibc_reserved0, change
31784         type of sa_flags to int.
31786 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31788         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31789         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31791 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31793         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31794         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31796 2014-04-22  Will Newton  <will.newton@linaro.org>
31797             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31799         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31800         (__longjmp): Add longjmp and longjmp_target SystemTap
31801         probes.
31802         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31803         (__sigsetjmp): Add setjmp SystemTap probe.
31805 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31807         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31808         match manual order.
31810 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31812         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31814         * sysdeps/powerpc/fpu/fenv_private.h
31815         (libc_feholdexcept_setroundl_ctx): Define to
31816         libc_feholdexcept_setround_ppc_ctx.
31817         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31818         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31819         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31820         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31822 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31824         * sysdeps/aarch64/math-tests.h: New file.
31826 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31828         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31829         New.
31830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31831         Check and set bit_AVX2_Usable.
31832         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31833         macro.
31834         (bit_AVX2): Likewise.
31835         (index_AVX2_Usable): Likewise.
31836         (CPUID_AVX2): Likewise.
31837         (HAS_AVX2): Likewise.
31839 2014-04-17  Will Newton  <will.newton@linaro.org>
31841         * manual/setjmp.texi (System V contexts): Add note that
31842         calling setcontext on a context created by a call to a
31843         signal handler is undefined.  Update text to note that
31844         setcontext from a signal handler is possible but not
31845         recommended.
31847         [BZ #16629]
31848         * stdlib/tst-setcontext.c: Include signal.h.
31849         (main): Check that the signal stack before and
31850         after swapcontext is the same.
31852         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31853         Re-implement to restore registers in user code and avoid
31854         rt_sigreturn system call.
31856 2014-04-17  Wilco  <wdijkstr@arm.com>
31858         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31859         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31860         * math/test-fenv.c: Skip exception trap tests on targets which only
31861         support non-stop mode.
31863 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31864             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31866         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31867         (libc_feholdsetround_aarch64_ctx)
31868         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31869         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31870         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31871         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31872         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31873         (libc_feresetround_noexl_ctx): Define.
31875 2014-04-16  Richard Henderson  <rth@redhat.com>
31877         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31879         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31880         unwind tables.
31882         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31883         const from the non-libc, non-ldso copy.
31885         * sysdeps/alpha/libm-test-ulps: Regenerate.
31887 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31888             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31890         * sysdeps/aarch64/fpu/math_private.h: New file.
31892 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31894         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31896 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31898         [BZ #16275]
31899         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31900         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31901         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31902         Intel MPX bound registers before _dl_profile_fixup.
31903         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31904         registers after _dl_profile_fixup.  Save and restore bound
31905         registers bnd0/bnd1 when calling _dl_call_pltexit.
31906         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31907         (LR_BND_OFFSET): Likewise.
31908         (LRV_BND0_OFFSET): Likewise.
31909         (LRV_BND1_OFFSET): Likewise.
31911 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31913         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31914         to...
31915         * sysdeps/mach/hurd/i386/tls.h: ... here.
31916         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31917         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31918         fields.
31920 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31922         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31924 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31926         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31928 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31930         [BZ #14770]
31931         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31932         * sysdeps/s390/configure: Regenerate.
31934         [BZ #16824]
31935         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31936         Set round-to-nearest internally to reduce error accumulation.
31938 2014-04-16  Alan Modra  <amodra@gmail.com>
31940         [BZ #16740]
31941         [BZ #16619]
31942         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31943         * math/libm-test.inc (frexp_test_data): Add tests.
31944         * NEWS: Update fixed bug list.
31946 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31948         * benchtests/Makefile: Depend on libraries in build directory.
31949         (bench-math): Separate out math tests.
31950         (bench-pthread): Separate out pthread tests.
31951         (bench): Include math and pthread tests.
31953 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31955         [BZ #16831]
31956         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31957         _dl_debug_initialize.
31959         * configure.ac: Remove SELinux header check.
31960         * configure: Regenerate.
31961         * nscd/selinux.c (perms): Array of const char* to permission names.
31962         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31963         default policy. Call string_to_security_class and string_to_av_perm to
31964         translate strings. Enforce default policy and call avs_has_perm with
31965         results of translated strings.
31967 2014-04-13  David S. Miller  <davem@davemloft.net>
31969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31971 2014-04-12  Allan McRae  <allan@archlinux.org>
31973         [BZ #16838]
31974         * manual/string.texi (Collation Functions): Fix qsort argument
31975         order in example.
31976         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31978 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31980         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31981         Make the test a no-op if there are no exceptions defined.
31983 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31985         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31986         enable-hardcoded-path-in-tests
31988 2014-04-11  Will Newton  <will.newton@linaro.org>
31990         * benchtests/Makefile (extra-objs): Add json-lib.o.
31991         (bench-func): Tidy up JSON output.
31992         * benchtests/bench-skeleton.c: Include json-lib.h.
31993         (main): Use JSON library functions to do output of
31994         benchmark results.
31995         * benchtests/bench-timing-type.c (main): Output the
31996         timing type simply, leaving formatting to the user.
31997         * benchtests/json-lib.c: New file.
31998         * benchtests/json-lib.h: Likewise.
32000 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32002         [BZ #15215]
32003         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32004         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32005         memory barriers.  Add comments.
32006         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32007         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32008         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32009         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32010         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32011         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32013 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32015         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32016         * sysdeps/s390/s390-64/configure.ac: ... this ...
32017         * sysdeps/s390/configure.ac: ... to here.
32018         * sysdeps/s390/s390-32/configure: Delete file.
32019         * sysdeps/s390/s390-64/configure: Delete file.
32020         * sysdeps/s390/configure: Regenerate.
32022 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32024         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32026 2014-04-11  Will Newton  <will.newton@linaro.org>
32028         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32029         to zero if it is not defined elsewhere.  (mtrim): Test
32030         the value of MALLOC_DEBUG with #if rather than #ifdef.
32032 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32034         * benchtests/pthread_once-inputs: New file.
32035         * benchtests/pthread_once-source.c: New file.
32036         * benchtests/README: Update documentation.
32038 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32039             H.J. Lu  <hongjiu.lu@intel.com>
32041         [BZ #16275]
32042         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32043         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32044         * sysdeps/x86_64/configure: Regenerated.
32045         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32046         macro.
32047         (REGISTER_SAVE_RAX): Likewise.
32048         (REGISTER_SAVE_RCX): Likewise.
32049         (REGISTER_SAVE_RDX): Likewise.
32050         (REGISTER_SAVE_RSI): Likewise.
32051         (REGISTER_SAVE_RDI): Likewise.
32052         (REGISTER_SAVE_R8): Likewise.
32053         (REGISTER_SAVE_R9): Likewise.
32054         (REGISTER_SAVE_BND0): Likewise.
32055         (REGISTER_SAVE_BND1): Likewise.
32056         (REGISTER_SAVE_BND2): Likewise.
32057         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32058         bound registers when calling _dl_fixup.
32060 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32062         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32063         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32064         of its definition.
32065         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32066         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32067         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32068         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32069         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32070         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32071         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32073 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32075         [BZ #15514]
32076         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32077         pathconf(_PC_NAME_MAX).
32079 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32081         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32082         Remove macro usage.
32083         (__PTHREAD_SPINS): Move definition to ...
32084         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32085         (__PTHREAD_SPINS): ... here.
32086         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32087         (__PTHREAD_SPIN): Likewise.
32088         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32089         (__PTHREAD_SPIN): Likewise.
32090         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32091         (__PTHREAD_SPIN): Likewise.
32092         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32093         (__PTHREAD_SPIN): Likewise.
32094         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32095         (__PTHREAD_SPIN): Likewise.
32096         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32097         (__PTHREAD_SPIN): Likewise.
32098         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32099         (__PTHREAD_SPIN): Likewise.
32100         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32101         (__PTHREAD_SPIN): Likewise.
32102         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32103         (__PTHREAD_SPIN): Likewise.
32104         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32105         (__PTHREAD_SPIN): Likewise.
32106         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32107         (__PTHREAD_SPIN): Likewise.
32108         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32109         (__PTHREAD_SPIN): Likewise.
32111         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32112         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32113         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32114         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32115         imply folder.
32116         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32117         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32118         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32119         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32120         correct imply path.
32121         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32122         strlen symbol for non multi-arch builds.
32123         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32124         missing hidden_def and weak_alias.
32126 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32128         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32130 2014-04-07  Will Newton  <will.newton@linaro.org>
32132         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32133         and contents.  [!_LIBC] Remove #ifndef and contents.
32134         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32135         * string/memccpy.c (__memccpy): Use ANSI prototype.
32136         * string/memfrob.c (memfrob): Likewise.
32137         * string/strcoll.c (STRCOLL): Likewise.
32138         * string/strlen.c (strlen): Likewise.
32139         * string/strtok.c (STRTOK): Likewise.
32140         * string/strcat.c: Remove unused #include of memcopy.h.
32141         (strcat): Use ANSI prototype.
32142         * string/strchr.c: Remove unused #include of memcopy.h.
32143         (strchr): Use ANSI prototype.
32144         * string/strcmp.c: Remove unused #include of memcopy.h.
32145         (strcmp): Use ANSI prototype.
32146         * string/strcpy.c: Remove unused #include of memcopy.h.
32147         (strcpy): Use ANSI prototype.
32149 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32151         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32152         * config.make.in (config-extra-cppflags): Set it from
32153         libc_extra_cppflags.
32154         * configure.ac (libc_extra_cflags): Make it accumulate over
32155         configure fragments.
32156         (libc_extra_cppflags): New flag.
32157         * configure. Regenerate.
32158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32159         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32160         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32163         [BZ #16815]
32164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32165         result for FE_DOWNWARD rounding mode.
32166         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32167         Likewise.
32168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32170 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32172         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32173         in function argument name.
32175 2014-04-03  David Svoboda  <svoboda@cert.org>
32177         [BZ #5666]
32178         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32179         explicitly.
32181 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32183         * elf/dl-unmap-segments.h: New file.
32184         * sysdeps/generic/ldsodefs.h
32185         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32186         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32187         * elf/dl-fptr.c: Likewise.
32188         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32189         * sysdeps/aarch64/tlsdesc.c: Likewise.
32190         * sysdeps/arm/tlsdesc.c: Likewise.
32191         * sysdeps/i386/tlsdesc.c: Likewise.
32192         * sysdeps/tile/dl-runtime.c: Likewise.
32193         * sysdeps/x86_64/tlsdesc.c: Likewise.
32194         * elf/dl-load.h: New file.
32195         * elf/dl-load.c: Include it.
32196         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32197         Macros moved to dl-load.h.
32198         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32199         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32200         Use _dl_unmap_segments in place of __munmap.
32201         Break out segment-mapping loop into ...
32202         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32204 2014-04-03  Will Newton  <will.newton@linaro.org>
32206         * elf/dl-lookup.c (do_lookup_x): Remove comment
32207         referring to nested function and move variable
32208         declarations down to before first use.
32210 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32212         [BZ #16799]
32213         [BZ #16800]
32214         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32215         with 0 numerator.
32216         * math/s_catanf.c (__catanf): Likewise.
32217         * math/s_catanh.c (__catanh): Likewise.
32218         * math/s_catanhf.c (__catanhf): Likewise.
32219         * math/s_catanhl.c (__catanhl): Likewise.
32220         * math/s_catanl.c (__catanl): Likewise.
32221         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32222         by positive zero when computing -Inf result.
32223         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32224         (catanh_test): Likewise.
32225         * sysdeps/i386/fpu/libm-test-ulps: Update.
32226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32228         [BZ #16789]
32229         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32230         instead of using underflowing value in computing result.
32231         * math/s_clog10.c (__clog10): Likewise.
32232         * math/s_clog10f.c (__clog10f): Likewise.
32233         * math/s_clog10l.c (__clog10l): Likewise.
32234         * math/s_clogf.c (__clogf): Likewise.
32235         * math/s_clogl.c (__clogl): Likewise.
32236         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32237         (clog10_test): Likewise.
32238         * sysdeps/i386/fpu/libm-test-ulps: Update.
32239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32241 2014-04-02  Alan Modra  <amodra@gmail.com>
32243         [BZ #16739]
32244         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32245         output when value is near a power of two.  Use int64_t for lx and
32246         remove casts.  Use decimal rather than hex exponent constants.
32247         Don't use long double multiplication when double will suffice.
32248         * math/libm-test.inc (nextafter_test_data): Add tests.
32249         * NEWS: Add 16739 and 16786 to bug list.
32251         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32253         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32255 2014-04-01  Will Newton  <will.newton@linaro.org>
32257         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32258         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32260 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32262         [BZ #13347]
32263         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32264         * nptl/tst-setuid2.c: New file.
32265         * nptl/Makefile (xtests): Add tst-setuid2.
32267 2014-04-01  Alan Modra  <amodra@gmail.com>
32269         [BZ #16786]
32270         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32272 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32274         [BZ #6803]
32275         [BZ #6804]
32276         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32277         set errno as appropriate.
32278         * math/w_scalbf.c (__scalbf): Likewise.
32279         * math/w_scalbl.c (__scalbl): Likewise.
32280         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32281         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32282         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32283         Add more NaN tests.
32285         [BZ #16349]
32286         * math/w_atan2.c: Include <errno.h>.
32287         (__atan2): Set errno for result underflowing to zero.
32288         * math/w_atan2f.c: Include <errno.h>.
32289         (__atan2f): Set errno for result underflowing to zero.
32290         * math/w_atan2l.c: Include <errno.h>.
32291         (__atan2l): Set errno for result underflowing to zero.
32292         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32293         tests.
32294         * math/auto-libm-test-out: Regenerated.
32296 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32298         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32299         Encode instruction correctly in little endian.
32300         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32301         Likewise.
32302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32303         Likewise.
32304         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32305         Likewise.
32306         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32307         Likewise.
32309 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32311         [BZ #9894]
32312         * sysdeps/unix/sysv/linux/kernel-features.h
32313         [__sparc__ && !__arch64__ && !__sparc_v9__]
32314         (__ASSUME_SET_ROBUST_LIST): Do not define.
32315         [__sparc__ && !__arch64__ && !__sparc_v9__]
32316         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32317         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32318         Likewise.
32319         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32320         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32321         (__ASSUME_REQUEUE_PI): Likewise.
32322         (__ASSUME_SET_ROBUST_LIST): Likewise.
32323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32324         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32325         Undefine.
32326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32327         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32328         Likewise.
32329         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32330         Likewise.
32331         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32332         Likewise.
32333         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32334         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32335         Undefine.
32336         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32337         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32338         Likewise.
32340         [BZ #16648]
32341         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32342         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32343         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32345 2014-03-31  Will Newton  <will.newton@linaro.org>
32347         * benchtests/Makefile (bench): Add ffs and ffsll to list
32348         of tests.
32349         * benchtests/ffs-inputs: New file.
32350         * benchtests/ffsll-inputs: Likewise.
32352 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32354         [BZ #16770]
32355         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32356         too large before casting to int.
32357         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32358         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32359         * math/libm-test.inc (scalb_test_data): Add more tests.
32361 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32363         * benchtests/Makefile (DETAILED_OPT): New make option.
32364         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32365         set.
32366         * benchtests/bench-skeleton.c: Include stdbool.h.
32367         (main): Store and print timings per input.
32368         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32369         member to each argument value.
32370         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32371         (_print_arg_data): Initialize per-input timing to 0.
32373         * benchtests/Makefile (timing-type): New binary.
32374         (bench-clean): Also remove bench-timing-type.
32375         (bench): New target for timing-type.
32376         (bench-func): Print output in JSON format.
32377         * benchtests/bench-skeleton.c (main): Print output in JSON
32378         format.
32379         * benchtests/bench-timing-type.c: New file.
32380         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32381         (TIMING_PRINT_STATS): Remove.
32382         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32383         name separately.
32385         * benchtests/bench-modf.c: Remove.
32386         * benchtests/modf-inputs: New inputs file.
32388 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32390         [BZ #16362]
32391         * math/s_clog10.c (M_PI_LOG10E): New macro.
32392         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32393         imaginary parts are 0.
32394         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32395         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32396         imaginary parts are 0.
32397         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32398         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32399         imaginary parts are 0.
32400         * math/libm-test.inc (clog10_test_data): Update expected results
32401         for when real and imaginary parts are 0.
32403 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32405         * elf/dl-load.c: Finish conversion of __builtin_expect into
32406         __glibc_{un}likely.
32408 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32410         [BZ #16348]
32411         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32412         1+x for argument with exponent below -67.
32413         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32414         Likewise.
32415         * math/auto-libm-test-in: Add more tests of exp.
32416         * math/auto-libm-test-out: Regenerated.
32418 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32420         [BZ #16759]
32421         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32422         (nscd_getnetgrent): Use it.
32424         [BZ #16760]
32425         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32426         of stpcpy.
32428 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32430         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32431         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32432         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32433         (lll_robust_unlock): Remove out of line section. Use cfi
32434         intrinsics.
32435         (LLL_STUB_UNWIND_INFO*): Remove.
32436         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32437         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32438         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32439         (lll_robust_unlock): Remove out of line section. Use cfi
32440         intrinsics.
32441         (LLL_STUB_UNWIND_INFO*): Remove.
32443 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32445         [BZ #16758]
32446         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32447         blank values.
32449 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32451         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32453 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32455         [BZ #16198]
32456         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32457         fnstenv.
32458         * math/test-fenv-preserve.c: New file.
32459         * math/Makefile (tests): Add test-fenv-preserve.
32461 2014-03-26  Will Newton <will.newton@linaro.org>
32463         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32465 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32467         * scripts/versionlist.awk: Partition the version sets and emit all
32468         GLIBC_* (sorted) before all others (sorted).
32470 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32472         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32473         GLIBC_2.2.5 version.
32475 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32477         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32478         calls.
32480         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32481         previous change.
32483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32485 2014-03-25  Andreas Schwab  <schwab@suse.de>
32487         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32488         label to be used after in6ailist is initialized.
32490 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32492         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32493         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32495 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32497         [BZ #16357]
32498         [BZ #16599]
32499         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32500         min_plus_half.
32501         (fp_formats): Update initializers.
32502         (init_fp_formats): Initialize new field.
32503         (output_for_one_input_case): Allow underflow for results up to
32504         min_plus_half.
32505         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32506         * math/auto-libm-test-in: Don't mark some underflows from asin and
32507         atanh as spurious.
32508         * math/auto-libm-test-out: Regenerated.
32509         * sysdeps/i386/fpu/libm-test-ulps: Update.
32510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32512 2014-03-25  Andreas Schwab  <schwab@suse.de>
32514         * libio/Makefile (tst-ftell-partial-wide-ENV)
32515         (tst-ftell-active-handler-ENV): Define.
32517 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32519         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32521 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32523         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32525 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32527         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32528         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32529         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32531 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32533         [BZ #16634]
32534         * elf/dl-load.c (open_verify): Add mode parameter.
32535         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32536         (open_path): Change from boolean 'secure' to complete flag 'mode'
32537         (_dl_map_object): Adjust.
32538         * elf/Makefile (tests): Add tst-dlopen-aout.
32539         * elf/tst-dlopen-aout.c: New test.
32541 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32543         [BZ #16714]
32544         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32545         (struct stat): Rename member pad0 to __glibc_reserved0.
32547         [BZ #16712]
32548         * sysdeps/s390/s390-32/bits/wordsize.h
32549         (__WORDSIZE32_SIZE_ULONG): New define.
32550         * sysdeps/s390/s390-64/bits/wordsize.h
32551         (__WORDSIZE32_SIZE_ULONG): Likewise.
32552         * sysdeps/generic/stdint.h (SIZE_MAX):
32553         Define as UL if __WORDSIZE32_SIZE_ULONG.
32555         [BZ #16713]
32556         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32557         (__glibc_reserved0): New variable.
32558         (sa_flags): Change type to int.
32560         * posix/Makefile (before-compile): Use += before-compile instead
32561         of a :=.
32563         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32564         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32566 2014-03-20  Andreas Schwab  <schwab@suse.de>
32568         [BZ #16743]
32569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32570         non-matching result from nscd.
32572 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32574         * scripts/bench.py: Moved to ...
32575         * benchtests/scripts/bench.py: ... here.
32576         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32578 2014-03-24  Andreas Schwab  <schwab@suse.de>
32580         [BZ #16002]
32581         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32582         alloca_account and account alloca use for struct in6ailist.
32584 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32586         [BZ #16284]
32587         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32588         rounding mode to recompute results that overflow to infinity or
32589         underflow to zero.
32590         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32591         bug 16284.
32592         * math/auto-libm-test-out: Regenerated.
32593         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32594         (ccosh_test): Likewise.
32595         (csin_test_data): Use plus_oflow.
32596         (csin_test): Use ALL_RM_TEST.
32597         (csinh_test_data): Use plus_oflow.
32598         (csinh_test): Use ALL_RM_TEST.
32599         * sysdeps/i386/fpu/libm-test-ulps: Update.
32600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32602 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32604         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32605         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32606         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32608         [BZ #16731]
32609         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32610         when x - 1 is zero.
32611         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32612         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32613         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32614         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32615         argument is 1.
32616         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32617         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32618         zero.
32619         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32620         * sysdeps/i386/fpu/libm-test-ulps: Update.
32621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32623 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32625         * scripts/bench.pl: Remove file.
32626         * scripts/bench.py: New benchmark script.
32627         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32628         * benchtests/README: Mention python dependency.
32629         * scripts/pylintrc: New file.
32630         * scripts/pylint: New file.
32632         * bits/mathdef.h: Use #ifdef instead of #if.
32633         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32634         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32635         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32636         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32637         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32638         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32640 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32641             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32643         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32645         and strpbrk-ppc64 objects.
32646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32647         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32648         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32649         multiarch strpbrk for POWER7.
32650         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32651         multiarch strpbrk for PPC64.
32652         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32653         ifunc selector.
32654         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32655         strpbrk for POWER7.
32657 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32659         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32660         (atan_test): Likewise.
32661         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32662         (atanh_test): Use ALL_RM_TEST.
32663         (atan2_test_data): Likewise.
32664         (cabs_test): Likewise.
32665         (cacosh_test): Likewise.
32666         (carg_test): Likewise.
32667         (casin_test): Likewise.
32668         (casinh_test): Likewise.
32669         (cbrt_test): Likewise.
32670         (csqrt_test): Likewise.
32671         (erf_test): Likewise.
32672         (erfc_test): Likewise.
32673         (pow10_test): Likewise.
32674         (exp2_test): Likewise.
32675         (hypot_test): Likewise.
32676         (j0_test): Likewise.
32677         (j1_test): Likewise.
32678         (lgamma_test): Likewise.
32679         (gamma_test): Likewise.
32680         (sincos_test): Likewise.
32681         (tanh_test): Likewise.
32682         (y0_test): Likewise.
32683         (y1_test): Likewise.
32684         * sysdeps/i386/fpu/libm-test-ulps: Update.
32685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32687 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32689         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32691         and strcspn-ppc64 objects.
32692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32693         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32694         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32695         multiarch strcspn for POWER7.
32696         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32697         multiarch strcspn for PPC64.
32698         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32699         ifunc selector.
32700         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32701         strcspn for POWER7.
32703 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32705         * math/gen-libm-test.pl (generate_testfile): Expect only function
32706         name as argument to AUTO_TESTS_* and pass results for all rounding
32707         modes to parse_args.
32708         (parse_auto_input): Separate inputs of automatic tests from
32709         outputs before storing in %auto_tests.
32710         * math/libm-test.inc (acos_test_data): Update call to
32711         AUTO_TESTS_f_f.
32712         (acos_test): Use ALL_RM_TEST.
32713         (acos_tonearest_test_data): Remove.
32714         (acos_test_tonearest): Likewise.
32715         (acos_towardzero_test_data): Likewise.
32716         (acos_test_towardzero): Likewise.
32717         (acos_downward_test_data): Likewise.
32718         (acos_test_downward): Likewise.
32719         (acos_upward_test_data): Likewise.
32720         (acos_test_upward): Likewise.
32721         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32722         (asin_test_data): Likewise.
32723         (asin_test): Use ALL_RM_TEST.
32724         (asin_tonearest_test_data): Remove.
32725         (asin_test_tonearest): Likewise.
32726         (asin_towardzero_test_data): Likewise.
32727         (asin_test_towardzero): Likewise.
32728         (asin_downward_test_data): Likewise.
32729         (asin_test_downward): Likewise.
32730         (asin_upward_test_data): Likewise.
32731         (asin_test_upward): Likewise.
32732         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32733         (atan_test_data): Likewise.
32734         (atanh_test_data): Likewise.
32735         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32736         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32737         (carg_test_data): Likewise.
32738         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32739         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32740         (ccosh_test_data): Likewise.
32741         (cexp_test_data): Likewise.
32742         (clog_test_data): Likewise.
32743         (clog10_test_data): Likewise.
32744         (cos_test_data): Update call to AUTO_TESTS_f_f.
32745         (cos_test): Use ALL_RM_TEST.
32746         (cos_tonearest_test_data): Remove.
32747         (cos_test_tonearest): Likewise.
32748         (cos_towardzero_test_data): Likewise.
32749         (cos_test_towardzero): Likewise.
32750         (cos_downward_test_data): Likewise.
32751         (cos_test_downward): Likewise.
32752         (cos_upward_test_data): Likewise.
32753         (cos_test_upward): Likewise.
32754         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32755         (cosh_test): Use ALL_RM_TEST.
32756         (cosh_tonearest_test_data): Remove.
32757         (cosh_test_tonearest): Likewise.
32758         (cosh_towardzero_test_data): Likewise.
32759         (cosh_test_towardzero): Likewise.
32760         (cosh_downward_test_data): Likewise.
32761         (cosh_test_downward): Likewise.
32762         (cosh_upward_test_data): Likewise.
32763         (cosh_test_upward): Likewise.
32764         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32765         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32766         (ctan_test_data): Likewise.
32767         (ctan_test): Use ALL_RM_TEST.
32768         (ctan_tonearest_test_data): Remove.
32769         (ctan_test_tonearest): Likewise.
32770         (ctan_towardzero_test_data): Likewise.
32771         (ctan_test_towardzero): Likewise.
32772         (ctan_downward_test_data): Likewise.
32773         (ctan_test_downward): Likewise.
32774         (ctan_upward_test_data): Likewise.
32775         (ctan_test_upward): Likewise.
32776         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32777         (ctanh_test): Use ALL_RM_TEST.
32778         (ctanh_tonearest_test_data): Remove.
32779         (ctanh_test_tonearest): Likewise.
32780         (ctanh_towardzero_test_data): Likewise.
32781         (ctanh_test_towardzero): Likewise.
32782         (ctanh_downward_test_data): Likewise.
32783         (ctanh_test_downward): Likewise.
32784         (ctanh_upward_test_data): Likewise.
32785         (ctanh_test_upward): Likewise.
32786         (erf_test_data): Update call to AUTO_TESTS_f_f.
32787         (erfc_test_data): Likewise.
32788         (exp_test_data): Likewise.
32789         (exp_test): Use ALL_RM_TEST.
32790         (exp_tonearest_test_data): Remove.
32791         (exp_test_tonearest): Likewise.
32792         (exp_towardzero_test_data): Likewise.
32793         (exp_test_towardzero): Likewise.
32794         (exp_downward_test_data): Likewise.
32795         (exp_test_downward): Likewise.
32796         (exp_upward_test_data): Likewise.
32797         (exp_test_upward): Likewise.
32798         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32799         (exp10_test): Use ALL_RM_TEST.
32800         (exp10_tonearest_test_data): Remove.
32801         (exp10_test_tonearest): Likewise.
32802         (exp10_towardzero_test_data): Likewise.
32803         (exp10_test_towardzero): Likewise.
32804         (exp10_downward_test_data): Likewise.
32805         (exp10_test_downward): Likewise.
32806         (exp10_upward_test_data): Likewise.
32807         (exp10_test_upward): Likewise.
32808         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32809         (expm1_test_data): Likewise.
32810         (expm1_test): Use ALL_RM_TEST.
32811         (expm1_tonearest_test_data): Remove.
32812         (expm1_test_tonearest): Likewise.
32813         (expm1_towardzero_test_data): Likewise.
32814         (expm1_test_towardzero): Likewise.
32815         (expm1_downward_test_data): Likewise.
32816         (expm1_test_downward): Likewise.
32817         (expm1_upward_test_data): Likewise.
32818         (expm1_test_upward): Likewise.
32819         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32820         (fma_test): Use ALL_RM_TEST.
32821         (fma_towardzero_test_data): Remove.
32822         (fma_test_towardzero): Likewise.
32823         (fma_downward_test_data): Likewise.
32824         (fma_test_downward): Likewise.
32825         (fma_upward_test_data): Likewise.
32826         (fma_test_upward): Likewise.
32827         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32828         (j0_test_data): Update call to AUTO_TESTS_f_f.
32829         (j1_test_data): Likewise.
32830         (jn_test_data): Update call to AUTO_TESTS_if_f.
32831         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32832         (log_test_data): Update call to AUTO_TESTS_f_f.
32833         (log10_test_data): Likewise.
32834         (log1p_test_data): Likewise.
32835         (log2_test_data): Likewise.
32836         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32837         (pow_tonearest_test_data): Likewise.
32838         (sin_test_data): Update call to AUTO_TESTS_f_f.
32839         (sin_test): Use ALL_RM_TEST.
32840         (sin_tonearest_test_data): Remove.
32841         (sin_test_tonearest): Likewise.
32842         (sin_towardzero_test_data): Likewise.
32843         (sin_test_towardzero): Likewise.
32844         (sin_downward_test_data): Likewise.
32845         (sin_test_downward): Likewise.
32846         (sin_upward_test_data): Likewise.
32847         (sin_test_upward): Likewise.
32848         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32849         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32850         (sinh_test): Use ALL_RM_TEST.
32851         (sinh_tonearest_test_data): Remove.
32852         (sinh_test_tonearest): Likewise.
32853         (sinh_towardzero_test_data): Likewise.
32854         (sinh_test_towardzero): Likewise.
32855         (sinh_downward_test_data): Likewise.
32856         (sinh_test_downward): Likewise.
32857         (sinh_upward_test_data): Likewise.
32858         (sinh_test_upward): Likewise.
32859         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32860         (sqrt_test): Use ALL_RM_TEST.
32861         (sqrt_tonearest_test_data): Remove.
32862         (sqrt_test_tonearest): Likewise.
32863         (sqrt_towardzero_test_data): Likewise.
32864         (sqrt_test_towardzero): Likewise.
32865         (sqrt_downward_test_data): Likewise.
32866         (sqrt_test_downward): Likewise.
32867         (sqrt_upward_test_data): Likewise.
32868         (sqrt_test_upward): Likewise.
32869         (tan_test_data): Update call to AUTO_TESTS_f_f.
32870         (tan_test): Use ALL_RM_TEST.
32871         (tan_tonearest_test_data): Remove.
32872         (tan_test_tonearest): Likewise.
32873         (tan_towardzero_test_data): Likewise.
32874         (tan_test_towardzero): Likewise.
32875         (tan_downward_test_data): Likewise.
32876         (tan_test_downward): Likewise.
32877         (tan_upward_test_data): Likewise.
32878         (tan_test_upward): Likewise.
32879         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32880         (tgamma_test_data): Likewise.
32881         (y0_test_data): Likewise.
32882         (y1_test_data): Likewise.
32883         (yn_test_data): Update call to AUTO_TESTS_if_f.
32884         (main): Do not call removed functions.
32886 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32888         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32889         (ldexp_test_data): Remove.
32890         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32891         scalbn_test_data.
32892         (scalb_test): Use ALL_RM_TEST.
32894 2014-03-19  Andreas Schwab  <schwab@suse.de>
32896         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32898 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32900         [BZ #16649]
32901         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32902         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32903         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32905         (__ASSUME_PREADV): Undefine.
32906         (__ASSUME_PWRITEV): Likewise.
32908 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32910         * bits/mman-linux.h: Add comment about non-Linux use.
32911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32912         bits/mman-linux.h resting place.
32914         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32915         * bits/mman-linux.h: ... here.
32917 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32919         * conform/conformtest.pl: Add standard definition when calling C
32920         preprocessor on data files.
32921         (checknamespace): Remove unused variable.
32923 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32925         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32926         minus_oflow, plus_uflow and minus_uflow in expected results.
32927         * math/libm-test.inc (scalbn_test_data): Add more tests of
32928         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32929         minus_uflow.
32930         (scalbn_test): Use ALL_RM_TEST.
32931         (scalbln_test_data): Add more tests of negative arguments.  Use
32932         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32933         (scalbln_test): Use ALL_RM_TEST.
32935 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32937         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32939 2014-03-18  Will Newton  <will.newton@linaro.org>
32941         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32942         inaccurate comment.
32944 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32946         * Makerules [!subdir] (check-abi): Exit with error status if a
32947         test failed.
32949 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32951         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32952         for rint.  Include results for all rounding modes.
32953         (nearbyint_test): Use ALL_RM_TEST.
32954         (rint_test_data): Include all tests used for nearbyint.
32956 2014-03-17  Will Newton  <will.newton@linaro.org>
32958         * nptl/sysdeps/pthread/pthread.h: Revert previous
32959         change.
32961         * sysdeps/generic/ldsodefs.h: Revert previous
32962         change.
32964         * libio/genops.c: Revert previous change.
32965         * libio/libioP.h: Likewise.
32966         * stdio-common/vfprintf.c: Likewise.
32968         * sysdeps/generic/math_private.h: Revert previous
32969         change.
32971         * sysdeps/generic/math_private.h: Check whether
32972         HAVE_RM_CTX is defined with #ifdef rather
32973         than #if.
32975         * argp/argp-fmtstream.h: Check whether
32976         __STRICT_ANSI__ is defined with #ifdef rather
32977         than #if.
32978         * argp/argp.h: Likewise.
32980         * libio/genops.c: Check whether
32981         _IO_JUMPS_OFFSET is defined with #ifdef rather
32982         than #if.
32983         * libio/libioP.h: Likewise.
32984         * stdio-common/vfprintf.c: Likewise.
32986         * sysdeps/generic/ldsodefs.h: Check whether
32987         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32988         than #if.
32990         * nptl/sysdeps/pthread/pthread.h: Check
32991         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32992         its value.
32994 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32996         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32997         setting O_APPEND.
32998         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32999         test case.
33001         [BZ #16680]
33002         * libio/fileops.c (_IO_file_open): Seek to end of file but
33003         don't cache the offset.
33004         (get_file_offset): Remove function.
33005         (do_ftell): Use cached offset when available.
33006         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33007         don't cache the offset.
33008         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33009         case.
33010         (do_one_test): Call it.
33011         (do_ftell_test): Fix up expected old offset for a+ mode.
33012         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33013         available.
33015         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33016         up test status with function return status.
33017         (do_write_test): Likewise.
33018         (do_append_test): Likewise.
33020         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33021         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33022         Remove.
33024 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33026         * math/gen-libm-test.pl (parse_args): Handle results specified for
33027         each rounding mode separately.
33028         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33029         tests and results from lrint_tonearest_test_data,
33030         lrint_towardzero_test_data, lrint_downward_test_data and
33031         lrint_upward_test_data.
33032         (lrint_test): Use ALL_RM_TEST.
33033         (lrint_tonearest_test_data): Remove.
33034         (lrint_test_tonearest): Likewise.
33035         (lrint_towardzero_test_data): Likewise.
33036         (lrint_test_towardzero): Likewise.
33037         (lrint_downward_test_data): Likewise.
33038         (lrint_test_downward): Likewise.
33039         (lrint_upward_test_data): Likewise.
33040         (lrint_test_upward): Likewise.
33041         (llrint_test_data): Merge in per-rounding-mode tests and results
33042         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33043         llrint_downward_test_data and llrint_upward_test_data.
33044         (llrint_test): Use ALL_RM_TEST.
33045         (llrint_tonearest_test_data): Remove.
33046         (llrint_test_tonearest): Likewise.
33047         (llrint_towardzero_test_data): Likewise.
33048         (llrint_test_towardzero): Likewise.
33049         (llrint_downward_test_data): Likewise.
33050         (llrint_test_downward): Likewise.
33051         (llrint_upward_test_data): Likewise.
33052         (llrint_test_upward): Likewise.
33053         (rint_test_data): Merge in per-rounding-mode tests and results
33054         from rint_tonearest_test_data, rint_towardzero_test_data,
33055         rint_downward_test_data and rint_upward_test_data.  Add
33056         per-rounding-mode results for tests not in those arrays.
33057         (rint_test): Use ALL_RM_TEST.
33058         (rint_tonearest_test_data): Remove.
33059         (rint_test_tonearest): Likewise.
33060         (rint_towardzero_test_data): Likewise.
33061         (rint_test_towardzero): Likewise.
33062         (rint_downward_test_data): Likewise.
33063         (rint_test_downward): Likewise.
33064         (rint_upward_test_data): Likewise.
33065         (rint_test_upward): Likewise.
33066         (main): Don't call removed functions.
33068 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33070         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33071         "Compiled on ..." crapola.  It is anti-useful.
33073 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33075         * scripts/evaluate-test.sh: Handle fourth argument to determine
33076         whether test run should stop on failure.
33077         * Makeconfig (stop-on-test-failure): New variable.
33078         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33079         $(stop-on-test-failure).
33080         * Makefile (tests): Give a summary of results from testing and
33081         exit with failure status if they include an ERROR or FAIL.
33082         (xtests): Likewise.
33083         * manual/install.texi (Configuring and compiling): Mention
33084         stop-on-test-failure=y.
33085         * INSTALL: Regenerated.
33087 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33089         * scripts/versionlist.awk: New file.
33090         * Makerules [$(build-shared) = yes]
33091         (postclean-generated): Add Versions.def, not Versions.def.v and
33092         Versions.def.v.i.
33093         ($(common-objpfx)Versions.def.v.i): Target removed.
33094         ($(common-objpfx)Versions.def): New target.
33095         ($(common-objpfx)Versions.all): Depend on that rather that
33096         $(common-objpfx)Versions.def.v.
33097         * Versions.def: File removed.
33099         * Makeconfig (+gccwarn): Add -Wundef.
33100         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33101         a dl-sysdep.h breaking its contract.
33102         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33103         * include/stackinfo.h: New file.
33104         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33105         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33106         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33107         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33108         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33109         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33110         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33111         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33112         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33113         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33114         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33115         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33116         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33117         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33118         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33120 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33122         [BZ #16707]
33123         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33124         implementation.
33125         * math/libm-test.inc (round_test_data): Add more tests.
33127         [BZ #16706]
33128         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33129         implementation.
33130         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33132         [BZ #16701]
33133         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33134         implementation.
33135         * math/libm-test.inc (ceil_test_data): Add more tests.
33137         * math/libm-test.inc (trunc_test_data): Add more tests related to
33138         BZ#16414.
33140 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33142         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33143         with #if rather than #ifdef.
33144         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33146 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33148         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33149         first.  Disable AVX-512 GCC support if assembler doesn't support
33150         it.
33151         * sysdeps/x86_64/configure: Regenerated.
33153 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33155         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33156         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33157         (__old_pthread_attr_setstack): Likewise.
33158         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33159         [!_STACK_GROWS_DOWN]: Likewise.
33161 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33163         * config.make.in (have-bash2): Delete.
33164         * configure.ac (libc_cv_have_bash2): Delete.
33165         * configure: Regenerate.
33166         * elf/Makefile (common-ldd-rewrite): Rename to ...
33167         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33168         (sh-ldd-rewrite): Delete.
33169         (bash-ldd-rewrite): Delete.
33170         (have-bash2): Delete checks.
33171         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33172         ldd-rewrite.
33174         * config.make.in (have-ksh): Delete.
33175         (KSH): Delete.
33176         * configure.ac (libc_cv_have_ksh): Delete.
33177         * configure: Regenerate.
33179         * elf/Makefile: Delete $(have-ksh) check.
33180         ($(objpfx)sotruss): Change KSH to BASH.
33181         * elf/sotruss.ksh: Rename to ...
33182         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33183         function style to match POSIX.  Drop ksh vim mode setting.
33185         * manual/time.texi (Specifying the Time Zone with TZ): Change
33186         Tuesday to Thursday.
33188         * debug/tst-longjmp_chk2.c: Update header comment.
33189         (stackoverflow_handler): Add comment.  Call assert on pass value.
33191 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33193         [BZ #16194]
33194         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33195         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33196         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33197         (La_x86_64_vector): Add zmm.
33198         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33199         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33200         ($(objpfx)tst-audit10): New target.
33201         ($(objpfx)tst-audit10.out): Likewise.
33202         (tst-audit10-ENV): New.
33203         (AVX512-CFLAGS): Likewise.
33204         (CFLAGS-tst-audit10.c): Likewise.
33205         (CFLAGS-tst-auditmod10a.c): Likewise.
33206         (CFLAGS-tst-auditmod10b.c): Likewise.
33207         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33208         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33209         * sysdeps/x86_64/configure: Regenerated.
33210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33211         AVX-512 zmm register support.
33212         (_dl_x86_64_save_sse): Likewise.
33213         (_dl_x86_64_restore_sse): Likewise.
33214         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33215         size vector registers.
33216         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33217         (ZMM_SIZE): Likewise.
33218         * sysdeps/x86_64/tst-audit10.c: New file.
33219         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33220         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33222 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33224         * configure.ac (HAVE_EHDR_START): New check.
33225         * configure: Regenerated.
33226         * config.h.in (HAVE_EHDR_START): New #undef.
33227         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33228         assuming the lowest-addressed segment maps the start of the file.
33230 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33232         * INSTALL: Regenerated.
33234 2014-03-13  Will Newton  <will.newton@linaro.org>
33236         * manual/setjmp.texi (System V contexts): Improve
33237         clarity and grammar of documentation.
33239 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33241         [BZ #16381]
33242         * elf/Makefile (tests): Add tst-pie2.
33243         (tests-pie): Add tst-pie2.
33244         * elf/tst-pie2.c: New file.
33245         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33246         for ET_EXEC.
33247         * elf/rtld.c (map_doit): Load executable as lt_executable.
33248         (dl_main): Likewise.
33250 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33252         [BZ #16642]
33253         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33254         (__ASSUME_PSELECT): Undefine.
33256 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33258         [BZ #16689]
33259         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33260         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33261         static build.
33262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33263         selector for static builds.
33265 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33267         [BZ #16695]
33268         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33269         key in the buffer.
33271 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33273         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33274         IFUNC selector for static builds.
33276 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33278         * sysdeps/mips/math_private.h [__mips_hard_float]
33279         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33280         libc_feresetround_mips_ctx.
33281         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33282         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33283         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33285         [BZ #16677]
33286         * math/s_nextafter.c (__nextafter): Do not return value from
33287         overflowing computation.
33288         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33289         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33290         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33291         Likewise.
33292         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33293         Likewise.
33294         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33295         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33297 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33299         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33300         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33301         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33302         the new mov targetting sp.
33304 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33306         [BZ #16683]
33307         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33308         Define it for static builds as well.
33309         (NO_BZERO_IMPL): Likewise.
33311 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33313         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33314         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33315         multiarch strspn for PPC64.
33316         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33317         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33319         (__libc_ifunc_impl_list): Likewise.
33320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33321         multiarch optimizations
33322         * string/strspn.c (strspn): Using macro to redefine symbol name.
33324 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33325             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33327         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33328         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33329         multiarch strncat for PPC64.
33330         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33331         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33333         (__libc_ifunc_impl_list): Likewise.
33334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33335         multiarch optimizations
33337 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33339         [BZ #16639]
33340         * nscd/nscd.service: Make service type forking.
33342 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33344         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33345         sign in non default rounding modes.
33346         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33348 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33350         * math/libm-test.inc (ALL_RM_TEST): New macro.
33351         (ceil_test): Use ALL_RM_TEST.
33352         (cimag_test): Likewise.
33353         (conj_test): Likewise.
33354         (copysign_test): Likewise.
33355         (cproj_test): Likewise.
33356         (creal_test): Likewise.
33357         (fabs_test): Likewise.
33358         (floor_test): Likewise.
33359         (fmax_test): Likewise.
33360         (fmin_test): Likewise.
33361         (fmod_test): Likewise.
33362         (fpclassify_test): Likewise.
33363         (frexp_test): Likewise.
33364         (ilogb_test): Likewise.
33365         (isfinite_test): Likewise.
33366         (finite_test): Likewise.
33367         (isgreater_test): Likewise.
33368         (isgreaterequal_test): Likewise.
33369         (isinf_test): Likewise.
33370         (isless_test): Likewise.
33371         (islessequal_test): Likewise.
33372         (islessgreater_test): Likewise.
33373         (isnan_test): Likewise.
33374         (isnormal_test): Likewise.
33375         (issignaling_test): Likewise.
33376         (isunordered_test): Likewise.
33377         (logb_test): Likewise.
33378         (logb_downward_test_data): Remove.
33379         (logb_test_downward): Likewise.
33380         (lround_test): Use ALL_RM_TEST.
33381         (llround_test): Likewise.
33382         (modf_test): Likewise.
33383         (nexttoward_test): Likewise.
33384         (remainder_test): Likewise.
33385         (drem_test): Likewise.
33386         (remainder_tonearest_test_data): Likewise.
33387         (remainder_test_tonearest): Likewise.
33388         (drem_test_tonearest): Likewise.
33389         (remainder_towardzero_test_data): Likewise.
33390         (remainder_test_towardzero): Likewise.
33391         (drem_test_towardzero): Likewise.
33392         (remainder_downward_test_data): Likewise.
33393         (remainder_test_downward): Likewise.
33394         (drem_test_downward): Likewise.
33395         (remainder_upward_test_data): Likewise.
33396         (remainder_test_upward): Likewise.
33397         (drem_test_upward): Likewise.
33398         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33399         (round_test): Use ALL_RM_TEST.
33400         (signbit_test): Likewise.
33401         (trunc_test): Likewise.
33402         (significand_test): Likewise.
33403         (main): Don't call removed functions.
33405 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33407         [BZ #16674]
33408         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33409         || __USE_XOPEN2K8].
33410         (ILL_ILLOPN): Likewise.
33411         (ILL_ILLADR): Likewise.
33412         (ILL_ILLTRP): Likewise.
33413         (ILL_PRVOPC): Likewise.
33414         (ILL_PRVREG): Likewise.
33415         (ILL_COPROC): Likewise.
33416         (ILL_BADSTK): Likewise.
33417         (FPE_INTDIV): Likewise.
33418         (FPE_INTOVF): Likewise.
33419         (FPE_FLTDIV): Likewise.
33420         (FPE_FLTOVF): Likewise.
33421         (FPE_FLTUND): Likewise.
33422         (FPE_FLTRES): Likewise.
33423         (FPE_FLTINV): Likewise.
33424         (FPE_FLTSUB): Likewise.
33425         (SEGV_MAPERR): Likewise.
33426         (SEGV_ACCERR): Likewise.
33427         (BUS_ADRALN): Likewise.
33428         (BUS_ADRERR): Likewise.
33429         (BUS_OBJERR): Likewise.
33430         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33431         (TRAP_TRACE): Likewise.
33432         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33433         __USE_XOPEN2K8].
33434         (CLD_KILLED): Likewise.
33435         (CLD_DUMPED): Likewise.
33436         (CLD_TRAPPED): Likewise.
33437         (CLD_STOPPED): Likewise.
33438         (CLD_CONTINUED): Likewise.
33439         (POLL_IN): Likewise.
33440         (POLL_OUT): Likewise.
33441         (POLL_MSG): Likewise.
33442         (POLL_ERR): Likewise.
33443         (POLL_PRI): Likewise.
33444         (POLL_HUP): Likewise.
33445         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33446         Likewise.
33447         (ILL_ILLOPN): Likewise.
33448         (ILL_ILLADR): Likewise.
33449         (ILL_ILLTRP): Likewise.
33450         (ILL_PRVOPC): Likewise.
33451         (ILL_PRVREG): Likewise.
33452         (ILL_COPROC): Likewise.
33453         (ILL_BADSTK): Likewise.
33454         (FPE_INTDIV): Likewise.
33455         (FPE_INTOVF): Likewise.
33456         (FPE_FLTDIV): Likewise.
33457         (FPE_FLTOVF): Likewise.
33458         (FPE_FLTUND): Likewise.
33459         (FPE_FLTRES): Likewise.
33460         (FPE_FLTINV): Likewise.
33461         (FPE_FLTSUB): Likewise.
33462         (SEGV_MAPERR): Likewise.
33463         (SEGV_ACCERR): Likewise.
33464         (BUS_ADRALN): Likewise.
33465         (BUS_ADRERR): Likewise.
33466         (BUS_OBJERR): Likewise.
33467         (BUS_MCEERR_AR): Likewise.
33468         (BUS_MCEERR_AO): Likewise.
33469         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33470         (TRAP_TRACE): Likewise.
33471         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33472         __USE_XOPEN2K8].
33473         (CLD_KILLED): Likewise.
33474         (CLD_DUMPED): Likewise.
33475         (CLD_TRAPPED): Likewise.
33476         (CLD_STOPPED): Likewise.
33477         (CLD_CONTINUED): Likewise.
33478         (POLL_IN): Likewise.
33479         (POLL_OUT): Likewise.
33480         (POLL_MSG): Likewise.
33481         (POLL_ERR): Likewise.
33482         (POLL_PRI): Likewise.
33483         (POLL_HUP): Likewise.
33484         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33485         (ILL_ILLOPN): Likewise.
33486         (ILL_ILLADR): Likewise.
33487         (ILL_ILLTRP): Likewise.
33488         (ILL_PRVOPC): Likewise.
33489         (ILL_PRVREG): Likewise.
33490         (ILL_COPROC): Likewise.
33491         (ILL_BADSTK): Likewise.
33492         (FPE_INTDIV): Likewise.
33493         (FPE_INTOVF): Likewise.
33494         (FPE_FLTDIV): Likewise.
33495         (FPE_FLTOVF): Likewise.
33496         (FPE_FLTUND): Likewise.
33497         (FPE_FLTRES): Likewise.
33498         (FPE_FLTINV): Likewise.
33499         (FPE_FLTSUB): Likewise.
33500         (SEGV_MAPERR): Likewise.
33501         (SEGV_ACCERR): Likewise.
33502         (BUS_ADRALN): Likewise.
33503         (BUS_ADRERR): Likewise.
33504         (BUS_OBJERR): Likewise.
33505         (BUS_MCEERR_AR): Likewise.
33506         (BUS_MCEERR_AO): Likewise.
33507         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33508         (TRAP_TRACE): Likewise.
33509         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33510         __USE_XOPEN2K8].
33511         (CLD_KILLED): Likewise.
33512         (CLD_DUMPED): Likewise.
33513         (CLD_TRAPPED): Likewise.
33514         (CLD_STOPPED): Likewise.
33515         (CLD_CONTINUED): Likewise.
33516         (POLL_IN): Likewise.
33517         (POLL_OUT): Likewise.
33518         (POLL_MSG): Likewise.
33519         (POLL_ERR): Likewise.
33520         (POLL_PRI): Likewise.
33521         (POLL_HUP): Likewise.
33522         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33523         Likewise.
33524         (ILL_ILLOPN): Likewise.
33525         (ILL_ILLADR): Likewise.
33526         (ILL_ILLTRP): Likewise.
33527         (ILL_PRVOPC): Likewise.
33528         (ILL_PRVREG): Likewise.
33529         (ILL_COPROC): Likewise.
33530         (ILL_BADSTK): Likewise.
33531         (ILL_BADIADDR): Likewise.
33532         (ILL_BREAK): Likewise.
33533         (FPE_INTDIV): Likewise.
33534         (FPE_INTOVF): Likewise.
33535         (FPE_FLTDIV): Likewise.
33536         (FPE_FLTOVF): Likewise.
33537         (FPE_FLTUND): Likewise.
33538         (FPE_FLTRES): Likewise.
33539         (FPE_FLTINV): Likewise.
33540         (FPE_FLTSUB): Likewise.
33541         (FPE_DECOVF): Likewise.
33542         (FPE_DECDIV): Likewise.
33543         (FPE_DECERR): Likewise.
33544         (FPE_INVASC): Likewise.
33545         (FPE_INVDEC): Likewise.
33546         (SEGV_MAPERR): Likewise.
33547         (SEGV_ACCERR): Likewise.
33548         (SEGV_PSTKOVF): Likewise.
33549         (BUS_ADRALN): Likewise.
33550         (BUS_ADRERR): Likewise.
33551         (BUS_OBJERR): Likewise.
33552         (BUS_MCEERR_AR): Likewise.
33553         (BUS_MCEERR_AO): Likewise.
33554         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33555         (TRAP_TRACE): Likewise.
33556         (TRAP_BRANCH): Likewise.
33557         (TRAP_HWBKPT): Likewise.
33558         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33559         __USE_XOPEN2K8].
33560         (CLD_KILLED): Likewise.
33561         (CLD_DUMPED): Likewise.
33562         (CLD_TRAPPED): Likewise.
33563         (CLD_STOPPED): Likewise.
33564         (CLD_CONTINUED): Likewise.
33565         (POLL_IN): Likewise.
33566         (POLL_OUT): Likewise.
33567         (POLL_MSG): Likewise.
33568         (POLL_ERR): Likewise.
33569         (POLL_PRI): Likewise.
33570         (POLL_HUP): Likewise.
33571         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33572         (ILL_ILLOPN): Likewise.
33573         (ILL_ILLADR): Likewise.
33574         (ILL_ILLTRP): Likewise.
33575         (ILL_PRVOPC): Likewise.
33576         (ILL_PRVREG): Likewise.
33577         (ILL_COPROC): Likewise.
33578         (ILL_BADSTK): Likewise.
33579         (FPE_INTDIV): Likewise.
33580         (FPE_INTOVF): Likewise.
33581         (FPE_FLTDIV): Likewise.
33582         (FPE_FLTOVF): Likewise.
33583         (FPE_FLTUND): Likewise.
33584         (FPE_FLTRES): Likewise.
33585         (FPE_FLTINV): Likewise.
33586         (FPE_FLTSUB): Likewise.
33587         (SEGV_MAPERR): Likewise.
33588         (SEGV_ACCERR): Likewise.
33589         (BUS_ADRALN): Likewise.
33590         (BUS_ADRERR): Likewise.
33591         (BUS_OBJERR): Likewise.
33592         (BUS_MCEERR_AR): Likewise.
33593         (BUS_MCEERR_AO): Likewise.
33594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33595         (TRAP_TRACE): Likewise.
33596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33597         __USE_XOPEN2K8].
33598         (CLD_KILLED): Likewise.
33599         (CLD_DUMPED): Likewise.
33600         (CLD_TRAPPED): Likewise.
33601         (CLD_STOPPED): Likewise.
33602         (CLD_CONTINUED): Likewise.
33603         (POLL_IN): Likewise.
33604         (POLL_OUT): Likewise.
33605         (POLL_MSG): Likewise.
33606         (POLL_ERR): Likewise.
33607         (POLL_PRI): Likewise.
33608         (POLL_HUP): Likewise.
33609         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33610         (ILL_ILLOPN): Likewise.
33611         (ILL_ILLADR): Likewise.
33612         (ILL_ILLTRP): Likewise.
33613         (ILL_PRVOPC): Likewise.
33614         (ILL_PRVREG): Likewise.
33615         (ILL_COPROC): Likewise.
33616         (ILL_BADSTK): Likewise.
33617         (FPE_INTDIV): Likewise.
33618         (FPE_INTOVF): Likewise.
33619         (FPE_FLTDIV): Likewise.
33620         (FPE_FLTOVF): Likewise.
33621         (FPE_FLTUND): Likewise.
33622         (FPE_FLTRES): Likewise.
33623         (FPE_FLTINV): Likewise.
33624         (FPE_FLTSUB): Likewise.
33625         (SEGV_MAPERR): Likewise.
33626         (SEGV_ACCERR): Likewise.
33627         (BUS_ADRALN): Likewise.
33628         (BUS_ADRERR): Likewise.
33629         (BUS_OBJERR): Likewise.
33630         (BUS_MCEERR_AR): Likewise.
33631         (BUS_MCEERR_AO): Likewise.
33632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33633         (TRAP_TRACE): Likewise.
33634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33635         __USE_XOPEN2K8].
33636         (CLD_KILLED): Likewise.
33637         (CLD_DUMPED): Likewise.
33638         (CLD_TRAPPED): Likewise.
33639         (CLD_STOPPED): Likewise.
33640         (CLD_CONTINUED): Likewise.
33641         (POLL_IN): Likewise.
33642         (POLL_OUT): Likewise.
33643         (POLL_MSG): Likewise.
33644         (POLL_ERR): Likewise.
33645         (POLL_PRI): Likewise.
33646         (POLL_HUP): Likewise.
33647         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33648         (ILL_ILLOPN): Likewise.
33649         (ILL_ILLADR): Likewise.
33650         (ILL_ILLTRP): Likewise.
33651         (ILL_PRVOPC): Likewise.
33652         (ILL_PRVREG): Likewise.
33653         (ILL_COPROC): Likewise.
33654         (ILL_BADSTK): Likewise.
33655         (FPE_INTDIV): Likewise.
33656         (FPE_INTOVF): Likewise.
33657         (FPE_FLTDIV): Likewise.
33658         (FPE_FLTOVF): Likewise.
33659         (FPE_FLTUND): Likewise.
33660         (FPE_FLTRES): Likewise.
33661         (FPE_FLTINV): Likewise.
33662         (FPE_FLTSUB): Likewise.
33663         (SEGV_MAPERR): Likewise.
33664         (SEGV_ACCERR): Likewise.
33665         (BUS_ADRALN): Likewise.
33666         (BUS_ADRERR): Likewise.
33667         (BUS_OBJERR): Likewise.
33668         (BUS_MCEERR_AR): Likewise.
33669         (BUS_MCEERR_AO): Likewise.
33670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33671         (TRAP_TRACE): Likewise.
33672         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33673         __USE_XOPEN2K8].
33674         (CLD_KILLED): Likewise.
33675         (CLD_DUMPED): Likewise.
33676         (CLD_TRAPPED): Likewise.
33677         (CLD_STOPPED): Likewise.
33678         (CLD_CONTINUED): Likewise.
33679         (POLL_IN): Likewise.
33680         (POLL_OUT): Likewise.
33681         (POLL_MSG): Likewise.
33682         (POLL_ERR): Likewise.
33683         (POLL_PRI): Likewise.
33684         (POLL_HUP): Likewise.
33685         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33686         (ILL_ILLOPN): Likewise.
33687         (ILL_ILLADR): Likewise.
33688         (ILL_ILLTRP): Likewise.
33689         (ILL_PRVOPC): Likewise.
33690         (ILL_PRVREG): Likewise.
33691         (ILL_COPROC): Likewise.
33692         (ILL_BADSTK): Likewise.
33693         (ILL_DBLFLT): Likewise.
33694         (ILL_HARDWALL): Likewise.
33695         (FPE_INTDIV): Likewise.
33696         (FPE_INTOVF): Likewise.
33697         (FPE_FLTDIV): Likewise.
33698         (FPE_FLTOVF): Likewise.
33699         (FPE_FLTUND): Likewise.
33700         (FPE_FLTRES): Likewise.
33701         (FPE_FLTINV): Likewise.
33702         (FPE_FLTSUB): Likewise.
33703         (SEGV_MAPERR): Likewise.
33704         (SEGV_ACCERR): Likewise.
33705         (BUS_ADRALN): Likewise.
33706         (BUS_ADRERR): Likewise.
33707         (BUS_OBJERR): Likewise.
33708         (BUS_MCEERR_AR): Likewise.
33709         (BUS_MCEERR_AO): Likewise.
33710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33711         (TRAP_TRACE): Likewise.
33712         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33713         __USE_XOPEN2K8].
33714         (CLD_KILLED): Likewise.
33715         (CLD_DUMPED): Likewise.
33716         (CLD_TRAPPED): Likewise.
33717         (CLD_STOPPED): Likewise.
33718         (CLD_CONTINUED): Likewise.
33719         (POLL_IN): Likewise.
33720         (POLL_OUT): Likewise.
33721         (POLL_MSG): Likewise.
33722         (POLL_ERR): Likewise.
33723         (POLL_PRI): Likewise.
33724         (POLL_HUP): Likewise.
33725         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33726         (ILL_ILLOPN): Likewise.
33727         (ILL_ILLADR): Likewise.
33728         (ILL_ILLTRP): Likewise.
33729         (ILL_PRVOPC): Likewise.
33730         (ILL_PRVREG): Likewise.
33731         (ILL_COPROC): Likewise.
33732         (ILL_BADSTK): Likewise.
33733         (FPE_INTDIV): Likewise.
33734         (FPE_INTOVF): Likewise.
33735         (FPE_FLTDIV): Likewise.
33736         (FPE_FLTOVF): Likewise.
33737         (FPE_FLTUND): Likewise.
33738         (FPE_FLTRES): Likewise.
33739         (FPE_FLTINV): Likewise.
33740         (FPE_FLTSUB): Likewise.
33741         (SEGV_MAPERR): Likewise.
33742         (SEGV_ACCERR): Likewise.
33743         (BUS_ADRALN): Likewise.
33744         (BUS_ADRERR): Likewise.
33745         (BUS_OBJERR): Likewise.
33746         (BUS_MCEERR_AR): Likewise.
33747         (BUS_MCEERR_AO): Likewise.
33748         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33749         (TRAP_TRACE): Likewise.
33750         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33751         __USE_XOPEN2K8].
33752         (CLD_KILLED): Likewise.
33753         (CLD_DUMPED): Likewise.
33754         (CLD_TRAPPED): Likewise.
33755         (CLD_STOPPED): Likewise.
33756         (CLD_CONTINUED): Likewise.
33757         (POLL_IN): Likewise.
33758         (POLL_OUT): Likewise.
33759         (POLL_MSG): Likewise.
33760         (POLL_ERR): Likewise.
33761         (POLL_PRI): Likewise.
33762         (POLL_HUP): Likewise.
33763         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33764         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33766         [BZ #16670]
33767         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33768         before #include of <time.h>.
33769         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33770         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33771         (test-xfail-UNIX98/sched.h/conform): Likewise.
33773 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33775         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33776         error absence of trapping exception support.
33777         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33779 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33781         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33782         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33783         * timezone/Makefile (testdata): Move definition above include of
33784         Rules.
33785         (test-zones): New variable.
33786         (tests-special): Add zone files.
33787         (build-testdata): Use $(evaluate-test).
33789         * elf/Makefile (tests-special): Rename tests to end with .out.
33790         ($(objpfx)noload-mem): Likewise.
33791         ($(objpfx)tst-leaks1-mem): Likewise.
33792         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33793         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33794         $(objpfx)test-iconvconfig.out.
33795         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33796         set -e inside subshell and redirect output to file.
33797         * iconvdata/Makefile (generated): Rename tests to end with .out.
33798         Correct type.
33799         (tests-special): Rename tests to end with .out.
33800         ($(objpfx)mtrace-tst-loading): Likewise.
33801         * intl/Makefile (generated): Likewise.
33802         (tests-special): Likewise.
33803         ($(objpfx)mtrace-tst-gettext): Likewise.
33804         * misc/Makefile (generated): Likewise.
33805         (tests-special): Likewise.
33806         ($(objpfx)tst-error1-mem): Likewise.
33807         * nptl/Makefile (tests-special): Likewise.
33808         ($(objpfx)tst-stack3-mem): Likewise.
33809         (generated): Likewise.
33810         * posix/Makefile (generated): Likewise.
33811         (tests-special): Likewise.
33812         (xtests-special): Likewise.
33813         ($(objpfx)tst-fnmatch-mem): Likewise.
33814         ($(objpfx)bug-regex2-mem): Likewise.
33815         ($(objpfx)bug-regex14-mem): Likewise.
33816         ($(objpfx)bug-regex21-mem): Likewise.
33817         ($(objpfx)bug-regex31-mem): Likewise.
33818         ($(objpfx)tst-vfork3-mem): Likewise.
33819         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33820         ($(objpfx)tst-pcre-mem): Likewise.
33821         ($(objpfx)tst-boost-mem): Likewise.
33822         ($(objpfx)bug-ga2-mem): Likewise.
33823         ($(objpfx)bug-glob2-mem): Likewise.
33824         * resolv/Makefile (generate): Likewise.
33825         (tests-special): Likewise.
33826         (xtests-special): Likewise.
33827         (generated): Likewise.
33828         ($(objpfx)mtrace-tst-leaks): Likewise.
33829         ($(objpfx)mtrace-tst-leaks2): Likewise.
33831         * scripts/merge-test-results.sh: New file.
33832         * Makefile (tests-special-notdir): New variable.
33833         (tests): Run merge-test-results.sh.
33834         (xtests): Likewise.
33835         * Rules (tests-special-notdir): New variable.
33836         (xtests-special-notdir): Likewise.
33837         (tests): Run merge-test-results.sh
33838         (xtests): Likewise.
33840         * Makeconfig (test-xfail-name): New variable.
33841         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33842         compute variable name for expected failures.
33843         * conform/Makefile (conformtest-headers-data): New variable.
33844         (conformtest-standards): Likewise.
33845         (conformtest-headers-ISO): Likewise.
33846         (conformtest-headers-ISO99): Likewise.
33847         (conformtest-headers-ISO11): Likewise.
33848         (conformtest-headers-POSIX): Likewise.
33849         (conformtest-headers-XPG3): Likewise.
33850         (conformtest-headers-XPG4): Likewise.
33851         (conformtest-headers-UNIX98): Likewise.
33852         (conformtest-headers-XOPEN2K): Likewise.
33853         (conformtest-headers-POSIX2008): Likewise.
33854         (conformtest-headers-XOPEN2K8): Likewise.
33855         (conformtest-header-list-base): Likewise.
33856         (conformtest-header-list-tests): Likewise.
33857         (conformtest-header-base): Likewise.
33858         (conformtest-header-tests): Likewise.
33859         (tests-special): Add $(conformtest-header-list-tests).  If
33860         [$(fast-check) && !$(cross-compiling)], add
33861         $(conformtest-header-tests) instead of
33862         $(objpfx)run-conformtest.out.
33863         (generated): Add $(conformtest-header-list-base).  If
33864         [$(fast-check) && !$(cross-compiling)], add
33865         $(conformtest-header-base).  Remove previous setting.
33866         ($(conformtest-header-list-tests)): New target.
33867         (test-xfail-run-conformtest): Remove variable.
33868         ($(objpfx)run-conformtest.out): Remove target.
33869         (test-xfail-ISO11/complex.h/conform): New variable.
33870         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33871         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33872         (test-xfail-XPG3/varargs.h/conform): Likewise.
33873         (test-xfail-XPG4/varargs.h/conform): Likewise.
33874         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33875         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33876         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33877         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33878         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33879         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33880         (test-xfail-XPG3/ftw.h/conform): Likewise.
33881         (test-xfail-XPG3/grp.h/conform): Likewise.
33882         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33883         (test-xfail-XPG3/limits.h/conform): Likewise.
33884         (test-xfail-XPG3/pwd.h/conform): Likewise.
33885         (test-xfail-XPG3/search.h/conform): Likewise.
33886         (test-xfail-XPG3/signal.h/conform): Likewise.
33887         (test-xfail-XPG3/stdio.h/conform): Likewise.
33888         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33889         (test-xfail-XPG3/string.h/conform): Likewise.
33890         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33891         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33892         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33893         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33894         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33895         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33896         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33897         (test-xfail-XPG3/termios.h/conform): Likewise.
33898         (test-xfail-XPG3/time.h/conform): Likewise.
33899         (test-xfail-XPG3/unistd.h/conform): Likewise.
33900         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33901         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33902         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33903         (test-xfail-XPG4/netdb.h/conform): Likewise.
33904         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33905         (test-xfail-XPG4/signal.h/conform): Likewise.
33906         (test-xfail-XPG4/stdio.h/conform): Likewise.
33907         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33908         (test-xfail-XPG4/stropts.h/conform): Likewise.
33909         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33910         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33911         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33912         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33913         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33914         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33915         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33916         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33917         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33918         (test-xfail-XPG4/termios.h/conform): Likewise.
33919         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33920         (test-xfail-XPG4/unistd.h/conform): Likewise.
33921         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33922         (test-xfail-POSIX/sched.h/conform): Likewise.
33923         (test-xfail-POSIX/signal.h/conform): Likewise.
33924         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33925         (test-xfail-POSIX/tar.h/conform): Likewise.
33926         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33927         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33928         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33929         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33930         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33931         (test-xfail-UNIX98/sched.h/conform): Likewise.
33932         (test-xfail-UNIX98/signal.h/conform): Likewise.
33933         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33934         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33935         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33936         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33937         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33938         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33939         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33940         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33941         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33942         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33943         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33944         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33945         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33946         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33947         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33948         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33949         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33950         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33951         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33952         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33953         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33954         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33955         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33956         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33957         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33958         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33959         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33960         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33961         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33962         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33963         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33964         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33965         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33966         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33967         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33968         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33969         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33970         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33971         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33972         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33973         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33974         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33975         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33976         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33977         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33978         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33979         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33980         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33981         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33982         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33983         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33984         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33985         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33986         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33987         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33988         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33989         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33990         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33991         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33992         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33993         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33994         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33995         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33996         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33997         (conformtest-cc-flags): Likewise.
33998         ($(conformtest-header-tests): New target.
33999         * conform/check-header-lists.sh: New file.
34000         * conform/run-conformtest.sh: Remove.
34002         * conform/conformtest.pl: Allow ' and \ in values given for
34003         constants.
34004         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34005         inclusion.
34006         [POSIX] (sys/types.h): Likewise.
34007         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34008         inclusion.
34009         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34010         inclusion.
34011         * conform/data/signal.h-data (SIGIO): Remove expectation.
34012         [XPG3] (SIGBUS): Do not expect.
34013         [POSIX || XPG3] (SIGPOLL): Likewise.
34014         [POSIX || XPG3] (SIGPROF): Likewise.
34015         [POSIX || XPG3] (SIGSYS): Likewise.
34016         [XPG3] (SIGTRAP): Likewise.
34017         [POSIX || XPG3] (SIGURG): Likewise.
34018         [POSIX || XPG3] (SIGVTALRM): Likewise.
34019         [POSIX || XPG3] (SIGXCPU): Likewise.
34020         [POSIX || XPG3] (SIGXFSZ): Likewise.
34021         [POSIX] (SA_SIGINFO): Expect.
34022         [XPG3] (siginfo_t): Do not expect type or contents.
34023         [POSIX] (si_pid): Do not expect element.
34024         [POSIX] (si_uid): Likewise.
34025         [POSIX] (si_addr): Likewise.
34026         [POSIX] (si_status): Likewise.
34027         [POSIX] (si_band): Likewise.
34028         [XPG4] (si_value): Likewise.
34029         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34030         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34031         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34032         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34033         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34034         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34035         [POSIX || XPG3] (ILL_COPROC): Likewise.
34036         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34037         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34038         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34039         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34040         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34041         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34042         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34043         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34044         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34045         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34046         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34047         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34048         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34049         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34050         [POSIX || XPG3] (CLD_EXITED): Likewise.
34051         [POSIX || XPG3] (CLD_KILLED): Likewise.
34052         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34053         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34054         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34055         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34056         [POSIX || XPG3] (POLL_IN): Likewise.
34057         [POSIX || XPG3] (POLL_OUT): Likewise.
34058         [POSIX || XPG3] (POLL_MSG): Likewise.
34059         [POSIX || XPG3] (POLL_ERR): Likewise.
34060         [POSIX || XPG3] (POLL_PRI): Likewise.
34061         [POSIX || XPG3] (POLL_HUP): Likewise.
34062         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34063         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34064         (SIG*): Do not allow.
34065         [XPG3] (si_*): Likewise.
34066         [XPG3] (SI_*): Likewise.
34067         [XPG3 || XPG4] (sigev_*): Likewise.
34068         [XPG3 || XPG4] (SIGEV_*): Likewise.
34069         [XPG3 || XPG4] (sival_*): Likewise.
34070         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34071         [POSIX || XPG3] (BUS_*): Likewise.
34072         [POSIX || XPG3] (CLD_*): Likewise.
34073         [POSIX || XPG3] (FPE_*): Likewise.
34074         [POSIX || XPG3] (ILL_*): Likewise.
34075         [POSIX || XPG3] (POLL_*): Likewise.
34076         [POSIX || XPG3] (SEGV_*): Likewise.
34077         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34078         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34079         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34080         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34081         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34082         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34083         Specify type and value.
34084         (TVERSLEN): Likewise.
34085         (REGTYPE): Likewise.
34086         (AREGTYPE): Likewise.
34087         (LNKTYPE): Likewise.
34088         (SYMTYPE): Likewise.
34089         (CHRTYPE): Likewise.
34090         (BLKTYPE): Likewise.
34091         (DIRTYPE): Likewise.
34092         (FIFOTYPE): Likewise.
34093         (CONTTYPE): Likewise.
34094         (TSUID): Likewise.
34095         (TSGID): Likewise.
34096         (TSVTX): Likewise.
34097         (TUREAD): Likewise.
34098         (TUWRITE): Likewise.
34099         (TUEXEC): Likewise.
34100         (TGREAD): Likewise.
34101         (TGWRITE): Likewise.
34102         (TGEXEC): Likewise.
34103         (TOREAD): Likewise.
34104         (TOWRITE): Likewise.
34105         (TOEXEC): Likewise.
34106         [POSIX] (TSVTX): Expect constant.
34108 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34110         * Makefile (tests): Change dependencies to ....
34111         (tests-special): ... additions to this variable.
34112         (tests): Depend on $(tests-special).
34113         * Makerules (check-abi-list): New variable.
34114         (check-abi): Depend on $(check-abi-list).
34115         [$(subdir) = elf] (tests-special): Add
34116         $(objpfx)check-abi-libc.out.
34117         [$(build-shared) = yes && subdir] (tests-special): Add
34118         $(check-abi-list).
34119         [$(build-shared) = yes && subdir] (tests): Do not depend on
34120         check-abi.
34121         * Rules (tests): Depend on $(tests-special).
34122         (xtests): Depend on $(xtests-special).
34123         * catgets/Makefile (tests): Change dependencies to ....
34124         (tests-special): ... additions to this variable.
34125         * conform/Makefile (tests): Change dependencies to ....
34126         (tests-special): ... additions to this variable.
34127         * elf/Makefile (tests): Change dependencies to ....
34128         (tests-special): ... additions to this variable.
34129         * grp/Makefile (tests): Change dependencies to ....
34130         (tests-special): ... additions to this variable.
34131         * iconv/Makefile (xtests): Change dependencies to ....
34132         (xtests-special): ... additions to this variable.
34133         * iconvdata/Makefile (tests): Change dependencies to ....
34134         (tests-special): ... additions to this variable.
34135         * intl/Makefile (tests): Change dependencies to ....
34136         (tests-special): ... additions to this variable.  Also add
34137         $(objpfx)tst-gettext.out.
34138         * io/Makefile (tests): Change dependencies to ....
34139         (tests-special): ... additions to this variable.
34140         * libio/Makefile (tests): Change dependencies to ....
34141         (tests-special): ... additions to this variable.
34142         * malloc/Makefile (tests): Change dependencies to ....
34143         (tests-special): ... additions to this variable.
34144         * misc/Makefile (tests): Change dependencies to ....
34145         (tests-special): ... additions to this variable.
34146         * nptl/Makefile (tests): Change dependencies to ....
34147         (tests-special): ... additions to this variable.
34148         * nptl_db/Makefile (tests): Change dependencies to ....
34149         (tests-special): ... additions to this variable.
34150         * posix/Makefile (tests): Change dependencies to ....
34151         (tests-special): ... additions to this variable.
34152         (xtests): Change dependencies to ....
34153         (xtests-special): ... additions to this variable.
34154         * resolv/Makefile (tests): Change dependencies to ....
34155         (tests-special): ... additions to this variable.
34156         (xtests): Change dependencies to ....
34157         (xtests-special): ... additions to this variable.
34158         * stdio-common/Makefile (tests): Change dependencies to ....
34159         (tests-special): ... additions to this variable.
34160         (do-tst-unbputc): Remove target.
34161         (do-tst-printf): Likewise.
34162         * stdlib/Makefile (tests): Change dependencies to ....
34163         (tests-special): ... additions to this variable.
34164         * string/Makefile (tests): Change dependencies to ....
34165         (tests-special): ... additions to this variable.
34166         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34167         (tests-special): ... additions to this variable.
34169         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34170         whole file.
34171         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34172         whole file.
34173         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34174         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34176         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34177         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34178         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34179         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34180         * conform/data/libgen.h-data [XPG3]: Likewise.
34181         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34182         * conform/data/ndbm.h-data [XPG3]: Likewise.
34183         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34184         * conform/data/netdb.h-data [XPG3]: Likewise.
34185         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34186         * conform/data/poll.h-data [XPG3]: Likewise.
34187         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34188         * conform/data/strings.h-data [XPG3]: Likewise.
34189         * conform/data/stropts.h-data [XPG3]: Likewise.
34190         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34191         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34192         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34193         Likewise.
34194         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34195         * conform/data/sys/time.h-data [XPG3]: Likewise.
34196         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34197         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34198         * conform/data/sys/un.h-data [XPG3]: Likewise.
34199         * conform/data/syslog.h-data [XPG3]: Likewise.
34200         * conform/data/ucontext.h-data [XPG3]: Likewise.
34201         * conform/data/utmpx.h-data [XPG3]: Likewise.
34202         * conform/data/varargs.h-data [UNIX98]: Enable file.
34204         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34206         * math/libm-test.inc (struct test_f_f_data): Move expected results
34207         into structure for each rounding mode.
34208         (struct test_ff_f_data): Likewise.
34209         (struct test_ff_f_data_nexttoward): Likewise.
34210         (struct test_fi_f_data): Likewise.
34211         (struct test_fl_f_data): Likewise.
34212         (struct test_if_f_data): Likewise.
34213         (struct test_fff_f_data): Likewise.
34214         (struct test_c_f_data): Likewise.
34215         (struct test_f_f1_data): Likewise.
34216         (struct test_fF_f1_data): Likewise.
34217         (struct test_ffI_f1_data): Likewise.
34218         (struct test_c_c_data): Likewise.
34219         (struct test_cc_c_data): Likewise.
34220         (struct test_f_i_data): Likewise.
34221         (struct test_ff_i_data): Likewise.
34222         (struct test_f_l_data): Likewise.
34223         (struct test_f_L_data): Likewise.
34224         (struct test_fFF_11_data): Likewise.
34225         (RM_): New macro.
34226         (RM_FE_DOWNWARD): Likewise.
34227         (RM_FE_TONEAREST): Likewise.
34228         (RM_FE_TOWARDZERO): Likewise.
34229         (RM_FE_UPWARD): Likewise.
34230         (RUN_TEST_LOOP_f_f): Update references to expected results.
34231         (RUN_TEST_LOOP_2_f): Likewise.
34232         (RUN_TEST_LOOP_fff_f): Likewise.
34233         (RUN_TEST_LOOP_c_f): Likewise.
34234         (RUN_TEST_LOOP_f_f1): Likewise.
34235         (RUN_TEST_LOOP_fF_f1): Likewise.
34236         (RUN_TEST_LOOP_fI_f1): Likewise.
34237         (RUN_TEST_LOOP_ffI_f1): Likewise.
34238         (RUN_TEST_LOOP_c_c): Likewise.
34239         (RUN_TEST_LOOP_cc_c): Likewise.
34240         (RUN_TEST_LOOP_f_i): Likewise.
34241         (RUN_TEST_LOOP_f_i_tg): Likewise.
34242         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34243         (RUN_TEST_LOOP_f_b): Likewise.
34244         (RUN_TEST_LOOP_f_b_tg): Likewise.
34245         (RUN_TEST_LOOP_f_l): Likewise.
34246         (RUN_TEST_LOOP_f_L): Likewise.
34247         (RUN_TEST_LOOP_fFF_11): Likewise.
34248         * math/gen-libm-test.pl (parse_args): Output four copies of
34249         expected results for each test.
34251         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34252         (__ASSUME_UTIMES): Remove.
34253         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34254         (__ASSUME_UTIMES): Likewise.
34256         * math/gen-auto-libm-tests.c: Update comment on output format.
34257         (output_for_one_input_case): Generate before-rounding and
34258         after-rounding information as conditions on output flags not
34259         floating-point format.
34260         * math/auto-libm-test-out: Regenerated.
34261         * math/gen-libm-test.pl (cond_value): New function.
34262         (or_cond_value): Use cond_value.
34263         (generate_testfile): Handle conditional exceptions.
34265 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34267         * math/libm-test.inc (max_valid_error): New variable.
34268         (init_max_error): Take new argument specifying whether function
34269         results are exactly determined.  Set max_valid_error and bound
34270         other variables for errors based on this argument.
34271         (set_max_error): Do not record results above max_valid_error.
34272         (check_float_internal): Only accept errors of up to 0.5ulps if
34273         also at most max_valid_error.
34274         (START): Take new argument EXACT and pass it to init_max_error.
34275         (acos_test): Update call to START.
34276         (acos_test_tonearest): Likewise.
34277         (acos_test_towardzero): Likewise.
34278         (acos_test_downward): Likewise.
34279         (acos_test_upward): Likewise.
34280         (acosh_test): Likewise.
34281         (asin_test): Likewise.
34282         (asin_test_tonearest): Likewise.
34283         (asin_test_towardzero): Likewise.
34284         (asin_test_downward): Likewise.
34285         (asin_test_upward): Likewise.
34286         (asinh_test): Likewise.
34287         (atan_test): Likewise.
34288         (atanh_test): Likewise.
34289         (atan2_test): Likewise.
34290         (cabs_test): Likewise.
34291         (cacos_test): Likewise.
34292         (cacosh_test): Likewise.
34293         (carg_test): Likewise.
34294         (casin_test): Likewise.
34295         (casinh_test): Likewise.
34296         (catan_test): Likewise.
34297         (catanh_test): Likewise.
34298         (cbrt_test): Likewise.
34299         (ccos_test): Likewise.
34300         (ccosh_test): Likewise.
34301         (ceil_test): Likewise.
34302         (cexp_test): Likewise.
34303         (cimag_test): Likewise.
34304         (clog_test): Likewise.
34305         (clog10_test): Likewise.
34306         (conj_test): Likewise.
34307         (copysign_test): Likewise.
34308         (cos_test): Likewise.
34309         (cos_test_tonearest): Likewise.
34310         (cos_test_towardzero): Likewise.
34311         (cos_test_downward): Likewise.
34312         (cos_test_upward): Likewise.
34313         (cosh_test): Likewise.
34314         (cosh_test_tonearest): Likewise.
34315         (cosh_test_towardzero): Likewise.
34316         (cosh_test_downward): Likewise.
34317         (cosh_test_upward): Likewise.
34318         (cpow_test): Likewise.
34319         (cproj_test): Likewise.
34320         (creal_test): Likewise.
34321         (csin_test): Likewise.
34322         (csinh_test): Likewise.
34323         (csqrt_test): Likewise.
34324         (ctan_test): Likewise.
34325         (ctan_test_tonearest): Likewise.
34326         (ctan_test_towardzero): Likewise.
34327         (ctan_test_downward): Likewise.
34328         (ctan_test_upward): Likewise.
34329         (ctanh_test): Likewise.
34330         (ctanh_test_tonearest): Likewise.
34331         (ctanh_test_towardzero): Likewise.
34332         (ctanh_test_downward): Likewise.
34333         (ctanh_test_upward): Likewise.
34334         (erf_test): Likewise.
34335         (erfc_test): Likewise.
34336         (exp_test): Likewise.
34337         (exp_test_tonearest): Likewise.
34338         (exp_test_towardzero): Likewise.
34339         (exp_test_downward): Likewise.
34340         (exp_test_upward): Likewise.
34341         (exp10_test): Likewise.
34342         (exp10_test_tonearest): Likewise.
34343         (exp10_test_towardzero): Likewise.
34344         (exp10_test_downward): Likewise.
34345         (exp10_test_upward): Likewise.
34346         (pow10_test): Likewise.
34347         (exp2_test): Likewise.
34348         (expm1_test): Likewise.
34349         (expm1_test_tonearest): Likewise.
34350         (expm1_test_towardzero): Likewise.
34351         (expm1_test_downward): Likewise.
34352         (expm1_test_upward): Likewise.
34353         (fabs_test): Likewise.
34354         (fdim_test): Likewise.
34355         (floor_test): Likewise.
34356         (fma_test): Likewise.
34357         (fma_test_towardzero): Likewise.
34358         (fma_test_downward): Likewise.
34359         (fma_test_upward): Likewise.
34360         (fmax_test): Likewise.
34361         (fmin_test): Likewise.
34362         (fmod_test): Likewise.
34363         (fpclassify_test): Likewise.
34364         (frexp_test): Likewise.
34365         (hypot_test): Likewise.
34366         (ilogb_test): Likewise.
34367         (isfinite_test): Likewise.
34368         (finite_test): Likewise.
34369         (isgreater_test): Likewise.
34370         (isgreaterequal_test): Likewise.
34371         (isinf_test): Likewise.
34372         (isless_test): Likewise.
34373         (islessequal_test): Likewise.
34374         (islessgreater_test): Likewise.
34375         (isnan_test): Likewise.
34376         (isnormal_test): Likewise.
34377         (issignaling_test): Likewise.
34378         (isunordered_test): Likewise.
34379         (j0_test): Likewise.
34380         (j1_test): Likewise.
34381         (jn_test): Likewise.
34382         (ldexp_test): Likewise.
34383         (lgamma_test): Likewise.
34384         (gamma_test): Likewise.
34385         (lrint_test): Likewise.
34386         (lrint_test_tonearest): Likewise.
34387         (lrint_test_towardzero): Likewise.
34388         (lrint_test_downward): Likewise.
34389         (lrint_test_upward): Likewise.
34390         (llrint_test): Likewise.
34391         (llrint_test_tonearest): Likewise.
34392         (llrint_test_towardzero): Likewise.
34393         (llrint_test_downward): Likewise.
34394         (llrint_test_upward): Likewise.
34395         (log_test): Likewise.
34396         (log10_test): Likewise.
34397         (log1p_test): Likewise.
34398         (log2_test): Likewise.
34399         (logb_test): Likewise.
34400         (logb_test_downward): Likewise.
34401         (lround_test): Likewise.
34402         (llround_test): Likewise.
34403         (modf_test): Likewise.
34404         (nearbyint_test): Likewise.
34405         (nextafter_test): Likewise.
34406         (nexttoward_test): Likewise.
34407         (pow_test): Likewise.
34408         (pow_test_tonearest): Likewise.
34409         (pow_test_towardzero): Likewise.
34410         (pow_test_downward): Likewise.
34411         (pow_test_upward): Likewise.
34412         (remainder_test): Likewise.
34413         (drem_test): Likewise.
34414         (remainder_test_tonearest): Likewise.
34415         (drem_test_tonearest): Likewise.
34416         (remainder_test_towardzero): Likewise.
34417         (drem_test_towardzero): Likewise.
34418         (remainder_test_downward): Likewise.
34419         (drem_test_downward): Likewise.
34420         (remainder_test_upward): Likewise.
34421         (drem_test_upward): Likewise.
34422         (remquo_test): Likewise.
34423         (rint_test): Likewise.
34424         (rint_test_tonearest): Likewise.
34425         (rint_test_towardzero): Likewise.
34426         (rint_test_downward): Likewise.
34427         (rint_test_upward): Likewise.
34428         (round_test): Likewise.
34429         (scalb_test): Likewise.
34430         (scalbn_test): Likewise.
34431         (scalbln_test): Likewise.
34432         (signbit_test): Likewise.
34433         (sin_test): Likewise.
34434         (sin_test_tonearest): Likewise.
34435         (sin_test_towardzero): Likewise.
34436         (sin_test_downward): Likewise.
34437         (sin_test_upward): Likewise.
34438         (sincos_test): Likewise.
34439         (sinh_test): Likewise.
34440         (sinh_test_tonearest): Likewise.
34441         (sinh_test_towardzero): Likewise.
34442         (sinh_test_downward): Likewise.
34443         (sinh_test_upward): Likewise.
34444         (sqrt_test): Likewise.
34445         (sqrt_test_tonearest): Likewise.
34446         (sqrt_test_towardzero): Likewise.
34447         (sqrt_test_downward): Likewise.
34448         (sqrt_test_upward): Likewise.
34449         (tan_test): Likewise.
34450         (tan_test_tonearest): Likewise.
34451         (tan_test_towardzero): Likewise.
34452         (tan_test_downward): Likewise.
34453         (tan_test_upward): Likewise.
34454         (tanh_test): Likewise.
34455         (tgamma_test): Likewise.
34456         (trunc_test): Likewise.
34457         (y0_test): Likewise.
34458         (y1_test): Likewise.
34459         (yn_test): Likewise.
34460         (significand_test): Likewise.
34462         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34463         individual tests in comment.
34464         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34465         (prev_max_error): New variable.
34466         (prev_real_max_error): Likewise.
34467         (prev_imag_max_error): Likewise.
34468         (compare_ulp_data): Don't refer to test names in comment.
34469         (find_test_ulps): Remove function.
34470         (find_function_ulps): Likewise.
34471         (find_complex_function_ulps): Likewise.
34472         (init_max_error): Take function name as argument.  Look up ulps
34473         for that function.
34474         (print_ulps): Remove function.
34475         (print_max_error): Use prev_max_error instead of calling
34476         find_function_ulps.
34477         (print_complex_max_error): Use prev_real_max_error and
34478         prev_imag_max_error instead of calling find_complex_function_ulps.
34479         (check_float_internal): Take max_ulp parameter instead of calling
34480         find_test_ulps.  Don't call print_ulps.
34481         (check_float): Update call to check_float_internal.
34482         (check_complex): Update calls to check_float_internal.
34483         (START): Pass argument to init_max_error.
34484         * math/gen-libm-test.pl (%results): Don't include "kind"
34485         information.
34486         (parse_ulps): Don't handle ulps of individual tests.
34487         (print_ulps_file): Likewise.
34488         (output_ulps): Likewise.
34489         * math/README.libm-test: Update.
34490         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34491         individual tests.
34492         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34493         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34494         * sysdeps/arm/libm-test-ulps: Likewise.
34495         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34496         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34497         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34498         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34499         * sysdeps/microblaze/libm-test-ulps: Likewise.
34500         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34501         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34502         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34503         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34504         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34505         * sysdeps/sh/libm-test-ulps: Likewise.
34506         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34507         * sysdeps/tile/libm-test-ulps: Likewise.
34508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34510 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34512         * math/libm-test.inc (print_complex_max_error): Check separately
34513         whether real and imaginary errors are within allowed range and
34514         pass 0 to print_complex_function_ulps instead of value within
34515         allowed range.
34517 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34519         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34520         formatting.
34521         (get_handles_fopen): Likewise.
34522         (do_write_test): Likewise.
34524         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34526         * libio/fileops.c (do_ftell): Use cached offset when
34527         available.
34528         * libio/iofwide.c (do_ftell_wide): Likewise.
34529         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34530         _IO_file_attach.
34531         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34533         [BZ #16532]
34534         * libio/libioP.h (get_file_offset): New function.
34535         * libio/fileops.c (get_file_offset): Likewise.
34536         (do_ftell): Likewise.
34537         (_IO_new_file_seekoff): Split out ftell logic.
34538         * libio/wfileops.c (do_ftell_wide): Likewise.
34539         (_IO_wfile_seekoff): Split out ftell logic.
34540         * libio/tst-ftell-active-handler.c: New test case.
34541         * libio/Makefile (tests): Add it.
34543 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34545         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34546         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34548 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34550         [BZ #16639]
34551         * nscd/connections.c (nscd_init): Call do_exit.
34552         (start_threads): Call do_exit and notify_parent.
34553         (begin_drop_privileges): Call do_exit.
34554         (finish_drop_privileges): Likewise.
34555         * nscd/selinux.c (preserve_capabilities): Likewise.
34556         (install_real_capabilities): Likewise.
34557         (nscd_selinux_enabled): Likewise.
34558         (avc_create_thread): Likewise.
34559         (avc_alloc_lock): Likewise.
34560         (nscd_avc_init): Likewise.
34561         * nscd/nscd.c (parent_fd): New static variable.
34562         (main): Create a pipe between parent and child processes.
34563         Skip closing parent_fd.
34564         (monitor_child): New function.
34565         (do_exit): Likewise.
34566         (notify_parent): Likewise.
34567         * nscd/nscd.h (notify_parent): Likewise.
34568         (do_exit): Likewise.
34570 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34572         * malloc/malloc.c (__libc_calloc): Revert last change.
34574 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34578 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34580         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34582         implementation.
34583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34584         (__libc_ifunc_impl_list): Likewise.
34585         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34586         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34587         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34588         * string/strrchr.c: Define STRRCHR.
34590 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34592         * benchtest/bench-strtok.c (simple_strtok): Delete.
34593         (strtok_string): Use as benchmark.
34594         * string/strtok (STRTOK): New macro.
34596 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34598         * manual/threads.texi: Add header and standard comments to all
34599         functions.
34601         * elf/dl-lookup.c (check_match): New function.
34602         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34603         (do_lookup_x): Remove nested function check_match. Use non-nested
34604         function check_match.
34606 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34608         * csu/Makefile (generated, before-compile): Use += rather than =.
34609         * catgets/Makefile (generated, generated-dirs): Likewise.
34610         * debug/Makefile (generated): Likewise.
34611         * dlfcn/Makefile (generated): Likewise.
34612         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34613         * iconvdata/Makefile (before-compile, generated): Likewise.
34614         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34615         * libio/Makefile (generated): Likewise.
34616         * malloc/Makefile (generated): Likewise.
34617         * manual/Makefile (generated, generated-dirs): Likewise.
34618         * misc/Makefile (generated): Likewise.
34619         * posix/Makefile (generated): Likewise.
34620         * resolv/Makefile (generated): Likewise.
34621         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34622         * timezone/Makefile (generated, generated-dirs): Likewise.
34624         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34626 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34628         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34629         power8 implementation.
34630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34631         file: POWER8 llround ifunc implementation.
34632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34633         (__lllround): Add POWER8 implementation.
34634         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34635         POWER8 llround implementation.
34637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34638         power8 implementation.
34639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34640         file: POWER8 llrint ifunc implementation.
34641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34642         Add POWER8 implementation.
34643         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34644         POWER8 llrint implementation.
34646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34647         power8 implementation.
34648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34649         file: POWER8 finite ifunc implementation.
34650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34651         Add POWER8 implementation.
34652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34653         Likewise.
34654         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34655         POWER8 finite implementation.
34656         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34659         power8 implementation.
34660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34661         file: POWER8 isinf ifunc implementation.
34662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34663         POWER8 implementation.
34664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34665         Likewise.
34666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34667         isinf implementation.
34668         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34670         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34671         (INIT_ARCH): Add hwcap2 initialization.
34672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34673         power8 implementation.
34674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34675         file: POWER8 isnan ifunc implementation.
34676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34677         POWER8 implementation.
34678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34679         Likewise.
34680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34681         isnan implementation.
34682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34684 2014-02-27  Joey Ye  <joey.ye@arm.com>
34686         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34687         (_FP_NANFRAC_Q): Set to zero.
34689 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34691         [BZ #16623]
34692         * math/auto-libm-test-in: New test inputs.
34693         * math/auto-libm-test-out: Regenerate.
34694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34695         and DA.
34696         (__cos): Likewise.
34697         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34699 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34701         * scripts/evaluate-test.sh: Take new argument indicating whether
34702         failure is expected.
34703         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34704         indicating whether failure is expected.
34705         * conform/Makefile (test-xfail-run-conformtest): New variable.
34706         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34707         level.
34708         * posix/Makefile (test-xfail-annexc): New variable.
34709         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34711 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34713         * argp/Makefile: Include Makeconfig immediately after defining
34714         subdir.
34715         * assert/Makefile: Likewise.
34716         * benchtests/Makefile: Likewise.
34717         * catgets/Makefile: Likewise.
34718         * conform/Makefile: Likewise.
34719         * crypt/Makefile: Likewise.
34720         * csu/Makefile: Likewise.
34721         (all): Remove target.
34722         * ctype/Makefile: Include Makeconfig immediately after defining
34723         subdir.
34724         * debug/Makefile: Likewise.
34725         * dirent/Makefile: Likewise.
34726         * dlfcn/Makefile: Likewise.
34727         * gmon/Makefile: Likewise.
34728         * gnulib/Makefile: Likewise.
34729         * grp/Makefile: Likewise.
34730         * gshadow/Makefile: Likewise.
34731         * hesiod/Makefile: Likewise.
34732         * hurd/Makefile: Likewise.
34733         (all): Remove target.
34734         * iconvdata/Makefile: Include Makeconfig immediately after
34735         defining subdir.
34736         * inet/Makefile: Likewise.
34737         * intl/Makefile: Likewise.
34738         * io/Makefile: Likewise.
34739         * libio/Makefile: Likewise.
34740         (all): Remove target.
34741         * locale/Makefile: Include Makeconfig immediately after defining
34742         subdir.
34743         * login/Makefile: Likewise.
34744         * mach/Makefile: Likewise.
34745         (all): Remove target.
34746         * malloc/Makefile: Include Makeconfig immediately after defining
34747         subdir.
34748         (all): Remove target.
34749         * manual/Makefile: Include Makeconfig immediately after defining
34750         subdir.
34751         * math/Makefile: Likewise.
34752         * misc/Makefile: Likewise.
34753         * nis/Makefile: Likewise.
34754         * nss/Makefile: Likewise.
34755         * po/Makefile: Likewise.
34756         (all): Remove target.
34757         * posix/Makefile: Include Makeconfig immediately after defining
34758         subdir.
34759         * pwd/Makefile: Likewise.
34760         * resolv/Makefile: Likewise.
34761         * resource/Makefile: Likewise.
34762         * rt/Makefile: Likewise.
34763         * setjmp/Makefile: Likewise.
34764         * shadow/Makefile: Likewise.
34765         * signal/Makefile: Likewise.
34766         * socket/Makefile: Likewise.
34767         * soft-fp/Makefile: Likewise.
34768         * stdio-common/Makefile: Likewise.
34769         * stdlib/Makefile: Likewise.
34770         * streams/Makefile: Likewise.
34771         * string/Makefile: Likewise.
34772         * sunrpc/Makefile: Likewise.
34773         (all): Remove target.
34774         * sysvipc/Makefile: Include Makeconfig immediately after defining
34775         subdir.
34776         * termios/Makefile: Likewise.
34777         * time/Makefile: Likewise.
34778         * timezone/Makefile: Likewise.
34779         (all): Remove target.
34780         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34781         subdir.
34782         * wctype/Makefile: Likewise.
34784 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34786         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34787         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34788         (libc_feholdexcept_setround_mips): Ditto.
34789         (libc_feholdsetround): New.
34790         (libc_feholdsetroundf): New.
34791         (libc_feholdsetroundl): New.
34792         (libc_feupdateenv_test_mips): New.
34793         (libc_feupdateenv_test): New.
34794         (libc_feupdateenv_testf): New.
34795         (libc_feupdateenv_testl): New.
34796         (libc_feresetround): New.
34797         (libc_feresetroundf): New.
34798         (libc_feresetroundl): New.
34799         (libc_fetestexcept_mips): New.
34800         (libc_fetestexcept): New.
34801         (libc_fetestexceptf): New.
34802         (libc_fetestexceptl): New.
34803         (HAVE_RM_CTX): New.
34804         (libc_feholdexcept_setround_mips_ctx): New.
34805         (libc_feholdexcept_setround_ctx): New.
34806         (libc_feholdexcept_setroundf_ctx): New.
34807         (libc_feholdexcept_setroundl_ctx): New.
34808         (libc_fesetenv_mips_ctx): New.
34809         (libc_fesetenv_ctx): New.
34810         (libc_fesetenv_ctxf): New.
34811         (libc_fesetenv_ctxl): New.
34812         (libc_feupdateenv_mips_ctx): New.
34813         (libc_feupdateenv_ctx): New.
34814         (libc_feupdateenvf_ctx): New.
34815         (libc_feupdateenvl_ctx): New.
34816         (libc_feholdsetround_mips_ctx): New.
34817         (libc_feholdsetround_ctx): New.
34818         (libc_feholdsetroundf_ctx): New.
34819         (libc_feholdsetroundl_ctx): New.
34820         (libc_feresetround_mips_ctx): New.
34821         (libc_feresetround_ctx): New.
34822         (libc_feresetroundf_ctx): New.
34823         (libc_feresetroundl_ctx): New.
34825 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34827         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34829         * manual/ipc.texi: New file.
34830         * manual/Makefile (chapters): Add ipc.
34831         * manual/job.texi: Add "Inter-Process Communication" to next.
34832         * manual/process.texi: Add "Inter-Process Communication" to prev.
34834 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34838 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34840         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34842         * manual/arith.texi: Fix spaces after sentences.
34843         * manual/charset.texi: Likewise.
34844         * manual/errno.texi: Likewise.
34845         * manual/install.texi: Likewise.
34846         * manual/llio.texi: Likewise.
34847         * manual/locale.texi: Likewise.
34848         * manual/maint.texi: Likewise.
34849         * manual/math.texi: Likewise.
34850         * manual/memory.texi: Likewise.
34851         * manual/message.texi: Likewise.
34852         * manual/probes.texi: Likewise.
34853         * manual/resource.texi: Likewise.
34854         * manual/signal.texi: Likewise.
34855         * manual/socket.texi: Likewise.
34856         * manual/stdio.texi: Likewise.
34857         * manual/string.texi: Likewise.
34858         * manual/time.texi: Likewise.
34859         * manual/users.texi: Likewise.
34861 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34863         [BZ #16632]
34864         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34865         _DEFAULT_SOURCE is defined.
34867 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34868             Carlos O'Donell  <carlos@redhat.com>
34870         [BZ #16613]
34871         * elf/dl-tls.c (_dl_count_modids): New function.
34872         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34873         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34874         audit library and increment generation counter.
34875         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34876         * elf/tst-audit9.c: New file.
34877         * elf/tst-auditmod9a.c: New file.
34878         * elf/tst-auditmod9b.c: New file.
34879         * elf/Makefile: Add rules to build and run tst-audit9.
34881 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34883         [BZ #15347]
34884         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34886 2014-02-25  Will Newton  <will.newton@linaro.org>
34888         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34889         (__longjmp): Restore sp and lr before restoring callee
34890         saved registers.  Add longjmp and longjmp_target
34891         SystemTap probe point.
34892         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34893         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34894         Define to zero to match jmpbuf layout.
34895         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34896         (__sigsetjmp): Save sp and lr before saving callee
34897         saved registers.  Add setjmp SystemTap probe point.
34899 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34901         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34903 2014-02-24  Andreas Schwab  <schwab@suse.de>
34905         [BZ #15804]
34906         * elf/pldd.c (wait_for_ptrace_stop): New function.
34907         (main): Call it after attaching.
34909 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34911         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34912         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34913         Versions files is now verboten.
34914         * hurd/Versions (libc: GLIBC_2.0):
34915         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34916         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34917         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34918         * mach/Versions: Likewise.
34920         * csu/Versions: Remove unused %include.
34921         * resolv/Versions: Likewise.
34923 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34925         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34926         ($(objpfx)check-local-headers.out): Likewise.
34927         ($(objpfx)begin-end-check.out): Likewise.
34928         * Makerules (check-abi-%.out): Likewise.
34929         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34930         ($(objpfx)test2.cat): Likewise.
34931         ($(objpfx)de/libc.cat): Likewise.
34932         ($(objpfx)test-gencat.out): Likewise.
34933         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34934         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34935         ($(objpfx)noload-mem): Likewise.
34936         ($(objpfx)tst-pathopt.out): Likewise.
34937         ($(objpfx)tst-rtld-load-self.out): Likewise.
34938         ($(objpfx)tst-array1-cmp.out): Likewise.
34939         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34940         ($(objpfx)tst-array2-cmp.out): Likewise.
34941         ($(objpfx)tst-array3-cmp.out): Likewise.
34942         ($(objpfx)tst-array4-cmp.out): Likewise.
34943         ($(objpfx)tst-array5-cmp.out): Likewise.
34944         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34945         ($(objpfx)check-textrel.out): Likewise.
34946         ($(objpfx)check-execstack.out): Likewise.
34947         ($(objpfx)check-localplt.out): Likewise.
34948         ($(objpfx)order2-cmp.out): Likewise.
34949         ($(objpfx)tst-leaks1-mem): Likewise.
34950         ($(objpfx)tst-leaks1-static-mem): Likewise.
34951         ($(objpfx)tst-initorder-cmp.out): Likewise.
34952         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34953         ($(objpfx)tst-unused-dep.out): Likewise.
34954         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34955         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34956         * iconv/Makefile (test-iconvconfig): Likewise.
34957         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34958         ($(objpfx)iconv-test.out): Likewise.
34959         ($(objpfx)tst-tables.out): Likewise.
34960         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34961         ($(objpfx)tst-gettext.out): Likewise.
34962         ($(objpfx)tst-translit.out): Likewise.
34963         ($(objpfx)tst-gettext2.out): Likewise.
34964         ($(objpfx)tst-gettext4.out): Likewise.
34965         ($(objpfx)tst-gettext6.out): Likewise.
34966         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34967         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34968         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34969         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34970         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34971         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34972         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34973         ($(objpfx)wordexp-tst.out): Likewise.
34974         ($(objpfx)annexc.out): Likewise.
34975         ($(objpfx)tst-fnmatch-mem): Likewise.
34976         ($(objpfx)bug-regex2-mem): Likewise.
34977         ($(objpfx)bug-regex14-mem): Likewise.
34978         ($(objpfx)bug-regex21-mem): Likewise.
34979         ($(objpfx)bug-regex31-mem): Likewise.
34980         ($(objpfx)tst-vfork3-mem): Likewise.
34981         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34982         ($(objpfx)tst-pcre-mem): Likewise.
34983         ($(objpfx)tst-boost-mem): Likewise.
34984         ($(objpfx)tst-getconf.out): Likewise.
34985         ($(objpfx)bug-ga2-mem): Likewise.
34986         ($(objpfx)bug-glob2-mem): Likewise.
34987         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34988         ($(objpfx)mtrace-tst-leaks2): Likewise.
34989         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34990         ($(objpfx)tst-printf.out): Likewise.
34991         ($(objpfx)tst-setvbuf1.out): Likewise.
34992         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34993         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34994         ($(objpfx)tst-fmtmsg.out): Likewise.
34995         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34996         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34998         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34999         * bits/sigaction.h [__USE_MISC]: Likewise.
35000         * bits/waitstatus.h: Update #endif comments.
35001         * ctype/ctype.h: Likewise.
35002         * dirent/dirent.h: Likewise.
35003         [__USE_MISC]: Remove redundant conditionals.
35004         * grp/grp.h: Update #endif comments.
35005         [__USE_GNU]: Remove redundant conditionals.
35006         [__USE_MISC]: Likewise.
35007         * inet/netinet/in.h [__USE_GNU]: Likewise.
35008         * io/sys/stat.h [__USE_MISC]: Likewise.
35009         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35010         * libio/bits/stdio.h: Update #endif comments.
35011         [__USE_MISC]: Remove redundant conditionals.
35012         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35013         * libio/stdio.h: Update #endif comments.
35014         [__USE_MISC]: Remove redundant conditionals.
35015         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35016         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35017         * math/math.h: Update #else and #endif comments.
35018         [__USE_MISC]: Remove redundant conditionals.
35019         * misc/sys/uio.h: Update #endif comments.
35020         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35021         * posix/glob.h [__USE_MISC]: Likewise.
35022         * posix/sys/types.h: Update #endif comments.
35023         [__USE_MISC]: Remove redundant conditionals.
35024         * posix/sys/wait.h: Update #endif comments.
35025         [__USE_MISC]: Remove redundant conditionals.
35026         * posix/unistd.h: Update #endif comments.
35027         [__USE_MISC]: Remove redundant conditionals.
35028         * pwd/pwd.h [__USE_GNU]: Likewise.
35029         [__USE_MISC]: Likewise.
35030         * resolv/netdb.h [__USE_GNU]: Likewise.
35031         * signal/signal.h: Update #endif comments.
35032         [__USE_MISC]: Remove redundant conditionals.
35033         * stdlib/stdlib.h: Update #else and #endif comments.
35034         [__USE_MISC]: Remove redundant conditionals.
35035         [__USE_GNU]: Likewise.
35036         * string/bits/string2.h [__USE_MISC]: Likewise.
35037         * string/string.h: Update #endif comments.
35038         [__USE_MISC]: Remove redundant conditionals.
35039         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35040         Likewise.
35041         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35042         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35043         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35044         Likewise.
35045         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35046         Likewise.
35047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35048         comments.
35049         [__USE_MISC]: Remove redundant conditionals.
35050         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35051         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35052         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35053         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35054         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35055         Likewise.
35056         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35057         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35058         Likewise.
35059         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35060         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35061         Likewise.
35062         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35063         Likewise.
35064         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35065         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35066         Likewise.
35067         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35068         Likewise.
35069         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35070         * sysdeps/x86/bits/string.h: Update #endif comments.
35071         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35072         conditionals.
35073         * time/sys/time.h: Update #endif comments.
35074         * time/time.h: Likewise.
35075         [__USE_MISC]: Remove redundant conditionals.
35077 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35079         [BZ #16600]
35080         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35082 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35084         * Versions.def (librt): Add GLIBC_2.17.
35086 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35088         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35089         synonym for _SYS_AUXV_H to allow direct inclusion.
35090         * sysdeps/sparc/bits/hwcap.h: Likewise.
35091         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35092         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35093         * sysdeps/sparc/sysdep.h: Likewise.
35095 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35099 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35101         * benchtests/bench-strrchr.c: Print length instead of position.
35103 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35105         [BZ #16611]
35106         * sysdeps/unix/sysv/linux/kernel-features.h
35107         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35108         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35109         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35110         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35111         Likewise.
35112         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35113         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35114         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35115         (__ASSUME_SENDMMSG): Define instead of using previous
35116         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35117         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35118         (__ASSUME_SENDMMSG_SYSCALL): Define.
35119         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35120         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35121         Likewise.
35122         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35123         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35124         Likewise.
35125         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35126         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35127         Likewise.
35128         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35129         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35130         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35131         [__ASSUME_SENDMMSG]: Change conditionals to
35132         [__ASSUME_SENDMMSG_SOCKETCALL].
35133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35134         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35135         Define.
35136         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35137         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35138         Likewise.
35139         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35140         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35141         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35142         [!__ASSUME_SENDMMSG]: Change conditional to
35143         [!__ASSUME_SENDMMSG_SOCKETCALL].
35144         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35145         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35146         Define.
35148         [BZ #16610]
35149         * sysdeps/unix/sysv/linux/kernel-features.h
35150         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35151         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35152         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35153         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35154         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35155         [__i386__ || __sparc__]
35156         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35157         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35158         (__ASSUME_RECVMMSG): Define instead of using previous
35159         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35160         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35161         (__ASSUME_RECVMMSG_SYSCALL): Define.
35162         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35163         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35164         Likewise.
35165         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35166         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35167         Likewise.
35168         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35169         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35170         Likewise.
35171         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35172         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35173         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35174         [__ASSUME_RECVMMSG]: Change condition to
35175         [__ASSUME_RECVMMSG_SOCKETCALL].
35176         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35177         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35178         Define.
35179         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35180         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35181         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35182         Likewise.
35183         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35184         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35185         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35186         [!__ASSUME_RECVMMSG]: Change condition to
35187         [!__ASSUME_RECVMMSG_SOCKETCALL].
35188         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35189         (__ASSUME_RECVMMSG_SYSCALL): Define.
35191         [BZ #16609]
35192         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35193         __powerpc__ || __s390__ || __sh__ || __sparc__]
35194         (__ASSUME_SOCKETCALL): Define.
35195         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35196         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35197         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35198         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35199         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35200         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35201         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35202         (__ASSUME_ACCEPT4): Define instead of using previous
35203         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35204         __powerpc__ || __sparc__ || __s390__)] condition.
35205         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35206         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35207         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35208         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35209         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35210         [!__ASSUME_ACCEPT4]: Change condition to
35211         [!__ASSUME_ACCEPT4_SOCKETCALL].
35212         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35213         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35214         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35215         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35216         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35217         __ASSUME_ACCEPT4_SYSCALL.
35218         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35219         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35220         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35221         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35222         __ASSUME_ACCEPT4_SYSCALL.
35223         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35224         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35225         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35226         [__ASSUME_ACCEPT4]: Change condition to
35227         [__ASSUME_ACCEPT4_SOCKETCALL].
35228         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35229         (__ASSUME_SOCKETCALL): Define.
35230         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35232         (__ASSUME_SOCKETCALL): Define.
35233         (__ASSUME_ACCEPT4): Remove.
35234         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35235         Define.
35236         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35237         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35238         Likewise.
35239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35240         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35242         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35243         macro.
35244         (HWCAP_ARM_LPAE): Likewise.
35245         (HWCAP_ARM_EVTSTRM): Likewise.
35246         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35247         Add vpfd32, lpae and evtstrm.
35248         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35249         Increase to 22.
35251 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35253         * math/auto-libm-test-in: Add tests of clog10.
35254         * math/auto-libm-test-out: Regenerated.
35255         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35256         * sysdeps/i386/fpu/libm-test-ulps: Update.
35257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35259 2014-02-18  Andreas Schwab  <schwab@suse.de>
35261         [BZ #16574]
35262         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35263         Store non-zero if the second buffer was newly allocated.
35264         (send_dg): Likewise.
35265         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35266         to send_vc and send_dg.
35267         (res_nsend): Pass NULL for ansp2_malloced.
35268         * resolv/res_query.c (__libc_res_nquery): Add parameter
35269         answerp2_malloced and pass it down to __libc_res_nsend.
35270         (res_nquery): Pass additional NULL to __libc_res_nquery.
35271         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35272         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35273         second answer buffer if answerp2_malloced was set.
35274         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35275         (__libc_res_nquerydomain): Add parameter
35276         answerp2_malloced and pass it down to __libc_res_nquery.
35277         (res_nquerydomain): Pass additional NULL to
35278         __libc_res_nquerydomain.
35279         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35280         additional NULL to __libc_res_nsend and __libc_res_nquery.
35281         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35282         additional NULL to __libc_res_nsearch.
35283         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35284         parameter of __libc_res_nsearch to check for separately allocated
35285         second buffer.
35286         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35287         __libc_res_nquery.
35288         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35289         additional NULL to __libc_res_nquery.
35290         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35291         __libc_res_nsearch.
35292         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35293         * include/resolv.h: Update prototypes of __libc_res_nquery,
35294         __libc_res_nsearch, __libc_res_nsend.
35296 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35298         * math/auto-libm-test-in: Add tests of fma.
35299         * math/auto-libm-test-out: Regenerated.
35300         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35301         (fma_towardzero_test_data): Likewise.
35302         (fma_downward_test_data): Likewise.
35303         (fma_upward_test_data): Likewise.
35304         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35305         mpc_mode.
35306         (rounding_modes): Add values for new field.
35307         (func_calc_method): Add value mpfr_fff_f.
35308         (func_calc_desc): Add mpfr_fff_f union field.
35309         (test_function): Add field exact_args.
35310         (FUNC): Add macro argument EXACT_ARGS.
35311         (FUNC_mpfr_f_f): Update call to FUNC.
35312         (FUNC_mpfr_f_f): Likewise.
35313         (FUNC_mpfr_ff_f): Likewise.
35314         (FUNC_mpfr_if_f): Likewise.
35315         (FUNC_mpc_c_f): Likewise.
35316         (FUNC_mpc_c_c): Likewise.
35317         (test_functions): Add fma.  Update calls to FUNC.
35318         (handle_input_arg): Add argument exact_args.
35319         (add_test): Update call to handle_input_arg.
35320         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35321         (output_for_one_input_case): Update call to calc_generic_results.
35322         Recalculate exact zero results in each rounding mode.
35324         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35325         non-negative before setting low bit.
35326         * math/auto-libm-test-in: Mark one asin test possibly having
35327         spurious underflow.
35328         * math/auto-libm-test-out: Regenerated.
35329         * sysdeps/i386/fpu/libm-test-ulps: Update.
35330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35332 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35334         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35335         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35336         ports/sysdeps/unix/sysv/linux/microblaze.
35337         * README: Add missing listing for microblaze*-*-linux-gnu.
35339 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35341         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35342         duplicate code
35344 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35346         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35347         * sysdeps/unix/sysv/linux/ia64: Move directory from
35348         ports/sysdeps/unix/sysv/linux/ia64.
35349         * README: Update listing for ia64-*-linux-gnu.
35351 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35352             Joseph Myers  <joseph@codesourcery.com>
35354         * Makeconfig (test-name): New variable.
35355         (evaluate-test): Likewise.
35356         * Makerules (do-test-clean): Remove .test-result files.
35357         (common-mostlyclean): Likewise.
35358         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35359         * scripts/evaluate-test.sh: New file.
35361 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35363         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35364         separate $(objpfx)tst-fopenloc-cmp.out and
35365         $(objpfx)tst-fopenloc-mem.out targets.
35366         (tests): Update dependencies.
35367         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35368         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35369         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35370         (tst-rxspencer-no-utf8-ARGS): New variable.
35371         (tst-rxspencer-no-utf8-ENV): Likewise.
35372         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35373         instead of $(objpfx)tst-rxspencer-mem.
35374         ($(objpfx)tst-rxspencer-mem): Change target to
35375         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35376         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35377         * posix/tst-rxspencer-no-utf8.c: New file.
35379         * elf/Makefile ($(objpfx)order.out): Remove rule.
35380         [$(run-built-tests) = yes] (tests): Depend on
35381         $(objpfx)order-cmp.out.
35382         ($(objpfx)order-cmp.out): New rule.
35383         [$(run-built-tests) = yes] (tests): Depend on
35384         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35385         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35386         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35387         $(objpfx)tst-array5-static-cmp.out.
35388         ($(objpfx)tst-array1.out): Remove rule.
35389         ($(objpfx)tst-array1-cmp.out): New rule.
35390         ($(objpfx)tst-array1-static.out): Remove rule.
35391         ($(objpfx)tst-array1-static-cmp.out): New rule.
35392         ($(objpfx)tst-array2.out): Remove rule.
35393         ($(objpfx)tst-array2-cmp.out): New rule.
35394         ($(objpfx)tst-array3.out): Remove rule.
35395         ($(objpfx)tst-array3-cmp.out): New rule.
35396         ($(objpfx)tst-array4.out): Remove rule.
35397         ($(objpfx)tst-array4-cmp.out): New rule.
35398         ($(objpfx)tst-array5.out): Remove rule.
35399         ($(objpfx)tst-array5-cmp.out): New rule.
35400         ($(objpfx)tst-array5-static.out): Remove rule.
35401         ($(objpfx)tst-array5-static-cmp.out): New rule.
35402         [$(run-built-tests) = yes] (tests): Depend on
35403         $(objpfx)order2-cmp.out.
35404         ($(objpfx)order2.out): Remove rule.
35405         ($(objpfx)order2-cmp.out): New rule.
35406         ($(objpfx)tst-initorder.out): Remove rule.
35407         [$(run-built-tests) = yes] (tests): Depend on
35408         $(objpfx)tst-initorder-cmp.out.
35409         ($(objpfx)tst-initorder-cmp.out): New rule.
35410         ($(objpfx)tst-initorder2.out): Remove rule.
35411         [$(run-built-tests) = yes] (tests): Depend on
35412         $(objpfx)tst-initorder2-cmp.out.
35413         ($(objpfx)tst-initorder2-cmp.out): New rule.
35414         [$(run-built-tests) = yes] (tests): Depend on
35415         $(objpfx)tst-unused-dep-cmp.out.
35416         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35417         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35418         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35419         on $(objpfx)tst-setvbuf1-cmp.out.
35420         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35421         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35422         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35423         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35424         ($(objpfx)tst-svc.out): Remove rule.
35425         ($(objpfx)tst-svc-cmp.out): New rule.
35427 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35429         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35430         * ctype/ctype.h [__USE_MISC]: Likewise.
35431         * dirent/dirent.h [__USE_MISC]: Likewise.
35432         * grp/grp.h [__USE_MISC]: Likewise.
35433         * io/fcntl.h [__USE_MISC]: Likewise.
35434         * io/sys/stat.h [__USE_MISC]: Likewise.
35435         * libio/stdio.h [__USE_MISC]: Likewise.
35436         * posix/unistd.h [__USE_MISC]: Likewise.
35437         * pwd/pwd.h [__USE_MISC]: Likewise.
35438         * stdlib.h [__USE_MISC]: Likewise.
35439         * string/bits/string2.h [__USE_MISC]: Likewise.
35440         * string/string.h [__USE_MISC]: Likewise.
35441         * time/time.h [__USE_MISC]: Likewise.
35443 2014-02-13  Andreas Schwab  <schwab@suse.de>
35445         [BZ #16574]
35446         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35447         second answer buffer if it was separately allocated.
35449 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35451         * sysdeps/mips/math-tests.h: Include <features.h>.
35452         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35453         (ROUNDING_TESTS_long_double): Do not define.
35454         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35455         (EXCEPTION_TESTS_long_double): Likewise.
35456         * sysdeps/mips/mips64/libm-test-ulps: Update.
35458         * include/features.h (__USE_BSD): Remove macro definitions.
35459         (__USE_SVID): Likewise.
35460         (_BSD_SOURCE): Likewise.
35461         (_SVID_SOURCE): Likewise.
35462         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35463         from definition of _DEFAULT_SOURCE.
35464         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35465         [_DEFAULT_SOURCE].
35466         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35467         * bits/mman.h [__USE_BSD]: Likewise.
35468         * bits/termios.h [__USE_BSD]: Likewise.
35469         * bits/waitstatus.h [__USE_BSD]: Likewise.
35470         * ctype/ctype.h [__USE_SVID]: Likewise.
35471         * dirent/dirent.h [__USE_BSD]: Likewise.
35472         * grp/grp.h [__USE_SVID]: Likewise.
35473         [__USE_BSD]: Likewise.
35474         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35475         * io/fcntl.h [__USE_BSD]: Likewise.
35476         * io/ftw.h [__USE_BSD]: Likewise.
35477         * io/sys/stat.h [__USE_BSD]: Likewise.
35478         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35479         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35480         * libio/stdio.h [__USE_SVID]: Likewise.
35481         [__USE_BSD]: Likewise.
35482         * math/math.h [__USE_SVID]: Likewise.
35483         [__USE_BSD]: Likewise.
35484         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35485         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35486         * misc/search.h [__USE_SVID]: Likewise.
35487         * misc/sys/mman.h [__USE_BSD]: Likewise.
35488         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35489         * misc/sys/uio.h [__USE_BSD]: Likewise.
35490         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35491         * posix/glob.h [__USE_BSD]: Likewise.
35492         * posix/regex.h [__USE_BSD]: Likewise.
35493         * posix/sys/types.h [__USE_BSD]: Likewise.
35494         [__USE_SVID]: Likewise.
35495         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35496         * posix/sys/wait.h [__USE_BSD]: Likewise.
35497         [__USE_SVID]: Likewise.
35498         * posix/unistd.h [__USE_BSD]: Likewise.
35499         [__USE_SVID]: Likewise.
35500         * pwd/pwd.h [__USE_SVID]: Likewise.
35501         * resolv/netdb.h [__USE_BSD]: Likewise.
35502         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35503         * signal/signal.h [__USE_BSD]: Likewise.
35504         [__USE_SVID]: Likewise.
35505         * socket/sys/socket.h [__USE_BSD]: Likewise.
35506         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35507         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35508         [__USE_SVID]: Likewise.
35509         * string/bits/string2.h [__USE_BSD]: Likewise.
35510         [__USE_SVID]: Likewise.
35511         * string/bits/string3.h [__USE_BSD]: Likewise.
35512         * string/endian.h [__USE_BSD]: Likewise.
35513         * string/string.h [__USE_SVID]: Likewise.
35514         [__USE_BSD]: Likewise.
35515         * string/strings.h [__USE_BSD]: Likewise.
35516         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35517         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35518         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35519         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35520         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35521         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35522         Likewise.
35523         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35524         Likewise.
35525         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35526         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35527         Likewise.
35528         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35529         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35530         Likewise.
35531         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35532         Likewise.
35533         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35534         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35535         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35536         Likewise.
35537         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35538         Likewise.
35539         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35540         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35541         * termios/termios.h [__USE_BSD]: Likewise.
35542         * time/sys/time.h [__USE_BSD]: Likewise.
35543         * time/time.h [__USE_BSD]: Likewise.
35544         [__USE_SVID]: Likewise.
35546         * Makefile (subdir_targets): Remove subdir_lint.out.
35548         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35549         (do-tst-printf): Likewise.
35550         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35551         $(objpfx)tst-printf.out.
35553         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35555         * Makerules (check-abi-%): Change target to
35556         $(objpfx)check-abi-%.out.
35557         (check-abi target): Update dependencies.
35558         (check-abi-pattern variable): Redirect output of diff to $@.
35559         (check-abi variable): Likewise.
35560         * elf/Makefile (check-abi): Update dependencies.
35562         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35563         unused.
35564         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35565         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35566         subnormal range.
35567         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35568         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35569         value has largest subnormal exponent.
35570         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35571         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35572         * sysdeps/aarch64/soft-fp/sfp-machine.h
35573         (_FP_TININESS_AFTER_ROUNDING): New macro.
35574         * sysdeps/alpha/soft-fp/sfp-machine.h
35575         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35576         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35577         Likewise.
35578         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35579         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35580         * sysdeps/mips/soft-fp/sfp-machine.h
35581         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35582         * sysdeps/powerpc/soft-fp/sfp-machine.h
35583         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35584         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35585         Likewise.
35586         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35587         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35588         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35589         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35590         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35591         Likewise.
35593 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35595         [BZ #16545]
35596         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35597         model 1.
35599 2014-02-12  Richard Henderson  <rth@redhat.com>
35601         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35602         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35603         * sysdeps/unix/sysv/linux/alpha: Move directory from
35604         ports/sysdeps/unix/sysv/linux/alpha.
35605         * README: Update listing for alpha-*-linux-gnu.
35607 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35609         * include/features.h: Update comment documenting feature test
35610         macros.
35611         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35612         _DEFAULT_SOURCE.
35613         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35614         (_SVID_SOURCE): Likewise.
35615         (_DEFAULT_SOURCE): Update description of default features.
35616         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35617         with _GNU_SOURCE.
35618         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35619         (S_ISVTX): Likewise.
35620         * manual/math.texi (Mathematical Constants): Likewise.
35621         * manual/signal.texi (Interrupted Primitives): Likewise.
35622         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35623         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35624         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35625         Don't refer to _SVID_SOURCE in warning text.
35627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35629         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35630         already defined.
35631         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35632         * sysdeps/mips/dl-lookup.c: Remove.
35633         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35635 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35637         [BZ #16447]
35638         * math/auto-libm-test-in: Add testcase for expl.
35639         * math/auto-libm-test-out: Regenerate.
35640         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35641         calculation of unsafe.
35642         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35644 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35646         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35647         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35648         ports/sysdeps/unix/sysv/linux/aarch64.
35649         * README: Update listing for aarch64*-*-linux-gnu.
35651 2014-02-11  Will Newton  <will.newton@linaro.org>
35653         * manual/probes.texi (Mathematical Function Probes): Use
35654         "triggered" instead of "hit".
35656         * manual/probes.texi (Internal Probes): Add documentation
35657         of setjmp, longjmp and longjmp_target probes.
35659         * include/stap-probe.h: Add comment about probe argument
35660         format.
35662         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35663         definition.  (tr_where, tr_freehook, tr_mallochook,
35664         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35666 2014-02-11  David S. Miller  <davem@davemloft.net>
35668         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35669         processing int_tests.
35671 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35673         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35674         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35675         * sysdeps/unix/sysv/linux/mips: Move directory from
35676         ports/sysdeps/unix/sysv/linux/mips.
35677         * README: Update listing for mips-*-linux-gnu and
35678         mips64-*-linux-gnu.
35680 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35682         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35683         * sysdeps/unix/sysv/linux/m68k: Move directory from
35684         ports/sysdeps/unix/sysv/linux/m68k.
35685         * README: Update listing for m68k-*-linux-gnu.
35687 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35689         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35690         * sysdeps/unix/sysv/linux/generic: Move directory from
35691         ports/sysdeps/unix/sysv/linux/generic.
35692         * sysdeps/unix/sysv/linux/tile: Move directory from
35693         ports/sysdeps/unix/sysv/linux/tile.
35694         * README: Update listing for tile*-*-linux-gnu.
35696 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35698         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35699         __builtin_expect.
35700         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35701         * catgets/open_catalog.c (__open_catalog): Likewise.
35702         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35703         * debug/confstr_chk.c: Likewise.
35704         * debug/fread_chk.c (__fread_chk): Likewise.
35705         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35706         * debug/getgroups_chk.c: Likewise.
35707         * debug/mbsnrtowcs_chk.c: Likewise.
35708         * debug/mbsrtowcs_chk.c: Likewise.
35709         * debug/mbstowcs_chk.c: Likewise.
35710         * debug/memcpy_chk.c: Likewise.
35711         * debug/memmove_chk.c: Likewise.
35712         * debug/mempcpy_chk.c: Likewise.
35713         * debug/memset_chk.c: Likewise.
35714         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35715         * debug/strcat_chk.c (__strcat_chk): Likewise.
35716         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35717         * debug/strncat_chk.c (__strncat_chk): Likewise.
35718         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35719         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35720         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35721         * debug/wcpncpy_chk.c: Likewise.
35722         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35723         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35724         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35725         * debug/wcsncpy_chk.c: Likewise.
35726         * debug/wcsnrtombs_chk.c: Likewise.
35727         * debug/wcsrtombs_chk.c: Likewise.
35728         * debug/wcstombs_chk.c: Likewise.
35729         * debug/wmemcpy_chk.c: Likewise.
35730         * debug/wmemmove_chk.c: Likewise.
35731         * debug/wmempcpy_chk.c: Likewise.
35732         * debug/wmemset_chk.c: Likewise.
35733         * dirent/scandirat.c (SCANDIRAT): Likewise.
35734         * dlfcn/dladdr1.c (dladdr1): Likewise.
35735         * dlfcn/dladdr.c (dladdr): Likewise.
35736         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35737         * dlfcn/dlerror.c (__dlerror): Likewise.
35738         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35739         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35740         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35741         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35742         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35743         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35744         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35745         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35746         Likewise.
35747         * elf/dl-conflict.c: Likewise.
35748         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35749         * elf/dl-dst.h: Likewise.
35750         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35751         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35752         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35753         * elf/dl-init.c (call_init, _dl_init): Likewise.
35754         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35755         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35756         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35757         Likewise.
35758         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35759         Likewise.
35760         * elf/dl-minimal.c (__libc_memalign): Likewise.
35761         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35762         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35763         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35764         * elf/dl-sym.c (do_sym): Likewise.
35765         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35766         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35767         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35768         * elf/dl-writev.h (_dl_writev): Likewise.
35769         * elf/ldconfig.c (search_dir): Likewise.
35770         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35771         (dl_main): Likewise.
35772         * elf/setup-vdso.h (setup_vdso): Likewise.
35773         * grp/compat-initgroups.c (compat_call): Likewise.
35774         * grp/fgetgrent.c (fgetgrent): Likewise.
35775         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35776         * grp/putgrent.c (putgrent): Likewise.
35777         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35778         Likewise.
35779         * hurd/hurdinit.c: Likewise.
35780         * iconvdata/8bit-gap.c (struct): Likewise.
35781         * iconvdata/ansi_x3.110.c : Likewise.
35782         * iconvdata/big5.c : Likewise.
35783         * iconvdata/big5hkscs.c : Likewise.
35784         * iconvdata/cp1255.c: Likewise.
35785         * iconvdata/cp1258.c : Likewise.
35786         * iconvdata/cp932.c : Likewise.
35787         * iconvdata/euc-cn.c: Likewise.
35788         * iconvdata/euc-jisx0213.c : Likewise.
35789         * iconvdata/euc-jp.c: Likewise.
35790         * iconvdata/euc-jp-ms.c : Likewise.
35791         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35792         * iconvdata/gb18030.c : Likewise.
35793         * iconvdata/gbbig5.c (const): Likewise.
35794         * iconvdata/gbgbk.c: Likewise.
35795         * iconvdata/gbk.c : Likewise.
35796         * iconvdata/ibm1364.c : Likewise.
35797         * iconvdata/ibm930.c : Likewise.
35798         * iconvdata/ibm932.c: Likewise.
35799         * iconvdata/ibm933.c : Likewise.
35800         * iconvdata/ibm935.c : Likewise.
35801         * iconvdata/ibm937.c : Likewise.
35802         * iconvdata/ibm939.c : Likewise.
35803         * iconvdata/ibm943.c: Likewise.
35804         * iconvdata/iso_11548-1.c: Likewise.
35805         * iconvdata/iso-2022-cn.c : Likewise.
35806         * iconvdata/iso-2022-cn-ext.c : Likewise.
35807         * iconvdata/iso-2022-jp-3.c: Likewise.
35808         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35809         * iconvdata/iso-2022-kr.c : Likewise.
35810         * iconvdata/iso646.c (gconv_end): Likewise.
35811         * iconvdata/iso_6937-2.c : Likewise.
35812         * iconvdata/iso_6937.c : Likewise.
35813         * iconvdata/iso8859-1.c: Likewise.
35814         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35815         * iconvdata/shift_jisx0213.c : Likewise.
35816         * iconvdata/sjis.c : Likewise.
35817         * iconvdata/t.61.c : Likewise.
35818         * iconvdata/tcvn5712-1.c : Likewise.
35819         * iconvdata/tscii.c: Likewise.
35820         * iconvdata/uhc.c : Likewise.
35821         * iconvdata/unicode.c (gconv_end): Likewise.
35822         * iconvdata/utf-16.c (gconv_end): Likewise.
35823         * iconvdata/utf-32.c (gconv_end): Likewise.
35824         * iconvdata/utf-7.c (base64): Likewise.
35825         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35826         * iconv/gconv_close.c (__gconv_close): Likewise.
35827         * iconv/gconv_open.c (__gconv_open): Likewise.
35828         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35829         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35830         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35831         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35832         (ucs4le_internal_loop_single): Likewise.
35833         * iconv/iconv.c (iconv): Likewise.
35834         * iconv/iconv_close.c: Likewise.
35835         * iconv/loop.c (SINGLE): Likewise.
35836         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35837         * include/atomic.h: Likewise.
35838         * inet/inet6_option.c (option_alloc): Likewise.
35839         * intl/bindtextdom.c (set_binding_values): Likewise.
35840         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35841         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35842         * intl/localealias.c (read_alias_file): Likewise.
35843         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35844         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35845         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35846         * libio/fmemopen.c (fmemopen): Likewise.
35847         * libio/iofgets.c (_IO_fgets): Likewise.
35848         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35849         * libio/iofgetws.c (fgetws): Likewise.
35850         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35851         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35852         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35853         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35854         * locale/findlocale.c (_nl_find_locale): Likewise.
35855         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35856         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35857         Likewise.
35858         * locale/setlocale.c (setlocale): Likewise.
35859         * login/programs/pt_chown.c (main): Likewise.
35860         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35861         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35862         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35863         (mmap, mmap64, mremap, munmap): Likewise.
35864         * math/e_exp2l.c: Likewise.
35865         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35866         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35867         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35868         * math/s_catan.c (__catan): Likewise.
35869         * math/s_catanf.c (__catanf): Likewise.
35870         * math/s_catanh.c (__catanh): Likewise.
35871         * math/s_catanhf.c (__catanhf): Likewise.
35872         * math/s_catanhl.c (__catanhl): Likewise.
35873         * math/s_catanl.c (__catanl): Likewise.
35874         * math/s_ccosh.c (__ccosh): Likewise.
35875         * math/s_ccoshf.c (__ccoshf): Likewise.
35876         * math/s_ccoshl.c (__ccoshl): Likewise.
35877         * math/s_cexp.c (__cexp): Likewise.
35878         * math/s_cexpf.c (__cexpf): Likewise.
35879         * math/s_cexpl.c (__cexpl): Likewise.
35880         * math/s_clog10.c (__clog10): Likewise.
35881         * math/s_clog10f.c (__clog10f): Likewise.
35882         * math/s_clog10l.c (__clog10l): Likewise.
35883         * math/s_clog.c (__clog): Likewise.
35884         * math/s_clogf.c (__clogf): Likewise.
35885         * math/s_clogl.c (__clogl): Likewise.
35886         * math/s_csin.c (__csin): Likewise.
35887         * math/s_csinf.c (__csinf): Likewise.
35888         * math/s_csinh.c (__csinh): Likewise.
35889         * math/s_csinhf.c (__csinhf): Likewise.
35890         * math/s_csinhl.c (__csinhl): Likewise.
35891         * math/s_csinl.c (__csinl): Likewise.
35892         * math/s_csqrt.c (__csqrt): Likewise.
35893         * math/s_csqrtf.c (__csqrtf): Likewise.
35894         * math/s_csqrtl.c (__csqrtl): Likewise.
35895         * math/s_ctan.c (__ctan): Likewise.
35896         * math/s_ctanf.c (__ctanf): Likewise.
35897         * math/s_ctanh.c (__ctanh): Likewise.
35898         * math/s_ctanhf.c (__ctanhf): Likewise.
35899         * math/s_ctanhl.c (__ctanhl): Likewise.
35900         * math/s_ctanl.c (__ctanl): Likewise.
35901         * math/w_pow.c: Likewise.
35902         * math/w_powf.c: Likewise.
35903         * math/w_powl.c: Likewise.
35904         * math/w_scalb.c (sysv_scalb): Likewise.
35905         * math/w_scalbf.c (sysv_scalbf): Likewise.
35906         * math/w_scalbl.c (sysv_scalbl): Likewise.
35907         * misc/error.c (error_tail): Likewise.
35908         * misc/pselect.c (__pselect): Likewise.
35909         * nis/nis_callback.c (__nis_create_callback): Likewise.
35910         * nis/nis_call.c (__nisfind_server): Likewise.
35911         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35912         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35913         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35914         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35915         * nis/nis_lookup.c (nis_lookup): Likewise.
35916         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35917         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35918         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35919         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35920         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35921         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35922         * nis/nss_compat/compat-initgroups.c (add_group)
35923         (internal_getgrent_r): Likewise.
35924         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35925         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35926         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35927         (internal_getspnam_r): Likewise.
35928         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35929         (_nss_nis_getaliasbyname_r): Likewise.
35930         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35931         (_nss_nis_getntohost_r): Likewise.
35932         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35933         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35934         (_nss_nis_getgrgid_r): Likewise.
35935         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35936         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35937         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35938         (_nss_nis_gethostbyname4_r): Likewise.
35939         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35940         (initgroups_netid): Likewise.
35941         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35942         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35943         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35944         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35945         (_nss_nis_getprotobynumber_r): Likewise.
35946         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35947         (_nss_nis_getsecretkey): Likewise.
35948         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35949         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35950         (_nss_nis_getpwuid_r): Likewise.
35951         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35952         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35953         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35954         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35955         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35956         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35957         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35958         Likewise.
35959         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35960         (_nss_nisplus_getntohost_r): Likewise.
35961         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35962         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35963         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35964         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35965         Likewise.
35966         * nis/nss_nisplus/nisplus-initgroups.c
35967         (_nss_nisplus_initgroups_dyn): Likewise.
35968         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35969         (_nss_nisplus_getnetbyaddr_r): Likewise.
35970         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35971         (_nss_nisplus_getprotobynumber_r): Likewise.
35972         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35973         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35974         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35975         Likewise.
35976         * nis/nss_nisplus/nisplus-service.c
35977         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35978         (_nss_nisplus_getservbyport_r): Likewise.
35979         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35980         (_nss_nisplus_getspnam_r): Likewise.
35981         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35982         Likewise.
35983         * nscd/aicache.c (addhstaiX): Likewise.
35984         * nscd/cache.c (cache_search, prune_cache): Likewise.
35985         * nscd/connections.c (register_traced_file, send_ro_fd)
35986         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35987         (main_loop_epoll): Likewise.
35988         * nscd/grpcache.c (addgrbyX): Likewise.
35989         * nscd/hstcache.c (addhstbyX): Likewise.
35990         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35991         * nscd/mem.c (gc, mempool_alloc): Likewise.
35992         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35993         (addinnetgrX): Likewise.
35994         * nscd/nscd-client.h (__nscd_acquire_maplock)
35995         (__nscd_drop_map_ref): Likewise.
35996         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35997         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35998         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35999         Likewise.
36000         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36001         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36002         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36003         (__nscd_get_map_ref): Likewise.
36004         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36005         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36006         Likewise.
36007         * nscd/pwdcache.c (addpwbyX): Likewise.
36008         * nscd/selinux.c (preserve_capabilities): Likewise.
36009         * nscd/servicescache.c (addservbyX): Likewise.
36010         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36011         * posix/fnmatch.c (fnmatch): Likewise.
36012         * posix/getopt.c (_getopt_internal_r): Likewise.
36013         * posix/glob.c (glob, glob_in_dir): Likewise.
36014         * posix/wordexp.c (exec_comm_child): Likewise.
36015         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36016         (getanswer_r, gaih_getanswer_slice): Likewise.
36017         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36018         * resolv/res_init.c: Likewise.
36019         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36020         * resolv/res_query.c (__libc_res_nquery): Likewise.
36021         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36022         Likewise.
36023         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36024         * stdio-common/perror.c (perror): Likewise.
36025         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36026         * stdio-common/tmpnam.c (tmpnam): Likewise.
36027         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36028         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36029         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36030         Likewise.
36031         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36032         * stdlib/putenv.c (putenv): Likewise.
36033         * stdlib/setenv.c (__add_to_environ): Likewise.
36034         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36035         * stdlib/strtol_l.c (INTERNAL): Likewise.
36036         * string/memmem.c (memmem): Likewise.
36037         * string/strerror.c (strerror): Likewise.
36038         * string/strnlen.c (__strnlen): Likewise.
36039         * string/test-memmem.c (simple_memmem): Likewise.
36040         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36041         * sunrpc/pm_getport.c (__get_socket): Likewise.
36042         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36043         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36044         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36045         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36046         Likewise.
36047         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36048         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36049         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36050         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36051         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36052         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36053         Likewise.
36054         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36055         Likewise.
36056         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36057         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36058         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36059         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36060         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36062         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36063         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36064         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36065         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36066         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36067         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36068         Likewise.
36069         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36070         Likewise.
36071         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36072         Likewise.
36073         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36075         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36076         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36077         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36078         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36079         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36080         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36082         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36083         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36085         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36086         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36088         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36089         Likewise.
36090         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36091         Likewise.
36092         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36093         Likewise.
36094         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36095         Likewise.
36096         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36098         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36099         Likewise.
36100         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36101         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36102         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36103         * sysdeps/posix/sleep.c: Likewise.
36104         * sysdeps/posix/tempname.c: Likewise.
36105         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36106         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36107         Likewise.
36108         * sysdeps/powerpc/powerpc32/dl-machine.h
36109         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36110         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36111         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36112         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36113         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36114         Likewise.
36115         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36116         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36117         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36118         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36119         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36120         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36121         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36122         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36123         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36124         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36125         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36126         (elf_machine_lazy_rel): Likewise.
36127         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36128         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36129         (elf_machine_lazy_rel): Likewise.
36130         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36131         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36132         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36133         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36134         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36135         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36136         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36137         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36138         Likewise.
36139         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36140         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36141         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36142         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36143         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36144         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36145         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36146         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36147         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36148         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36149         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36150         Likewise.
36151         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36152         (__posix_fallocate64_l64): Likewise.
36153         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36154         (posix_fallocate): Likewise.
36155         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36156         Likewise.
36157         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36158         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36159         (getifaddrs_internal): Likewise.
36160         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36161         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36162         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36163         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36164         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36165         (__posix_fallocate64_l64): Likewise.
36166         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36167         Likewise.
36168         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36169         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36170         (__get_clockfreq): Likewise.
36171         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36172         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36173         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36176         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36177         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36178         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36179         Likewise.
36180         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36181         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36182         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36183         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36184         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36185         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36186         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36187         Likewise.
36188         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36189         (posix_fallocate): Likewise.
36190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36191         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36192         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36193         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36194         (elf_machine_rela, elf_machine_rela_relative)
36195         (elf_machine_lazy_rel): Likewise.
36196         * time/asctime.c (asctime_internal): Likewise.
36197         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36198         * time/tzset.c (__tzset_parse_tz): Likewise.
36199         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36200         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36201         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36202         * wcsmbs/wcsmbsload.h: Likewise.
36204         [BZ #15894]
36205         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36207         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36208         (arena_get2): Remove THREAD_STATS conditionals.
36209         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36210         (__malloc_stats, int): Likewise.
36212 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36214         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36215         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36217         * manual/setjmp.texi: Fix typos/grammar errors.
36219         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36220         Only return early when n is <= 0.  Delete unused return statement.
36222         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36223         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36224         * debug/tst-longjmp_chk3.c: New file.
36226         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36227         (test_main): Replace code with set_fortify_handler call.
36228         * debug/test-strcpy_chk.c: Likewise.
36229         * debug/tst-chk1.c: Likewise.
36230         * debug/tst-longjmp_chk.c: Likewise.
36231         * test-skeleton.c: Include fcntl.h & paths.h
36232         (set_fortify_handler): Define.
36234         * debug/tst-longjmp_chk.c: Add header comment and include
36235         ../test-skeleton.c.
36236         (do_test): Mark static.
36237         (TEST_FUNCTION): Define.
36239         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36240         (IP_PMTUDISC_INTERFACE): Likewise.
36241         (IP_MULTICAST_IF): Likewise.
36242         (IP_MULTICAST_TTL): Likewise.
36243         (IP_MULTICAST_LOOP): Likewise.
36244         (IP_ADD_MEMBERSHIP): Likewise.
36245         (IP_DROP_MEMBERSHIP): Likewise.
36246         (IP_UNBLOCK_SOURCE): Likewise.
36247         (IP_BLOCK_SOURCE): Likewise.
36248         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36249         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36250         (IP_MSFILTER): Likewise.
36251         (MCAST_JOIN_GROUP): Likewise.
36252         (MCAST_BLOCK_SOURCE): Likewise.
36253         (MCAST_UNBLOCK_SOURCE): Likewise.
36254         (MCAST_LEAVE_GROUP): Likewise.
36255         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36256         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36257         (MCAST_MSFILTER): Likewise.
36258         (IP_MULTICAST_ALL): Likewise.
36259         (IP_UNICAST_IF): Likewise.
36261         * timezone/Makefile: Delete $(have-ksh) check.
36262         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36263         * timezone/tzselect.ksh: Add +x mode bits.
36265         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36266         (ANON_INODE_FS_MAGIC): Likewise.
36267         (BDEVFS_MAGIC): Likewise.
36268         (BINFMTFS_MAGIC): Likewise.
36269         (BTRFS_TEST_MAGIC): Likewise.
36270         (CRAMFS_MAGIC_WEND): Likewise.
36271         (DEBUGFS_MAGIC): Likewise.
36272         (ECRYPTFS_SUPER_MAGIC): Likewise.
36273         (EXT3_SUPER_MAGIC): Likewise.
36274         (EXT4_SUPER_MAGIC): Likewise.
36275         (FUTEXFS_SUPER_MAGIC): Likewise.
36276         (HOSTFS_SUPER_MAGIC): Likewise.
36277         (HUGETLBFS_MAGIC): Likewise.
36278         (MINIX3_SUPER_MAGIC): Likewise.
36279         (MTD_INODE_FS_MAGIC): Likewise.
36280         (NILFS_SUPER_MAGIC): Likewise.
36281         (OPENPROM_SUPER_MAGIC): Likewise.
36282         (PIPEFS_MAGIC): Likewise.
36283         (PSTOREFS_MAGIC): Likewise.
36284         (QNX6_SUPER_MAGIC): Likewise.
36285         (RAMFS_MAGIC): Likewise.
36286         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36287         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36288         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36289         (SECURITYFS_MAGIC): Likewise.
36290         (SELINUX_MAGIC): Likewise.
36291         (SMACK_MAGIC): Likewise.
36292         (SOCKFS_MAGIC): Likewise.
36293         (SQUASHFS_MAGIC): Likewise.
36294         (STACK_END_MAGIC): Likewise.
36295         (TMPFS_MAGIC): Likewise.
36296         (USBDEVICE_SUPER_MAGIC): Likewise.
36297         (V9FS_MAGIC): Likewise.
36298         (XENFS_SUPER_MAGIC): Likewise.
36299         (CRAMFS_MAGIC): Fix typo in comment.
36300         (EXT2_SUPER_MAGIC): Update comment.
36301         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36303 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36305         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36306         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36307         * sysdeps/unix/sysv/linux/arm: Move directory from
36308         ports/sysdeps/unix/sysv/linux/arm.
36309         * README: Update listing for arm-*-linux-gnueabi.
36311         * README: Remove mention of am33.
36313 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36315         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36316         than the comma operator, to avoid "rhs of comma has no effect"
36317         compiler warnings.
36318         (__sigfillset, __sigandset, __sigorset): Likewise.
36319         * include/signal.h (__sigemptyset): Likewise.
36320         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36322 2014-02-07  Allan McRae  <allan@archlinux.org>
36324         * version.h (RELEASE): Set to "development".
36325         (VERSION): Set to "2.19.90"
36326         * NEWS: Add 2.20 section.
36328 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36330         [BZ #16529]
36331         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36333 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36335         * manual/contrib.texi: Update entry for Carlos O'Donell,
36336         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36338 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36340         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36342         * sysdeps/unix/sysv/linux/kernel-features.h
36343         [__LINUX_KERNEL_VERSION >= 0x020621]
36344         (__ASSUME_PROC_PID_TASK_COMM): Define.
36346 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36348         [BZ #16398]
36349         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36350         conversion when destination buffer does not have enough space.
36351         * libio/tst-ftell-partial-wide.c: New test case.
36352         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36354         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36355         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36356         Leonard and Allan McRae.
36358 2014-02-04  David S. Miller  <davem@davemloft.net>
36360         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36361         32-bit.
36363 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36366         New file
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36368         New file
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36370         New file.
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36372         New file.
36373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36374         New file.
36375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36376         New file.
36377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36378         New file.
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36380         New file.
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36382         New file.
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36384         New file.
36385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36386         New file.
36387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36388         New file.
36389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36390         New file.
36392 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36394         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36395         * shlib-versions: Likewise.
36397 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36398             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36400         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36401         (abilist-pattern): New variable, set to %-le.abilist.
36403         * Makerules (abilist-pattern): New variable.
36404         (vpath): Use $(abilist-pattern) in place of %.abilist.
36405         (check-abi-% pattern rule): Likewise.
36406         (check-abi, update-abi): Likewise.
36408 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36412 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36414         * manual/startup.texi: Add next, previous, and top entries for
36415         the `Program Arguments' and `Environment Variables' nodes.
36417 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36419         * manual/macros.texi: Add comments before MTASC-safety macros.
36421         * manual/users.texi: Document MTASC-safety properties.
36423         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36424         (pthread_getspecific, pthread_setspecific): Format with
36425         @deftypefun, and add @safety note.
36426         * manual/signal.texi: Move comments that analyze the above
36427         functions to their home place.
36429 2014-02-03  Allan McRae  <allan@archlinux.org>
36431         * po/sl.po: Update Slovenian translation from translation project.
36433 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36435         * manual/time.texi (timegm): Add missing blank after @c.
36436         Reported by Joseph Myers <joseph@codesourcery.com>.
36438 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36440         * manual/check-safety.sh: New.
36441         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36443         * manual/terminal.texi: Document MTASC-safety properties.
36445         * manual/filesys.texi: Document MTASC-safety properties.
36447         * manual/errno.texi: Document MTASC-safety properties.
36449         * manual/intro.texi: Document safety identifiers and
36450         conditionals.
36452         * manual/string.texi (wcstok): Fix prototype.
36453         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36455         * manual/time.texi: Document MTASC-safety properties.
36457         * manual/string.texi: Document MTASC-safety properties.
36459         * manual/threads.texi: Document MTASC-safety properties.
36461         * manual/stdio.texi: Document MTASC-safety properties.
36463         * manual/syslog.texi: Document MTASC-safety properties.
36465         * manual/sysinfo.texi: Document MTASC-safety properties.
36467         * manual/startup.texi: Document MTASC-safety properties.
36469         * manual/socket.texi: Document MTASC-safety properties.
36471         * manual/signal.texi: Document MTASC-safety properties.
36473 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36475         * manual/setjmp.texi: Document MTASC-safety properties.
36477         * manual/search.texi: Document MTASC-safety properties.
36479         * manual/resource.texi: Document MTASC-safety properties.
36481         * manual/process.texi: Document MTASC-safety properties.
36483         * manual/platform.texi: Document MTASC-safety properties.
36485         * manual/pipe.texi: Document MTASC-safety properties.
36487         * manual/pattern.texi: Document MTASC-safety properties.
36489         * manual/message.texi: Document MTASC-safety properties.
36491         [BZ #12751]
36492         * manual/memory.texi: Document MTASC-safety properties.
36494         * manual/math.texi: Document MTASC-safety properties.
36496         * manual/locale.texi: Document MTASC-safety properties.
36498         * manual/llio.texi: Document MTASC-safety properties.
36500         * manual/libdl.texi: New.
36502         * manual/lang.texi: Document MTASC-safety properties.
36504         * manual/job.texi: Document MTASC-safety properties.
36506         * manual/getopt.texi: Document MTASC-safety properties.
36508         * manual/ctype.texi: Document MTASC-safety properties.
36510 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36512         [BZ #16046]
36513         * csu/libc-tls.c (static_map): Remove variable.
36514         (__libc_setup_tls): Use main executable's link map for TLS data.
36515         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36516         casing for LM_ID_BASE and GL(dl_nns).
36517         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36518         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36519         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36520         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36521         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36522         member.
36523         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36524         l_phnum members.
36526 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36528         * manual/debug.texi: Document MTASC-safety properties.
36530 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36532         [BZ #16510]
36533         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36534         of __x86_64__ when disabling x87 inline functions.
36536 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36538         * manual/charset.texi: Document MTASC-safety properties.
36540         * manual/crypt.texi: Document MTASC-safety properties.
36542         * manual/conf.texi: Document MTASC-safety properties.
36544         * manual/arith.texi: Document MTASC-safety properties.
36546         * manual/argp.texi: Document MTASC-safety properties.
36548         * manual/macros.texi: Introduce macros to document multi
36549         thread, asynchronous signal and asynchronous cancellation
36550         safety properties.
36551         * manual/intro.texi: Introduce the properties themselves.
36553 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36555         * sysdeps/sh/sh4/Makefile: New file.
36557 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36559         * math/gen-libm-test.pl ($srcdir): New variable.
36560         ($auto_input): Use it.
36562 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36564         [BZ #16506]
36565         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36566         access beyond array bounds when parsing netgroups file.
36568         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36569         the old buffer before realloc.
36571 2014-01-27  Allan McRae  <allan@archlinux.org>
36573         * po/fr.po: Update French translation from translation project.
36575 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36577         * sysdeps/sh/libm-test-ulps: Regenerate.
36579 2014-01-24  David S. Miller  <davem@davemloft.net>
36581         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36583 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36585         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36586         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36588 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36590         [BZ #16474]
36591         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36592         string pointers after reallocation.
36594 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36596         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36597         __SH4A__ instead of __SH_FPU_ANY__.
36599 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36601         * sysdeps/sh/fpu_control.h: New file.
36602         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36603         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36604         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36605         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36606         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36607         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36608         * sysdeps/sh/sys/ucontext.h: Remove.
36609         * sysdeps/sh/sys: Remove directory.
36611 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36613         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36614         s390/sys/ucontext.h.
36615         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36616         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36618 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36620         [BZ #15605]
36621         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36623 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36625         [BZ#16431]
36626         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36627         Adjust the vDSO correctly for internal calls.
36628         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36630 2014-01-20  Allan McRae  <allan@archlinux.org>
36632         * po/ca.po: Update Catalan translation from translation project.
36634 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36636         * sysdeps/s390/sotruss-lib.c: New file.
36638 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36640         [BZ#16430]
36641         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36642         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36643         local calls issues by not having a PLT stub required for IFUNC calls.
36644         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36646 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36648         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36649         * math/test-fpucw-static.c: Likewise.
36651 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36653         [BZ #16453]
36654         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36656 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36658         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36659         implementation for powerpc.
36661 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36663         [BZ #14782]
36664         * sysdeps/posix/system.c (__libc_system): Do not enable
36665         asynchronous cancellation.
36667 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36669         [BZ #16427]
36670         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36671         handling only for numbers special also in the IEEE case.
36673 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36675         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36677 2014-01-11  Allan McRae  <allan@archlinux.org>
36679         * po/bg.po: Update Bulgarian translation from translation project.
36681         * po/de.po: Update German translation from translation project.
36683 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36685         * sysdeps/generic/gcc-compat.h: New file.
36687 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36689         * benchtests/asin-inputs: Correct slow inputs.
36690         * benchtests/acos-inputs: Likewise.
36692 2014-01-10  Allan McRae  <allan@archlinux.org>
36694         * po:sv.po: Update Swedish translation from translation project.
36696         * po/vi.po: Update Vietnamese translation from translation project.
36698         * po/eo.po: Update Esperanto translation from translation project.
36700         * po/cs.po: Update Czech translation from translation project.
36702         * po/nl.po: Update Dutch translation from translation project.
36704         * po/pl.po: Update Polish translation from translation project.
36706         * po/ru.po: Update Russian translation from translation project.
36708         * po/uk.po: Update Ukrainian translation from translation project.
36710 2014-01-08  Brooks Moses  <bmoses@google.com>
36712         * elf/dl-load.c: Fix comment typo.
36714 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36716         * po/header.pot: Rename to...
36717         * po/pot.header: ... this.
36718         * po/Makefile: Use pot.header.
36720 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36721             Maxim Kuvyrkov  <maxim@kugelworks.com>
36723         [BZ #16394]
36724         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36725         SRC and DEST against LEN.
36727 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36729         [BZ #16414]
36730         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36731         implementation.
36732         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36734 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36738 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36740         [BZ #16408]
36741         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36742         for large positive arguments.
36744 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36746         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36748         * math/auto-libm-test-in: Mark various tests with
36749         xfail-rounding:ldbl-128ibm.
36750         * math/auto-libm-test-out: Regenerated.
36752         [BZ #16407]
36753         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36754         Increase overflow threshold.
36756 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36758         [BZ #14286]
36759         * stdio-common/vfprintf.c: Check for integer overflow.
36761 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36763         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36764         the first argument and return value of __tls_get_addr_internal.
36766 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36768         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36769         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36771 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36773         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36774         * sysdeps/s390/rtld-global-offsets.sym: New file.
36775         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36776         GLIBC_2.19 symbol.
36777         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36778         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36780         ... this.
36781         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36782         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36783         ... this.
36784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36785         Regenerate.
36786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36787         Regenerate.
36788         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36789         halfs of GPRs for high_gprs contexts.
36790         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36791         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36792         field.
36793         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36794         uc_flags field.
36795         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36796         64 bit versions:
36797         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36798         for high GPRs (uc_high_gprs) and for future extensions
36799         (__reserved).
36800         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36801         for future extensions (__reserved).
36802         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36803         64 bit versions:
36804         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36805         SC_HIGHGPRS offset definition.
36806         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36807         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36809         * Versions.def: Add GLIBC_2.19 for libpthread.
36810         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36811         siglongjmp for libpthread with GLIBC_2.19 symver.
36812         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36813         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36814         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36815         * sysdeps/s390/__longjmp.c: New file.
36816         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36817         * sysdeps/s390/longjmp.c: New file.
36818         * sysdeps/s390/setjmp.S: New file.
36819         * sysdeps/s390/sigjmp.S: New file.
36820         * sysdeps/s390/v1-longjmp.c: New file.
36821         * sysdeps/s390/v1-setjmp.h: New file.
36822         * sysdeps/s390/v1-sigjmp.c: New file.
36823         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36824         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36825         GLIBC_2.19 version.
36826         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36827         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36828         versioned symbols for ____longjmp_chk.
36829         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36830         Likewise.
36831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36832         Regenerate.
36833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36834         Regenerate.
36835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36836         Regenerate.
36837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36838         Regenerate.
36839         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36840         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36841         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36842         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36843         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36844         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36845         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36846         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36847         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36848         * sysdeps/s390/rtld-__longjmp.c: New file.
36849         * sysdeps/s390/rtld-setjmp.S: New file.
36851 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36853         [BZ #16400]
36854         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36855         Return -__logl (x) for small positive arguments without evaluating
36856         a polynomial.
36858 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36860         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36861         Rename to ...
36862         (__ptrace_peeksiginfo_args): ... this.
36863         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36865         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36867 2014-01-06  Allan McRae  <allan@archlinux.org>
36869         * inet/netinet/in.h: Fix typo in comment.
36871 2014-01-05  Andreas Jaeger  <aj@suse.de>
36873         * sysdeps/i386/fpu/libm-test-ulps: Update.
36875 2014-01-05  Allan McRae  <allan@archlinux.org>
36877         * po/libc.pot: Regenerated.
36879         * malloc/memusagestat.c: Fix gettext call formatting.
36881 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36883         * nscd/nscd.c: Improve usage() output.
36885 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36887         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36888         * sysdeps/unix/sysv/linux/configure: Regenerated.
36889         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36890         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36892 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36894         [BZ #16390]
36895         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36896         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36898 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36900         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36901         extra tokens at end of #undef directive.
36902         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36903         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36904         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36906 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36908         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36910         * math/auto-libm-test-in: Mark various tests with
36911         xfail-rounding:ldbl-128ibm.
36912         * math/auto-libm-test-out: Regenerated.
36914 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36916         [BZ #16386]
36917         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36918         numbers with subnormal high part when calculating exponent.
36920         [BZ #16385]
36921         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36922         fabs.
36924         [BZ #16384]
36925         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36926         M_LN2l.
36927         (__ieee754_acoshl): Use __log1pl not __log1p.
36929 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36931         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36932         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36933         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36934         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36935         (reused_arena, arena_get2): Convert to GNU style.
36936         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36937         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36938         (memalign_check, __malloc_set_state): Likewise.
36939         * malloc/mallocbug.c (main): Likewise.
36940         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36941         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36942         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36943         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36944         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36945         (__posix_memalign, malloc_info): Likewise.
36946         * malloc/malloc.h: Likewise.
36947         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36948         (mallochook, memalignhook, reallochook, mabort): Likewise.
36949         * malloc/mcheck.h: Likewise.
36950         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36951         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36952         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36953         * malloc/morecore.c (__default_morecore): Likewise.
36954         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36955         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36956         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36957         (print_and_abort): Likewise.
36958         * malloc/obstack.h: Likewise.
36959         * malloc/set-freeres.c (__libc_freeres): Likewise.
36960         * malloc/tst-mallocstate.c (main): Likewise.
36961         * malloc/tst-mtrace.c (main): Likewise.
36962         * malloc/tst-realloc.c (do_test): Likewise.
36964 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36966         [BZ #16366]
36967         * nscd/netgroupcache.c (do_notfound): New function.
36968         (addgetnetgrentX): Use it.
36970         [BZ # 16365]
36971         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36972         NSS_STATUS_NOTFOUND.
36974 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36976         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36979 2014-01-01  Allan McRae  <allan@archlinux.org>
36981         * scripts/update-copyrights: Update configure input file suffix.
36983         * NEWS: Update copyright year.
36984         * catgets/gencat.c: Likewise.
36985         * csu/version.c: Likewise.
36986         * debug/catchsegv.sh: Likewise.
36987         * debug/pcprofiledump.c: Likewise.
36988         * debug/xtrace.sh: Likewise.
36989         * elf/ldconfig.c: Likewise.
36990         * elf/ldd.bash.in: Likewise.
36991         * elf/pldd.c: Likewise.
36992         * elf/sotruss.ksh: Likewise.
36993         * elf/sprof.c: Likewise.
36994         * iconv/iconv_prog.c: Likewise.
36995         * iconv/iconvconfig.c: Likewise.
36996         * locale/programs/locale.c: Likewise.
36997         * locale/programs/localedef.c: Likewise.
36998         * login/programs/pt_chown.c: Likewise.
36999         * malloc/memusage.sh: Likewise.
37000         * malloc/memusagestat.c: Likewise.
37001         * malloc/mtrace.pl: Likewise.
37002         * manual/libc.texinfo: Likewise.
37003         * nscd/nscd.c: Likewise.
37004         * nss/getent.c: Likewise.
37005         * nss/makedb.c: Likewise.
37006         * posix/getconf.c: Likewise.
37007         * scripts/test-installation.pl: Likewise.
37009         * All files with FSF copyright notices: Update copyright dates
37010         using scripts/update-copyrights.
37011         * intl/plural.c: Regenerated.
37012         * locale/programs/charmap-kw.h: Likewise.
37013         * locale/programs/locfile-kw.h: Likewise.
37015 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37017         * sysdeps/unix/sysv/linux/configure: Regenerated.
37018         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37019         the linux/fanotify.h header.
37020         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37021         HAVE_LINUX_FANOTIFY_H is defined.
37023 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37025         * benchtests/cos-inputs: New inputs.
37026         * benchtests/sin-inputs: Likewise.
37028         * benchtests/atan-inputs: New inputs. Fix name of multiple
37029         precision fallback inputs.
37031         * benchtests/atanh-inputs: New inputs.
37032         * benchtests/tanh-inputs: Likewise.
37034         * benchtests/acosh-inputs: New inputs.
37035         * benchtests/asinh-inputs: Likewise.
37037         * benchtests/cosh-inputs: New inputs.
37038         * benchtests/sinh-inputs: Likewise.
37040         * benchtests/acos-inputs: Add more inputs.
37041         * benchtests/asin-inputs: Likewise.
37043 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37045         [BZ #16375]
37046         * manual/arith.texi: Fix spelling.
37047         * manual/charset.texi: Likewise.
37048         * manual/errno.texi: Likewise.
37049         * manual/filesys.texi: Likewise.
37050         * manual/lang.texi: Likewise.
37051         * manual/llio.texi: Likewise.
37052         * manual/locale.texi: Likewise.
37053         * manual/message.texi: Likewise.
37054         * manual/resource.texi: Likewise.
37055         * manual/search.texi: Likewise.
37056         * manual/setjmp.texi: Likewise.
37057         * manual/stdio.texi: Likewise.
37058         * manual/string.texi: Likewise.
37059         * manual/sysinfo.texi: Likewise.
37060         * manual/time.texi: Likewise.
37062 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37064         * po/sl.po: New file.
37066 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37068         * .gitignore: Add core/.gdbinit/.gdb_history.
37070 2013-12-27  Allan McRae  <allan@archlinux.org>
37072         [BZ #16369]
37073         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37074         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37076 2013-12-24  Brooks Moses  <bmoses@google.com>
37078         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37079         all compilers that claim C++98 compliance, not just GCC.
37080         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37081         Likewise.
37083 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37085         * NEWS: Restore accidentally deleted bug-fix entries.
37087 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37088             Ondřej Bílka  <neleai@seznam.cz>
37090         [BZ #15073]
37091         * malloc/malloc.c (_int_free): Perform sanity check only if we
37092         have_lock.
37094 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37096         [BZ #12986]
37097         * manual/stdio.texi (String Input Conversions): Clarify that character
37098         classes are not supported.
37100 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37104 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37106         [BZ #16337]
37107         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37108         Calculate results for small negative arguments directly rather
37109         than using reflection formula with special underflow handling.
37111         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37112         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37113         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37114         (fchflags): Likewise.
37115         (revoke): Likewise.
37116         (setlogin): Likewise.
37117         (sigaltstack): Likewise.
37118         (wait4): Likewise.
37119         (sigblock): Remove.
37120         (sigsetmask): Likewise.
37121         (wait3): Likewise.
37122         (waitpid): Likewise.
37123         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37124         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37125         file.
37126         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37127         * sysdeps/unix/bsd/Makefile: ... here.
37128         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37129         * sysdeps/unix/bsd/Versions: ... here.
37130         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37131         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37132         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37133         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37134         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37135         * sysdeps/unix/bsd/sigblock.c: ... here.
37136         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37137         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37138         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37139         * sysdeps/unix/bsd/sigvec.c: ... here.
37140         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37141         * sysdeps/unix/bsd/tcdrain.c: ... here.
37142         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37143         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37144         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37145         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37146         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37147         * sysdeps/unix/bsd/wait.c: ... here.
37148         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37149         * sysdeps/unix/bsd/wait3.c: ... here.
37150         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37151         * sysdeps/unix/bsd/waitpid.c: ... here.
37153 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37155         [BZ #16356]
37156         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37157         round-to-nearest for [!USE_AS_EXPM1L].
37158         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37159         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37160         more tests of exp and exp10.  Expect some exp10 tests to miss
37161         exceptions or fail in directed rounding modes.
37162         * math/auto-libm-test-out: Regenerated.
37163         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37164         (exp10_test_tonearest): New function.
37165         (exp10_towardzero_test_data): New array.
37166         (exp10_test_towardzero): New function.
37167         (exp10_downward_test_data): New array.
37168         (exp10_test_downward): New function.
37169         (exp10_upward_test_data): New array.
37170         (exp10_test_upward): New function.
37171         (main): Call the new functions.
37172         * sysdeps/i386/fpu/libm-test-ulps: Update.
37173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37175 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37177         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37178         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37179         * math/auto-libm-test-out: Regenerated.
37180         * math/libm-test.inc (acosh_test_data): Add more tests.
37181         (atanh_test_data): Likewise.
37182         (ceil_test_data): Likewise.
37183         (copysign_test_data): Likewise.
37184         * sysdeps/i386/fpu/libm-test-ulps: Update.
37185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37187         * timezone/checktab.awk: Update from tzcode 2013i.
37188         * timezone/private.h: Likewise.
37189         * timezone/scheck.c: Likewise.
37190         * timezone/tzfile.h: Likewise.
37191         * timezone/tzselect.ksh: Likewise.
37192         * timezone/zdump.c: Likewise.
37193         * timezone/zic.c: Likewise.
37195         * math/auto-libm-test-in: Add tests of cpow.
37196         * math/auto-libm-test-out: Regenerated.
37197         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37198         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37199         mpc_cc_c.
37200         (func_calc_desc): Add mpc_cc_c union field.
37201         (test_functions): Add cpow.
37202         (special_fill_2pi): New function.
37203         (special_real_inputs): Add 2pi.
37204         (calc_generic_results): Handle mpc_cc_c.
37205         * sysdeps/i386/fpu/libm-test-ulps: Update.
37206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37208         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37209         csqrt, ctan and ctanh.
37210         * math/auto-libm-test-out: Regenerated.
37211         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37212         (TEST_COND_x86): Likewise.
37213         (ccos_test_data): Use AUTO_TESTS_c_c.
37214         (ccosh_test_data): Likewise.
37215         (cexp_test_data): Likewise.
37216         (clog_test_data): Likewise.
37217         (csqrt_test_data): Likewise.
37218         (ctan_test_data): Likewise.
37219         (ctan_tonearest_test_data): Likewise.
37220         (ctan_towardzero_test_data): Likewise.
37221         (ctan_downward_test_data): Likewise.
37222         (ctan_upward_test_data): Likewise.
37223         (ctanh_test_data): Likewise.
37224         (ctanh_tonearest_test_data): Likewise.
37225         (ctanh_towardzero_test_data): Likewise.
37226         (ctanh_downward_test_data): Likewise.
37227         (ctanh_upward_test_data): Likewise.
37228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37229         mpc_c_c.
37230         (func_calc_desc): Add mpc_c_c union field.
37231         (FUNC_mpc_c_c): New macro.
37232         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37233         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37234         ctanh.
37235         (special_fill_min_subnorm_p120): New function.
37236         (special_real_inputs): Add min_subnorm_p120.
37237         (calc_generic_results): Handle mpc_c_c.
37238         * sysdeps/i386/fpu/libm-test-ulps: Update.
37239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37241 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37243         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37244         (do_sin_slow): New functions.
37245         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37246         (cslow2, csloww1, csloww2): Use the new functions.
37248         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37249         Use M to change sign of result instead of X.  Assume X is
37250         positive.
37251         (csloww1): Likewise.
37252         (__sin): Adjust.
37253         (__cos): Adjust.
37255         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37256         arguments A and DA.
37257         (__sin): Adjust.
37258         (__cos): Likewise.
37260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37261         (__cos): Likewise.
37262         (sloww1): Don't adjust sign of DX.
37263         (csloww1): Likewise.
37264         (sloww2): Use X directly and don't adjust sign of DX.
37265         (csloww2): Likewise.
37267 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37269         * math/auto-libm-test-in: Add tests of cabs and carg.
37270         * math/auto-libm-test-out: Regenerated.
37271         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37272         (carg_test_data): Likewise.
37273         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37274         mpc_c_f.
37275         (func_calc_desc): Add mpc_c_f union field.
37276         (test_functions): Add cabs and carg.
37277         (calc_generic_results): Handle mpc_c_f.
37279         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37280         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37281         as a macro and a compat symbol.
37282         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37283         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37284         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37285         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37286         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37287         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37288         not use .hidden.
37289         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37290         Likewise.
37291         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37292         Likewise.
37293         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37294         Likewise.
37295         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37296         Likewise.
37297         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37298         Likewise.
37299         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37300         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37301         from GLIBC_2.3.2.
37303 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37307 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37309         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37310         trailing whitespace removed.
37311         * scripts/config.guess: Update to version 2013-11-29.
37312         * scripts/config.sub: Update to version 2013-10-01.
37314         * math/auto-libm-test-in: Add tests of sincos.
37315         * math/auto-libm-test-out: Regenerated.
37316         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37317         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37318         mpfr_f_11.
37319         (func_calc_desc): Add mpfr_f_11 union field.
37320         (test_functions): Add sincos.
37321         (calc_generic_results): Handle mpfr_f_11.
37322         * sysdeps/i386/fpu/libm-test-ulps: Update.
37323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37325 2013-12-19  Andreas Schwab  <schwab@suse.de>
37327         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37328         CALL_MCOUNT.
37329         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37330         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37331         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37333 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37335         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37336         * sysdeps/i386/fpu/libm-test-ulps: Update.
37337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37339         [BZ #16293]
37340         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37341         round-to-nearest mode when using frndint.
37342         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37343         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37344         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37345         Likewise.
37346         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37347         sinh test to fail.
37348         * math/auto-libm-test-out: Regenerated.
37349         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37350         (TEST_COND_x86): Likewise.
37351         (expm1_tonearest_test_data): New array.
37352         (expm1_test_tonearest): New function.
37353         (expm1_towardzero_test_data): New array.
37354         (expm1_test_towardzero): New function.
37355         (expm1_downward_test_data): New array.
37356         (expm1_test_downward): New function.
37357         (expm1_upward_test_data): New array.
37358         (expm1_test_upward): New function.
37359         (main): Run the new test functions.
37360         * sysdeps/i386/fpu/libm-test-ulps: Update.
37361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37363         * include/features.h: Update comment documenting feature test
37364         macros.  Mention _DEFAULT_SOURCE in comment.
37365         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37366         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37367         _BSD_SOURCE and _SVID_SOURCE.
37368         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37369         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37370         !_SVID_SOURCE]: Likewise.
37371         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37372         (__USE_POSIX_IMPLICITLY): Define.
37373         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37374         (_POSIX_SOURCE): Undefine and redefine.
37375         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37376         (_POSIX_C_SOURCE): Likewise.
37377         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37378         (Feature Test Macros): Update documentation of default features.
37380 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37382         * benchtests/Makefile: Add bench-strtok.
37383         * benchtests/bench-strtok.c: New file: strtok benchtest.
37385 2013-12-19  Allan McRae  <allan@archlinux.org>
37387         * manual/install.texi: Suppress menu for plain text output.
37388         * INSTALL: Regenerated.
37390 2013-12-18  Brooks Moses  <bmoses@google.com>
37392         [BZ #15846]
37393         * misc/getauxval.c: Include errno.h.
37394         (__getauxval): Set errno to ENOENT if the requested type is not
37395         found.
37396         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37397         don't declare with __attribute_const__.
37398         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37399         * manual/startup.texi: Document that getauxval sets errno.
37401 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37403         * math/auto-libm-test-in: Add tests of jn and yn.
37404         * math/auto-libm-test-out: Regenerated.
37405         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37406         (yn_test_data): Likewise.
37407         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37408         mpfr_if_f.
37409         (func_calc_desc): Add mpfr_if_f union field.
37410         (FUNC_mpfr_if_f): New macro.
37411         (test_functions): Add jn and yn.
37412         (calc_generic_results): Assert type of second input for
37413         mpfr_ff_f.  Handle mpfr_if_f.
37414         (output_for_one_input_case): Disable all checking for arguments
37415         fitting floating-point types in case of an integer argument.
37416         * sysdeps/i386/fpu/libm-test-ulps: Update.
37417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37420         Don't expect fegetround reference in libm.so.
37422 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37424         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37425         $(config-cflags-nofma).
37427 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37429         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37430         * math/auto-libm-test-out: Regenerated.
37432         [BZ #16338]
37433         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37434         to determine exponent and adjust argument to have exponent of -1.
37435         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37436         log2.
37437         * math/auto-libm-test-out: Regenerated.
37438         * sysdeps/i386/fpu/libm-test-ulps: Update.
37439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37441 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37443         * manual/probes.texi: Remove cases when per-thread arenas are
37444         disabled.
37446 2013-12-18  Andreas Schwab  <schwab@suse.de>
37448         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37449         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37450         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37451         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37452         * sysdeps/i386/i686/multiarch/Makefile: Update.
37453         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37455 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37457         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37458         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37460 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37462         [BZ #15968]
37463         Support TZ transition times < 00:00:00.
37464         This is needed for version-3 tz-format files; it supports time
37465         stamps past 2037 for America/Godthab (the only entry in the tz
37466         database for which this change is relevant).
37467         * manual/time.texi (TZ Variable): Document transition times
37468         from -167:59:59 through -00:00:01.
37469         * time/tzset.c (tz_rule): Time of day is now signed.
37470         (__tzset_parse_tz): Parse negative time of day.
37472         Document TZ transition times >= 25:00:00.
37473         * manual/time.texi (TZ Variable): Document transition times from
37474         25:00:00 through 167:59:59.  These are already supported, and this
37475         support will help with version-3 tz-format files.
37477         * manual/time.texi (TZ Variable): Modernize North America example
37478         to reflect current (i.e., 2007-and-later) daylight saving rules.
37480         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37482 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37484         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37485         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37486         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37488         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37489         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37490         * sysdeps/unix/bsd/clock.c: Likewise.
37491         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37492         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37493         * sysdeps/unix/bsd/init-posix.c: Likewise.
37494         * sysdeps/unix/bsd/poll.c: Likewise.
37495         * sysdeps/unix/bsd/ptsname.c: Likewise.
37496         * sysdeps/unix/bsd/seekdir.c: Likewise.
37497         * sysdeps/unix/bsd/setegid.c: Likewise.
37498         * sysdeps/unix/bsd/seteuid.c: Likewise.
37499         * sysdeps/unix/bsd/setgid.c: Likewise.
37500         * sysdeps/unix/bsd/setrgid.c: Likewise.
37501         * sysdeps/unix/bsd/setruid.c: Likewise.
37502         * sysdeps/unix/bsd/setsid.c: Likewise.
37503         * sysdeps/unix/bsd/setuid.c: Likewise.
37504         * sysdeps/unix/bsd/sigaction.c: Likewise.
37505         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37506         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37507         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37508         * sysdeps/unix/bsd/telldir.c: Likewise.
37509         * sysdeps/unix/bsd/times.c: Likewise.
37510         * sysdeps/unix/bsd/usleep.c: Likewise.
37512         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37513         ($(objpfx)libbsd-compat.a): Remove rule.
37515         * include/features.h (__FAVOR_BSD): Do not define.
37516         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37517         features conflicting with POSIX.
37518         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37519         (_BSD_SOURCE): Remove description of not being a subset of other
37520         feature test macros.
37521         * manual/job.texi (getpgrp): Do not document BSD version.
37522         (getpgid): Do not document by reference to BSD getpgrp.
37523         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37524         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37525         * signal/signal.h [__FAVOR_BSD]: Likewise.
37526         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37527         instead of making contents conditional on [__FAVOR_BSD].
37528         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37530 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37534 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37536         [BZ #16314]
37537         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37538         values below 2**-450, not 2**-500.
37539         * math/auto-libm-test-in: Don't allow spurious underflow from
37540         hypot.
37541         * math/auto-libm-test-out: Regenerated.
37543         [BZ #16316]
37544         [BZ #16330]
37545         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37546         values of ha and hb and sort them after adjusting subnormal
37547         arguments.
37548         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37549         Likewise.
37550         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37551         values of ea and eb and sort them after adjusting subnormal
37552         arguments.
37553         * math/auto-libm-test-in: Do not expect some hypot tests of
37554         subnormals to fail.  Add more hypot tests.
37555         * math/auto-libm-test-out: Regenerated.
37557 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37559         [BZ #13304]
37560         * sysdeps/sh/s_fma.c: New file.
37561         * sysdeps/sh/s_fmaf.c: New file.
37562         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37563         version.
37564         * sysdeps/sh/Implies: Add sh/soft-fp.
37566 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37568         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37569         level of indirection to members `objname', `errstring', `malloced'.
37570         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37571         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37572         it as the __longjmp argument (just pass 1 instead).
37573         (_dl_catch_error): Initialize C with argument pointers and address of
37574         volatile local ERRCODE rather than copying values out of C at return.
37576 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37578         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37579         * math/auto-libm-test-out: Regenerated.
37580         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37581         (hypot_test_data): Likewise.
37582         (pow_test_data): Likewise.
37583         (pow_tonearest_test_data): Likewise.
37584         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37585         mpfr_ff_f.
37586         (func_calc_desc): Add mpfr_ff_f union field.
37587         (FUNC_mpfr_ff_f): New macro.
37588         (test_functions): Add atan2, hypot and pow.
37589         (special_fill_min): New function.
37590         (special_fill_minus_min): Likewise.
37591         (special_fill_min_subnorm): Likewise.
37592         (special_fill_minus_min_subnorm): Likewise.
37593         (special_real_inputs): Add min, -min, min_subnorm and
37594         -min_subnorm.
37595         (calc_generic_results): Handle mpfr_ff_f.
37596         * sysdeps/i386/fpu/libm-test-ulps: Update.
37597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37599 2013-12-16  Will Newton  <will.newton@linaro.org>
37601         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37602         (Aligned Memory Blocks): Add documentation for aligned_alloc
37603         and suggest it as an alternative to posix_memalign.
37604         (Hooks for Malloc): Document __memalign_hook is also called
37605         for aligned_alloc.  (Summary of Malloc): Add summary for
37606         aligned alloc.  Document __memalign_hook is also called
37607         for aligned_alloc.
37609 2013-12-16  Will Newton  <will.newton@linaro.org>
37611         * manual/memory.texi (Malloc Examples): Clarify default
37612         alignment documentation.  Suggest posix_memalign rather
37613         than memalign or valloc.
37614         (Aligned Memory Blocks): Remove suggestion to use memalign
37615         or valloc.  Remove obsolete comment about BSD.
37616         Document memalign errno values and mark the function obsolete.
37617         Document posix_memalign returned error codes.  Mark valloc
37618         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37619         called for posix_memalign and valloc.
37620         (Summary of Malloc): Add posix_memalign to function summary.
37621         __memalign_hook is also called for posix_memalign and valloc.
37623 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37625         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37626         TAYLOR_SIN.
37627         (__sin): Adjust.
37628         (__cos): Likewise.
37629         (sloww): Use mynumber union.  Expand ternary operator into
37630         if-else statements.
37631         (cslow): use mynumber union.
37633 2013-12-16  Allan McRae  <allan@archlinux.org>
37635         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37636         * configure: Regenerated.
37638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37640         [BZ #14120]
37641         * configure.ac: Added --enable-maintainer-mode. Check for
37642         autoconf when enabled.
37643         * configure: Regenerated.
37645         * nscd/nscd.service: New file.
37646         * nscd/nscd.tmpfiles: New file.
37648 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37650         [BZ #12100]
37651         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37652         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37653         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37654         (strstr): Add __strstr_sse2_unaligned ifunc.
37655         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37656         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37657         (strcasestr): Remove __strcasestr_sse42 ifunc.
37658         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37659         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37662 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37664         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37665         * sysdeps/sh/bits/fenv.h: ... here.
37666         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37668 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37670         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37673         hypotf multiarch implementations.
37674         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37675         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37677         multiarch hypot for PPC64.
37678         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37681         multiarch hypotf for PPC64.
37683         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37684         modff multiarch implementations.
37685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37688         multiarch modf for PPC64.
37689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37692         multiarch modff for PPC64.
37694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37695         and logl multiarch implementations.
37696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37699         multiarch logb for PPC64.
37700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37703         multiarch logb for PPC64.
37704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37707         multiarch logb for PPC64.
37709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37710         isinff multiarch implementation.
37711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37712         file.
37713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37715         multiarch isinf for PPC64.
37716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37717         file.
37718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37719         multiarch isinff for PPC64.
37721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37722         finitef multiarch implementation.
37723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37724         file.
37725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37727         multiarch finite for PPC64.
37728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37729         file.
37730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37731         multiarch finitef for PPC64.
37733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37734         lrint multiarch implementation.
37735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37736         file.
37737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37739         multiarch llrint for PPC64.
37740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37741         multiarch lrint for PPC64.
37743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37744         copysignf multiarch implementation.
37745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37746         file.
37747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37748         file.
37749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37750         multiarch copysign for PPC64.
37751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37752         multiarch copysignf for PPC64.
37754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37755         multiarch implementation.
37756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37757         file.
37758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37759         file.
37760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37761         file.
37762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37763         file.
37764         multiarch llround for PPC64.
37765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37766         multiarch trunc for PPC64.
37767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37768         multiarch truncf for PPC64.
37770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37771         multiarch implementation.
37772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37773         file.
37774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37775         file.
37776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37777         file.
37778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37779         file.
37780         multiarch llround for PPC64.
37781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37782         multiarch round for PPC64.
37783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37784         multiarch roundf for PPC64.
37786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37787         multiarch implementation.
37788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37789         file.
37790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37791         file.
37792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37793         file.
37794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37795         file.
37796         multiarch llround for PPC64.
37797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37798         multiarch floor for PPC64.
37799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37800         multiarch floorf for PPC64.
37802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37803         multiarch implementation.
37804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37805         file.
37806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37807         file.
37808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37809         file.
37810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37811         file.
37812         multiarch llround for PPC64.
37813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37814         multiarch ceil for PPC64.
37815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37816         multiarch ceilf for PPC64.
37818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37819         multiarch implementation.
37820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37821         file.
37822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37823         file.
37824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37825         file.
37826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37827         multiarch llround for PPC64.
37828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37829         multiarch lround for PPC64.
37831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37832         multiarch implementation.
37833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37836         file.
37837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37840         multiarch isnan for PPC64.
37841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37842         multiarch isnanf for PPC64.
37844         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37845         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37846         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37847         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37848         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37851         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37852         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37853         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37854         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37857         multiarch implementations.
37858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37859         (__libc_ifunc_impl_list): Likewise.
37860         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37862         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37863         multiarch stpcpy for PPC64.
37865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37866         multiarch implementations.
37867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37868         (__libc_ifunc_impl_list): Likewise.
37869         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37870         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37871         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37872         multiarch strcpy for PPC64.
37874         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37875         redefine function name.
37876         (_wordcopy_fwd_dest_aligned): Likewise.
37877         (_wordcopy_bwd_aligned): Likewise.
37878         (_wordcopy_bwd_dest_aligned): Likewise.
37879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37880         multiarch implementations.
37881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37882         (__libc_ifunc_impl_list): Likewise.
37883         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37884         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37885         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37886         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37887         multiarch wcscpy for PPC64.
37889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37890         multiarch implementations.
37891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37892         (__libc_ifunc_impl_list): Likewise.
37893         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37894         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37895         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37896         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37897         multiarch wcscpy for PPC64.
37899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37900         multiarch implementations.
37901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37902         (__libc_ifunc_impl_list): Likewise.
37903         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37904         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37905         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37906         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37907         multiarch wcsrchr for PPC64.
37909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37910         multiarch implementations.
37911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37912         (__libc_ifunc_impl_list): Likewise.
37913         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37914         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37915         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37916         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37917         multiarch wcschr for PPC64.
37919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37920         multiarch implementations.
37921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37922         (__libc_ifunc_impl_list): Likewise.
37923         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37924         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37925         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37926         multiarch strchrnul for PPC64.
37928         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37929         implementations.
37930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37931         (__libc_ifunc_impl_list): Likewise.
37932         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37933         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37934         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37935         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37936         strchr for PPC64.
37938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37939         implementations.
37940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37941         (__libc_ifunc_impl_list): Likewise.
37942         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37943         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37944         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37945         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37946         strncmp for PPC64.
37948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37949         multiarch implementations.
37950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37951         (__libc_ifunc_impl_list): Likewise.
37952         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37953         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37954         strncasecmp for PPC64.
37955         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37956         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37957         multiarch strncasecmp_l for PPC64.
37959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37960         multiarch implementations.
37961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37962         (__libc_ifunc_impl_list): Likewise.
37963         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37964         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37965         multiarch strcasecmp for PPC64.
37966         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37967         file.
37968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37969         multiarch strcasecmp_l for PPC64.
37971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37972         implementations.
37973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37974         (__libc_ifunc_impl_list): Likewise.
37975         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37976         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37977         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37978         strnlen for PPC64.
37980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37981         implementations.
37982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37983         (__libc_ifunc_impl_list): Likewise.
37984         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37985         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37986         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37987         strlen for PPC64.
37989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37990         implementations.
37991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37992         (__libc_ifunc_impl_list): Likewise.
37993         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37994         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37995         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37996         rawmemrchr for PPC64.
37998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37999         implementation.
38000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38001         (__libc_ifunc_impl_list): Likewise.
38002         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38003         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38004         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38005         memrchr for PPC64.
38007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38008         implementation.
38009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38010         (__libc_ifunc_impl_list): Likewise.
38011         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38012         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38013         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38014         memchr for PPC64.
38016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38017         implementation.
38018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38019         (__libc_ifunc_impl_list): Likewise.
38020         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38021         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38022         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38023         mempcpy for PPC64.
38025         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38026         avoid cretion of __bzero symbol.
38027         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38028         Likewise.
38029         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38030         Likewise.
38031         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38032         Likewise.
38033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38034         multiarch implementations.
38035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38036         (__libc_ifunc_impl_list): Likewise.
38037         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38038         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38039         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38040         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38041         bzero for PPC32.
38042         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38043         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38044         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38045         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38046         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38047         memset for PPC64.
38048         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38050         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38052         implementations.
38053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38054         (__libc_ifunc_impl_list): Likewise.
38055         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38056         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38057         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38058         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38059         memcmp for PPC64.
38061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38062         multiarch for POWER/PPC64.
38063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38064         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38065         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38066         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38067         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38068         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38069         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38071         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38072         memcpy for PPC64.
38074         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38075         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38076         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38077         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38078         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38079         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38080         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38081         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38082         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38083         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38084         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38085         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38086         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38087         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38088         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38097 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38099         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38101 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38103         * benchtests/Makefile (bench): Add exp2 and log2.
38104         (LDLIBS-bench-exp2): Add -lm.
38105         (LDLIBS-bench-log2): Likewise.
38106         * benchtests/exp2-inputs: New inputs file.
38107         * benchtests/log2-inputs: New inputs file.
38108         * benchtests/log-inputs: Add new inputs.
38109         * benchtests/tan-inputs: Likewise.
38111 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38113         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38114         definition...
38115         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38116         (csloww2): ... from here.
38118         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38119         instead of structures.
38120         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38121         (POLYNOMIAL): Likewise.
38122         (TAYLOR_SLOW): Likewise.
38123         (__sin): Likewise.
38124         (__cos): Likewise.
38125         (slow1): Likewise.
38126         (slow2): Likewise.
38127         (sloww): Likewise.
38128         (sloww1); Likewise.
38129         (sloww2): Likewise.
38130         (bsloww1): Likewise.
38131         (bsloww2): Likewise.
38132         (cslow2): Likewise.
38133         (csloww): Likewise.
38134         (csloww1): Likewise.
38135         (csloww2): Likewise.
38137 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38139         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38140         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38141         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38142         * malloc/hooks.c (realloc_check): Likewise.
38144         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38145         * malloc/arena.c: Remove PER_THREAD conditional.
38146         [!PER_THREAD]: Remove code.
38147         (ptmalloc_unlock_all2): Likewise.
38148         (ptmalloc_init): Likewise.
38149         (_int_new_arena): Likewise.
38150         (arena_get2): Likewise.
38151         * malloc/hooks.c (__malloc_get_state): Likewise.
38152         (__malloc_set_state): Likewise.
38153         * malloc/malloc.c: Likewise.
38154         (struct malloc_state): Likewise.
38155         (struct malloc_par): Likewise.
38156         (__libc_realloc): Likewise.
38157         (__libc_mallopt): Likewise.
38159 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38161         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38163 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38165         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38166         macro to a function.  Check for zero perturb_byte.
38167         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38169         * malloc/malloc.c: (force_reg): Remove.
38170         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38171         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38172         force_reg by atomic_forced_read.
38173         * malloc/arena.c (ptmalloc_init): Likewise.
38174         * malloc/hooks.c (top_check): Likewise.
38176 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38180 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38184 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38186         * math/auto-libm-test-in: Add tests of lgamma.
38187         * math/auto-libm-test-out: Regenerated.
38188         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38189         (M_LOG_2_SQRT_PIl): Likewise.
38190         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38191         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38192         mpfr_f_f1.
38193         (func_calc_desc): Add mpfr_f_f1 union field.
38194         (ARGS1): New macro.
38195         (ARGS2): Likewise.
38196         (ARGS3): Likewise.
38197         (ARGS4): Likewise.
38198         (RET1): Likewise.
38199         (RET2): Likewise.
38200         (CALC): Likewise.
38201         (FUNC): Likewise.
38202         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38203         (test_functions): Add lgamma.
38204         (calc_generic_results): Handle mpfr_f_f1.
38205         * sysdeps/i386/fpu/libm-test-ulps: Update.
38206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38208 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38210         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38211         __mpn_add_n for PowerPC64/POWER7.
38212         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38213         __mpn_sub_n for PowerPC64/POWER7.
38215         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38216         __mpn_addmul_1 for PowerPC64.
38217         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38218         __mpn_submul_1 for PowerPC64.
38219         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38220         for PowerPC64.
38221         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38222         for PowerPC64.
38224 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38226         [BZ #15089]
38227         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38229 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38231         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38233         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38234         add multiarch folders.
38235         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38236         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38237         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38238         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38239         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38240         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38241         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38242         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38243         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38244         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38245         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38254         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38256         New file.
38257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38258         New file.
38259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38260         multiarch __ieee754_hypot for PowerPC32.
38261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38262         New file.
38263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38264         New file.
38265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38266         multiarch __ieee754_hypotf for PowerPC32.
38268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38269         long_double_symbol only if __logbl is defined.
38270         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38271         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38272         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38273         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38275         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38276         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38277         path for implementation.
38278         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38279         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38281         logb, and logbl multiarch implementations for PowerPC32.
38282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38283         file.
38284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38285         file.
38286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38287         multiarch logb for PowerPC32.
38288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38289         file.
38290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38291         file.
38292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38293         multiarch logbf for PowerPC32.
38294         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38296         file.
38297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38298         multiarch logbl implementation for PowerPC32.
38300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38301         and modff multiarch implementations.
38302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38303         New file.
38304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38305         New file.
38306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38307         multiarch modf for PowerPC32.
38308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38309         New file.
38310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38311         New file.
38312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38313         multiarch modff for PowerPC32.
38315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38316         and lrintf multiarch implementations.
38317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38318         New file.
38319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38320         New file.
38321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38322         multiarch lrint for PowerPC32.
38323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38324         file: multiarch lrintf for PowerPC32.
38326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38327         and lroundf multiarch implementations.
38328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38329         New file.
38330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38331         New file.
38332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38333         New file.
38334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38335         multiarch lround for PowerPC32.
38336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38337         file: multiarch lroundf for PowerPC32.
38339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38340         copysign and copysignf multiarch implementations.
38341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38342         New file.
38343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38344         New file.
38345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38346         file: multiarch copysign for PowerPC32.
38347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38348         file: multiarch copysignf for PowerPC32.
38350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38351         and truncf multiarch implementations.
38352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38353         New file.
38354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38355         file.
38356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38357         multiarch trunc for PowerPC32.
38358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38359         New file.
38360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38361         New file.
38362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38363         multiarch truncf for PowerPC32.
38365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38366         and roundf multiarch implementations.
38367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38368         New file.
38369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38370         file.
38371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38372         multiarch round for PowerPC32.
38373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38374         New file.
38375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38376         New file.
38377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38378         multiarch roundf for PowerPC32.
38380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38381         and floorf multiarch implementations.
38382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38383         New file.
38384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38385         file.
38386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38387         multiarch floor for PowerPC32.
38388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38389         New file.
38390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38391         New file.
38392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38393         multiarch floorf for PowerPC32.
38395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38396         and ceilf multiarch implementations.
38397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38398         New file.
38399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38400         file.
38401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38402         multiarch ceil for PowerPC32.
38403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38404         New file.
38405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38406         file.
38407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38408         multiarch ceilf for PowerPC32.
38410         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38411         is defined.
38412         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38413         FINITEF is defined.
38414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38415         and finitef multiarch implementations.
38416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38417         New file.
38418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38419         file.
38420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38421         multiarch finite for PowerPC32.
38422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38423         New file.
38424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38425         file: multiarch finitef for PowerPC32.
38427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38428         and isinff multiarch implementations.
38429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38430         file.
38431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38432         file.
38433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38434         multiarch isinf for PowerPC32.
38435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38436         New file.
38437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38438         multiarch isinff for PowerPC32.
38440         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38441         alias when __isnan is defined.
38442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38443         and isnanf multiarch implementations.
38444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38445         file.
38446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38447         file.
38448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38449         file.
38450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38451         file.
38452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38453         multiarch isnan for PowerPC32.
38454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38455         New file.
38456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38457         New file.
38458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38459         multiarch isnanf for PowerPC32.
38461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38462         and sqrtf multiarch implementations.
38463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38464         file.
38465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38466         file.
38467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38468         multiarch sqrt for PowerPC32.
38469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38470         file.
38471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38472         file.
38473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38474         multiarch sqrtf for PowerPC32.
38476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38477         and llroundf multiarch implementations.
38478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38479         New file.
38480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38481         New file.
38482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38483         New file.
38484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38485         file: multiarch llround for PowerPC32.
38486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38487         file: multiarch llroundf for PowerPC32.
38489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38490         multiarch PowerPC32 fpu implementations.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38492         New file.
38493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38494         New file.
38495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38496         multiarch llrint for PowerPC32.
38497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38498         New file.
38499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38500         New file.
38501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38502         file.
38504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38506         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38507         file.
38508         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38509         file.
38510         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38511         file.
38512         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38513         multiarch wordcopy for PPC32.
38514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38515         wordcopy objects.
38516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38517         (__libc_ifunc_impl_list): Likewise.
38518         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38519         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38521         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38522         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38523         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38525         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38527         file.
38528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38529         file.
38530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38531         file.
38532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38533         multiarch wcscpy for PPC32.
38534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38535         multiarch objects.
38536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38537         (__libc_ifunc_impl_list): Likewise.
38538         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38539         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38540         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38541         sysdeps/powerpc/power6/wcscpy.c.
38543         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38545         file.
38546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38547         file.
38548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38549         file.
38550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38551         multiarch wcsrchr for PPC32.
38552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38553         multiarch objects.
38554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38555         (__libc_ifunc_impl_list): Likewise.
38556         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38557         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38558         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38559         sysdeps/powerpc/power6/wcsrchr.c.
38561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38562         file.
38563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38564         file.
38565         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38567         multiarch wcschr for PPc32.
38568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38569         multiarch objects.
38570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38571         (__libc_ifunc_impl_list): Likewise.
38572         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38573         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38574         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38575         sysdeps/powerpc/power6/wcschr.c.
38577         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38578         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38579         file.
38580         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38581         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38582         file: multiarch strchr for PPC32.
38583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38584         multiarch objects.
38585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38586         (__libc_ifunc_impl_list): Likewise.
38588         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38589         name.
38590         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38591         file.
38592         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38593         file.
38594         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38595         multiarch strchrnul for PPC32.
38596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38597         multiarch objects.
38598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38599         (__libc_ifunc_impl_list): Likewise.
38601         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38602         file.
38603         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38604         multiarch strncasecmp for PPC32.
38605         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38606         file.
38607         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38608         multiarch strncasecmp_l for PPC32.
38609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38610         strncasecmp multiarch objects.
38611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38612         (__libc_ifunc_impl_list): Likewise.
38614         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38615         file.
38616         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38617         multiarch strncasecmp for PPC32.
38618         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38619         New file.
38620         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38621         multiarch strcasecmp_l for PPC32.
38622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38623         multiarch objects.
38624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38625         (__libc_ifunc_impl_list): Likewise.
38627         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38628         file.
38629         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38630         file.
38631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38632         multiarch strncmp for PPC32.
38633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38634         multiarch objects.
38635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38636         (__libc_ifunc_impl_list): Likewise.
38638         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38639         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38640         file.
38641         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38642         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38644         multiarch objects.
38645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38646         (__libc_ifunc_impl_list): Likewise.
38648         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38649         file.
38650         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38651         file.
38652         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38654         multiarch objects.
38655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38656         (__libc_ifunc_impl_list): Likewise.
38658         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38659         file.
38660         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38661         file.
38662         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38663         multiarch rawmemchr for PPC32.
38664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38665         multiarch objects.
38666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38667         (__libc_ifunc_impl_list): Likewise.
38669         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38670         file.
38671         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38672         file.
38673         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38674         file: memrchr multiarch for PPC32.
38675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38676         multiarch objects.
38677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38678         (__libc_ifunc_impl_list): Likewise.
38680         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38681         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38682         file.
38683         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38684         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38685         multiarch memchr for PPC32.
38686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38687         multiarch objects.
38688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38689         (__libc_ifunc_impl_list): Likewise.
38691         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38692         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38693         file.
38694         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38695         file.
38696         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38697         file: multiarch mempcpy for PPC32.
38698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38699         multiarch objects.
38700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38701         (__libc_ifunc_impl_list): Likewise.
38703         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38704         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38705         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38706         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38707         multiarch bzero for PPC32.
38708         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38709         file.
38710         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38711         file.
38712         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38713         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38714         file: multiarch memset for PPC32.
38715         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38717         memset multiarch objects.
38718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38719         (__libc_ifunc_impl_list): Likewise.
38721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38722         file.
38723         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38725         memcmp for PPC32.
38726         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38728         multiarch objects.
38729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38730         (__libc_ifunc_impl_list): Likewise.
38732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38734         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38735         file.
38736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38737         file.
38738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38739         file.
38740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38741         multiarch memcpy for PPC32.
38742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38743         multiarch objects.
38744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38745         (__libc_ifunc_impl_list): Likewise.
38747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38748         support multiarch for POWER/PPC32.
38749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38750         Likewise.
38751         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38753         Implies file to make multiarch folder appers before the fpu and
38754         default folder for power4 configuration.
38756 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38758         * scripts/bench.pl: Append volatile keyword to type.
38760 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38762         * sysdeps/sh/sotruss-lib.c: New file.
38763         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38765 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38769 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38771         [BZ #6810]
38772         * math/w_tgamma.c: Include <errno.h>.
38773         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38774         * math/w_tgammaf.c: Include <errno.h>.
38775         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38776         * math/w_tgammal.c: Include <errno.h>.
38777         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38778         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38779         underflow.  Add more tgamma tests.
38780         * math/auto-libm-test-out: Regenerated.
38781         * sysdeps/i386/fpu/libm-test-ulps: Update.
38782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38784         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38785         sin, sinh, tan, tanh, tgamma, y0 and y1.
38786         * math/auto-libm-test-out: Regenerated.
38787         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38788         (TEST_COND_x86): Likewise.
38789         (M_E2l): Remove macro.
38790         (M_E3l): Likewise.
38791         (M_2_SQRT_PIl): Likewise.
38792         (M_SQRT_PIl): Likewise.
38793         (M_1_DIV_El): Likewise.
38794         (log_test_data): Use AUTO_TESTS_f_f.
38795         (log10_test_data): Likewise.
38796         (log1p_test_data): Likewise.
38797         (log2_test_data): Likewise.
38798         (sin_test_data): Likewise.
38799         (sin_tonearest_test_data): Likewise.
38800         (sin_towardzero_test_data): Likewise.
38801         (sin_downward_test_data): Likewise.
38802         (sin_upward_test_data): Likewise.
38803         (sinh_test_data): Likewise.
38804         (sinh_tonearest_test_data): Likewise.
38805         (sinh_towardzero_test_data): Likewise.
38806         (sinh_downward_test_data): Likewise.
38807         (sinh_upward_test_data): Likewise.
38808         (tan_test_data): Likewise.
38809         (tan_tonearest_test_data): Likewise.
38810         (tan_towardzero_test_data): Likewise.
38811         (tan_downward_test_data): Likewise.
38812         (tan_upward_test_data): Likewise.
38813         (tanh_test_data): Likewise.
38814         (tgamma_test_data): Likewise.
38815         (y0_test_data): Likewise.
38816         (y1_test_data): Likewise.
38817         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38818         (special_real_inputs): Add pi/4.
38819         * sysdeps/i386/fpu/libm-test-ulps: Update.
38820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38822 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38824         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38825         "longjmp_target" static probes.
38826         (__longjmp): Rename to __longjmp_symbol.
38827         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38828         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38829         on which longjmp to generate.
38830         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38831         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38832         probe.
38833         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38834         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38835         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38836         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38837         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38838         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38840         __longjmp_symbol based on which __longjmp to generate.
38841         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38842         probe.
38843         (setjmp): Rename to setjmp_symbol.
38844         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38845         (_setjmp): Rename to _setjmp_symbol.
38846         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38847         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38848         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38849         which setjmp to generate.
38850         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38851         "longjmp_target" static probes.
38853 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38855         * benchtests/README: Add note about output arguments.
38856         * benchtests/bench-sincos.c: Remove file.
38857         * benchtests/sincos-inputs: New file.
38858         * scripts/bench.pl: Identify output arguments and define
38859         static variables for them.
38861         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38863         [BZ #15941]
38864         * Makefile (INSTALL): Add install-plain.texi as the primary
38865         dependency.
38866         * manual/install-plain.texi: New file.
38867         * manual/install.texi: Include node directive only for
38868         non-plaintext output.
38870 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38872         * stdlib/longlong.h: Update from GCC.
38874         [BZ #6807]
38875         [BZ #15901]
38876         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38877         * math/w_j0f.c (y0f): Likewise.
38878         * math/w_j0l.c (__y0l): Likewise.
38879         * math/w_j1.c (y1): Likewise.
38880         * math/w_j1f.c (y1f): Likewise.
38881         * math/w_j1l.c (__y1l): Likewise.
38882         * math/w_jn.c (yn): Likewise.
38883         * math/w_jnf.c (ynf): Likewise.
38884         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38885         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38886         value for Bessel function domain errors outside _SVID_ mode.
38887         Adjust sign of return value for yn (negative integer, 0).
38888         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38889         by zero in return for negative x and set sign appropriately for
38890         negative n.
38891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38892         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38893         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38894         expectations in error cases.
38895         (y1_test_data): Likewise.
38896         (yn_test_data): Likewise.
38897         * sysdeps/i386/fpu/libm-test-ulps: Update.
38898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38900 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38902         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38903         "64" to "64-v1".  Add "64-v2".
38904         (abi-64-options): Rename to ...
38905         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38906         (abi-64-condition): Rename to ...
38907         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38908         (abi-64-ld-soname): Rename to ...
38909         (abi-64-v1-ld-soname): ... this.
38910         (abi-64-v2-options): Define.
38911         (abi-64-v2-condition): Likewise.
38912         (abi-64-v2-ld-soname): Likewise.
38913         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38914         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38919 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38920             Alan Modra  <amodra@gmail.com>
38922         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38923         New versions for use with the ELFv2 ABI.
38924         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38925         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38926         declaration.
38927         (struct La_ppc64v2_retval): Likewise.
38928         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38929         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38930         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38931         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38932         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38933         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38934         Do not save or restore CR.
38935         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38936         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38937         return values for ELFv2 ABI.  Fix location of FPR return registers.
38938         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38939         updated values for _CALL_ELF == 2.
38940         (La_regs, La_retval, int_retval): Likewise.
38942 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38944         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38945         (FRAME_MIN_SIZE_PARM): Likewise.
38946         (FRAME_BACKCHAIN): Likewise.
38947         (FRAME_CR_SAVE): Likewise.
38948         (FRAME_LR_SAVE): Likewise.
38949         (FRAME_TOC_SAVE): Likewise.
38950         (FRAME_PARM_SAVE): Likewise.
38951         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38952         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38953         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38954         (call_mcount_parm_offset): New macro.
38955         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38956         (PROF): Use symbolic stack frame offsets.
38957         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38958         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38959         Redefine in terms of FRAME_MIN_SIZE.
38960         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38961         (_dl_profile_resolve): Likewise.  Update comment.
38962         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38963         symbols stack frame offsets.
38964         (__sigsetjmp): Likewise.
38965         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38966         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38967         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38968         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38971         (FRAME_BACKCHAIN): Remove.
38972         (FRAME_CR_SAVE): Likewise.
38973         (FRAME_LR_SAVE): Likewise.
38974         (FRAME_COMPILER_DW): Likewise.
38975         (FRAME_LINKER_DW): Likewise.
38976         (FRAME_TOC_SAVE): Likewise.
38977         (FRAME_PARM_SAVE): Likewise.
38978         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38979         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38980         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38982         (CHECK_SP): Use symbolic stack frame offsets.
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38984         zone" instead of caller's parameter save area for temp storage.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38986         Likewise.  Also, use symbolic stack frame offsets.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38988         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38989         our own stack frame instead of the caller's.
38990         (__socket): Use symbolic stack frame offsets.
38992 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38993             Alan Modra  <amodra@gmail.com>
38995         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38996         Define.
38997         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38998         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38999         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39000         New function.
39001         (elf_machine_fixup_plt): Call it.
39002         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39003         reloc arguments.
39004         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39005         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39006         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39007         r2 before calling target.
39009 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39010             Alan Modra  <amodra@gmail.com>
39012         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39013         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39014         versions of macros to support ELFv2 ABI.
39015         (LOCALENTRY): New macro.
39016         (ENTRY, EALIGN): Use it.
39017         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39018         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39019         fall through into ENTRY entry point.
39020         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39021         Only define if _CALL_ELF != 2.
39023         (elf_machine_matches_host): Verify ABI version matches.
39024         (RTLD_START): Use LOCALENTRY.
39025         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39026         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39027         (PLT_ENTRY_WORDS): New macro.
39028         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39029         (elf_machine_runtime_setup): Support ELFv2 ABI.
39030         (elf_machine_fixup_plt): Likewise.
39031         (elf_machine_plt_conflict): Likewise.
39032         (resolve_ifunc): Likewise.
39033         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39034         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39035         Likewise.
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39037         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39039         (makecontext): Support ELFv2 ABI.
39040         * elf/elf.h (EF_PPC64_ABI): Define.
39042 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39044         * sysdeps/powerpc/powerpc64/sysdep.h
39045         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39046         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39047         (ENTRY) [ASSEMBLER]: ... but instead here ...
39048         (EALIGN) [ASSEMBLER]: ... and here.
39049         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39050         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39051         (ENTRY_2) [!ASSEMBLER]: Use it.
39052         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39053         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39054         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39055         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39056         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39058         Use PPC64_LOAD_FUNCPTR.
39060         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39062 2013-12-04  Alan Modra  <amodra@gmail.com>
39064         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39065         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39066         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39067         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39069         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39070         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39071         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39072         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39073         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39074         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39076 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39079         (__makecontext): Fix incorrect CFI when backtracing out of
39080         context created via makecontext.
39081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39082         (__setcontext): Fix incorrect CFI during switch to new context.
39083         (__novec_setcontext): Likewise.
39085 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39087         [BZ #4772]
39088         * time/strptime_l.c (__strptime_internal): Allow modifiers
39089         in strptime.
39090         * time/tst-strptime.c (day_tests): Add testcase.
39092 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39094         * scripts/bench.pl: Skip over blank lines.
39096 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39098         [BZ #926]
39099         * manual/time.texi (Calendar Time): Clarify what timezone functions
39100         use.
39102 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39106 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39108         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39109         implementation.
39110         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39111         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39112         * debug/memset_chk.c (__memset_chk): Likewise.
39113         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39114         * debug/strncpy_chk.c: Likewise.
39116 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39118         [BZ #15268]
39119         [BZ #15425]
39120         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39121         (__ieee754_exp): For possibly underflowing results, check size of
39122         result and force underflow exception if required.
39123         * math/auto-libm-test-in: Add more tests of exp.
39124         * math/auto-libm-test-out: Regenerated.
39125         * sysdeps/i386/fpu/libm-test-ulps: Update.
39126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39128         [BZ #16283]
39129         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39130         * math/w_exp2f.c (__exp2f): Likewise.
39131         * math/w_exp2l.c (__exp2l): Likewise.
39132         * math/auto-libm-test-in: Do not allow missing errno on exp2
39133         underflow.
39134         * math/auto-libm-test-out: Regenerated.
39136 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39138         [BZ #16274]
39139         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39140         handle filename validation.
39141         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39142         (do_open): Delete.
39144 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39146         [BZ #6786]
39147         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39148         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39149         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39150         <float.h>.
39151         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39152         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39153         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39155         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39156         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39157         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39158         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39159         Add more erfc tests.
39160         * math/auto-libm-test-out: Regenerated.
39161         * sysdeps/i386/fpu/libm-test-ulps: Update.
39162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39164         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39165         exp2, expm1, j0 and j1.
39166         * math/auto-libm-test-out: Regenerated.
39167         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39168         (erfc_test_data): Likewise.
39169         (exp_test_data): Likewise.
39170         (exp_tonearest_test_data): Likewise.
39171         (exp_towardzero_test_data): Likewise.
39172         (exp_downward_test_data): Likewise.
39173         (exp_upward_test_data): Likewise.
39174         (exp10_test_data): Likewise.
39175         (exp2_test_data): Likewise.
39176         (expm1_test_data): Likewise.
39177         (j0_test_data): Likewise.
39178         (j1_test_data): Likewise.
39179         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39180         (input_flag_type): Add flag_xfail_rounding.
39181         (input_flags): Add xfail-rounding.
39182         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39183         (output_for_one_input_case): Handle flag_xfail_rounding.
39184         * sysdeps/i386/fpu/libm-test-ulps: Update.
39185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39187 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39189         [BZ #16289]
39190         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39191         division by 0.
39193 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39195         [BZ #16195]
39196         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39197         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39198         (STAP_PROBE0): New macro.
39199         (STAP_PROBE1): Likewise.
39200         (STAP_PROBE2): Likewise.
39201         (STAP_PROBE3): Likewise.
39202         (STAP_PROBE4): Likewise.
39204 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39206         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39208 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39210         * benchtests/Makefile (bench): Add sqrt.
39211         (LDLIBS-bench-sqrt): New.
39212         * benchtests/sqrt-input: New.
39214 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39216         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39217         (GAIH_EAI): Likewise.
39218         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39219         (gaih_inet): Likewise.
39220         (getaddrinfo): Don't use GAIH_EAI.
39222         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39223         (struct gaih): Remove definition.
39225 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39227         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39228         Use HERRNOP directly.
39230 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39234 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39236         * math/gen-auto-libm-tests.c (test_functions): Add more
39237         single-argument functions.
39238         (special_fill_pi_2): New function.
39239         (special_fill_minus_pi_2): Likewise.
39240         (special_fill_pi_6): Likewise.
39241         (special_fill_minus_pi_6): Likewise.
39242         (special_fill_pi_3): Likewise.
39243         (special_fill_2pi_3): Likewise.
39244         (special_fill_e): Likewise.
39245         (special_fill_1_e): Likewise.
39246         (special_fill_e_minus_1): Likewise.
39247         (special_real_inputs): Add more special inputs.
39248         (output_for_one_input_case): Do not require ERANGE on underflow to
39249         zero if round-to-nearest result does not underflow to zero, unless
39250         exact results required.
39251         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39252         atan, atanh, cbrt, cos and cosh.
39253         * math/auto-libm-test-out: Regenerated.
39254         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39255         (acos_tonearest_test_data): Likewise.
39256         (acos_towardzero_test_data): Likewise.
39257         (acos_downward_test_data): Likewise.
39258         (acos_upward_test_data): Likewise.
39259         (acosh_test_data): Likewise.
39260         (asin_test_data): Likewise.
39261         (asin_tonearest_test_data): Likewise.
39262         (asin_towardzero_test_data): Likewise.
39263         (asin_upward_test_data): Likewise.
39264         (asinh_test_data): Likewise.
39265         (atan_test_data): Likewise.
39266         (atanh_test_data): Likewise.
39267         (cbrt_test_data): Likewise.
39268         (cos_test_data): Likewise.
39269         (cos_tonearest_test_data): Likewise.
39270         (cos_towardzero_test_data): Likewise.
39271         (cos_downward_test_data): Likewise.
39272         (cos_upward_test_data): Likewise.
39273         (cosh_test_data): Likewise.
39274         (cosh_tonearest_test_data): Likewise.
39275         (cosh_towardzero_test_data): Likewise.
39276         (cosh_downward_test_data): Likewise.
39277         (cosh_upward_test_data): Likewise.
39278         * sysdeps/i386/fpu/libm-test-ulps: Update.
39279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39281 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39283         [BZ #6787]
39284         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39285         * math/w_exp10f.c (__exp10f): Likewise.
39286         * math/w_exp10l.c (__exp10l): Likewise.
39287         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39288         errno settings in existing tests.
39290         [BZ #14032]
39291         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39292         precision control set to double precision.
39293         * sysdeps/i386/fpu/w_sqrt.c: New file.
39294         * math/auto-libm-test-in: Add more tests.
39295         * math/auto-libm-test-out: Update.
39297         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39298         (sqrt_test_tonearest): New function.
39299         (sqrt_towardzero_test_data): New variable.
39300         (sqrt_test_towardzero): New function.
39301         (sqrt_downward_test_data): New variable.
39302         (sqrt_test_downward): New function.
39303         (sqrt_upward_test_data): New variable.
39304         (sqrt_test_upward): New function.
39305         (main): Call the new functions.
39307         * math/gen-auto-libm-tests.c: New file.
39308         * math/auto-libm-test-in: Likewise.
39309         * math/auto-libm-test-out: New generated file.
39310         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39311         variables.
39312         (%beautify): Add generated representations of zero.
39313         (top level): Set $auto_input and call parse_auto_input.
39314         (beautify): Remove trailing "f" from hex float constants.
39315         (parse_args): Handle XFAIL_TEST.
39316         (convert_condition): New function.
39317         (or_value): Likewise.
39318         (or_cond_value): Likewise.
39319         (generate_testfile): Handle AUTO_TESTS_* lines.
39320         (parse_auto_input): New function.
39321         * math/libm-test.inc (XFAIL_TEST): New macro.
39322         (ERRNO_UNCHANGED): Update value.
39323         (ERRNO_EDOM): Likewise.
39324         (ERRNO_ERANGE): Likewise.
39325         (IGNORE_RESULT): Likewise.
39326         (TEST_COND_flt_32): New macro.
39327         (TEST_COND_dbl_64): Likewise.
39328         (TEST_COND_ldbl_96_intel): Likewise.
39329         (TEST_COND_ldbl_96_m68k): Likewise.
39330         (TEST_COND_ldbl_128): Likewise.
39331         (TEST_COND_ldbl_128ibm): Likewise.
39332         (TEST_COND_long32): Likewise.
39333         (TEST_COND_long64): Likewise.
39334         (TEST_COND_before_rounding): Likewise.
39335         (TEST_COND_after_rounding): Likewise.
39336         (enable_test): Handle XFAIL_TEST flag.
39337         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39338         with finite results.
39339         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39340         auto-libm-test-out.
39342 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39343             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39345         [BZ #16214]
39346         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39347         __tls_get_addr_internal instead of __tls_get_offset in order to
39348         avoid GOT pointer dependency.  Make rtld export
39349         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39350         __tls_get_addr since we are a __tls_get_offset platform.
39351         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39352         GOT pointer being set up before.
39353         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39355 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39357         * manual/math.texi (Errors in Math Functions): Document accuracy
39358         goals.
39360         [BZ #15004]
39361         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39362         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39363         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39364         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39365         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39366         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39367         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39368         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39369         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39370         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39371         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39372         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39373         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39374         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39375         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39376         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39378         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39379         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39380         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39381         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39382         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39383         Likewise.
39384         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39385         Likewise.
39386         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39387         Likewise.
39388         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39389         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39390         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39391         atomic-feupdateenv and flt-rounds.
39392         * sysdeps/powerpc/nofpu/Versions (libc): Add
39393         __atomic_feholdexcept, __atomic_feclearexcept,
39394         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39395         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39396         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39397         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39398         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39399         here.
39400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39401         Update.
39403         * manual/arith.texi (FP Exceptions): Document that exceptions may
39404         not be raised when matherr is used.
39405         (Math Error Reporting): Document overflow in directed rounding
39406         modes.  Document that errno may not be set when finite values are
39407         returned on overflow.  Document intent to set errno on underflow
39408         only for underflow to zero.
39410         [BZ #16271]
39411         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39412         round-to-nearest then adjust result for other rounding modes.
39413         * include/fenv.h (fegetround): Use libm_hidden_proto.
39414         * math/fegetround.c (fegetround): Use libm_hidden_def.
39415         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39416         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39417         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39418         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39419         Likewise.
39420         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39421         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39422         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39423         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39425 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39427         [BZ #16077]
39428         * nss/Versions (libnss_files): Add
39429         _nss_files_gethostbyname3_r.
39430         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39431         New function.
39432         (HOST_DB_LOOKUP): Remove macro.
39433         (_nss_files_gethostbyname_r): Implement function without the
39434         HOST_DB_LOOKUP macro.
39435         (_nss_files_gethostbyname2_r): Likewise.
39437 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39439         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39441 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39443         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39444         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39445         warning.
39447 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39449         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39450         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39451         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39452         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39453         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39454         __fe_nomask_env_priv and attribute_hidden.
39455         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39456         (libc_feupdateenv_test_ppc): Likewise.
39457         (libc_feresetround_ppc): Likewise.
39458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39459         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39460         compat_symbol macro.
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39462         (__fe_nomask_env): Likewise.
39463         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39465 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39467         * string/Makefile: Remove ifunc tests.
39468         * string/test-string.h: Define TEST_IFUNC.
39469         * string/test-bcopy-ifunc.c: Remove.
39470         * string/test-bzero-ifunc.c: Likewise.
39471         * string/test-memccpy-ifunc.c: Likewise.
39472         * string/test-memchr-ifunc.c: Likewise.
39473         * string/test-memcmp-ifunc.c: Likewise.
39474         * string/test-memcpy-ifunc.c: Likewise.
39475         * string/test-memmem-ifunc.c: Likewise.
39476         * string/test-memmove-ifunc.c: Likewise.
39477         * string/test-mempcpy-ifunc.c: Likewise.
39478         * string/test-memrchr-ifunc.c: Likewise.
39479         * string/test-memset-ifunc.c: Likewise.
39480         * string/test-rawmemchr-ifunc.c: Likewise.
39481         * string/test-stpcpy-ifunc.c: Likewise.
39482         * string/test-stpncpy-ifunc.c: Likewise.
39483         * string/test-strcasecmp-ifunc.c: Likewise.
39484         * string/test-strcasestr-ifunc.c: Likewise.
39485         * string/test-strcat-ifunc.c: Likewise.
39486         * string/test-strchr-ifunc.c: Likewise.
39487         * string/test-strchrnul-ifunc.c: Likewise.
39488         * string/test-strcmp-ifunc.c: Likewise.
39489         * string/test-strcpy-ifunc.c: Likewise.
39490         * string/test-strcspn-ifunc.c: Likewise.
39491         * string/test-strlen-ifunc.c: Likewise.
39492         * string/test-strncasecmp-ifunc.c: Likewise.
39493         * string/test-strncat-ifunc.c: Likewise.
39494         * string/test-strncmp-ifunc.c: Likewise.
39495         * string/test-strncpy-ifunc.c: Likewise.
39496         * string/test-strnlen-ifunc.c: Likewise.
39497         * string/test-strpbrk-ifunc.c: Likewise.
39498         * string/test-strrchr-ifunc.c: Likewise.
39499         * string/test-strspn-ifunc.c: Likewise.
39500         * string/test-strstr-ifunc.c: Likewise.
39502 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39504         * benchtests/Makefile: Remove ifunc tests.
39505         * benchtests/bench-string.h: Define TEST_IFUNC.
39506         * benchtests/bench-bcopy-ifunc.c: Remove.
39507         * benchtests/bench-bzero-ifunc.c: Likewise.
39508         * benchtests/bench-memccpy-ifunc.c: Likewise.
39509         * benchtests/bench-memchr-ifunc.c: Likewise.
39510         * benchtests/bench-memcmp-ifunc.c: Likewise.
39511         * benchtests/bench-memcpy-ifunc.c: Likewise.
39512         * benchtests/bench-memmem-ifunc.c: Likewise.
39513         * benchtests/bench-memmove-ifunc.c: Likewise.
39514         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39515         * benchtests/bench-memrchr-ifunc.c: Likewise.
39516         * benchtests/bench-memset-ifunc.c: Likewise.
39517         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39518         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39519         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39520         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39521         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39522         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39523         * benchtests/bench-strcat-ifunc.c: Likewise.
39524         * benchtests/bench-strchr-ifunc.c: Likewise.
39525         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39526         * benchtests/bench-strcmp-ifunc.c: Likewise.
39527         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39528         * benchtests/bench-strcpy-ifunc.c: Likewise.
39529         * benchtests/bench-strcspn-ifunc.c: Likewise.
39530         * benchtests/bench-strlen-ifunc.c: Likewise.
39531         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39532         * benchtests/bench-strncat-ifunc.c: Likewise.
39533         * benchtests/bench-strncmp-ifunc.c: Likewise.
39534         * benchtests/bench-strncpy-ifunc.c: Likewise.
39535         * benchtests/bench-strnlen-ifunc.c: Likewise.
39536         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39537         * benchtests/bench-strrchr-ifunc.c: Likewise.
39538         * benchtests/bench-strsep-ifunc.c: Likewise.
39539         * benchtests/bench-strspn-ifunc.c: Likewise.
39540         * benchtests/bench-strstr-ifunc.c: Likewise.
39542 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39544         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39546 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39548         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39549         * rt/aio.h: Likewise.
39550         * sysdeps/gnu/bits/utmp.h: Likewise.
39551         * sysdeps/gnu/bits/utmpx.h: Likewise.
39552         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39553         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39554         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39555         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39556         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39557         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39558         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39559         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39560         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39561         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39562         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39563         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39564         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39566         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39567         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39568         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39569         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39570         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39571         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39572         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39573         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39574         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39575         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39576         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39578         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39579         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39580         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39581         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39582         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39583         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39584         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39585         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39586         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39587         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39588         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39589         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39590         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39591         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39592         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39593         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39595 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39597         [BZ #16245]
39598         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39599         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39601 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39603         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39604         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39605         Likewise.
39607 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39610         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39611         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39612         (__fesetround): Remove define.
39613         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39614         rounding and exceptions handling.
39615         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39616         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39617         (__fe_nomask_env): Likewise.
39618         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39619         __fegetround instead of fegetround.
39620         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39621         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39623 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39625         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39626         it's there.
39628         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39630 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39632         [BZ #11157]
39633         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39634         (encrypt_r): Likewise.
39635         * malloc/obstack.h (obstack_free): Likewise.
39636         * posix/unistd.h (encrypt): Likewise.
39638 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39640         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39641         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39642         DL_CALL_DT_FINI() that call the functions directly.
39643         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39644         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39645         * elf/dl-fini.c: Likewise.
39647 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39649         * malloc/hooks.c (memalign_check): Add alignment rounding.
39650         * malloc/malloc.c (_mid_memalign): New function.
39651         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39652         Implement by calling _mid_memalign.
39653         * manual/probes.texi (Memory Allocation Probes): Remove
39654         memory_valloc_retry and memory_pvalloc_retry.
39656 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39658         * locale/programs/locarchive.c (open_archive): Add const
39659         qualifier to ARCHIVEFNAME and copy default fname to
39660         DEFAULT_FNAME.
39662         [BZ #15601]
39663         * libio/tst-widetext.input: Rename Oriya to Odia.
39664         * locale/iso-639.def: Likewise.
39666         * manual/probes.texi (Mathematical Function Probes): Add
39667         documentation for sin, cos, asin and acos probes.
39668         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39669         (__sin32): Add slowasin probe.
39670         (__cos32): Add slowacos probe.
39671         (__mpsin): Add slowsin probe.
39672         (__mpcos): Add slowcos probe.
39674 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39676         [BZ #15483]
39677         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39678         thread-local __sim_exceptions_thread and global
39679         __sim_exceptions_global.
39680         (__sim_disabled_exceptions): Change to thread-local
39681         __sim_disabled_exceptions_thread and global
39682         __sim_disabled_exceptions_global.
39683         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39684         and global __sim_round_mode_global.
39685         (__simulate_exceptions): Use thread-local floating-point state and
39686         set global state from it as needed.
39687         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39688         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39689         __sim_round_mode_thread.
39690         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39691         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39692         and global __sim_exceptions_global.
39693         (__sim_disabled_exceptions): Change to thread-local
39694         __sim_disabled_exceptions_thread and global
39695         __sim_disabled_exceptions_global.
39696         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39697         and global __sim_round_mode_global.
39698         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39699         (SIM_SET_GLOBAL): Likewise.
39700         * sysdeps/powerpc/soft-fp/sfp-machine.h
39701         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39702         __sim_round_mode_thread.
39703         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39704         __sim_disabled_exceptions_thread.
39705         (__sim_exceptions): Change to __sim_exceptions_thread.
39706         (__sim_disabled_exceptions): Change to
39707         __sim_disabled_exceptions_thread.
39708         (__sim_round_mode): Change to __sim_round_mode_thread.
39709         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39710         thread-local floating-point state and set global state from it as
39711         needed.
39712         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39713         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39714         (__sim_disabled_exceptions): Remove extern declaration.
39715         (feenableexcept): Use thread-local floating-point state and set
39716         global state from it as needed.
39717         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39718         extern declaration.
39719         (__sim_disabled_exceptions): Likewise.
39720         (__sim_round_mode): Likewise.
39721         (__fegetenv): Use thread-local floating-point state.
39722         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39723         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39724         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39725         floating-point state and set global state from it as needed.
39726         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39727         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39728         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39729         Likewise.
39730         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39731         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39732         Likewise.
39733         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39734         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39735         Use __sim_round_mode_thread.
39736         * math/test-fenv-tls.c: New file.
39737         * math/Makefile (tests): Add test-fenv-tls.
39738         ($(objpfx)test-fenv-tls): Depend on
39739         $(common-objpfx)nptl/libpthread.so.
39741 2013-11-19  Andreas Schwab  <schwab@suse.de>
39743         * locale/programs/locale.c (show_info): Decode wordarray elements.
39744         * locale/categories.def (LC_MONETARY): Add element for
39745         _NL_MONETARY_CRNCYSTR.
39746         * locale/C-monetary.c (conversion_rate): New variable.
39747         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39748         element.
39750 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39752         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39753         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39755 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39757         * elf/Makefile (tst-auxv): New test.
39758         * elf/tst-auxv.c: New
39759         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39761 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39763         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39764         (hidden_proto): Caller changed.
39765         (hidden_tls_proto): New macro.
39766         (libc_hidden_tls_proto): Likewise.
39767         (rtld_hidden_tls_proto): Likewise.
39768         (libm_hidden_tls_proto): Likewise.
39769         (libresolv_hidden_tls_proto): Likewise.
39770         (librt_hidden_tls_proto): Likewise.
39771         (libdl_hidden_tls_proto): Likewise.
39772         (libnss_files_hidden_tls_proto): Likewise.
39773         (libnsl_hidden_tls_proto): Likewise.
39774         (libnss_nisplus_hidden_tls_proto): Likewise.
39775         (libutil_hidden_tls_proto): Likewise.
39777 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39779         [BZ #10253]
39780         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39781         (decompose_rpath): Defer expansion to fillin_rpath.
39782         (_dl_init_paths): Pass linkmap to fillin_rpath.
39784 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39786         * benchtests/Makefile: Add strsep.
39787         * benchtests/bench-strsep.c: New file: strsep benchtest.
39788         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39790 2013-11-18  Andreas Schwab  <schwab@suse.de>
39792         * locale/programs/locale.c (show_info) [case byte]: Check for
39793         '\377' instead of '\177'.
39794         * locale/C-monetary.c (not_available): Always use "\377".
39795         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39796         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39797         detect unavailable sign_posn locale elements.
39798         * locale/localeconv.c (__localeconv): For grouping and
39799         mon_grouping handle "\177" and "\377" like no grouping.
39800         (INT_ELEM): New macro.  Use it to set all numeric members.
39801         * locale/programs/ld-monetary.c (monetary_read)
39802         <tok_mon_grouping>: Normalize single -1 to the empty string.
39803         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39804         Likewise.
39806 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39808         [BZ #16055]
39809         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39810         when we match (nil).
39811         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39813 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39815         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39816         (NO_TEST_INLINE): Update value.
39817         (ERRNO_UNCHANGED): Likewise.
39818         (ERRNO_EDOM): Likewise.
39819         (ERRNO_ERANGE): Likewise.
39820         (IGNORE_RESULT): Likewise.
39821         (check_float_internal): Check signs of NaN results if
39822         TEST_NAN_SIGN used.
39823         (check_complex): Pass TEST_NAN_SIGN flag through to second
39824         check_float_internal call.
39825         (copysign_test_data): Add tests with quiet NaNs as second
39826         argument.  Use TEST_NAN_SIGN.
39827         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39828         TEST_NAN_SIGN.
39829         (signbit_test_data): Add tests of quiet NaN argument.
39830         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39832         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39833         $ignore_result.
39834         (parse_args): Handle function results specified as IGNORE.
39835         * math/libm-test.inc (IGNORE_RESULT): New macro.
39836         (check_float_internal): Do not check numerical result if flag
39837         IGNORE_RESULT set.
39838         (check_complex): Pass through IGNORE_RESULT to second
39839         check_float_internal call.
39840         (check_int): Do not check numerical result if flag IGNORE_RESULT
39841         set.
39842         (check_long): Likewise.
39843         (check_bool): Likewise.
39844         (check_longlong): Likewise.
39845         (lrint_test_data): Add tests of infinite and NaN arguments.
39846         (lrint_tonearest_test_data): Likewise.
39847         (lrint_towardzero_test_data): Likewise.
39848         (lrint_downward_test_data): Likewise.
39849         (lrint_upward_test_data): Likewise.
39850         (llrint_test_data): Likewise.
39851         (llrint_tonearest_test_data): Likewise.
39852         (llrint_towardzero_test_data): Likewise.
39853         (llrint_downward_test_data): Likewise.
39854         (llrint_upward_test_data): Likewise.
39855         (lround_test_data): Likewise.
39856         (llround_test_data): Likewise.
39858         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39859         (ERRNO_UNCHANGED): Update value.
39860         (ERRNO_EDOM): Likewise.
39861         (ERRNO_ERANGE): Likewise.
39862         (NO_TEST_INLINE_FLOAT): New macro.
39863         (NO_TEST_INLINE_DOUBLE): Likewise.
39864         (enable_test): New function.
39865         (RUN_TEST_f_f): Check enable_test before running test.
39866         (RUN_TEST_2_f): Likewise.
39867         (RUN_TEST_fff_f): Likewise.
39868         (RUN_TEST_c_f): Likewise.
39869         (RUN_TEST_f_f1): Likewise.
39870         (RUN_TEST_fF_f1): Likewise.
39871         (RUN_TEST_fI_f1): Likewise.
39872         (RUN_TEST_ffI_f1): Likewise.
39873         (RUN_TEST_c_c): Likewise.
39874         (RUN_TEST_cc_c): Likewise.
39875         (RUN_TEST_f_i): Likewise.
39876         (RUN_TEST_f_i_tg): Likewise.
39877         (RUN_TEST_ff_i_tg): Likewise.
39878         (RUN_TEST_f_b): Likewise.
39879         (RUN_TEST_f_b_tg): Likewise.
39880         (RUN_TEST_f_l): Likewise.
39881         (RUN_TEST_f_L): Likewise.
39882         (RUN_TEST_fFF_11): Likewise.
39883         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39884         conditionals.
39885         (cosh_test_data): Likewise.
39886         (exp_test_data): Likewise.
39887         (expm1_test_data): Likewise.
39888         (hypot_test_data): Likewise.
39889         (pow_test_data): Likewise.
39890         (sinh_test_data): Likewise.
39891         (tanh_test_data): Likewise.
39892         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39893         flags argument.
39895         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39896         tests with quiet NaN input and output.
39897         (acosh_test_data): Likewise.
39898         (asin_test_data): Likewise.
39899         (asinh_test_data): Likewise.
39900         (atan_test_data): Likewise.
39901         (atanh_test_data): Likewise.
39902         (atan2_test_data): Likewise.
39903         (cbrt_test_data): Likewise.
39904         (cos_test_data): Likewise.
39905         (cosh_test_data): Likewise.
39906         (erf_test_data): Likewise.
39907         (erfc_test_data): Likewise.
39908         (exp_test_data): Likewise.
39909         (exp10_test_data): Likewise.
39910         (exp2_test_data): Likewise.
39911         (expm1_test_data): Likewise.
39912         (hypot_test_data): Likewise.
39913         (j0_test_data): Likewise.
39914         (j1_test_data): Likewise.
39915         (jn_test_data): Likewise.
39916         (lgamma_test_data): Likewise.
39917         (log_test_data): Likewise.
39918         (log10_test_data): Likewise.
39919         (log1p_test_data): Likewise.
39920         (log2_test_data): Likewise.
39921         (pow_test_data): Likewise.
39922         (scalb_test_data): Likewise.
39923         (sin_test_data): Likewise.
39924         (sincos_test_data): Likewise.
39925         (sinh_test_data): Likewise.
39926         (tan_test_data): Likewise.
39927         (tanh_test_data): Likewise.
39928         (tgamma_test_data): Likewise.
39929         (y0_test_data): Likewise.
39930         (y1_test_data): Likewise.
39931         (yn_test_data): Likewise.
39933         [BZ #16167]
39934         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39935         argument being NaN and avoid computations with second argument in
39936         that case.
39937         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39938         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39939         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39941 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39943         * locale/iso-639.def: Add Chitwani Tharu (the).
39945 2013-11-14  Andreas Schwab  <schwab@suse.de>
39947         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39948         word instead of empty string.
39950 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39953         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39955         (__fe_nomask_env): Likewise.
39957 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39959         * benchtests/bench-timing.h: Include time.h.
39961 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39963         [BZ #15997]
39964         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39965         to 3.4.0 for x32.
39966         * sysdeps/unix/sysv/linux/configure: Regenerated.
39968 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39970         [BZ #16151]
39971         * stdlib/strtod_l.c (round_and_return): Do not consider
39972         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39973         exponent one less than half the least subnormal exponent.
39974         * stdlib/test-strtod-round-data: Add more tests.
39975         * stdlib/tst-strtod-round.c (tests): Regenerated.
39977 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39979         [BZ #14143]
39980         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39981         (__fe_mask_env): Likewise.
39982         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39983         libm_hidden_proto and add function prototype.
39984         (__fe_mask_env): Add function prototype.
39985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39986         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39988         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39990         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39992 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39994         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39995         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39997 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39999         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40000         of htab_find_slot().
40002 2013-11-11  David S. Miller  <davem@davemloft.net>
40004         [BZ #16150]
40005         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40006         symbol in the non-vis3 case in static builds.
40007         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40008         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40009         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40010         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40012 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40014         [BZ #387]
40015         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40016         it is empty.
40018 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40020         * benchtests/Makefile: Add bench-strtod.
40021         * benchtests/bench-strtod.c: New file: strtod benchtest
40023 2013-11-11  Andreas Schwab  <schwab@suse.de>
40025         [BZ #16153]
40026         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40027         terminating NUL in key length.
40029 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40032         Add artificial ODP entry for vDSO symbol for PPC64.
40033         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40034         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40036 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40038         [BZ #15374]
40039         * nss/getent.c (services_keys): Recognize services starting with digit.
40041 2013-11-06  David S. Miller  <davem@davemloft.net>
40043         [BZ #15985]
40044         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40045         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40047 2013-11-06  Will Newton  <will.newton@linaro.org>
40049         * manual/memory.texi (Malloc Examples): Remove register
40050         keyword from examples.
40052 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40054         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40056 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40058         [BZ #6981]
40059         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40060         depending on [__GCC_IEC_559 > 0].
40061         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40062         depending on [__GCC_IEC_559_COMPLEX > 0].
40064 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40066         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40067         to iso-639.def.
40069 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40071         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40073 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40075         [BZ #16112]
40076         * malloc/malloc (malloc_info): Do not handle first bin as
40077         special case.
40079 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40081         * locale/iso-639.def: Add Central Nahuatl (nhn).
40083 2013-11-01  Bruno Haible  <bruno@clisp.org>
40085         [BZ #7003]
40086         * manual/math.texi (BSD Random): Specify range upper bound as
40087         in POSIX.
40089 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40091         * locale/iso-639.def: Add Meadow Mari (mhr).
40093 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40095         [BZ #14752], [BZ #15763]
40096         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40097         Validate name.
40098         * rt/tst_shm.c: Add test for escaping directory.
40100 2013-10-31  Andreas Schwab  <schwab@suse.de>
40102         [BZ #15917]
40103         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40104         followed by 'x' as part of digit sequence.
40105         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40107 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40109         [BZ #16037]
40110         * configure.ac: allow GNU Make 4.0 and greater.
40111         * configure: Regenerated.
40113 2013-10-30  Will Newton  <will.newton@linaro.org>
40115         [BZ #16038]
40116         * malloc/hooks.c (memalign_check): Limit alignment to the
40117         maximum representable power of two.
40118         * malloc/malloc.c (__libc_memalign): Likewise.
40119         * malloc/tst-memalign.c (do_test): Add test for very
40120         large alignment values.
40121         * malloc/tst-posix_memalign.c (do_test): Likewise.
40123 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40125         [BZ #11087]
40126         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40127         (munmap_chunk): Likewise.
40128         (mremap_chunk): Likewise.
40130 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40132         [BZ #15799]
40133         * stdlib/div.c (div): Remove obsolete code.
40134         * stdlib/ldiv.c (ldiv): Likewise.
40135         * stdlib/lldiv.c (lldiv): Likewise.
40137 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40139         [BZ #16071]
40140         * nss/nss_files/files-XXX.c (get_contents_ret): New
40141         enumerator.
40142         (get_contents): New function.
40143         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40145 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40147         * configure.in: Moved to ...
40148         * configure.ac: ... here. Change reference to configure.in
40149         to configure.ac.
40150         * sysdeps/arm/preconfigure.ac: ... here.
40151         configure.in to configure.ac.
40152         * sysdeps/gnu/configure.in: Moved to ...
40153         * sysdeps/gnu/configure.ac: ... here.
40154         * sysdeps/i386/configure.in: Moved to ...
40155         * sysdeps/i386/configure.ac: ... here.
40156         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40157         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40158         * sysdeps/mach/configure.in: Moved to ...
40159         * sysdeps/mach/configure.ac: ... here.
40160         * sysdeps/mach/hurd/configure.in: Moved to ...
40161         * sysdeps/mach/hurd/configure.ac: ... here.
40162         * sysdeps/powerpc/configure.in: Moved to ...
40163         * sysdeps/powerpc/configure.ac: ... here.
40164         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40165         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40166         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40167         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40168         * sysdeps/s390/s390-32/configure.in: Moved to ...
40169         * sysdeps/s390/s390-32/configure.ac: ... here.
40170         * sysdeps/s390/s390-64/configure.in: Moved to ...
40171         * sysdeps/s390/s390-64/configure.ac: ... here.
40172         * sysdeps/sh/configure.in: Moved to ...
40173         * sysdeps/sh/configure.ac: ... here.
40174         * sysdeps/sparc/configure.in: Moved to ...
40175         * sysdeps/sparc/configure.ac: ... here.
40176         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40177         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40178         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40179         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40180         * sysdeps/x86_64/configure.in: Moved to ...
40181         * sysdeps/x86_64/configure.ac: ... here.
40182         * sysdeps/x86_64/preconfigure.in: Moved to ...
40183         * sysdeps/x86_64/preconfigure.ac: ... here.
40184         * aclocal.m4: Change reference to configure.in to configure.ac.
40185         * config.h.in: Likewise.
40186         * manual/install.texi: Likewise.
40187         * manual/maint.texi: Likewise.
40188         * Makefile: Likewise.
40189         * malloc/Makefile: Likewise.
40190         * nscd/Makefile: Likewise.
40191         * Makeconfig: Change reference to configure.in and
40192         preconfigure.in to configure.ac and preconfigure.ac
40193         respectively.
40194         * INSTALL: Regenerated.
40195         * configure: Likewise.
40196         * sysdeps/gnu/configure: Likewise.
40197         * sysdeps/i386/configure: Likewise.
40198         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40199         * sysdeps/mach/configure: Likewise.
40200         * sysdeps/mach/hurd/configure: Likewise.
40201         * sysdeps/powerpc/configure: Likewise.
40202         * sysdeps/powerpc/powerpc32/configure: Likewise.
40203         * sysdeps/powerpc/powerpc64/configure: Likewise.
40204         * sysdeps/s390/s390-32/configure: Likewise.
40205         * sysdeps/s390/s390-64/configure: Likewise.
40206         * sysdeps/sh/configure: Likewise.
40207         * sysdeps/sparc/configure: Likewise.
40208         * sysdeps/unix/sysv/linux/configure: Likewise.
40209         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40210         * sysdeps/x86_64/configure: Likewise.
40211         * sysdeps/x86_64/preconfigure: Likewise.
40213 2013-10-29  Andreas Schwab  <schwab@suse.de>
40215         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40217 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40219         * benchtests/pow-inputs: Add new inputs.
40221         * benchtests/exp-inputs: Add new inputs.
40223         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40224         conditional check for return value.
40225         (__cos32): Likewise.
40227 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40229         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40230         to provide a boost for large inputs with word alignment.
40231         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40232         implementation based on optimized PPC64 strcpy.
40233         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40234         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40235         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40236         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40238 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40240         [BZ #2801]
40241         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40243 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40245         [BZ #14876]
40246         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40247         * time/tst-strptime.c (day_tests): Add testcase.
40249 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40251         [BZ #14029]
40252         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40254 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40256         [BZ #16074]
40257         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40258         MAP_FAILED on error.
40260 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40262         [BZ #16072]
40263         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40264         heap for large requests.
40266 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40268         [BZ #9954]
40269         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40270         result if the result has no associated interface.
40271         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40272         interface for all 127.X.Y.Z addresses.
40274 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40276         * locale/iso-639.def: Add Ligurian (lij)
40278 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40280         [BZ #15825]
40281         * sunrpc/rpc_main.c: Document rpcgen -5.
40283 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40285         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40287 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40289         [BZ #10278]
40290         * posix/glob.c: Match only directories when trailing slash is present.
40291         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40292         (main): Add testcase.
40294 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40296         [BZ #15670]
40297         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40299 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40301         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40302         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40303         AUTH_DES and cindex for FIPS 140-2.
40304         (DES Encryption): Add cindex FIPS 46-3.
40306         * locale/locarchive.h (struct locarhandle): Add fname.
40307         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40308         if an optional argument was specified to --list-archive,
40309         otherwise NULL.
40310         * locale/programs/locarchive.c (show_archive_content): Take new
40311         argument fname and pass it via ah.fname to open_archive.
40312         * locale/programs/localedef.h: Update decl.
40313         (open_archive): If AH->fname is non-null, open that file
40314         rather than the default file name, and don't ignore ENOENT.
40315         (create_archive): Set AH.fname to NULL.
40316         (delete_locales_from_archive): Likewise.
40317         (add_locales_to_archive): Likewise.
40318         * locale/programs/locfile.c (write_all_categories): Likewise.
40320 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40321             Aldy Hernandez  <aldyh@redhat.com>
40323         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40324         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40325         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40326         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40327         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40328         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40329         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40330         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40331         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40332         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40333         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40334         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40335         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40336         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40337         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40338         Likewise.
40339         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40340         Likewise.
40341         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40342         Likewise.
40343         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40344         Likewise.
40345         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40346         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40347         Likewise.
40348         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40349         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40350         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40351         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40352         Likewise.
40353         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40354         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40355         * sysdeps/powerpc/preconfigure: Likewise.
40356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40357         Likewise.
40358         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40359         Replace contents of file by #include of <fenv_libc.h>.
40360         * sysdeps/powerpc/soft-fp/sfp-machine.h
40361         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40362         and <sys/prctl.h>.
40363         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40364         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40365         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40366         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40367         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40368         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40370         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40374         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40376         Allow copysignl PLT reference to be missing.
40378 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40379             Joseph Myers  <joseph@codesourcery.com
40381         [BZ #15948]
40382         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40383         single character.
40384         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40386 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40388         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40389         * elf/tst-tls1.c: Likewise.
40390         * elf/tst-tls10.h: Likewise.
40391         * elf/tst-tls14.c: Likewise.
40392         * elf/tst-tls2.c: Likewise.
40393         * elf/tst-tls3.c: Likewise.
40394         * elf/tst-tls4.c: Likewise.
40395         * elf/tst-tls5.c: Likewise.
40396         * elf/tst-tls6.c: Likewise.
40397         * elf/tst-tls7.c: Likewise.
40398         * elf/tst-tls8.c: Likewise.
40399         * elf/tst-tls9.c: Likewise.
40400         * elf/tst-tlsmod1.c: Likewise.
40401         * elf/tst-tlsmod13.c: Likewise.
40402         * elf/tst-tlsmod13a.c: Likewise.
40403         * elf/tst-tlsmod14a.c: Likewise.
40404         * elf/tst-tlsmod16a.c: Likewise.
40405         * elf/tst-tlsmod16b.c: Likewise.
40406         * elf/tst-tlsmod2.c: Likewise.
40407         * elf/tst-tlsmod3.c: Likewise.
40408         * elf/tst-tlsmod4.c: Likewise.
40409         * elf/tst-tlsmod5.c: Likewise.
40410         * elf/tst-tlsmod6.c: Likewise.
40412 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40414         [BZ #12486]
40415         * malloc/malloc.c: remove checks for statistics.
40417 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40419         [BZ #15277]
40420         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40421         * inet/tst-network.c: Add testcase.
40423 2013-10-17  Andreas Schwab  <schwab@suse.de>
40425         [BZ #15218]
40426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40427         to determine canonical name.
40429 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40431         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40432         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40433         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40434         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40435         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40440         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40455         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40456         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40461         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40478         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40482         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40483         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40484         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40485         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40486         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40487         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40488         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40490 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40492         [BZ #16041]
40493         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40494         make result into a quiet NaN.
40496 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40498         * soft-fp/adddf3.c: Fix horizontal whitespace.
40499         * soft-fp/addsf3.c: Likewise.
40500         * soft-fp/addtf3.c: Likewise.
40501         * soft-fp/divdf3.c: Likewise.
40502         * soft-fp/divsf3.c: Likewise.
40503         * soft-fp/divtf3.c: Likewise.
40504         * soft-fp/double.h: Likewise.
40505         * soft-fp/eqdf2.c: Likewise.
40506         * soft-fp/eqsf2.c: Likewise.
40507         * soft-fp/eqtf2.c: Likewise.
40508         * soft-fp/extenddftf2.c: Likewise.
40509         * soft-fp/extended.h: Likewise.
40510         * soft-fp/extendsfdf2.c: Likewise.
40511         * soft-fp/extendsftf2.c: Likewise.
40512         * soft-fp/extendxftf2.c: Likewise.
40513         * soft-fp/fixdfdi.c: Likewise.
40514         * soft-fp/fixdfsi.c: Likewise.
40515         * soft-fp/fixdfti.c: Likewise.
40516         * soft-fp/fixsfdi.c: Likewise.
40517         * soft-fp/fixsfsi.c: Likewise.
40518         * soft-fp/fixsfti.c: Likewise.
40519         * soft-fp/fixtfdi.c: Likewise.
40520         * soft-fp/fixtfsi.c: Likewise.
40521         * soft-fp/fixtfti.c: Likewise.
40522         * soft-fp/fixunsdfdi.c: Likewise.
40523         * soft-fp/fixunsdfsi.c: Likewise.
40524         * soft-fp/fixunsdfti.c: Likewise.
40525         * soft-fp/fixunssfdi.c: Likewise.
40526         * soft-fp/fixunssfsi.c: Likewise.
40527         * soft-fp/fixunssfti.c: Likewise.
40528         * soft-fp/fixunstfdi.c: Likewise.
40529         * soft-fp/fixunstfsi.c: Likewise.
40530         * soft-fp/fixunstfti.c: Likewise.
40531         * soft-fp/floatdidf.c: Likewise.
40532         * soft-fp/floatdisf.c: Likewise.
40533         * soft-fp/floatditf.c: Likewise.
40534         * soft-fp/floatsidf.c: Likewise.
40535         * soft-fp/floatsisf.c: Likewise.
40536         * soft-fp/floatsitf.c: Likewise.
40537         * soft-fp/floattidf.c: Likewise.
40538         * soft-fp/floattisf.c: Likewise.
40539         * soft-fp/floattitf.c: Likewise.
40540         * soft-fp/floatundidf.c: Likewise.
40541         * soft-fp/floatundisf.c: Likewise.
40542         * soft-fp/floatunditf.c: Likewise.
40543         * soft-fp/floatunsidf.c: Likewise.
40544         * soft-fp/floatunsisf.c: Likewise.
40545         * soft-fp/floatunsitf.c: Likewise.
40546         * soft-fp/floatuntidf.c: Likewise.
40547         * soft-fp/floatuntisf.c: Likewise.
40548         * soft-fp/floatuntitf.c: Likewise.
40549         * soft-fp/fmadf4.c: Likewise.
40550         * soft-fp/fmasf4.c: Likewise.
40551         * soft-fp/fmatf4.c: Likewise.
40552         * soft-fp/gedf2.c: Likewise.
40553         * soft-fp/gesf2.c: Likewise.
40554         * soft-fp/getf2.c: Likewise.
40555         * soft-fp/ledf2.c: Likewise.
40556         * soft-fp/lesf2.c: Likewise.
40557         * soft-fp/letf2.c: Likewise.
40558         * soft-fp/muldf3.c: Likewise.
40559         * soft-fp/mulsf3.c: Likewise.
40560         * soft-fp/multf3.c: Likewise.
40561         * soft-fp/negdf2.c: Likewise.
40562         * soft-fp/negsf2.c: Likewise.
40563         * soft-fp/negtf2.c: Likewise.
40564         * soft-fp/op-1.h: Likewise.
40565         * soft-fp/op-2.h: Likewise.
40566         * soft-fp/op-4.h: Likewise.
40567         * soft-fp/op-8.h: Likewise.
40568         * soft-fp/op-common.h: Likewise.
40569         * soft-fp/quad.h: Likewise.
40570         * soft-fp/single.h: Likewise.
40571         * soft-fp/soft-fp.h: Likewise.
40572         * soft-fp/sqrtdf2.c: Likewise.
40573         * soft-fp/sqrtsf2.c: Likewise.
40574         * soft-fp/sqrttf2.c: Likewise.
40575         * soft-fp/subdf3.c: Likewise.
40576         * soft-fp/subsf3.c: Likewise.
40577         * soft-fp/subtf3.c: Likewise.
40578         * soft-fp/truncdfsf2.c: Likewise.
40579         * soft-fp/trunctfdf2.c: Likewise.
40580         * soft-fp/trunctfsf2.c: Likewise.
40581         * soft-fp/trunctfxf2.c: Likewise.
40582         * soft-fp/unorddf2.c: Likewise.
40583         * soft-fp/unordsf2.c: Likewise.
40584         * soft-fp/unordtf2.c: Likewise.
40586 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40588         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40589         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40591 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40593         * elf/dl-libc.c: Clear initfini list after freeing.
40595 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40597         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40598         * soft-fp/addsf3.c: Likewise.
40599         * soft-fp/addtf3.c: Likewise.
40600         * soft-fp/divdf3.c: Likewise.
40601         * soft-fp/divsf3.c: Likewise.
40602         * soft-fp/divtf3.c: Likewise.
40603         * soft-fp/double.h: Likewise.
40604         * soft-fp/eqdf2.c: Likewise.
40605         * soft-fp/eqsf2.c: Likewise.
40606         * soft-fp/eqtf2.c: Likewise.
40607         * soft-fp/extenddftf2.c: Likewise.
40608         * soft-fp/extended.h: Likewise.
40609         * soft-fp/extendsfdf2.c: Likewise.
40610         * soft-fp/extendsftf2.c: Likewise.
40611         * soft-fp/extendxftf2.c: Likewise.
40612         * soft-fp/fixdfdi.c: Likewise.
40613         * soft-fp/fixdfsi.c: Likewise.
40614         * soft-fp/fixdfti.c: Likewise.
40615         * soft-fp/fixsfdi.c: Likewise.
40616         * soft-fp/fixsfsi.c: Likewise.
40617         * soft-fp/fixsfti.c: Likewise.
40618         * soft-fp/fixtfdi.c: Likewise.
40619         * soft-fp/fixtfsi.c: Likewise.
40620         * soft-fp/fixtfti.c: Likewise.
40621         * soft-fp/fixunsdfdi.c: Likewise.
40622         * soft-fp/fixunsdfsi.c: Likewise.
40623         * soft-fp/fixunsdfti.c: Likewise.
40624         * soft-fp/fixunssfdi.c: Likewise.
40625         * soft-fp/fixunssfsi.c: Likewise.
40626         * soft-fp/fixunssfti.c: Likewise.
40627         * soft-fp/fixunstfdi.c: Likewise.
40628         * soft-fp/fixunstfsi.c: Likewise.
40629         * soft-fp/fixunstfti.c: Likewise.
40630         * soft-fp/floatdidf.c: Likewise.
40631         * soft-fp/floatdisf.c: Likewise.
40632         * soft-fp/floatditf.c: Likewise.
40633         * soft-fp/floatsidf.c: Likewise.
40634         * soft-fp/floatsisf.c: Likewise.
40635         * soft-fp/floatsitf.c: Likewise.
40636         * soft-fp/floattidf.c: Likewise.
40637         * soft-fp/floattisf.c: Likewise.
40638         * soft-fp/floattitf.c: Likewise.
40639         * soft-fp/floatundidf.c: Likewise.
40640         * soft-fp/floatundisf.c: Likewise.
40641         * soft-fp/floatunsidf.c: Likewise.
40642         * soft-fp/floatunsisf.c: Likewise.
40643         * soft-fp/floatuntidf.c: Likewise.
40644         * soft-fp/floatuntisf.c: Likewise.
40645         * soft-fp/floatuntitf.c: Likewise.
40646         * soft-fp/fmadf4.c: Likewise.
40647         * soft-fp/fmasf4.c: Likewise.
40648         * soft-fp/fmatf4.c: Likewise.
40649         * soft-fp/gedf2.c: Likewise.
40650         * soft-fp/gesf2.c: Likewise.
40651         * soft-fp/getf2.c: Likewise.
40652         * soft-fp/ledf2.c: Likewise.
40653         * soft-fp/lesf2.c: Likewise.
40654         * soft-fp/letf2.c: Likewise.
40655         * soft-fp/muldf3.c: Likewise.
40656         * soft-fp/mulsf3.c: Likewise.
40657         * soft-fp/multf3.c: Likewise.
40658         * soft-fp/negdf2.c: Likewise.
40659         * soft-fp/negsf2.c: Likewise.
40660         * soft-fp/negtf2.c: Likewise.
40661         * soft-fp/op-1.h: Likewise.
40662         * soft-fp/op-2.h: Likewise.
40663         * soft-fp/op-4.h: Likewise.
40664         * soft-fp/op-8.h: Likewise.
40665         * soft-fp/op-common.h: Likewise.
40666         * soft-fp/quad.h: Likewise.
40667         * soft-fp/single.h: Likewise.
40668         * soft-fp/soft-fp.h: Likewise.
40669         * soft-fp/sqrtdf2.c: Likewise.
40670         * soft-fp/sqrtsf2.c: Likewise.
40671         * soft-fp/sqrttf2.c: Likewise.
40672         * soft-fp/subdf3.c: Likewise.
40673         * soft-fp/subsf3.c: Likewise.
40674         * soft-fp/subtf3.c: Likewise.
40675         * soft-fp/truncdfsf2.c: Likewise.
40676         * soft-fp/trunctfdf2.c: Likewise.
40677         * soft-fp/trunctfsf2.c: Likewise.
40678         * soft-fp/trunctfxf2.c: Likewise.
40679         * soft-fp/unorddf2.c: Likewise.
40680         * soft-fp/unordsf2.c: Likewise.
40681         * soft-fp/unordtf2.c: Likewise.
40683 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40685         [BZ #15672]
40686         * misc/error.c (error_tail): Fix possible buffer overflow.
40688 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40690         [BZ #13028]
40691         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40692         address.
40694 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40696         [BZ #832]
40697         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40698         testing pipefail option.
40700 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40702         * soft-fp/double.h: Indent preprocessor directives inside #if.
40703         * soft-fp/extended.h: Likewise.
40704         * soft-fp/op-2.h: Likewise.
40705         * soft-fp/op-4.h: Likewise.
40706         * soft-fp/op-common.h: Likewise.
40707         * soft-fp/quad.h: Likewise.
40708         * soft-fp/single.h: Likewise.
40709         * soft-fp/soft-fp.h: Likewise.
40711 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40713         * iconv/iconv_prog.c: Fix typos.
40714         * stdio-common/psiginfo-data.h: Likewise.
40716 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40718         [BZ #15764]
40719         * locale/setlocale.c: Fix typo.
40721 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40723         [BZ #16036]
40724         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40725         signaling NaN arguments.
40726         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40727         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40729         [BZ #14910]
40730         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40731         unordered operands.
40732         * soft-fp/gesf2.c (__gesf2): Likewise.
40733         * soft-fp/getf2.c (__getf2): Likewise.
40734         * soft-fp/ledf2.c (__ledf2): Likewise.
40735         * soft-fp/lesf2.c (__lesf2): Likewise.
40736         * soft-fp/letf2.c (__letf2): Likewise.
40738         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40739         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40740         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40741         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40742         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40743         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40744         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40745         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40746         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40747         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40748         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40749         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40750         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40751         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40752         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40753         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40754         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40755         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40756         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40757         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40758         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40759         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40760         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40761         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40762         * soft-fp/floattidf.c (__floattidf): Likewise.
40763         * soft-fp/floattisf.c (__floattisf): Likewise.
40764         * soft-fp/floattitf.c (__floattitf): Likewise.
40765         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40766         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40767         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40768         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40769         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40770         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40771         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40772         * soft-fp/gesf2.c (__gesf2): Likewise.
40773         * soft-fp/getf2.c (__getf2): Likewise.
40774         * soft-fp/ledf2.c (__ledf2): Likewise.
40775         * soft-fp/lesf2.c (__lesf2): Likewise.
40776         * soft-fp/letf2.c (__letf2): Likewise.
40778         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40779         Undefine and redefine.
40780         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40781         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40782         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40783         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40784         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40785         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40786         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40787         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40788         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40789         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40790         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40791         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40792         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40793         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40794         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40796         [BZ #16032]
40797         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40798         without decrementing exponent if mantissa >= that for the
40799         denominator, not >.
40800         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40801         denominator, not >.  Decrement exponent in < case instead of
40802         incrementing in >= case.
40803         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40804         without decrementing exponent if mantissa >= that for the
40805         denominator, not >.
40807         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40808         computing saturated result for unsigned overflow.
40810 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40811             Jeff Law  <law@redhat.com>
40813         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40814         (atan2Mp): Add systemtap probe marker.
40815         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40816         (__ieee754_log): Add systemtap probe marker.
40817         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40818         (atanMp): Add systemtap probe marker.
40819         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40820         (tanMp): Add systemtap probe marker.
40821         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40822         (__slowexp): Add systemtap probe marker.
40823         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40824         (__slowpow): Add systemtap probe marker.
40825         * manual/probes.texi: Document probes.
40827 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40829         [BZ #15362]
40830         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40831         written.
40832         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40833         written.
40834         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40835         written to buffer but not flushed.
40836         * libio/iofwrite_u.c:  Likewise.
40837         * libio/iopadn.c:  Return bytes returned even if EOF was
40838         encountered.
40839         * libio/iowpadn.c:  Likewise.
40840         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40841         if _IO_padn does not write the whole buffer.
40842         [!COMPILE_WPRINTF] (PAD): Likewise.
40844 2013-10-10  David S. Miller  <davem@davemloft.net>
40846         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40847         directory block.
40849 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40851         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40852         instead of FSF address.
40853         * soft-fp/fixdfti.c: Likewise.
40854         * soft-fp/fixsfti.c: Likewise.
40855         * soft-fp/fixtfti.c: Likewise.
40856         * soft-fp/fixunsdfti.c: Likewise.
40857         * soft-fp/fixunssfti.c: Likewise.
40858         * soft-fp/fixunstfti.c: Likewise.
40859         * soft-fp/floattidf.c: Likewise.
40860         * soft-fp/floattisf.c: Likewise.
40861         * soft-fp/floattitf.c: Likewise.
40862         * soft-fp/floatuntidf.c: Likewise.
40863         * soft-fp/floatuntisf.c: Likewise.
40864         * soft-fp/floatuntitf.c: Likewise.
40865         * soft-fp/trunctfxf2.c: Likewise.
40867         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40868         * soft-fp/fixdfti.c: Likewise.
40869         * soft-fp/fixsfti.c: Likewise.
40870         * soft-fp/fixtfti.c: Likewise.
40871         * soft-fp/fixunsdfti.c: Likewise.
40872         * soft-fp/fixunssfti.c: Likewise.
40873         * soft-fp/fixunstfti.c: Likewise.
40874         * soft-fp/floattidf.c: Likewise.
40875         * soft-fp/floattisf.c: Likewise.
40876         * soft-fp/floattitf.c: Likewise.
40877         * soft-fp/floatuntidf.c: Likewise.
40878         * soft-fp/floatuntisf.c: Likewise.
40879         * soft-fp/floatuntitf.c: Likewise.
40880         * soft-fp/trunctfxf2.c: Likewise.
40882 2013-10-10  David S. Miller  <davem@davemloft.net>
40884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40886 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40888         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40889         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40890         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40891         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40892         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40893         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40894         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40896         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40897         for NaNs before doing comparisons on argument.
40898         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40899         Likewise.
40901 2013-10-10  Will Newton  <will.newton@linaro.org>
40903         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40904         passed to _int_memalign does not overflow.
40906 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40908         * scripts/bench.pl: Add include-sources directive.
40909         * benchtests/README: Update documentation.
40911 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40913         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40914         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40915         instead of FP_INIT_ROUNDMODE.
40916         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40917         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40919         [BZ #16034]
40920         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40921         copy class of input value.
40922         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40923         not handle exceptions.
40924         * soft-fp/negsf2.c (__negsf2): Likewise.
40925         * soft-fp/negtf2.c (__negtf2): Likewise.
40926         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40928 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40930         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40931         semicolon.  From Linux kernel.
40933 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40935         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40937 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40939         [BZ #156]
40940         * manual/socket.texi: Added statement about buffer
40941         for gethostbyname2_r.
40943 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40945         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40946         Use .p2align directive instead, throughout.
40947         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40948         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40949         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40950         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40951         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40952         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40953         * sysdeps/x86_64/strchr.S: Likewise.
40954         * sysdeps/x86_64/strrchr.S: Likewise.
40956 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40958         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40960         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40962         * sysdeps/generic/math_private.h (__mpsin1): Remove
40963         declaration.
40964         (__mpcos1): Likewise.
40965         (__mpsin): New argument __range_reduce.
40966         (__mpcos): Likewise.
40967         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40968         (slow): Use __mpsin and __mpcos.
40969         (slow1): Likewise.
40970         (slow2): Likewise.
40971         (sloww): Likewise.
40972         (sloww1): Likewise.
40973         (sloww2): Likewise.
40974         (bsloww): Likewise.
40975         (bsloww1): Likewise.
40976         (bsloww2): Likewise.
40977         (cslow2): Likewise.
40978         (csloww): Likewise.
40979         (csloww1): Likewise.
40980         (csloww2): Likewise.
40981         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40982         range_reduce.  Merge in __mpsin1.
40983         (__mpcos): Likewise.
40984         (__mpsin1): Remove.
40985         (__mpcos1): Likewise.
40987 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40989         * locale/loadlocale.c (_nl_intern_locale_data): Use
40990         LOCFILE_ALIGNED_P.
40991         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40992         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40993         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40994         obstack data is appropriately aligned.
40995         (obstack_int32_grow_fast): Likewise.
40996         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40997         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40998         (add_locale_uint32_array): Likewise.
41000 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41002         * benchtests/Makefile: Remove ARGLIST and RET variables.
41003         ($(objpfx)bench-%.c): Pass only function name to the script.
41004         * benchtests/README: Update documentation.
41005         * benchtests/acos-inputs: Add new directives.
41006         * benchtests/acosh-inputs: Likewise.
41007         * benchtests/asin-inputs: Likewise.
41008         * benchtests/asinh-inputs: Likewise.
41009         * benchtests/atan-inputs: Likewise.
41010         * benchtests/atanh-inputs: Likewise.
41011         * benchtests/cos-inputs: Likewise.
41012         * benchtests/cosh-inputs: Likewise.
41013         * benchtests/exp-inputs: Likewise.
41014         * benchtests/log-inputs: Likewise.
41015         * benchtests/pow-inputs: Likewise.
41016         * benchtests/rint-inputs: Likewise.
41017         * benchtests/sin-inputs: Likewise.
41018         * benchtests/sinh-inputs: Likewise.
41019         * benchtests/tan-inputs: Likewise.
41020         * benchtests/tanh-inputs: Likewise.
41021         * scripts/bench.pl: Add support for new directives.
41023 2013-10-07  Alan Modra  <amodra@gmail.com>
41025         * README: Fix careless merge.
41027 2013-10-05  Alan Modra  <amodra@gmail.com>
41029         * NEWS: Mention powerpc64le support and bugs fixed.
41030         * README: Both big-endian and little-endian powerpc64 supported.
41032 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41034         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41035         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41036         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41037         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41039 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41041         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41042         match prototype.
41044 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41046         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41047         Move -mhard-float appending from
41048         ports/sysdeps/powerpc/powerpc32/Makefile.
41049         [$(with-fp) = yes] (ASFLAGS): Likewise.
41050         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41051         * sysdeps/powerpc/nofpu: Move directory from
41052         ports/sysdeps/powerpc/nofpu.
41053         * sysdeps/powerpc/soft-fp: Move directory from
41054         ports/sysdeps/powerpc/soft-fp.
41055         * sysdeps/powerpc/powerpc32/405: Move directory from
41056         ports/sysdeps/powerpc/powerpc32/405.
41057         * sysdeps/powerpc/powerpc32/440: Move directory from
41058         ports/sysdeps/powerpc/powerpc32/440.
41059         * sysdeps/powerpc/powerpc32/464: Move directory from
41060         ports/sysdeps/powerpc/powerpc32/464.
41061         * sysdeps/powerpc/powerpc32/476: Move directory from
41062         ports/sysdeps/powerpc/powerpc32/476.
41063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41064         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41066         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41068         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41070         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41072         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41073         * README: Update for powerpc-*-linux-gnu software floating point
41074         support in libc.
41076         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41077         case to powerpc/powerpc32*.
41078         * sysdeps/unix/sysv/linux/configure: Regenerated.
41080         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41081         (_FPU_MASK_OM): Define as 0x04.
41082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41084         0x00c10080.
41085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41086         0x0000003c.
41087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41090         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41091         getcontext_e500.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41093         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41094         setcontext_e500.
41095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41096         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41097         and setcontext_e500.
41099 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41101         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41103 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41105         * manual/threads.texi (Default Thread Attributes): Fix typo.
41107 2013-10-04  Will Newton  <will.newton@linaro.org>
41109         * malloc/Makefile: Add tst-memalign.
41110         * malloc/tst-memalign.c: New file.
41112         * malloc/tst-posix_memalign.c: Add comments.
41113         (do_test): Add comments and call free on all potentially
41114         allocated pointers. Add space after cast.
41116         * malloc/tst-pvalloc.c: Add comments.
41117         (do_test): Add comments and call free on all potentially
41118         allocated pointers. Remove duplicate check for NULL pointer.
41119         Add space after cast.
41121         * malloc/tst-valloc.c: Add comments.
41122         (do_test): Add comments and call free on all potentially
41123         allocated pointers. Remove duplicate check for NULL pointer.
41124         Add space after cast.
41126 2013-10-04  Alan Modra  <amodra@gmail.com>
41128         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41129         Use stdint types in rather than __attribute__((mode())).
41130         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41132 2013-10-04  Alan Modra  <amodra@gmail.com>
41134         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41135         Correct handling of unaligned relocs for little-endian.
41136         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41138 2013-10-04  Alan Modra  <amodra@gmail.com>
41140         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41141         * configure: Regenerate.
41142         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41143         * shlib-versions: Likewise.
41145 2013-10-04  Alan Modra  <amodra@gmail.com>
41147         * string/tester.c (test_memrchr): Increment reported test cycle.
41149 2013-10-04  Alan Modra  <amodra@gmail.com>
41151         * string/test-memcpy.c (do_one_test): When reporting errors, print
41152         string address and don't overrun end of string.
41154 2013-10-04  Alan Modra  <amodra@gmail.com>
41156         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41157         insrdi.  Make better use of reg selection to speed exit slightly.
41158         Schedule entry path a little better.  Remove useless "are we done"
41159         checks on entry to main loop.  Handle wrapping around zero address.
41160         Correct main loop count.  Handle single left-over word from main
41161         loop inline rather than by using loop_small.  Remove extra word
41162         case in loop_small caused by wrong loop count.  Add little-endian
41163         support.
41164         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41165         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41166         cache hint.
41167         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41168         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41169         support.  Avoid rlwimi.
41170         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41172 2013-10-04  Alan Modra  <amodra@gmail.com>
41174         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41175         insrdi.  Formatting.
41176         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41177         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41178         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41179         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41180         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41181         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41183 2013-10-04  Alan Modra  <amodra@gmail.com>
41185         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41188         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41189         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41190         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41191         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41192         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41193         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41194         use of regs.  Use power7 mtocrf.  Tidy function tails.
41196 2013-10-04  Alan Modra  <amodra@gmail.com>
41198         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41199         Formatting.  Consistently use rXXX register defines or rN defines.
41200         Use early exit labels that avoid restoring unused non-volatile regs.
41201         Make cr field use more consistent with rWORDn compares.  Rename
41202         regs used as shift registers for unaligned loop, using rN defines
41203         for short lifetime/multiple use regs.
41204         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41205         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41206         addi 1,1,64 to pop stack frame.  Simplify return value code.
41207         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41209 2013-10-04  Alan Modra  <amodra@gmail.com>
41211         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41212         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41213         rather than rlwimi.
41214         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41215         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41216         little-endian support.  Correct typos.
41217         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41218         rather than rlwimi.
41219         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41220         in loop and entry code to keep "and." results.
41221         (strchr): Add little-endian support.  Comment.  Move cntlzd
41222         earlier in tail.
41223         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41225 2013-10-04  Alan Modra  <amodra@gmail.com>
41227         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41228         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41229         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41230         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41232 2013-10-04  Alan Modra  <amodra@gmail.com>
41234         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41235         (rTMP): Define as r11.
41236         (strcmp): Add little-endian support.  Optimise tail.
41237         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41238         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41239         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41240         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41241         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41242         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41245 2013-10-04  Alan Modra  <amodra@gmail.com>
41247         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41248         little-endian support.  Remove unnecessary "are we done" tests.
41249         Handle "s" wrapping around zero and extremely large "size".
41250         Correct main loop count.  Handle single left-over word from main
41251         loop inline rather than by using small_loop.  Correct comments.
41252         Delete "zero" tail, use "end_max" instead.
41253         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41255 2013-10-04  Alan Modra  <amodra@gmail.com>
41257         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41258         support.  Don't branch over align.
41259         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41260         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41261         support.  Rearrange tmp reg use to suit.  Comment.
41262         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41264 2013-10-04  Alan Modra  <amodra@gmail.com>
41266         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41268 2013-10-04  Alan Modra  <amodra@gmail.com>
41270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41271         conditional form of branch and link when obtaining pc.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41274 2013-10-04  Alan Modra  <amodra@gmail.com>
41276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41277         HIWORD/LOWORD.
41278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41281 2013-10-04  Alan Modra  <amodra@gmail.com>
41283         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41284         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41285         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41286         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41287         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41288         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41289         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41290         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41291         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41292         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41294 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41295             Alistair Popple <alistair@ozlabs.au.ibm.com>
41296             Alan Modra <amodra@gmail.com>
41298         [BZ #15723]
41299         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41300         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41301         _dl_hwcap access for little-endian.
41302         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41303         destroy vmx regs when saving unaligned.
41304         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41305         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41306         destroy vmx regs when saving unaligned.
41308 2013-10-04  Alan Modra  <amodra@gmail.com>
41310         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41311         Don't use a union to pack hi/low value.
41313 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41315         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41316         for little-endian.
41317         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41318         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41319         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41320         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41321         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41323 2013-10-04  Alan Modra  <amodra@gmail.com>
41325         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41326         constants to usual value for .cst8 section, and remove redundant
41327         high address load.
41328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41329         constant for 0x1p52.  Load little-endian words of double from
41330         correct stack offsets.
41332 2013-10-04  Alan Modra  <amodra@gmail.com>
41334         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41335         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41336         words of double from correct stack offsets.
41337         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41338         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41339         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41340         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41341         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41342         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41343         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41344         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41345         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41346         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41347         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41348         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41349         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41350         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41351         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41352         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41353         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41355 2013-10-04  Alan Modra  <amodra@gmail.com>
41357         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41358         64-bit int/double union.
41359         (_FPU_SETCW): Likewise.
41360         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41361         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41363 2013-10-04  Alan Modra  <amodra@gmail.com>
41365         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41366         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41368 2013-10-04  Alan Modra  <amodra@gmail.com>
41370         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41371         use vector int constants.
41372         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41374 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41376         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41377         array with long long.
41378         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41379         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41380         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41381         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41382         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41383         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41384         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41385         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41386         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41387         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41388         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41389         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41390         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41392 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41394         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41395         (__signbit): Likewise.  Correct for little-endian.
41396         (__signbitl): Call __signbit.
41397         (lrint): Correct for little-endian.
41398         (lrintf): Call lrint.
41400 2013-10-04  Alan Modra  <amodra@gmail.com>
41402         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41403         union 32-bit int array member with 64-bit int array.
41404         (t515, tm256): Double rather than long double.
41405         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41407 2013-10-04  Alan Modra  <amodra@gmail.com>
41409         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41410         Delete.
41411         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41413         version of math_ldbl.h.
41415 2013-10-04  Alan Modra  <amodra@gmail.com>
41417         [BZ #15734], [BZ #15735]
41418         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41419         all uses of ieee875 long double macros and unions.  Simplify test
41420         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41421         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41422         normalize after ldbl_extract_mantissa, and don't add hidden bit
41423         already handled.  Don't treat low word of ieee854 mantissa like
41424         low word of IBM long double and mask off bit when testing for
41425         zero.
41426         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41427         all uses of ieee875 long double macros and unions.  Simplify tests
41428         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41429         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41430         two1022, instead use their values.  Recognise that tests for large
41431         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41432         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41433         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41434         test for 0.0L and nan.  Correct negation.
41435         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41436         ieee875 long double macros and unions.  Correct output for large
41437         magnitude x.  Correct absolute value calculation.
41438         (__erfcl): Likewise.
41439         * math/libm-test.inc: Add tests for errors discovered in IBM long
41440         double versions of fmodl, remainderl, erfl and erfcl.
41442 2013-10-04  Alan Modra  <amodra@gmail.com>
41444         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41445         all uses of ieee854 long double macros and unions.  Simplify tests
41446         for long doubles that are fully specified by the high double.
41447         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41448         Likewise.
41449         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41450         Remove dead code too.
41451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41452         (__ieee754_ynl): Likewise.
41453         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41454         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41455         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41456         Remove dead code too.
41457         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41458         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41459         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41460         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41461         Simplify.
41462         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41463         Simplify.
41464         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41465         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41466         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41467         Comment on variable precision.
41468         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41469         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41470         Likewise.
41471         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41472         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41473         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41474         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41475         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41477 2013-10-04  Alan Modra  <amodra@gmail.com>
41479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41481         all uses of ieee854 long double macros and unions.
41482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41484         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41485         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41486         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41487         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41488         Likewise.
41489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41490         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41491         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41492         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41493         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41494         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41495         Simplify sign and nan test too.
41496         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41497         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41498         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41499         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41500         Likewise.
41501         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41502         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41503         Likewise.
41504         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41505         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41506         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41507         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41508         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41509         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41511 2013-10-04  Alan Modra  <amodra@gmail.com>
41513         * stdio-common/printf_size.c (__printf_size): Don't use
41514         union ieee854_long_double in fpnum union.
41515         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41516         signbit macro to retrieve sign from long double.
41517         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41518         retrieve sign from long double.
41519         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41520         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41521         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41522         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41523         * math/test-misc.c (main): Don't use union ieee854_long_double.
41525 2013-10-04  Alan Modra  <amodra@gmail.com>
41527         [BZ #15680]
41528         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41529         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41530         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41531         calculation.  Remove unnecessary test for denormal exponent.
41532         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41533         Correct handling of denormals.  Avoid undefined shift behaviour.
41534         Correct normalisation of low mantissa when low double is denormal.
41535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41536         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41537         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41538         Correct normalisation of low mantissa.  Test for overflow of high
41539         mantissa and normalise.
41540         (ldbl_nearbyint): Use more readable constant for two52.
41541         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41542         (__mpn_construct_long_double): Fix test for overflow of high
41543         mantissa and correct normalisation.  Avoid undefined shift.
41545 2013-10-04  Alan Modra  <amodra@gmail.com>
41547         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41548         (union ibm_extended_long_double): Define as an array of ieee754_double.
41549         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41550         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41551         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41552         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41554         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41556         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41558         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41559         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41561 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41563         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41564         page size instead of calling getpagesize.
41566         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41567         (LOCFILE_ALIGN_MASK): Likewise.
41568         (LOCFILE_ALIGN_UP): Likewise.
41569         (LOCFILE_ALIGNED_P): Likewise.
41570         * locale/programs/ld-collate.c (collate_output): Use the new
41571         macros instead of __alignof__ (int32_t).
41572         * locale/weight.h (findidx): Likewise.
41574 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41576         [BZ #431]
41577         * manual/string.texi: Fix strncat and wcsncat.
41579 2013-10-03  Brooks Moses  <bmoses@google.com>
41581         [BZ #15915]
41582         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41583         * Makerules: ...here, and adjust associated comments.
41585 2013-10-02  Will Newton  <will.newton@linaro.org>
41587         * malloc/Makefile: Add tst-pvalloc.
41588         * malloc/tst-pvalloc.c: New file.
41590 2013-10-02  Will Newton  <will.newton@linaro.org>
41592         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41593         improve test coverage.
41595 2013-10-02  Will Newton  <will.newton@linaro.org>
41597         * malloc/Makefile: Add tst-posix_memalign.
41598         * malloc/tst-posix_memalign.c: New file.
41600 2013-10-01  Eric Blake  <eblake@redhat.com>
41602         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41603         Use __THROWNL rather than __THROW on static functions.
41605 2013-09-30  Petr Machata  <pmachata@redhat.com>
41607         * elf/elf.h (R_AARCH64_ABS16): New macro.
41608         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41609         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41610         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41611         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41612         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41613         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41614         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41615         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41616         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41617         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41618         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41619         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41620         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41621         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41622         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41623         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41624         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41625         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41626         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41627         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41628         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41629         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41630         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41631         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41632         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41633         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41634         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41635         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41636         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41637         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41638         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41639         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41640         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41641         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41642         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41643         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41644         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41645         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41646         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41647         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41648         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41649         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41650         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41651         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41652         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41653         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41654         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41655         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41656         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41657         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41658         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41659         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41660         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41661         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41662         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41663         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41664         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41665         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41666         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41667         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41668         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41669         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41670         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41671         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41672         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41673         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41674         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41675         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41676         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41677         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41678         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41679         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41680         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41681         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41682         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41683         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41684         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41685         (R_AARCH64_TLSDESC_LDR): Likewise.
41686         (R_AARCH64_TLSDESC_ADD): Likewise.
41687         (R_AARCH64_TLSDESC_CALL): Likewise.
41689 2013-09-30  Andreas Schwab  <schwab@suse.de>
41691         [BZ #15048]
41692         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41693         the nss database lookup.
41694         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41697 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41699         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41701 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41703         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41704         ${Bash-specific parameter/pattern/string} parameter expansion.
41705         * sysdeps/unix/make-syscalls.sh: Likewise.
41707 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41709         * sysdeps/sh/stackguard-macros.h: New file.
41711 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41715         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41716         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41717         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41718         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41720 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41722         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41723         Fix thread ID register.
41725 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41727         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41728         [POSIX || UNIX98]: Require rather than permitting all symbols from
41729         <time.h>.
41730         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41731         element of struct sched_param.
41732         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41733         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41734         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41735         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41736         constant.
41738 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41740         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41741         argument calculation.
41743 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41745         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41746         Expect macro.
41747         [POSIX] (pthread_attr_t): Do not require type.
41748         [POSIX] (pthread_cond_t): Likewise.
41749         [POSIX] (pthread_condattr_t): Likewise.
41750         [POSIX] (pthread_key_t): Likewise.
41751         [POSIX] (pthread_mutex_t): Likewise.
41752         [POSIX] (pthread_mutexattr_t): Likewise.
41753         [POSIX] (pthread_once_t): Likewise.
41754         [POSIX] (pthread_t): Likewise.
41755         [POSIX-based standards] (pthread_atfork): Expect function.
41757 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41758             Richard Sandiford  <richard@codesourcery.com>
41760         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41761         (swap_endianness_p): New extern variable.
41762         (set_big_endian): New inline function.
41763         (maybe_swap_uint32): Likewise.
41764         (maybe_swap_uint32_array): Likewise.
41765         (maybe_swap_uint32_obstack): Likewise.
41766         * locale/programs/locfile.c: Include <stdbool.h>.
41767         (swap_endianness_p): New variable.
41768         (add_locale_uint32): Call maybe_swap_uint32.
41769         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41770         (write_locale_data): Call maybe_swap_uint32_array.
41771         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41772         maybe_swap_uint32.
41773         (obstack_int32_grow_fast): Likewise.
41774         (output_weightwc): Call maybe_swap_uint32_obstack.
41775         (collate_output): Likewise.
41776         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41777         (OPT_LITTLE_ENDIAN): Likewise.
41778         (options): Add --little-endian and --big-endian options.
41779         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41780         * locale/programs/locarchive.c: Include "locfile.h".
41781         (GET): New macro.
41782         (SET): Likewise.
41783         (INC): Likewise.
41784         (create_archive): Use the new macros to access fields of
41785         structures directly mapped from or written to locale archives.
41786         (oldlocrecentcmp): Likewise.
41787         (enlarge_archive): Likewise.
41788         (insert_name): Likewise.
41789         (add_alias): Likewise.
41790         (add_locale): Likewise.
41791         (delete_locales_from_archive): Likewise.
41792         (show_archive_content): Likewise.
41793         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41794         locale data.
41796 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41798         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41799         http://www.gnu.org/doc/freemanuals.texi.
41800         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41802 2013-09-24  Will Newton  <will.newton@linaro.org>
41804         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41805         macro.
41807 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41809         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41810         unsigned char.
41812 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41814         * manual/threads.texi (POSIX Threads): Fix a typo.
41816 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41818         [BZ #14547]
41819         * string/tst-strcoll-overflow.c: New test case.
41820         * string/Makefile (xtests): Add tst-strcoll-overflow.
41821         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41822         cache if string sizes may cause integer overflow.
41824         [BZ #14547]
41825         * string/strcoll_l.c (coll_seq): New members rule, idx,
41826         save_idx and back_us.
41827         (get_next_seq_nocache): New function.
41828         (do_compare_nocache): New function.
41829         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41830         when malloc fails.
41832 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41834         [BZ #15754]
41835         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41836         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41837         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41839         [BZ #15754]
41840         * elf/Makefile (tests): Add tst-ptrguard1.
41841         (tests-static): Add tst-ptrguard1-static.
41842         (tst-ptrguard1-ARGS): Define.
41843         (tst-ptrguard1-static-ARGS): Define.
41844         * elf/tst-ptrguard1.c: New file.
41845         * elf/tst-ptrguard1-static.c: New file.
41846         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41847         * sysdeps/i386/stackguard-macros.h: Likewise.
41848         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41849         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41850         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41851         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41852         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41853         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41855 2013-09-23  Hector Marco  <hecmargi@upv.es>
41856             Ismael Ripoll  <iripoll@disca.upv.es>
41857             Carlos O'Donell  <carlos@redhat.com>
41859         [BZ #15754]
41860         * sysdeps/generic/stackguard-macros.h: Define
41861         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41862         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41863         Define __pointer_chk_guard_local.
41864         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41865         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41867 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41869         [BZ #15859]
41870         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41872 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41874         * include/string.h (__ffs): Declare as hidden.
41875         * string/ffs.c (__ffs): Define as hidden.
41876         * sysdeps/i386/ffs.c (__ffs): Likewise.
41877         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41878         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41879         * sysdeps/s390/ffs.c (__ffs): Likewise.
41880         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41882 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41884         * NEWS: Mention malloc probes.
41886         * malloc/arena.c (new_heap): New memory_heap_new probe.
41887         (grow_heap): New memory_heap_more probe.
41888         (shrink_heap): New memory_heap_less probe.
41889         (heap_trim): New memory_heap_free probe.
41890         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41891         (systrim): New memory_sbrk_less probe.
41892         * manual/probes.texi: Document them.
41894         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41895         * manual/probes.texi: Document it.
41897         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41898         (__libc_realloc): Add memory_realloc_retry probe.
41899         (__libc_memalign): Add memory_memalign_retry probe.
41900         (__libc_valloc): Add memory_valloc_retry probe.
41901         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41902         (__libc_calloc): Add memory_calloc_retry probe.
41903         * manual/probes.texi: Document them.
41905         * malloc/arena.c (get_free_list): Add probe
41906         memory_arena_reuse_free_list.
41907         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41908         and memory_arena_reuse.
41909         (arena_get2) [!PER_THREAD]: Likewise.
41910         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41911         memory_arena_reuse_realloc.
41912         * manual/probes.texi: Document them.
41914         * malloc/malloc.c (__libc_free): Add
41915         memory_mallopt_free_dyn_thresholds probe.
41916         (__libc_mallopt): Add multiple memory_mallopt probes.
41917         * manual/probes.texi: Document them.
41919         * malloc/malloc.c: Include stap-probe.h.
41920         (__libc_mallopt): Add memory_mallopt probe.
41921         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41922         * manual/probes.texi: New.
41923         * manual/Makefile (chapters): Add probes.
41924         * manual/threads.texi: Set next node.
41926 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41928         [BZ #15963, #13985]
41929         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41930         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41931         Add `Chinese' to `nan' entry name.
41933 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41935         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41936         (POLYNOMIAL): Likewise.
41937         (TAYLOR_SINCOS): Likewise.
41938         (TAYLOR_SLOW): Likewise.
41939         (__sin): Use TAYLOR_SINCOS.
41940         (__cos): Likewise.
41941         (slow): Use TAYLOR_SLOW.
41942         (sloww): Likewise.
41943         (bsloww): Likewise.
41944         (csloww): Likewise.
41946 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41948         * stdlib/strtod_l.c: Fix buffer overrun.
41950 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41952         * benchtests/Makefile (bench): Add sincos.
41953         * benchtests/bench-sincos.c: New file.
41955         * math/libm-test.inc (cos_test_data): New test inputs.
41956         (sin_test_data): Likewise.
41958         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41959         macro.
41960         (__sin): Use it.
41961         (__cos): Likewise.
41962         (slow1): Likewise.
41963         (slow2): Likewise.
41964         (sloww1): Likewise.
41965         (sloww2): Likewise.
41966         (bsloww1): Likewise.
41967         (bsloww2): Likewise.
41968         (cslow2): Likewise.
41969         (csloww1): Likewise.
41970         (csloww2): Likewise.
41972         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41973         function.
41974         (__sin): Use it.
41975         (__cos): Likewise.
41977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41978         gotos.
41979         (__cos): Likewise.
41981 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41983         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41984         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41985         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41986         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41987         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41988         * elf/cache.c (print_entry): Handle the new cache flags.
41990 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41991             Aldy Hernandez  <aldyh@redhat.com>
41993         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41994         Change condition to [_SOFT_FLOAT].
41995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41997         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42007         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42010         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42011         declaration.
42013 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42015         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42016         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42017         (__longjmp): Use LOAD_GP to load saved GPRs.
42018         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42019         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42020         (__sigsetjmp): Use SAVE_GP to save GPRs.
42022         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42023         Do not append -msoft-float.
42024         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42026 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42028         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42030 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42032         [BZ #15966]
42033         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42034         (_FPU_GETCW): Use initial "__" on variable and field names but not
42035         on macro parameter name.
42036         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42037         parentheses around reference to macro parameter.
42039 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42041         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42042         prototype.
42043         (ctype_startup): Use uint32_t in cast and sizeof for
42044         ctype->charnames.
42046 2013-09-11  Jia Liu  <proljc@gmail.com>
42048         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42049         __daddr_t_defined.
42050         [__FreeBSD__]: Likewise.
42052 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42055         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42056         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42057         (strchr): Remove __strchr_sse42 ifunc selection.
42058         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42059         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42061 2013-09-11  Will Newton  <will.newton@linaro.org>
42063         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42064         parameter to RES. Remove hardcoded 1000 value.
42065         * benchtests/bench-skeleton.c (main): Pass RES parameter
42066         to TIMING_INIT and multiply result by 1000.
42068 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42072 2013-09-11  Andreas Schwab  <schwab@suse.de>
42074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42075         if not defined.
42076         (O_TMPFILE) [__USE_GNU]: Define.
42077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42078         Define.
42080 2013-09-11  Will Newton  <will.newton@linaro.org>
42082         [BZ #15857]
42083         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42084         does not overflow.
42086 2013-09-11  Will Newton  <will.newton@linaro.org>
42088         [BZ #15856]
42089         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42090         does not overflow.
42092 2013-09-11  Will Newton  <will.newton@linaro.org>
42094         [BZ #15855]
42095         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42096         does not overflow.
42098 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42100         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42101         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42102         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42103         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42104         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42106 2013-09-10  Allan McRae  <allan@archlinux.org>
42108         [BZ #15748]
42109         * manual/arith.texi (Parsing of Floats): Clarify
42110         cross-reference.
42112         [BZ #15849]
42113         * manual/install.texi (Running make install): Mention
42114         --enable-pt-chown.
42115         * INSTALL: Regenerated.
42117 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42119         * csu/init-first.c (_init): Remove the !SHARED condition around
42120         FPU control word initialization.
42121         * elf/dl-support.c (_dl_fpu_control): New variable.
42122         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42123         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42124         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42125         * math/test-fpucw-static.c: New file.
42126         * math/test-fpucw-ieee.c: New file.
42127         * math/test-fpucw-ieee-static.c: New file.
42128         * math/Makefile (tests): Add `test-fpucw-ieee' and
42129         `$(tests-static)'.
42130         (tests-static): New variable.
42131         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42132         dependency to...
42133         [($(build-shared),yes)]
42134         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42135         ... this.
42136         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42137         New dependency.
42139 2013-09-09  Allan McRae  <allan@archlinux.org>
42141         [BZ #15939]
42142         * manual/string.texi (Collation Functions): Fix typo in
42143         strcoll example.
42144         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42146         [BZ #15893]
42147         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42149         [BZ #15892]
42150         * libio/memstream.c (open_memstream): Fix memory leak.
42151         * libio/wmemstream.c (open_wmemstream): Likewise.
42153         [BZ #15895]
42154         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42156 2013-09-09  Will Newton  <will.newton@linaro.org>
42158         * malloc/Makefile: Add tst-realloc to tests.
42159         * malloc/tst-realloc.c: New file.
42161 2013-09-09  Allan McRae  <allan@archlinux.org>
42163         [BZ #15844]
42164         * COPYING: Update from GNU website to fix FSF address.
42165         * COPYING.LIB: Likewise.
42167 2013-09-06  David S. Miller  <davem@davemloft.net>
42169         * po/zh_TW.po: Update Chinese (traditional) translation from
42170         translation project.
42172 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42173             Joseph Myers  <joseph@codesourcery.com>
42175         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42176         "localeinfo.h".
42177         (obstack_chunk_alloc): New macro.
42178         (obstack_chunk_free): Likewise.
42179         (record_offset): New function.
42180         (init_locale_data): Likewise.
42181         (align_locale_data): Likewise.
42182         (add_locale_empty): Likewise.
42183         (add_locale_raw_data): Likewise.
42184         (add_locale_raw_obstack): Likewise.
42185         (add_locale_string): Likewise.
42186         (add_locale_wstring): Likewise.
42187         (add_locale_uint32): Likewise.
42188         (add_locale_uint32_array): Likewise.
42189         (add_locale_char): Likewise.
42190         (start_locale_structure): Likewise.
42191         (end_locale_structure): Likewise.
42192         (start_locale_prelude): Likewise.
42193         (end_locale_prelude): Likewise.
42194         (write_locale_data): Take locale_file structure rather than an
42195         iovec.
42196         * locale/programs/locfile.h: Include "obstack.h".
42197         (struct locale_file): Change to store locale file contents instead
42198         of header.
42199         (init_locale_data): New prototype.
42200         (align_locale_data): Likewise.
42201         (add_locale_empty): Likewise.
42202         (add_locale_raw_data): Likewise.
42203         (add_locale_raw_obstack): Likewise.
42204         (add_locale_string): Likewise.
42205         (add_locale_wstring): Likewise.
42206         (add_locale_uint32): Likewise.
42207         (add_locale_uint32_array): Likewise.
42208         (add_locale_char): Likewise.
42209         (start_locale_structure): Likewise.
42210         (end_locale_structure): Likewise.
42211         (start_locale_prelude): Likewise.
42212         (end_locale_prelude): Likewise.
42213         (write_locale_data): Update prototype.
42214         * locale/programs/3level.h (struct TABLE): Remove result field.
42215         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42216         Use new locale_file interface.
42217         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42218         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42219         * locale/programs/ld-address.c (address_output): Use new
42220         locale_file interface.
42221         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42222         NO_ADD_LOCALE.
42223         (collate_finish): Don't call collseq_table_finalize.
42224         (collate_output): Use new locale_file interface.
42225         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42226         in file.
42227         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42228         (TABLE): Move defines earlier in file.
42229         (ELEMENT): Likewise.
42230         (DEFAULT): Likewise.
42231         (wctrans_table_add): Move macro and inline function earlier in
42232         file.
42233         (struct wctype_table): Move type earlier in file.
42234         (add_locale_wctype_table): New static prototype.
42235         (struct locale_ctype_t): Use logical types instead of struct iovec
42236         pointers for members.
42237         (ctype_output): Use new locale_file interface.
42238         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42239         new locale_file interface.
42240         (allocate_arrays): Update for use of new locale_file interface.
42241         * locale/programs/ld-identification.c (identification_output): Use
42242         new locale_file interface.
42243         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42244         * locale/programs/ld-messages.c (messages_output): Likewise.
42245         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42246         * locale/programs/ld-name.c (name_output): Likewise.
42247         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42248         * locale/programs/ld-paper.c (paper_output): Likewise.
42249         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42250         * locale/programs/ld-time.c (time_output): Likewise.
42252 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42254         * benchtests/Makefile: Add memrchr benchmark.
42255         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42256         benchmark as memrchr.
42257         * benchtests/bench-memrchr-ifunc.c: New file.
42258         * benchtests/bench-memrchr.c: New file.
42260 2013-09-06   Will Newton  <will.newton@linaro.org>
42262         * benchtests/Makefile (string-bench): Add memcpy.
42264 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42265             Cong Wang  <amwang@redhat.com>
42267         [BZ #15850]
42268         * sysdeps/unix/sysv/linux/bits/in.h
42269         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42270         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42271         before __USE_KERNEL_IPV6_DEFS uses.
42272         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42273         IPPROTO_BEETPH.
42274         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42275         sockaddr_in6, or ipv6_mreq.
42277 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42279         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42280         memory access for final bytes in some large inputs.
42281         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42283 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42285         * string/test-memrchr.c: New file.
42286         * string/test-memrchr-ifunc.c: New file.
42287         * string/Makefile: Add new memrchr testcase.
42289 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42291         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42292         fanotify_init returns EPERM.
42294 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42296         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42297         errors.
42298         (top level): Treat second token from macro or constant entries for
42299         allowed headers as allowed.
42300         * include/complex.h: Condition internal declarations on
42301         [!_ISOMAC].
42302         * include/fenv.h: Condition include of <stdbool.h> and internal
42303         declarations on [!_ISOMAC].
42305 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42307         [BZ #15923]
42308         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42310 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42312         * configure.in (--enable-versioning): Remove configure option.
42313         (libc_cv_asm_symver_directive): Remove configure test.
42314         (libc_cv_ld_version_script_option): Likewise.
42315         (VERSIONING): Remove variable and AC_SUBST.
42316         (DO_VERSIONING): Remove AC_DEFINE.
42317         * configure: Regenerated.
42318         * config.h.in (DO_VERSIONING): Remove macro.
42319         * Makerules [$(versioning) = yes]: Change conditionals to
42320         [$(build-shared) = yes].
42321         * config.make.in (versioning): Remove variable.
42322         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42323         [$(build-shared) = yes].
42324         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42325         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42326         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42327         [$(build-shared) = yes].
42328         * extra-lib.mk [$(versioning) = yes]: Likewise.
42329         * hurd/Makefile [$(versioning) = yes]: Likewise.
42330         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42331         [SHARED].
42332         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42333         [SHARED].
42334         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42335         [SHARED && !NO_HIDDEN].
42336         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42337         [SHARED].
42338         [SHARED && DO_VERSIONING]: Likewise..
42339         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42340         [$(build-shared) = yes].
42341         * manual/install.texi (--disable-versioning): Remove
42342         documentation.
42343         * INSTALL: Regenerated.
42344         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42345         to [SHARED].
42346         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42347         [$(build-shared) = yes].
42348         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42349         * sysdeps/i386/i686/multiarch/strstr-c.c
42350         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42351         [SHARED && !NO_HIDDEN].
42352         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42353         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42354         * sysdeps/powerpc/powerpc32/dl-machine.c
42355         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42356         * sysdeps/powerpc/powerpc32/sysdep.h
42357         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42358         to [SHARED && PIC && !NO_HIDDEN].
42359         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42360         conditional to [SHARED].
42362 2013-09-04   Will Newton  <will.newton@linaro.org>
42364         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42365         * benchtests/bench-string.h: Include bench-timing.h instead
42366         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42367         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42368         call to HP_TIMING_DIFF_INIT.
42369         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42370         instead of hp-timing.h macros.
42371         * benchtests/bench-memchr.c: Likewise.
42372         * benchtests/bench-memcmp.c: Likewise.
42373         * benchtests/bench-memcpy.c: Likewise.
42374         * benchtests/bench-memmem.c: Likewise.
42375         * benchtests/bench-memmove.c: Likewise.
42376         * benchtests/bench-memset.c: Likewise.
42377         * benchtests/bench-rawmemchr.c: Likewise.
42378         * benchtests/bench-strcasecmp.c: Likewise.
42379         * benchtests/bench-strcasestr.c: Likewise.
42380         * benchtests/bench-strcat.c: Likewise.
42381         * benchtests/bench-strchr.c: Likewise.
42382         * benchtests/bench-strcmp.c: Likewise.
42383         * benchtests/bench-strcpy.c: Likewise.
42384         * benchtests/bench-strcpy_chk.c: Likewise.
42385         * benchtests/bench-strlen.c: Likewise.
42386         * benchtests/bench-strncasecmp.c: Likewise.
42387         * benchtests/bench-strncat.c: Likewise.
42388         * benchtests/bench-strncmp.c: Likewise.
42389         * benchtests/bench-strncpy.c: Likewise.
42390         * benchtests/bench-strnlen.c: Likewise.
42391         * benchtests/bench-strpbrk.c: Likewise.
42392         * benchtests/bench-strrchr.c: Likewise.
42393         * benchtests/bench-strspn.c: Likewise.
42394         * benchtests/bench-strstr.c: Likewise.
42396 2013-09-04  Will Newton  <will.newton@linaro.org>
42398         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42400 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42402         [BZ #15427]
42403         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42404         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42405         * math/libm-test.inc (lgamma_test_data): Add more tests.
42406         * sysdeps/i386/fpu/libm-test-ulps: Update.
42407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42409 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42411         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42413         Add ifunc.
42414         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42415         Add strcmp-sse2-unaligned
42416         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42418 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42420         * Versions.def (libc): Add GLIBC_2.19.
42422 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42424         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42425         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42427 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42429         [BZ #14155]
42430         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42431         intermediate calculations in recurrence.
42432         (__ieee754_ynf): Likewise.
42433         * math/libm-test.inc (jn_test_data): Do not allow spurious
42434         underflow exception.  Add more tests.
42435         (yn_test_data): Add more tests.
42436         * sysdeps/i386/fpu/libm-test-ulps: Update.
42437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42439 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42441         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42443 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42445         * csu/init-first.c: Fix then/than typos.
42446         * locale/programs/ld-collate.c: Likewise.
42447         * locale/programs/linereader.h: Likewise.
42448         * manual/charset.texi: Likewise.
42449         * manual/filesys.texi: Likewise.
42450         * manual/stdio.texi: Likewise.
42451         * manual/string.texi: Likewise.
42452         * stdlib/fmtmsg.c: Likewise.
42453         * sysdeps/i386/stpncpy.S: Likewise.
42454         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42455         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42457         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42459 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42461         * elf/dl-open.c: Fix typos.
42462         * iconvdata/gbbig5.c: Likewise.
42463         * iconvdata/iso-2022-jp.c: Likewise.
42464         * iconv/gconv_int.h: Likewise.
42465         * iconv/loop.c: Likewise.
42466         * nis/rpcsvc/nis.h: Likewise.
42467         * resolv/ns_name.c: Likewise.
42468         * stdio-common/vfscanf.c: Likewise.
42469         * streams/stropts.h: Likewise.
42470         * sunrpc/rpc_thread.c: Likewise.
42471         * sysdeps/i386/strpbrk.S: Likewise.
42472         * sysdeps/ieee754/k_standard.c: Likewise.
42473         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42474         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42475         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42476         * sysdeps/mach/hurd/profil.c: Likewise.
42477         * sysdeps/s390/dl-procinfo.h: Likewise.
42478         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42479         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42480         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42481         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42482         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42484 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42486         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42489 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42491         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42492         aix specific files.
42493         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42494         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42495         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42496         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42497         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42498         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42499         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42500         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42502 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42503             Roland McGrath  <roland@hack.frob.com>
42505         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42506         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42508 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42510         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42511         __executable_start symbol instead of _start.
42513 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42515         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42516         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42517         Move macros to...
42518         * sysdeps/gnu/ldsodefs.h: ... this new file.
42520         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42521         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42522         instead of ELFOSABI_LINUX.
42524         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42525         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42526         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42527         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42528         Likewise.
42529         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42530         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42531         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42532         Likewise.
42533         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42534         (ibm_extended_long_double): Add ieee_nan member.
42535         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42536         (do_test): New function.
42538         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42539         TEST_TRUNC.
42540         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42541         functions, renamed from truncdfsf_test, trunctfsf_test,
42542         trunctfdf_test.
42543         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42544         functions.
42545         (do_test): Run all these.
42547 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42549         * argp/argp-help.c: Fix typos.
42550         * argp/argp-parse.c: Likewise.
42551         * debug/backtracesyms.c: Likewise.
42552         * elf/elf.h: Likewise.
42553         * malloc/malloc.c: Likewise.
42554         * nis/nis_print.c: Likewise.
42555         * resolv/res_comp.c: Likewise.
42556         * stdlib/stdlib.h: Likewise.
42557         * sunrpc/clnt_tcp.c: Likewise.
42558         * sunrpc/clnt_udp.c: Likewise.
42559         * sunrpc/clnt_unix.c: Likewise.
42560         * sysdeps/unix/bsd/ptsname.c: Likewise.
42561         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42564         Likewise.
42565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42566         Likewise.
42567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42568         Likewise.
42569         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42571 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42573         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42576 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42578         [BZ #15897]
42579         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42580         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42581         ($(objpfx)bug-dl-leaf): New rule.
42582         ($(objpfx)bug-dl-leaf.so): Likewise.
42583         ($(objpfx)bug-dl-leaf.out): Likewise.
42584         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42585         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42586         * dlfcn/bug-dl-leaf.c: New test.
42587         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42588         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42589         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42590         (dlclose): Likewise.
42591         (dlmopen): Likewise.
42593 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42595         * include/netdb.h [!_ISOMAC]:
42596         Don't include <tls.h>.
42597         (h_errno, __libc_h_errno): Move declaration and macros out of
42598         [_LIBC_REENTRANT].
42600         * include/resolv.h [_RESOLV_H_]:
42601         Don't include <tls.h>.
42602         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42603         * resolv/res_libc.c: Don't include <tls.h>.
42604         (_res): Use __attribute__ ((nocommon)) in place of
42605         __attribute__ ((section (".bss"))).
42607         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42608         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42610         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42612         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42613         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42615         * resolv/res_mkquery.c: Include <sys/time.h>.
42617         * inet/ifreq.c: Moved to ...
42618         * sysdeps/unix/ifreq.c: ... here.
42619         * inet/ifreq.c: New file, true stub version.
42621         * socket/sa_len.c: New file.
42622         * socket/Makefile (aux): Add it.
42623         * sysdeps/unix/sysv/linux/Makefile
42624         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42625         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42626         and #include <socket/sa_len.c>.
42627         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42628         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42630         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42631         * bits/socket.h: ... here.
42633         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42634         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42635         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42637 2013-08-27  Andreas Schwab  <schwab@suse.de>
42639         [BZ #15736]
42640         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42641         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42642         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42643         * string/test-strcasecmp.c (test_main): Run tests in several
42644         locales.
42645         * string/test-strncasecmp.c (test_main): Likewise.
42647         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42648         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42649         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42651         (__strncasecmp_ssse3) [PIC]: Likewise.
42653 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42655         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42657         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42658         instead of explicitly declaring xdecrypt.
42659         * nis/nss_nis/nis-publickey.c: Likewise.
42661 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42663         [BZ #15890]
42664         * nscd/aicache.c: Include res_hconf.h.
42665         (addhstaiX): Initialize res_hconf.
42667 2013-08-26  Andreas Schwab  <schwab@suse.de>
42669         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42670         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42672 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42674         * nscd/aicache.c (addhstaiX): Fix indentation.
42676 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42678         * configure.ac: Quote $build_pt_chown test.
42679         * configure: Regenerated.
42681 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42683         [BZ #15532]
42684         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42685         * math/s_cexpf.c (__cexpf): Likewise.
42686         * math/s_cexpl.c (__cexpl): Likewise.
42687         * math/libm-test.inc (cexp_test_data): Correct expected return
42688         value for NaN + i0.  Add another test.
42690 2013-08-22  David S. Miller  <davem@davemloft.net>
42692         * po/ca.po: Update Catalan translation from translation project.
42693         * po/uk.po: Add Ukrainian translations from translation project.
42695 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42697         [BZ #15797]
42698         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42699         is infinite, not alongside NaN test.
42700         * math/s_fdimf.c (__fdimf): Likewise.
42701         * math/s_fdiml.c (__fdiml): Likewise.
42702         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42703         errno is unchanged.
42705 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42707         * argp/argp-help.c: Fix typos.
42708         * crypt/speeds.c: Likewise.
42709         * csu/check_fds.c: Likewise.
42710         * elf/dl-load.c: Likewise.
42711         * elf/dl-open.c: Likewise.
42712         * elf/reldep3.c: Likewise.
42713         * elf/reldep.c: Likewise.
42714         * elf/sprof.c: Likewise.
42715         * iconv/iconv_charmap.c: Likewise.
42716         * iconv/skeleton.c: Likewise.
42717         * iconv/strtab.c: Likewise.
42718         * io/lockf64.c: Likewise.
42719         * libio/libioP.h: Likewise.
42720         * resolv/gai_notify.c: Likewise.
42721         * resolv/ns_name.c: Likewise.
42722         * resolv/ns_samedomain.c: Likewise.
42723         * resolv/res_send.c: Likewise.
42724         * stdlib/random.c: Likewise.
42725         * sunrpc/rpc/xdr.h: Likewise.
42726         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42727         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42728         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42729         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42730         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42731         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42733         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42734         * sysdeps/mach/hurd/check_fds.c: Likewise.
42735         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42736         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42737         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42738         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42739         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42740         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42741         * sysdeps/pthread/aio_notify.c: Likewise.
42742         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42743         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42744         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42745         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42746         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42748 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42750         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42751         version if bit_Slow_SSE4_2 is set.
42752         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42753         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42755 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42757         [BZ #15867]
42758         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42759         trampoline stack frame information.
42760         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42761         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42762         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42763         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42764         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42765         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42766         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42767         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42768         sa_flags value.
42769         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42770         interrupting a syscall and set with option SA_SIGINFO.
42772 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42774         [BZ #15531]
42775         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42776         argument is infinite.
42777         * math/s_cprojf.c (__cprojf): Likewise.
42778         * math/s_cprojl.c (__cprojl): Likewise.
42779         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42780         * math/libm-test.inc (cproj_test_data): Add more tests.
42782         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42784         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42785         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42786         size.  Use __ffs to determine corresponding shift.
42788 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42789             Roland McGrath  <roland@hack.frob.com>
42791         * Makefile (INSTALL): Remove trailing blank lines from output of
42792         makeinfo.
42794 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42796         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42797         Align 32 bit compat elf_greg to 8 bytes.
42799 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42801         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42803 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42805         * string/strcoll_l.c (coll_seq): New structure.
42806         (get_next_seq_cached): New function.
42807         (get_next_seq): New function.
42808         (do_compare): New function.
42809         (STRCOLL): Use GNU style definition.  Simplify implementation
42810         by using get_next_seq, get_next_seq_cached and do_compare.
42812 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42814         [BZ #14699]
42815         CVE-2013-4237
42816         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42817         member.
42818         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42819         member.
42820         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42821         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42822         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42823         conditional.
42824         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42825         GETDENTS_64BIT_ALIGNED.
42826         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42827         * manual/filesys.texi (Reading/Closing Directory): Document
42828         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42829         strongly.
42830         * manual/conf.texi (Limits for Files): Add portability note to
42831         NAME_MAX, PATH_MAX.
42832         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42834 2013-08-13  Andreas Schwab  <schwab@suse.de>
42836         [BZ #15749]
42837         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42838         of fabs.
42839         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42840         LDBL_MAX_EXP >= 16384]: Add tests for it.
42842 2013-08-12  David S. Miller  <davem@davemloft.net>
42844         * version.h (RELEASE): Set to "development".
42845         (VERSION): Set to "2.18.90".
42846         * NEWS: Add 2.19 section.
42848 2013-08-03  David S. Miller  <davem@davemloft.net>
42850         * po/ko.po: Update Korean translation from translation project.
42852 2013-08-01  David S. Miller  <davem@davemloft.net>
42854         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42855         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42856         Bilka.
42858 2013-07-30  David S. Miller  <davem@davemloft.net>
42860         * po/fr.po: Update French translation from translation project.
42862 2013-07-28  David S. Miller  <davem@davemloft.net>
42864         * po/cs.po: Update Czech translation from translation project.
42866         * po/sv.po: Update Swedish translation from translation project.
42868 2013-07-27  David S. Miller  <davem@davemloft.net>
42870         * po/eo.po: Update Esperanto translation from translation project.
42872         * po/vi.po: Update Vietnamese translation from translation project.
42874         * po/de.po: Update German translation from translation project.
42876 2013-07-26  David S. Miller  <davem@davemloft.net>
42878         * po/bg.po: Update Bulgarian translation from translation project.
42880         * po/nl.po: Update Dutch translation from translation project.
42881         * po/pl.po: Update Polish translation from translation project.
42882         * po/ru.po: Update Russian translation from translation project.
42884 2013-07-24  David S. Miller  <davem@davemloft.net>
42886         * po/libc.pot: Update.
42888 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42890         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42891         variable page size.
42892         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42893         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42894         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42896 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42898         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42900 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42901             Andreas Schwab  <schwab@suse.de>
42902             Roland McGrath  <roland@hack.frob.com>
42903             Joseph Myers  <joseph@codesourcery.com>
42904             Carlos O'Donell  <carlos@redhat.com>
42906         [BZ #15755]
42907         * config.h.in: Define HAVE_PT_CHOWN.
42908         * config.make.in (build-pt-chown): New variable.
42909         * configure.in (--enable-pt_chown): New configure option.
42910         * configure: Regenerate.
42911         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42912         build-pt-chown is enabled.
42913         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42914         pt_chown to fix pty ownership.
42915         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42916         CLOSE_ALL_FDS.
42917         * manual/install.texi (Configuring and compiling): Mention
42918         --enable-pt_chown. Add @findex for grantpt.
42919         * INSTALL: Regenerate.
42921 2013-07-20  David S. Miller  <davem@davemloft.net>
42923         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42924         difference between 32-bit and 64-bit.
42926 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42928         [BZ #15711]
42929         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42930         Avoid system header dependency with -ffreestanding.
42931         ($(objpfx)bits/syscall%d): Likewise.
42933 2013-07-13  David S. Miller  <davem@davemloft.net>
42935         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42936         underflows from atanl/atan2l due to bug 15319.
42937         (casinh_test_data): Likewise.
42939 2013-07-07  David S. Miller  <davem@davemloft.net>
42941         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42943 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42945         * sysdeps/i386/fpu/libm-test-ulps: Update.
42946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42948 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42950         * configure.in (--enable-lock-elision): Fix message text.
42951         * INSTALL: Regenerate.
42952         * configure: Regenerate.
42954 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42958 2013-07-03  Andreas Jaeger  <aj@suse.de>
42960         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42961         define.
42962         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42963         (ptrace_peeksiginfo_args): Add.
42964         (__ptrace_peeksiginfo_flags): Add.
42965         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42966         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42967         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42969 2013-07-03  Allan McRae  <allan@archlinux.org>
42971         * sysdeps/i386/fpu/libm-test-ulps: Update.
42973 2013-07-02  David S. Miller  <davem@davemloft.net>
42975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42977 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42981 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42983         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42986 2013-07-02  Andi Kleen <ak@linux.intel.com>
42988         * config.h.in (ENABLE_LOCK_ELISION): Add.
42989         * configure.in (--enable-lock-elision): Add option.
42990         * manual/install.texi: Document --enable lock elision.
42991         * configure: Regenerate
42992         * INSTALL: Regenerate.
42994 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42996         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42997         SSE4.2 strcasecmp for libc.a.
42998         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43000 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43002         [BZ #13304]
43003         * soft-fp/op-common.h (_FP_FMA): New macro.
43004         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43005         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43006         (_FP_MUL_MEAT_1_imm): ... here.
43007         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43008         (_FP_MUL_MEAT_1_wide): ... here.
43009         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43010         (_FP_MUL_MEAT_1_hard): ... here.
43011         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43012         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43013         (_FP_MUL_MEAT_2_wide): ... here.
43014         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43015         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43016         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43017         (_FP_MUL_MEAT_2_gmp): ... here.
43018         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43019         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43020         (_FP_MUL_MEAT_4_wide): ... here.
43021         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43022         (_FP_MUL_MEAT_4_gmp): ... here.
43023         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43024         (_FP_WFRACBITS_DW_S): Likewise.
43025         (_FP_WFRACXBITS_DW_S): Likewise.
43026         (_FP_HIGHBIT_DW_S): Likewise.
43027         (FP_FMA_S): Likewise.
43028         (_FP_FRAC_HIGH_DW_S): Likewise.
43029         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43030         (_FP_WFRACBITS_DW_D): Likewise.
43031         (_FP_WFRACXBITS_DW_D): Likewise.
43032         (_FP_HIGHBIT_DW_D): Likewise.
43033         (FP_FMA_D): Likewise.
43034         (_FP_FRAC_HIGH_DW_D): Likewise.
43035         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43036         (_FP_WFRACBITS_DW_E): Likewise.
43037         (_FP_WFRACXBITS_DW_E): Likewise.
43038         (_FP_HIGHBIT_DW_E): Likewise.
43039         (FP_FMA_E): Likewise.
43040         (_FP_FRAC_HIGH_DW_E): Likewise.
43041         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43042         (_FP_WFRACBITS_DW_Q): Likewise.
43043         (_FP_WFRACXBITS_DW_Q): Likewise.
43044         (_FP_HIGHBIT_DW_Q): Likewise.
43045         (FP_FMA_Q): Likewise.
43046         (_FP_FRAC_HIGH_DW_Q): Likewise.
43047         * soft-fp/fmasf4.c: New file.
43048         * soft-fp/fmadf4.c: Likewise.
43049         * soft-fp/fmatf4.c: Likewise.
43051 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43054         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43055         Silvermont.
43056         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43057         macro.
43058         (index_Slow_SSE4_2): Likewise.
43059         (index_Prefer_PMINUB_for_stringop): Likewise.
43060         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43061         bit_Slow_SSE4_2 is set.
43062         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43063         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43065 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43067         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43068         rtld_global._dl_hwcap2.
43069         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43070         POWER8.
43071         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43072         POWER8 feature descriptions defined in _dl_hwcap2.
43073         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43074         string handling for POWER8 feature bits.
43075         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43076         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43077         _dl_powerpc_cap_flags.
43078         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43079         * sysdeps/powerpc/rtld-global-offsets.sym
43080         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43081         _dl_hwcap2 in the rtld_global_ro structure.
43083 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43085         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43086         hardware capabilities in support of AT_HWCAP2.
43087         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43088         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43089         GLRO(dl_hwcap2).
43090         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43091         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43092         explicitly the unknown a_type display mechanism is used.
43093         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43094         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43095         struct member.
43096         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43097         to macro prototype for AT_HWCAP2 support.
43098         * sysdeps/i386/dl-procinfo.h: Likewise.
43099         * sysdeps/s390/dl-procinfo.h: Likewise.
43100         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43101         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43102         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43103         return -1 for unknown a_type display fallback.
43104         * sysdeps/sparc/dl-procinfo.h: Likewise.
43105         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43106         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43108 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43110         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43111         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43113 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43115         [BZ #12492]
43116         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43117         mprotect making __stack_prot writable.
43119 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43120             Joseph Myers  <joseph@codesourcery.com>
43122         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43123         as being properly aligned.
43125 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43127         * dlfcn/modstatic5.c: New file.
43128         * dlfcn/tststatic5.c: New file.
43129         * dlfcn/Makefile (tests): Add tststatic5.
43130         (tests-static): Likewise.
43131         (modules-names): Add modstatic5.
43132         (tststatic5-ENV): New variable.
43133         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43135         [BZ #15022]
43136         * elf/dl-support.c (_dl_main_map): New variable.
43137         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43138         (_dl_nns, _dl_load_adds): Set to 1.
43139         (_dl_initial_searchlist): Refer to _dl_main_map.
43140         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43141         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43142         call to _dl_get_origin.
43143         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43144         around call_map.
43145         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43146         * dlfcn/modstatic3.c: New file.
43147         * dlfcn/tststatic3.c: New file.
43148         * dlfcn/tststatic4.c: New file.
43149         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43150         (tests-static): Likewise.
43151         (modules-names): Add modstatic3.
43152         (tststatic3-ENV, tststatic4-ENV): New variables.
43153         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43154         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43156 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43158         * configure.in (CC): Require GCC version 4.4 or later.
43159         * configure: Regenerated.
43160         * manual/install.texi (Tools for Compilation): Update GCC version
43161         requirement.
43162         * INSTALL: Regenerated.
43164 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43166         [BZ #15674]
43167         * string/test-memcmp.c (check2): New.
43168         (main): Call check2.
43170         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43172 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43174         [BZ #15022]
43175         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43176         over to...
43177         (dl_open_worker) [!SHARED]: ... here.
43179 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43181         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43183 2013-06-25  Richard Henderson  <rth@redhat.com>
43185         * locale/programs/locarchive.c: Include <libc-internal.h>
43187 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43189         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43190         trailing whitespace removed.
43192 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43194         [BZ #10283]
43195         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43196         * locale/programs/locarchive.c: Include libc-mmap.h.
43197         (prepare_address_space): Take two new outputs (the mmap base and len).
43198         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43199         values.
43200         (create_archive): Declare new mmap base and len values for
43201         prepare_address_space, and store the result in ah.
43202         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43203         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43204         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43205         Declare new mmap base and len values for
43206         prepare_address_space, and store the result in new_ah.
43207         (open_archive): Declare new mmap base and len values for
43208         prepare_address_space, and store the result in ah.
43209         (close_archive): If ah->mmap_base is not NULL, use that and
43210         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43211         * sysdeps/generic/libc-mmap.h: New file.
43213 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43215         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43216         (ALIGN_UP): Likewise.
43217         (PTR_ALIGN_DOWN): Likewise.
43218         (PTR_ALIGN_UP): Likewise.
43220 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43222         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43223         entry mapped to PPC_PLATFORM_POWER8.
43224         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43225         POWER8.
43226         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43227         (_dl_string_platform): Add case for exporting platform position for
43228         POWER8.
43229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43230         search path to sysdeps/powerpc/powerpc32/power8 directory.
43231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43232         search path to sysdeps/powerpc/powerpc64/power8 directory.
43233         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43234         power7 directories.
43235         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43236         power7 directories.
43238 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43240         * INSTALL: Regenerate.
43242         * nscd/connections.c (nscd_init): Fix comment.
43244 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43246         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43248         [BZ #15667]
43249         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43250         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43252 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43254         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43255         DL_DST_REQ_STATIC.
43256         (DL_DST_REQ_STATIC): Remove macro.
43258 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43260         [BZ #7006]
43261         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43262         with a shift of 0 bits.
43264 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43266         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43267         $(tststatic-ENV).
43269 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43271         [BZ #15655]
43272         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43274 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43276         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43277         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43278         accepts -fno-tree-loop-distribute-patterns.
43279         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43280         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43281         recursive call.
43282         * string/memset.c (memset): Likewise.
43283         * string/test-memmove.c (simple_memmove): Disable loop transformation
43284         to library calls.
43285         * string/test-memset.c (simple_memset): Likewise.
43286         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43287         * benchtests/bench-memset.c (simple_memset): Likewise.
43288         * configure: Regenerated.
43290 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43292         * math/test-misc.c (main): Ignore fesetround failure when failures
43293         of subsequent rounding tests would be ignored.
43295         [BZ #15654]
43296         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43297         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43298         * math/fegetenv.c (__fegetenv): Return 0.
43299         * math/fegetexcept.c (fegetexcept): Return 0.
43300         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43301         FE_TONEAREST.
43302         * math/feholdexcpt.c (feholdexcept): Return 0.
43303         * math/fesetenv.c (__fesetenv): Return 0.
43304         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43305         argument FE_TONEAREST.
43306         * math/feupdateenv.c (__feupdateenv): Return 0.
43307         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43309 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43311         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43312         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43313         ($(objpfx)rtld-%.os rules): Use them.
43315 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43317         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43318         fields.
43320 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43322         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43323         length of target pattern, then descending length of dependency pattern.
43324         * configure.in (AWK): Require gawk 3.1.2 or newer.
43325         * manual/install.texi (Tools for Compilation): Say that we do.
43326         * configure: Regenerated.
43328         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43329         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43330         * scripts/sysd-rules.awk: ... this new script.
43331         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43332         than a glob-style pattern.
43334 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43336         * math/test-misc.c (main): Do not treat incorrectly rounded
43337         conversions as failure unless ROUNDING_TESTS passes.
43339 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43341         [BZ #15631]
43342         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43343         restore exception state around main square root computation, then
43344         check for inexactness explicitly.
43346         * math/libm-test.inc (fma_test_data): Add another test.
43348 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43350         * manual/threads.texi (Non-POSIX Extensions): New document
43351         node.  Document pthread_getattr_default_np and
43352         pthread_setattr_default_np.
43354         * Versions.def (libpthread): Add GLIBC_2.18.
43355         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43357         Likewise.
43358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43359         Likewise.
43360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43361         Likewise.
43362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43363         Likewise.
43364         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43365         Likewise.
43366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43367         Likewise.
43368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43369         Likewise.
43370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43371         Likewise.
43372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43373         Likewise.
43375 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43378         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43380 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43381             H.J. Lu  <hjl.tools@gmail.com>
43383         [BZ #15627]
43384         * sysdeps/x86_64/rtld-memset.c: Remove file.
43385         * sysdeps/x86_64/rtld-memset.S: New file.
43387 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43389         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43390         (test_in_one_mode): Take arguments for whether the rounding mode
43391         is supported for each floating-point type.
43392         (do_test): Pass new arguments to test_in_one_mode using
43393         ROUNDING_TESTS.
43395 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43397         * posix/tst-waitid.c (do_test): Distinguish different instances of
43398         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43399         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43400         before entering the kernel for waitpid.
43402 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43404         * NEWS: Fix note on clock function precision.  Text by Roland
43405         McGrath.
43407 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43409         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43410         it into place only when and if the sanity check passes.
43412 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43414         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43415         output for whether conversion result is exact.  Take argument
43416         indicating whether type is IBM long double.
43417         (round_for_all): Change need_exact field to ibm_ld.
43418         * stdlib/tst-strtod-round.c (struct exactness): New type.
43419         (struct test): Change bool ld_ok field to struct exactness exact.
43420         (TEST): Update all definitions for change to field.
43421         (tests): Regenerate array contents.
43422         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43423         field value.  Check for IBM long double here.
43424         (do_test): Update calls to test_in_one_mode.
43426 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43428         [BZ #12515]
43429         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43430         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43432 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43434         [BZ #15605]
43435         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43436         generated by the compiler on loop optimizations.
43437         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43438         general definitions.
43440 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43442         * math/bug-nextafter.c: Include <math-tests.h>.
43443         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43444         the relevant type.
43445         * math/bug-nexttoward.c: Include <math-tests.h>.
43446         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43447         the relevant type.
43448         * math/test-misc.c: Include <math-tests.h>.
43449         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43450         the relevant type.
43452 2013-06-12  Andreas Jaeger  <aj@suse.de>
43454         * po/ia.po: Update Interlingua translation from translation
43455         project.
43457 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43459         * include/fenv.h: Include stdbool.h.
43460         (struct rm_ctx): New structure.
43461         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43462         Define macro.
43463         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43464         (SET_RESTORE_ROUNDF): Likewise.
43465         (SET_RESTORE_ROUNDL): Likewise.
43466         (SET_RESTORE_ROUND_NOEX): Likewise.
43467         (SET_RESTORE_ROUND_NOEXF): Likewise.
43468         (SET_RESTORE_ROUND_NOEXL): Likewise.
43469         (SET_RESTORE_ROUND_53BIT): Likewise.
43470         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43471         (libc_feresetround_noexf_ctx): Likewise.
43472         (libc_feresetround_noexl_ctx): Likewise.
43473         (libc_feholdsetround_53bit_ctx): Likewise.
43474         (libc_feresetround_53bit_ctx): Likewise.
43475         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43476         (libc_feholdexcept_setround_sse_ctx): New function.
43477         (libc_fesetenv_sse_ctx): Likewise.
43478         (libc_feupdateenv_sse_ctx): Likewise.
43479         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43480         (libc_feholdexcept_setround_387_ctx): Likewise.
43481         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43482         (libc_feholdsetround_387_prec_ctx): Likewise.
43483         (libc_feholdsetround_387_ctx): Likewise.
43484         (libc_feholdsetround_387_53bit_ctx): Likewise.
43485         (libc_feholdsetround_sse_ctx): Likewise.
43486         (libc_feresetround_sse_ctx): Likewise.
43487         (libc_feresetround_387_ctx): Likewise.
43488         (libc_feupdateenv_387_ctx): Likewise.
43489         (libc_feholdexcept_setroundf_ctx): Define macro.
43490         (libc_fesetenvf_ctx): Likewise.
43491         (libc_feupdateenvf_ctx): Likewise.
43492         (libc_feholdsetroundf_ctx): Likewise.
43493         (libc_feresetroundf_ctx): Likewise.
43494         (libc_feholdexcept_setround_ctx): Likewise.
43495         (libc_fesetenv_ctx): Likewise.
43496         (libc_feupdateenv_ctx): Likewise.
43497         (libc_feholdsetround_ctx): Likewise.
43498         (libc_feresetround_ctx): Likewise.
43499         (libc_feholdexcept_setroundl_ctx): Likewise.
43500         (libc_feupdateenvl_ctx): Likewise.
43501         (libc_feholdsetroundl_ctx): Likewise.
43502         (libc_feresetroundl_ctx): Likewise.
43503         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43504         (libc_feresetround_53bit_ctx): Likewise.
43506 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43508         * locale/iso-639.def: Convert to UTF-8.
43510 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43512         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43513         (EXCEPTION_TESTS_double): Likewise.
43514         (EXCEPTION_TESTS_long_double): Likewise.
43515         (EXCEPTION_TESTS): Likewise.
43516         * math/libm-test.inc (test_exceptions): Only test exceptions if
43517         EXCEPTION_TESTS (FLOAT).
43519 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43521         * benchtests/Makefile (string-bench): Add strcpy_chk and
43522         stpcpy_chk.
43523         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43524         * benchtests/bench-stpcpy_chk.c: New file.
43525         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43526         * benchtests/bench-strcpy_chk.c: New file.
43527         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43528         code.
43529         (do_test): Likewise.
43531 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43533         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43534         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43535         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43536         with tabs where appropriate.
43537         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43538         dl-procinfo.h.
43539         [PPC_PLATFORM_PPC440]: Likewise.
43540         [PPC_PLATFORM_PPC464]: Likewise.
43541         [PPC_PLATFORM_PPC476]: Likewise.
43542         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43543         ppc464, and ppc476 platform strings merging from ports/
43544         dl-procinfo.h.
43546 2013-06-11  Andreas Schwab  <schwab@suse.de>
43548         [BZ #14991]
43549         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43550         (from_ucs4_idx): Regenerate.
43551         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43552         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43553         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43554         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43555         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43556         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43557         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43558         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43559         from FROM_LOOP and TO_LOOP specific macros.
43560         (BODY): Handle combining characters.
43561         * iconvdata/BIG5HKSCS.irreversible: Update.
43562         * iconvdata/BIG5HKSCS.precomposed: New file.
43563         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43564         characters.
43565         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43567 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43569         * include/sys/time.h: Fix indentation and add copyright header.
43571         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43572         (do_test): Likewise.
43573         * string/test-memchr.c (do_one_test): Likewise.
43574         (do_test): Likewise.
43575         * string/test-memcmp.c (do_one_test): Likewise.
43576         (do_test): Likewise.
43577         * string/test-memcpy.c (do_one_test): Likewise.
43578         (do_test): Likewise.
43579         * string/test-memmem.c (do_one_test): Likewise.
43580         (do_test): Likewise.
43581         (do_random_tests): Likewise.
43582         * string/test-memmove.c (do_one_test): Likewise.
43583         (do_test): Likewise.
43584         * string/test-memset.c (do_one_test): Likewise.
43585         (do_test): Likewise.
43586         * string/test-rawmemchr.c (do_one_test): Likewise.
43587         (do_test): Likewise.
43588         * string/test-strcasecmp.c (do_one_test): Likewise.
43589         (do_test): Likewise.
43590         * string/test-strcasestr.c (do_one_test): Likewise.
43591         (do_test): Likewise.
43592         * string/test-strcat.c (do_one_test): Likewise.
43593         (do_test): Likewise.
43594         * string/test-strchr.c (do_one_test): Likewise.
43595         (do_test): Likewise.
43596         * string/test-strcmp.c (do_one_test): Likewise.
43597         (do_test): Likewise.
43598         * string/test-strcpy.c (do_one_test): Likewise.
43599         (do_test): Likewise.
43600         * string/test-string.h: Likewise.
43601         (test_init): Likewise.
43602         * string/test-strlen.c (do_one_test): Likewise.
43603         (do_test): Likewise.
43604         * string/test-strncasecmp.c (do_one_test): Likewise.
43605         (do_test): Likewise.
43606         * string/test-strncat.c (do_one_test): Likewise.
43607         (do_test): Likewise.
43608         * string/test-strncmp.c (do_one_test): Likewise.
43609         (do_test_limit): Likewise.
43610         (do_test): Likewise.
43611         * string/test-strncpy.c (do_one_test): Likewise.
43612         (do_test): Likewise.
43613         * string/test-strnlen.c (do_one_test): Likewise.
43614         (do_test): Likewise.
43615         * string/test-strpbrk.c (do_one_test): Likewise.
43616         (do_test): Likewise.
43617         * string/test-strrchr.c (do_one_test): Likewise.
43618         (do_test): Likewise.
43619         * string/test-strspn.c (do_one_test): Likewise.
43620         (do_test): Likewise.
43621         * string/test-strstr.c (do_one_test): Likewise.
43622         (do_test): Likewise.
43624         * benchtests/Makefile (string-bench): Add string benchmarks.
43625         * benchtests/bench-bcopy-ifunc.c: New file.
43626         * benchtests/bench-bcopy.c: New file.
43627         * benchtests/bench-bzero-ifunc.c: New file.
43628         * benchtests/bench-bzero.c: New file.
43629         * benchtests/bench-memccpy-ifunc.c: New file.
43630         * benchtests/bench-memccpy.c: New file.
43631         * benchtests/bench-memchr-ifunc.c: New file.
43632         * benchtests/bench-memchr.c: New file.
43633         * benchtests/bench-memcmp-ifunc.c: New file.
43634         * benchtests/bench-memcmp.c: New file.
43635         * benchtests/bench-memmem-ifunc.c: New file.
43636         * benchtests/bench-memmem.c: New file.
43637         * benchtests/bench-memmove-ifunc.c: New file.
43638         * benchtests/bench-memmove.c: New file.
43639         * benchtests/bench-mempcpy-ifunc.c: New file.
43640         * benchtests/bench-mempcpy.c: New file.
43641         * benchtests/bench-memset-ifunc.c: New file.
43642         * benchtests/bench-memset.c: New file.
43643         * benchtests/bench-rawmemchr-ifunc.c: New file.
43644         * benchtests/bench-rawmemchr.c: New file.
43645         * benchtests/bench-stpcpy-ifunc.c: New file.
43646         * benchtests/bench-stpcpy.c: New file.
43647         * benchtests/bench-stpncpy-ifunc.c: New file.
43648         * benchtests/bench-stpncpy.c: New file.
43649         * benchtests/bench-strcasecmp-ifunc.c: New file.
43650         * benchtests/bench-strcasecmp.c: New file.
43651         * benchtests/bench-strcasestr-ifunc.c: New file.
43652         * benchtests/bench-strcasestr.c: New file.
43653         * benchtests/bench-strcat-ifunc.c: New file.
43654         * benchtests/bench-strcat.c: New file.
43655         * benchtests/bench-strchr-ifunc.c: New file.
43656         * benchtests/bench-strchr.c: New file.
43657         * benchtests/bench-strchrnul-ifunc.c: New file.
43658         * benchtests/bench-strchrnul.c: New file.
43659         * benchtests/bench-strcmp-ifunc.c: New file.
43660         * benchtests/bench-strcmp.c: New file.
43661         * benchtests/bench-strcpy-ifunc.c: New file.
43662         * benchtests/bench-strcpy.c: New file.
43663         * benchtests/bench-strcspn-ifunc.c: New file.
43664         * benchtests/bench-strcspn.c: New file.
43665         * benchtests/bench-strlen-ifunc.c: New file.
43666         * benchtests/bench-strlen.c: New file.
43667         * benchtests/bench-strncasecmp-ifunc.c: New file.
43668         * benchtests/bench-strncasecmp.c: New file.
43669         * benchtests/bench-strncat-ifunc.c: New file.
43670         * benchtests/bench-strncat.c: New file.
43671         * benchtests/bench-strncmp-ifunc.c: New file.
43672         * benchtests/bench-strncmp.c: New file.
43673         * benchtests/bench-strncpy-ifunc.c: New file.
43674         * benchtests/bench-strncpy.c: New file.
43675         * benchtests/bench-strnlen-ifunc.c: New file.
43676         * benchtests/bench-strnlen.c: New file.
43677         * benchtests/bench-strpbrk-ifunc.c: New file.
43678         * benchtests/bench-strpbrk.c: New file.
43679         * benchtests/bench-strrchr-ifunc.c: New file.
43680         * benchtests/bench-strrchr.c: New file.
43681         * benchtests/bench-strspn-ifunc.c: New file.
43682         * benchtests/bench-strspn.c: New file.
43683         * benchtests/bench-strstr-ifunc.c: New file.
43684         * benchtests/bench-strstr.c: New file.
43686         * benchtests/Makefile: Disable parallel execution of targets.
43687         (string-bench): Add memcpy.
43688         (benchset): New variable to store a list of benchmark sets.
43689         (bench-func): Renamed from bench.
43690         (bench-set): New target.
43691         (bench): Depend on bench-func and bench-set.
43692         * benchtests/README: Add section on benchmark sets.
43693         * benchtests/bench-memcpy-ifunc.c: New file.
43694         * benchtests/bench-memcpy.c: New file.
43695         * benchtests/bench-string.h: New file.
43697 2013-06-11  Andreas Schwab  <schwab@suse.de>
43699         [BZ #15577]
43700         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43701         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43702         values in the triple.
43703         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43704         terminator in the group key.
43706 2013-06-11  Andreas Jaeger  <aj@suse.de>
43708         * po/zh_TW.po: Update Chinese (traditional) translation from
43709         translation project.
43711 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43713         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43714         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43715         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43716         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43717         (clock_getcpuclockid): Likewise.
43718         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43719         Add weak_alias and libc_hidden_def.
43720         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43721         * rt/clock_gettime.c (clock_gettime): Rename to
43722         __clock_gettime.  Add weak_alias and libc_hidden_def.
43723         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43724         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43725         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43726         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43727         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43728         Likewise.
43729         * rt/clock_settime.c (clock_settime): Rename to
43730         __clock_settime.  Add weak_alias and libc_hidden_def.
43731         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43733 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43735         * mach/err_boot.sub: Remove trailing whitespace.
43736         * mach/err_ipc.sub: Likewise.
43737         * mach/err_mach.sub: Likewise.
43739         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43740         (ROUNDING_TESTS_double): Likewise.
43741         (ROUNDING_TESTS_long_double): Likewise.
43742         (ROUNDING_TESTS): Likewise.
43743         * math/libm-test.inc: Include <math-tests.h>.
43744         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43745         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43746         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43747         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43749 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43751         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43752         of assigning.
43754 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43756         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43757         otherwise empty TRANS lines.
43758         * sysdeps/gnu/errlist.c: Regenerated.
43760         * catgets/gencat.c (error_print): Use (void) in function
43761         definition.
43762         * crypt/crypt_util.c (__init_des): Likewise.
43763         * crypt/speeds.c (Stop): Likewise.
43764         (main): Likewise.
43765         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43766         * inet/ruserpass.c (token): Likewise.
43767         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43768         * intl/localealias.c (extend_alias_table): Likewise.
43769         * intl/plural-exp.c (init_germanic_plural): Likewise.
43770         * libio/fcloseall.c (__fcloseall): Likewise.
43771         * libio/genops.c (_IO_flush_all): Likewise.
43772         (_IO_flush_all_linebuffered): Likewise.
43773         (_IO_cleanup): Likewise.
43774         (_IO_iter_begin): Likewise.
43775         (_IO_iter_end): Likewise.
43776         (_IO_list_lock): Likewise.
43777         (_IO_list_unlock): Likewise.
43778         (_IO_list_resetlock): Likewise.
43779         * libio/getchar.c (getchar): Likewise.
43780         * libio/getchar_u.c (getchar_unlocked): Likewise.
43781         * libio/getwchar.c (getwchar): Likewise.
43782         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43783         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43784         * login/getpt.c (__getpt): Likewise.
43785         * login/tst-utmp.c (main): Likewise.
43786         * malloc/hooks.c (__malloc_check_init): Likewise.
43787         * malloc/malloc.c (__malloc_stats): Likewise.
43788         * malloc/mtrace.c (tr_break): Likewise.
43789         (mtrace): Likewise.
43790         (muntrace): Likewise.
43791         * misc/fstab.c (endfsent): Likewise.
43792         * misc/getclktck.c (__getclktck): Likewise.
43793         * misc/getdtsz.c (__getdtablesize): Likewise.
43794         * misc/gethostid.c (gethostid): Likewise.
43795         * misc/getpagesize.c (__getpagesize): Likewise.
43796         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43797         (__get_nprocs): Likewise.
43798         (__get_phys_pages): Likewise.
43799         (__get_avphys_pages): Likewise.
43800         * misc/getttyent.c (getttyent): Likewise.
43801         (setttyent): Likewise.
43802         (endttyent): Likewise.
43803         * misc/getusershell.c (getusershell): Likewise.
43804         (endusershell): Likewise.
43805         (setusershell): Likewise.
43806         (initshells): Likewise.
43807         * misc/hsearch.c (__hdestroy): Likewise.
43808         * misc/sync.c (sync): Likewise.
43809         * misc/syslog.c (closelog_internal): Likewise.
43810         (closelog): Likewise.
43811         * misc/ttyslot.c (ttyslot): Likewise.
43812         * misc/vhangup.c (vhangup): Likewise.
43813         * posix/fork.c (__fork): Likewise.
43814         * posix/getegid.c (__getegid): Likewise.
43815         * posix/geteuid.c (__geteuid): Likewise.
43816         * posix/getgid.c (__getgid): Likewise.
43817         * posix/getpid.c (__getpid): Likewise.
43818         * posix/getppid.c (__getppid): Likewise.
43819         * posix/getuid.c (__getuid): Likewise.
43820         * posix/pause.c (pause): Likewise.
43821         * posix/setpgrp.c (setpgrp): Likewise.
43822         * posix/setsid.c (__setsid): Likewise.
43823         * posix/test-vfork.c (noop): Likewise.
43824         * resolv/gethnamaddr.c (_endhtent): Likewise.
43825         (_gethtent): Likewise.
43826         (ht_endhostent): Likewise.
43827         (gethostent): Likewise.
43828         (dns_service): Likewise.
43829         * stdlib/drand48.c (drand48): Likewise.
43830         * stdlib/lrand48.c (lrand48): Likewise.
43831         * stdlib/mrand48.c (mrand48): Likewise.
43832         * stdlib/rand.c (rand): Likewise.
43833         * stdlib/random.c (__random): Likewise.
43834         * stdlib/setenv.c (clearenv): Likewise.
43835         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43836         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43837         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43838         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43839         (__get_nprocs): Likewise.
43840         (__get_phys_pages): Likewise.
43841         (__get_avphys_pages): Likewise.
43842         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43843         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43844         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43845         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43846         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43847         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43848         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43849         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43850         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43851         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43852         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43853         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43854         * sysdeps/posix/clock.c (clock): Likewise.
43855         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43856         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43857         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43858         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43859         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43860         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43861         (__get_nprocs_conf): Likewise.
43862         (__get_phys_pages): Likewise.
43863         (__get_avphys_pages): Likewise.
43864         * time/clock.c (clock): Likewise.
43865         * time/tzset.c (__tzname_max): Likewise.
43867 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43869         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43870         (__bswap_32): Do not use "register".
43871         * crypt/crypt.c (_ufc_doit_r): Likewise.
43872         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43873         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43874         * gmon/gmon.c (__monstartup): Likewise.
43875         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43876         * hurd/hurdmalloc.c (more_memory): Likewise.
43877         (malloc): Likewise.
43878         (free): Likewise.
43879         (realloc): Likewise.
43880         (malloc_fork_prepare): Likewise.
43881         (malloc_fork_parent): Likewise.
43882         (malloc_fork_child): Likewise.
43883         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43884         (_svcauth_des): Likewise.
43885         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43886         * inet/inet_net.c (inet_network): Likewise.
43887         * inet/inet_netof.c (inet_netof): Likewise.
43888         * inet/rcmd.c (__validuser2_sa): Likewise.
43889         * io/fts.c (fts_open): Likewise.
43890         (fts_load): Likewise.
43891         (fts_close): Likewise.
43892         (fts_read): Likewise.
43893         (fts_children): Likewise.
43894         (fts_build): Likewise.
43895         (fts_stat): Likewise.
43896         (fts_sort): Likewise.
43897         (fts_alloc): Likewise.
43898         (fts_lfree): Likewise.
43899         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43900         (_IO_file_xsgetn): Likewise.
43901         (_IO_file_xsgetn_mmap): Likewise.
43902         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43903         (_IO_cookie_write): Likewise.
43904         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43905         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43906         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43907         * malloc/obstack.c (_obstack_begin): Likewise.
43908         (_obstack_begin_1): Likewise.
43909         (_obstack_newchunk): Likewise.
43910         (_obstack_allocated_p): Likewise.
43911         (obstack_free): Likewise.
43912         (_obstack_memory_used): Likewise.
43913         * misc/getttyent.c (getttynam): Likewise.
43914         (getttyent): Likewise.
43915         (skip): Likewise.
43916         (value): Likewise.
43917         * misc/getusershell.c (initshells): Likewise.
43918         * misc/syslog.c (__vsyslog_chk): Likewise.
43919         * misc/ttyslot.c (ttyslot): Likewise.
43920         * nis/nis_hash.c (__nis_hash): Likewise.
43921         * posix/fnmatch_loop.c (FCT): Likewise.
43922         * posix/getconf.c (print_all): Likewise.
43923         (main): Likewise.
43924         * posix/getopt.c (exchange): Likewise.
43925         * posix/glob.c (globfree): Likewise.
43926         (prefix_array): Likewise.
43927         (__glob_pattern_type): Likewise.
43928         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43929         (NS_GET32): Likewise.
43930         (NS_PUT16): Likewise.
43931         (NS_PUT32): Likewise.
43932         * resolv/gethnamaddr.c (getanswer): Likewise.
43933         (gethostbyname2): Likewise.
43934         (gethostbyaddr): Likewise.
43935         (_gethtent): Likewise.
43936         (_gethtbyname2): Likewise.
43937         (_gethtbyaddr): Likewise.
43938         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43939         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43940         * resolv/res_init.c (__res_vinit): Likewise.
43941         (net_mask): Likewise.
43942         * resolv/res_mkquery.c (outchar): Likewise.
43943         (PRINT): Likewise.
43944         * stdio-common/printf_fp.c (outchar): Likewise.
43945         (PRINT): Likewise.
43946         * stdio-common/printf_fphex.c (outchar): Likewise.
43947         (PRINT): Likewise.
43948         * stdio-common/printf_size.c (outchar): Likewise.
43949         (PRINT): Likewise.
43950         * stdio-common/test_rdwr.c (main): Likewise.
43951         * stdio-common/tfformat.c (matches): Likewise.
43952         * stdio-common/vfprintf.c (outchar): Likewise.
43953         (printf_unknown): Likewise.
43954         (buffered_vfprintf): Likewise.
43955         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43956         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43957         (ReadFile): Likewise.
43958         * stdlib/qsort.c (SWAP): Likewise.
43959         (_quicksort): Likewise.
43960         * stdlib/setenv.c (__add_to_environ): Likewise.
43961         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43962         * stdlib/strtol_l.c (__strtol_l): Likewise.
43963         * stdlib/tst-strtod.c (main): Likewise.
43964         * stdlib/tst-strtol.c (main): Likewise.
43965         * stdlib/tst-strtoll.c (main): Likewise.
43966         * string/bits/string2.h (__strcmp_cc): Likewise.
43967         (__strcmp_cg): Likewise.
43968         (__strcspn_c1): Likewise.
43969         (__strcspn_c2): Likewise.
43970         (__strcspn_c3): Likewise.
43971         (__strspn_c1): Likewise.
43972         (__strspn_c2): Likewise.
43973         (__strspn_c3): Likewise.
43974         (__strsep_1c): Likewise.
43975         (__strsep_2c): Likewise.
43976         (__strsep_3c): Likewise.
43977         * string/memccpy.c (__memccpy): Likewise.
43978         * string/stpcpy.c (__stpcpy): Likewise.
43979         * string/strcmp.c (strcmp): Likewise.
43980         * string/strrchr.c (strrchr): Likewise.
43981         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43982         Likewise.
43983         * sysdeps/mach/hurd/getcwd.c
43984         (_hurd_canonicalize_directory_name_internal): Likewise.
43985         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43986         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43987         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43988         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43989         Likewise, in both definitions.
43990         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43991         definitions.
43992         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43993         64] (__bswap_64): Likewise.
43994         * time/test_time.c (main): Likewise.
43995         * time/tzfile.c (__tzfile_read): Likewise.
43996         (__tzfile_compute): Likewise.
43997         * time/tzset.c (__tzset_parse_tz): Likewise.
43998         (tzset_internal): Likewise.
43999         (compute_change): Likewise.
44000         * wcsmbs/wcscat.c (__wcscat): Likewise.
44001         * wcsmbs/wcschr.c (wcschr): Likewise.
44002         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44003         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44004         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44005         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44006         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44007         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44008         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44009         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44010         * wcsmbs/wmemset.c (wmemset): Likewise.
44012 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44014         * scripts/config.guess: Update to version 2013-05-16.
44015         * scripts/config.sub: Update to version 2013-04-24.
44016         * scripts/install-sh: Update to version 2011-11-20.07.
44017         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44018         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44020 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44022         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44023         * elf/sln.c: Likewise.
44024         * hurd/hurd/ioctl.h: Likewise.
44025         * hurd/hurdmalloc.c: Likewise.
44026         * hurd/xattr.c: Likewise.
44027         * include/shlib-compat.h: Likewise.
44028         * inet/ruserpass.c: Likewise.
44029         * libio/iofgets_u.c: Likewise.
44030         * libio/iofgetws_u.c: Likewise.
44031         * locale/programs/ld-identification.c: Likewise.
44032         * locale/programs/ld-time.c: Likewise.
44033         * mach/msg-destroy.c: Likewise.
44034         * nss/nss_files/files-netgrp.c: Likewise.
44035         * resolv/res_data.c: Likewise.
44036         * soft-fp/op-1.h: Likewise.
44037         * soft-fp/op-2.h: Likewise.
44038         * soft-fp/op-4.h: Likewise.
44039         * soft-fp/op-common.h: Likewise.
44040         * stdio-common/printf_fphex.c: Likewise.
44041         * stdlib/strtod_l.c: Likewise.
44042         * sunrpc/rpc/clnt.h: Likewise.
44043         * sysdeps/generic/framestate.c: Likewise.
44044         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44045         * sysdeps/i386/bsd-setjmp.S: Likewise.
44046         * sysdeps/i386/__longjmp.S: Likewise.
44047         * sysdeps/i386/setjmp.S: Likewise.
44048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44049         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44050         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44051         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44052         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44053         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44054         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44055         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44056         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44057         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44058         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44059         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44060         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44061         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44062         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44063         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44064         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44065         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44066         * sysdeps/ieee754/support.c: Likewise.
44067         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44068         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44069         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44070         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44071         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44072         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44073         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44074         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44075         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44076         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44077         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44078         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44079         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44080         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44081         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44082         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44083         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44086 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44088         * posix/transbug.c: Remove executable mode.
44090 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44092         * crypt/speeds.c: Remove trailing whitespace.
44093         * dlfcn/default.c: Likewise.
44094         * elf/ifuncdep2.c: Likewise.
44095         * elf/ifuncmain1.c: Likewise.
44096         * elf/ifuncmain1vis.c: Likewise.
44097         * elf/testobj.h: Likewise.
44098         * elf/tst-stackguard1.c: Likewise.
44099         * gmon/sys/gmon.h: Likewise.
44100         * hurd/hurdmsg.c: Likewise.
44101         * hurd/new-fd.c: Likewise.
44102         * hurd/ports-get.c: Likewise.
44103         * iconvdata/ibm1008_420.c: Likewise.
44104         * inet/tst-getni1.c: Likewise.
44105         * inet/tst-getni2.c: Likewise.
44106         * libio/ioungetc.c: Likewise.
44107         * libio/wfiledoalloc.c: Likewise.
44108         * manual/libm-err-tab.pl: Likewise.
44109         * math/w_dremf.c: Likewise.
44110         * misc/ftruncate.c: Likewise.
44111         * posix/bug-glob2.c: Likewise.
44112         * posix/tst-pcre.c: Likewise.
44113         * posix/wait4.c: Likewise.
44114         * resolv/README: Likewise.
44115         * resolv/res_debug.h: Likewise.
44116         * resolv/tst-inet_ntop.c: Likewise.
44117         * setjmp/bug269-setjmp.c: Likewise.
44118         * soft-fp/extended.h: Likewise.
44119         * soft-fp/op-1.h: Likewise.
44120         * soft-fp/op-2.h: Likewise.
44121         * soft-fp/op-4.h: Likewise.
44122         * soft-fp/op-8.h: Likewise.
44123         * soft-fp/testit.c: Likewise.
44124         * stdio-common/bug16.c: Likewise.
44125         * stdlib/random.c: Likewise.
44126         * sunrpc/rpcsvc/rquota.x: Likewise.
44127         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44128         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44129         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44130         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44131         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44132         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44133         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44134         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44135         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44136         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44137         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44138         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44139         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44140         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44141         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44142         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44143         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44144         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44145         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44146         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44147         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44148         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44149         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44150         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44151         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44152         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44153         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44154         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44155         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44156         * sysdeps/ieee754/s_lib_version.c: Likewise.
44157         * sysdeps/mach/hurd/check_fds.c: Likewise.
44158         * sysdeps/mach/hurd/getsockname.c: Likewise.
44159         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44160         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44161         * sysdeps/powerpc/bits/link.h: Likewise.
44162         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44163         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44164         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44165         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44166         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44167         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44168         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44169         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44170         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44171         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44172         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44173         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44174         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44175         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44176         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44177         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44178         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44179         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44180         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44181         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44182         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44183         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44184         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44185         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44186         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44187         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44188         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44189         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44190         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44191         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44192         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44193         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44194         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44195         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44196         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44197         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44198         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44199         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44200         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44201         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44202         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44203         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44204         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44205         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44206         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44207         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44208         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44209         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44210         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44211         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44212         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44214         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44215         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44216         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44217         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44218         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44219         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44220         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44221         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44222         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44223         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44224         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44225         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44226         * sysdeps/powerpc/sysdep.h: Likewise.
44227         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44228         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44229         * sysdeps/sh/dl-trampoline.S: Likewise.
44230         * sysdeps/sh/memset.S: Likewise.
44231         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44232         * sysdeps/sh/strlen.S: Likewise.
44233         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44234         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44235         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44236         * sysdeps/sparc/sparc32/rem.S: Likewise.
44237         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44238         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44239         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44240         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44241         * sysdeps/sparc/sparc32/urem.S: Likewise.
44242         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44243         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44244         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44245         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44246         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44247         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44248         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44249         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44250         * sysdeps/unix/bsd/times.c: Likewise.
44251         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44252         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44256         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44257         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44258         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44259         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44260         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44261         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44262         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44263         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44264         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44265         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44266         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44267         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44268         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44269         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44270         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44271         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44272         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44273         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44274         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44275         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44276         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44277         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44278         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44279         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44280         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44281         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44282         * sysdeps/x86_64/strcspn.S: Likewise.
44284 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44286         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44287         generated file.  Regenerate properly from gen-translit.pl.
44288         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44289         locale/C-translit.h.
44291 2013-06-05  Andreas Schwab  <schwab@suse.de>
44293         [BZ #15100]
44294         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44295         week as 6 instead of -1.
44296         * time/tst-strptime.c (day_tests): Add test case.
44298 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44300         * sysdeps/generic/math_private.h
44301         (libc_feholdexcept_setround_53bit): Replace with
44302         libc_feholdsetround_53bit.
44303         (libc_feupdateenv_53bit): Replace with
44304         libc_feresetround_53bit.
44305         (SET_RESTORE_ROUND_53BIT): Adjust.
44307 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44309         * string/test-strchrnul.c: Add copyright header.
44311         * posix/tst-getaddrinfo4.c: Increase test timeout.
44313 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44315         [BZ #15536]
44316         * math/libm-test.inc (MAX_EXP): Remove
44317         (MIN_EXP): Define.
44318         (ulp): Use MIN_EXP - MANT_DIG.
44319         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44321 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44323         * po/be.po: Revert last change.
44324         * po/zh_CN.po: Likewise.
44325         * po/header.pot: Likewise.
44327 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44329         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44330         link-libc-deps to empty as target-specific variable.
44331         * Makerules (link-libc-args): New variable.
44332         (libc-for-link): Likewise.
44333         (link-libc-deps): Likewise.
44334         (lib%.so): Depend on $(link-libc-deps).  Link with
44335         $(link-libc-args).
44336         (build-module): Link with $(link-libc-args).
44337         (build-module-asneeded): Likewise.
44338         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44339         list of objects.
44340         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44341         target-specific variable.
44342         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44343         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44344         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44345         libc.
44346         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44347         libc and ld.so.
44348         ($(objpfx)libpcprofile.so): Likewise.
44349         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44350         libc_nonshared.a.
44351         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44352         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44353         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44354         $(link-libc-deps).
44355         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44356         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44357         * login/Makefile ($(objpfx)libutil.so): Likewise.
44358         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44359         * math/Makefile ($(objpfx)libm.so): Likewise.
44360         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44361         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44362         variable instead of depending directly on libc.
44363         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44364         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44365         $(link-libc-deps).
44366         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44367         libc.
44368         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44369         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44370         ($(objpfx)libanl.so): Likewise.
44371         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44372         ld.so.
44373         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44374         $(link-libc-deps).
44375         * sysdeps/i386/fpu/Makefile: Remove file.
44376         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44377         ($(objpfx)libm.so): Remove dependency on ld.so.
44379 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44381         [BZ # 15553]
44382         * nis/yp_xdr.c (XDRMAXNAME): Define.
44383         (XDRMAXRECORD): Define.
44384         (xdr_domainname): Use XDRMAXNAME.
44385         (xdr_mapname): Likewise.
44386         (xdr_peername): Likewise.
44387         (xdr_keydat): Use XDRMAXRECORD.
44388         (xdr_valdat): Likewise.
44390 2013-05-30  Jeff Law  <law@redhat.com>
44392         [BZ #14256]
44393         * manual/errno.texi (ESTALE): Update to account for more than
44394         just NFS file systems.
44395         * sysdeps/gnu/errlist.c: Regenerated.
44397 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44399         [BZ #15465]
44400         * elf/Makefile (tests): Add tst-null-argv.
44401         (modules-names):  Add tst-null-argv-lib.
44402         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44403         (tst-null-argv-ENV): Set environment for tst-null-argv.
44404         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44405         (RTLD_PROGNAME): New macro.
44406         * elf/tst-null-argv.c: New test case.
44407         * elf/tst-null-argv-lib.c: Library for test case.
44408         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44409         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44410         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44411         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44412         * elf/dl-init.c (call_init): Likewise.
44413         (_dl_init): Likewise.
44414         * elf/dl-load.c (print_search_path): Likewise.
44415         (_dl_map_object): Likewise.
44416         * elf/dl-lookup.c (do_lookup_x): Likewise.
44417         (add_dependency): Likewise.
44418         (_dl_lookup_symbol_x): Likewise.
44419         (_dl_debug_bindings): Likewise.
44420         * elf/dl-open.c (_dl_show_scope): Likewise.
44421         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44422         * elf/dl-version.c (match_symbol): Likewise.
44423         (_dl_check_map_versions): Likewise.
44424         * elf/rtld.c (dl_main): Likewise.
44425         (print_unresolved): Use RTLD_PROGNAME.
44426         (print_missing_version): Likewise.
44427         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44428         (elf_machine_rela): Likewise.
44429         * sysdeps/powerpc/powerpc32/dl-machine.c
44430         (__process_machine_rela): Likewise.
44431         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44432         Likewise.
44433         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44434         Likewise.
44435         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44436         Likewise.
44437         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44438         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44439         Likewise.
44440         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44441         Likewise.
44442         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44444 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44446         * po/be.po: Add descriptive title.
44447         * po/zh_CN.po: Likewise.
44448         * po/header.pot: Likewise.
44450 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44452         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44453         error message.
44454         (enlarge_archive): Likewise.
44456 2013-05-28  Ben North  <ben@redfrontdoor.org>
44458         * manual/arith.texi (frexp): It is the magnitude of the return
44459         value which lies in [0.5, 1), not the return value itself.
44461 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44465 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44467         * stdio-common/bug26.c (main): Correct fscanf template.
44469         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44470         declare _dl_skip_args.
44472         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44473         Don't declare.
44475         * manual/platform.texi: Add missing @end deftypefun.
44477 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44479         [BZ #15529]
44480         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44481         bit of mantissa of 2^16382.
44482         * math/libm-test.inc (hypot_test_data): Add more tests.
44484         * math/libm-test.inc: Add drem and pow10 to list of tested
44485         functions.
44486         (pow10_test): New function.
44487         (drem_test): Likewise.
44488         (drem_test_tonearest): Likewise.
44489         (drem_test_towardzero): Likewise.
44490         (drem_test_downward): Likewise.
44491         (drem_test_upward): Likewise.
44492         (main): Call the new functions.
44494         * math/libm-test.inc (finite_test_data): Remove.
44495         (finite_test): Run tests from isfinite_test_data.
44496         (gamma_test_data): Remove.
44497         (gamma_test): Run tests from lgamma_test_data.
44498         * sysdeps/i386/fpu/libm-test-ulps: Update.
44499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44501 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44503         * manual/platform.texi: Add PowerPC PPR function set documentation.
44504         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44505         implementation.
44507 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44509         * math/libm-test.inc (MAX_EXP): Define.
44510         (ULPDIFF): Define.
44511         (ulp): New function.
44512         (check_float_internal): Use ULPDIFF.
44513         (cpow_test): Disable failing test.
44514         (check_ulp): Test ulp() implemetnation.
44515         (main): Call check_ulp before starting tests.
44517 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44519         * math/gen-libm-test.pl (generate_testfile): Do not handle
44520         START_DATA and END_DATA.
44521         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44522         END_DATA.
44523         (acos_tonearest_test_data): Likewise.
44524         (acos_towardzero_test_data): Likewise.
44525         (acos_downward_test_data): Likewise.
44526         (acos_upward_test_data): Likewise.
44527         (acosh_test_data): Likewise.
44528         (asin_test_data): Likewise.
44529         (asin_tonearest_test_data): Likewise.
44530         (asin_towardzero_test_data): Likewise.
44531         (asin_downward_test_data): Likewise.
44532         (asin_upward_test_data): Likewise.
44533         (asinh_test_data): Likewise.
44534         (atan_test_data): Likewise.
44535         (atanh_test_data): Likewise.
44536         (atan2_test_data): Likewise.
44537         (cabs_test_data): Likewise.
44538         (cacos_test_data): Likewise.
44539         (cacosh_test_data): Likewise.
44540         (carg_test_data): Likewise.
44541         (casin_test_data): Likewise.
44542         (casinh_test_data): Likewise.
44543         (catan_test_data): Likewise.
44544         (catanh_test_data): Likewise.
44545         (cbrt_test_data): Likewise.
44546         (ccos_test_data): Likewise.
44547         (ccosh_test_data): Likewise.
44548         (ceil_test_data): Likewise.
44549         (cexp_test_data): Likewise.
44550         (cimag_test_data): Likewise.
44551         (clog_test_data): Likewise.
44552         (clog10_test_data): Likewise.
44553         (conj_test_data): Likewise.
44554         (copysign_test_data): Likewise.
44555         (cos_test_data): Likewise.
44556         (cos_tonearest_test_data): Likewise.
44557         (cos_towardzero_test_data): Likewise.
44558         (cos_downward_test_data): Likewise.
44559         (cos_upward_test_data): Likewise.
44560         (cosh_test_data): Likewise.
44561         (cosh_tonearest_test_data): Likewise.
44562         (cosh_towardzero_test_data): Likewise.
44563         (cosh_downward_test_data): Likewise.
44564         (cosh_upward_test_data): Likewise.
44565         (cpow_test_data): Likewise.
44566         (cproj_test_data): Likewise.
44567         (creal_test_data): Likewise.
44568         (csin_test_data): Likewise.
44569         (csinh_test_data): Likewise.
44570         (csqrt_test_data): Likewise.
44571         (ctan_test_data): Likewise.
44572         (ctan_tonearest_test_data): Likewise.
44573         (ctan_towardzero_test_data): Likewise.
44574         (ctan_downward_test_data): Likewise.
44575         (ctan_upward_test_data): Likewise.
44576         (ctanh_test_data): Likewise.
44577         (ctanh_tonearest_test_data): Likewise.
44578         (ctanh_towardzero_test_data): Likewise.
44579         (ctanh_downward_test_data): Likewise.
44580         (ctanh_upward_test_data): Likewise.
44581         (erf_test_data): Likewise.
44582         (erfc_test_data): Likewise.
44583         (exp_test_data): Likewise.
44584         (exp_tonearest_test_data): Likewise.
44585         (exp_towardzero_test_data): Likewise.
44586         (exp_downward_test_data): Likewise.
44587         (exp_upward_test_data): Likewise.
44588         (exp10_test_data): Likewise.
44589         (exp2_test_data): Likewise.
44590         (expm1_test_data): Likewise.
44591         (fabs_test_data): Likewise.
44592         (fdim_test_data): Likewise.
44593         (finite_test_data): Likewise.
44594         (floor_test_data): Likewise.
44595         (fma_test_data): Likewise.
44596         (fma_towardzero_test_data): Likewise.
44597         (fma_downward_test_data): Likewise.
44598         (fma_upward_test_data): Likewise.
44599         (fmax_test_data): Likewise.
44600         (fmin_test_data): Likewise.
44601         (fmod_test_data): Likewise.
44602         (fpclassify_test_data): Likewise.
44603         (frexp_test_data): Likewise.
44604         (gamma_test_data): Likewise.
44605         (hypot_test_data): Likewise.
44606         (ilogb_test_data): Likewise.
44607         (isfinite_test_data): Likewise.
44608         (isgreater_test_data): Likewise.
44609         (isgreaterequal_test_data): Likewise.
44610         (isinf_test_data): Likewise.
44611         (isless_test_data): Likewise.
44612         (islessequal_test_data): Likewise.
44613         (islessgreater_test_data): Likewise.
44614         (isnan_test_data): Likewise.
44615         (isnormal_test_data): Likewise.
44616         (issignaling_test_data): Likewise.
44617         (isunordered_test_data): Likewise.
44618         (j0_test_data): Likewise.
44619         (j1_test_data): Likewise.
44620         (jn_test_data): Likewise.
44621         (ldexp_test_data): Likewise.
44622         (lgamma_test_data): Likewise.
44623         (lrint_test_data): Likewise.
44624         (lrint_tonearest_test_data): Likewise.
44625         (lrint_towardzero_test_data): Likewise.
44626         (lrint_downward_test_data): Likewise.
44627         (lrint_upward_test_data): Likewise.
44628         (llrint_test_data): Likewise.
44629         (llrint_tonearest_test_data): Likewise.
44630         (llrint_towardzero_test_data): Likewise.
44631         (llrint_downward_test_data): Likewise.
44632         (llrint_upward_test_data): Likewise.
44633         (log_test_data): Likewise.
44634         (log10_test_data): Likewise.
44635         (log1p_test_data): Likewise.
44636         (log2_test_data): Likewise.
44637         (logb_test_data): Likewise.
44638         (logb_downward_test_data): Likewise.
44639         (lround_test_data): Likewise.
44640         (llround_test_data): Likewise.
44641         (modf_test_data): Likewise.
44642         (nearbyint_test_data): Likewise.
44643         (nextafter_test_data): Likewise.
44644         (nexttoward_test_data): Likewise.
44645         (pow_test_data): Likewise.
44646         (pow_tonearest_test_data): Likewise.
44647         (pow_towardzero_test_data): Likewise.
44648         (pow_downward_test_data): Likewise.
44649         (pow_upward_test_data): Likewise.
44650         (remainder_test_data): Likewise.
44651         (remainder_tonearest_test_data): Likewise.
44652         (remainder_towardzero_test_data): Likewise.
44653         (remainder_downward_test_data): Likewise.
44654         (remainder_upward_test_data): Likewise.
44655         (remquo_test_data): Likewise.
44656         (rint_test_data): Likewise.
44657         (rint_tonearest_test_data): Likewise.
44658         (rint_towardzero_test_data): Likewise.
44659         (rint_downward_test_data): Likewise.
44660         (rint_upward_test_data): Likewise.
44661         (round_test_data): Likewise.
44662         (scalb_test_data): Likewise.
44663         (scalbn_test_data): Likewise.
44664         (scalbln_test_data): Likewise.
44665         (signbit_test_data): Likewise.
44666         (sin_test_data): Likewise.
44667         (sin_tonearest_test_data): Likewise.
44668         (sin_towardzero_test_data): Likewise.
44669         (sin_downward_test_data): Likewise.
44670         (sin_upward_test_data): Likewise.
44671         (sincos_test_data): Likewise.
44672         (sinh_test_data): Likewise.
44673         (sinh_tonearest_test_data): Likewise.
44674         (sinh_towardzero_test_data): Likewise.
44675         (sinh_downward_test_data): Likewise.
44676         (sinh_upward_test_data): Likewise.
44677         (sqrt_test_data): Likewise.
44678         (tan_test_data): Likewise.
44679         (tan_tonearest_test_data): Likewise.
44680         (tan_towardzero_test_data): Likewise.
44681         (tan_downward_test_data): Likewise.
44682         (tan_upward_test_data): Likewise.
44683         (tanh_test_data): Likewise.
44684         (tgamma_test_data): Likewise.
44685         (trunc_test_data): Likewise.
44686         (y0_test_data): Likewise.
44687         (y1_test_data): Likewise.
44688         (yn_test_data): Likewise.
44689         (significand_test_data): Likewise.
44691         * math/gen-libm-test.pl (@functions): Remove variable.
44692         (generate_testfile): Don't handle START and END lines.
44693         * math/libm-test.inc (START): New macro.
44694         (END): Likewise.
44695         (END_COMPLEX): Likewise.
44696         (acos_test): Use END macro without arguments.
44697         (acos_test_tonearest): Likewise.
44698         (acos_test_towardzero): Likewise.
44699         (acos_test_downward): Likewise.
44700         (acos_test_upward): Likewise.
44701         (acosh_test): Likewise.
44702         (asin_test): Likewise.
44703         (asin_test_tonearest): Likewise.
44704         (asin_test_towardzero): Likewise.
44705         (asin_test_downward): Likewise.
44706         (asin_test_upward): Likewise.
44707         (asinh_test): Likewise.
44708         (atan_test): Likewise.
44709         (atanh_test): Likewise.
44710         (atan2_test): Likewise.
44711         (cabs_test): Likewise.
44712         (cacos_test): Use END_COMPLEX macro without arguments.
44713         (cacosh_test): Likewise.
44714         (carg_test): Use END macro without arguments.
44715         (casin_test): Use END_COMPLEX macro without arguments.
44716         (casinh_test): Likewise.
44717         (catan_test): Likewise.
44718         (catanh_test): Likewise.
44719         (cbrt_test): Use END macro without arguments.
44720         (ccos_test): Use END_COMPLEX macro without arguments.
44721         (ccosh_test): Likewise.
44722         (ceil_test): Use END macro without arguments.
44723         (cexp_test): Use END_COMPLEX macro without arguments.
44724         (cimag_test): Use END macro without arguments.
44725         (clog_test): Use END_COMPLEX macro without arguments.
44726         (clog10_test): Likewise.
44727         (conj_test): Likewise.
44728         (copysign_test): Use END macro without arguments.
44729         (cos_test): Likewise.
44730         (cos_test_tonearest): Likewise.
44731         (cos_test_towardzero): Likewise.
44732         (cos_test_downward): Likewise.
44733         (cos_test_upward): Likewise.
44734         (cosh_test): Likewise.
44735         (cosh_test_tonearest): Likewise.
44736         (cosh_test_towardzero): Likewise.
44737         (cosh_test_downward): Likewise.
44738         (cosh_test_upward): Likewise.
44739         (cpow_test): Use END_COMPLEX macro without arguments.
44740         (cproj_test): Likewise.
44741         (creal_test): Use END macro without arguments.
44742         (csin_test): Use END_COMPLEX macro without arguments.
44743         (csinh_test): Likewise.
44744         (csqrt_test): Likewise.
44745         (ctan_test): Likewise.
44746         (ctan_test_tonearest): Likewise.
44747         (ctan_test_towardzero): Likewise.
44748         (ctan_test_downward): Likewise.
44749         (ctan_test_upward): Likewise.
44750         (ctanh_test): Likewise.
44751         (ctanh_test_tonearest): Likewise.
44752         (ctanh_test_towardzero): Likewise.
44753         (ctanh_test_downward): Likewise.
44754         (ctanh_test_upward): Likewise.
44755         (erf_test): Use END macro without arguments.
44756         (erfc_test): Likewise.
44757         (exp_test): Likewise.
44758         (exp_test_tonearest): Likewise.
44759         (exp_test_towardzero): Likewise.
44760         (exp_test_downward): Likewise.
44761         (exp_test_upward): Likewise.
44762         (exp10_test): Likewise.
44763         (exp2_test): Likewise.
44764         (expm1_test): Likewise.
44765         (fabs_test): Likewise.
44766         (fdim_test): Likewise.
44767         (finite_test): Likewise.
44768         (floor_test): Likewise.
44769         (fma_test): Likewise.
44770         (fma_test_towardzero): Likewise.
44771         (fma_test_downward): Likewise.
44772         (fma_test_upward): Likewise.
44773         (fmax_test): Likewise.
44774         (fmin_test): Likewise.
44775         (fmod_test): Likewise.
44776         (fpclassify_test): Likewise.
44777         (frexp_test): Likewise.
44778         (gamma_test): Likewise.
44779         (hypot_test): Likewise.
44780         (ilogb_test): Likewise.
44781         (isfinite_test): Likewise.
44782         (isgreater_test): Likewise.
44783         (isgreaterequal_test): Likewise.
44784         (isinf_test): Likewise.
44785         (isless_test): Likewise.
44786         (islessequal_test): Likewise.
44787         (islessgreater_test): Likewise.
44788         (isnan_test): Likewise.
44789         (isnormal_test): Likewise.
44790         (issignaling_test): Likewise.
44791         (isunordered_test): Likewise.
44792         (j0_test): Likewise.
44793         (j1_test): Likewise.
44794         (jn_test): Likewise.
44795         (ldexp_test): Likewise.
44796         (lgamma_test): Likewise.
44797         (lrint_test): Likewise.
44798         (lrint_test_tonearest): Likewise.
44799         (lrint_test_towardzero): Likewise.
44800         (lrint_test_downward): Likewise.
44801         (lrint_test_upward): Likewise.
44802         (llrint_test): Likewise.
44803         (llrint_test_tonearest): Likewise.
44804         (llrint_test_towardzero): Likewise.
44805         (llrint_test_downward): Likewise.
44806         (llrint_test_upward): Likewise.
44807         (log_test): Likewise.
44808         (log10_test): Likewise.
44809         (log1p_test): Likewise.
44810         (log2_test): Likewise.
44811         (logb_test): Likewise.
44812         (logb_test_downward): Likewise.
44813         (lround_test): Likewise.
44814         (llround_test): Likewise.
44815         (modf_test): Likewise.
44816         (nearbyint_test): Likewise.
44817         (nextafter_test): Likewise.
44818         (nexttoward_test): Likewise.
44819         (pow_test): Likewise.
44820         (pow_test_tonearest): Likewise.
44821         (pow_test_towardzero): Likewise.
44822         (pow_test_downward): Likewise.
44823         (pow_test_upward): Likewise.
44824         (remainder_test): Likewise.
44825         (remainder_test_tonearest): Likewise.
44826         (remainder_test_towardzero): Likewise.
44827         (remainder_test_downward): Likewise.
44828         (remainder_test_upward): Likewise.
44829         (remquo_test): Likewise.
44830         (rint_test): Likewise.
44831         (rint_test_tonearest): Likewise.
44832         (rint_test_towardzero): Likewise.
44833         (rint_test_downward): Likewise.
44834         (rint_test_upward): Likewise.
44835         (round_test): Likewise.
44836         (scalb_test): Likewise.
44837         (scalbn_test): Likewise.
44838         (scalbln_test): Likewise.
44839         (signbit_test): Likewise.
44840         (sin_test): Likewise.
44841         (sin_test_tonearest): Likewise.
44842         (sin_test_towardzero): Likewise.
44843         (sin_test_downward): Likewise.
44844         (sin_test_upward): Likewise.
44845         (sincos_test): Likewise.
44846         (sinh_test): Likewise.
44847         (sinh_test_tonearest): Likewise.
44848         (sinh_test_towardzero): Likewise.
44849         (sinh_test_downward): Likewise.
44850         (sinh_test_upward): Likewise.
44851         (sqrt_test): Likewise.
44852         (tan_test): Likewise.
44853         (tan_test_tonearest): Likewise.
44854         (tan_test_towardzero): Likewise.
44855         (tan_test_downward): Likewise.
44856         (tan_test_upward): Likewise.
44857         (tanh_test): Likewise.
44858         (tgamma_test): Likewise.
44859         (trunc_test): Likewise.
44860         (y0_test): Likewise.
44861         (y1_test): Likewise.
44862         (yn_test): Likewise.
44863         (significand_test): Likewise.
44865 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44867         [BZ #15381]
44868         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44870 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44872         [BZ #14894]
44873         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44874         __ppc_mdoio and __ppc_mdoom.
44875         * manual/platform.texi: Document new functions __ppc_yield,
44876         __ppc_mdoio and __ppc_mdoom.
44878 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44880         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44881         (main): Mention "tls" pseudo-hwcap is legacy.
44882         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44884 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44886         * math/gen-libm-test.pl (parse_args): Output only string of
44887         arguments as text for test name, not full call or descriptions of
44888         tests for extra outputs.
44889         (generate_testfile): Do not pass function name to parse_args.
44890         Generate this_func variable from START.
44891         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44892         field to arg_str.
44893         (struct test_ff_f_data): Likewise.
44894         (test_ff_f_data_nexttoward): Likewise.
44895         (struct test_fi_f_data): Likewise.
44896         (struct test_fl_f_data): Likewise.
44897         (struct test_if_f_data): Likewise.
44898         (struct test_fff_f_data): Likewise.
44899         (struct test_c_f_data): Likewise.
44900         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44901         (struct test_fF_f1_data): Likewise.
44902         (struct test_ffI_f1_data): Likewise.
44903         (struct test_c_c_data): Rename test_name field to arg_str.
44904         (struct test_cc_c_data): Likewise.
44905         (struct test_f_i_data): Likewise.
44906         (struct test_ff_i_data): Likewise.
44907         (struct test_f_l_data): Likewise.
44908         (struct test_f_L_data): Likewise.
44909         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44910         and extra2_name.
44911         (COMMON_TEST_SETUP): New macro.
44912         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44913         (COMMON_TEST_CLEANUP): Likewise.
44914         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44915         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44916         macros.
44917         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44918         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44919         macros.
44920         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44921         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44922         cleanup macros.
44923         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44924         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44925         macros.
44926         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44927         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44928         macros.
44929         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44930         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44931         cleanup macros.
44932         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44933         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44934         cleanup macros.
44935         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44936         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44937         cleanup macros.
44938         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44939         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44940         macros.
44941         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44942         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44943         macros.
44944         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44945         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44946         macros.
44947         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44948         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44949         cleanup macros.
44950         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44951         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44952         cleanup macros.
44953         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44954         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44955         macros.
44956         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44957         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44958         cleanup macros.
44959         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44960         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44961         macros.
44962         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44963         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44964         macros.
44965         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44966         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44967         cleanup macros.
44968         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44970 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44972         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44973         to _sifields.sigfault.
44974         (si_addr_lsb): Define new macro.
44975         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44976         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44977         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44979 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44981         [BZ #15441]
44982         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44983         returns -1.
44984         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44985         null return -1.
44986         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44987         loading the domain.
44989 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44991         * math/gen-libm-test.pl (parse_args): Do not include expected
44992         result in test name.
44993         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44994         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44995         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44996         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44997         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45000 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45002         * benchtests/Makefile: Sort function entries.
45004         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45005         tanh, asinh, acosh, atanh.
45006         * benchtests/acos-inputs: New file.
45007         * benchtests/acosh-inputs: New file.
45008         * benchtests/asin-inputs: New file.
45009         * benchtests/asinh-inputs: New file.
45010         * benchtests/atanh-inputs: New file.
45011         * benchtests/cosh-inputs: New file.
45012         * benchtests/log-inputs: New file.
45013         * benchtests/sinh-inputs: New file.
45014         * benchtests/tanh-inputs: New file.
45016 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45018         [BZ #15339]
45019         * posix/tst-getaddrinfo4.c: New test.
45020         * posix/Makefile (tests): Add it.
45022 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45024         [BZ #15339]
45025         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45026         when no services were used.
45027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45028         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45030 2013-05-21  Andreas Schwab  <schwab@suse.de>
45032         [BZ #15014]
45033         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45034         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45035         successful.
45036         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45037         redundant variable declarations and reallocation of buffer when
45038         parsing as IPv6 address.  Always set NSS status when called from
45039         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45040         buffer too small.  Correct computation of needed size.
45041         * nss/Makefile (tests): Add test-digits-dots.
45042         * nss/test-digits-dots.c: New test.
45044 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45046         * benchtests/Makefile: Remove instructions for adding
45047         benchmark tests.
45048         * benchtests/README: New file to explain how to execute and
45049         enhance the benchmark tests.
45051 2013-05-21  Andreas Schwab  <schwab@suse.de>
45053         [BZ #15493]
45054         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45055         * setjmp/tst-sigsetjmp.c: New test.
45057 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45059         * sysdeps/x86_64/memset.S (memset): New implementation.
45060         (__bzero): Likewise.
45061         (__memset_tail): New function.
45063 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45065         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45066         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45067         __memcpy_sse2_unaligned ifunc selection.
45068         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45069         Add memcpy-sse2-unaligned.S.
45070         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45071         Add: __memcpy_sse2_unaligned.
45073 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45075         [BZ #15490]
45076         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45077         math_force_eval before restoring floating-point envrionment.
45078         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45079         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45080         Likewise.
45081         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45082         <math_private.h>.
45083         (__nearbyintl): Use math_force_eval before restoring
45084         floating-point environment.
45085         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45087         * math/gen-libm-test.pl (special_functions): Remove.
45088         (parse_args): Don't handle TEST_extra.  Handle functions with no
45089         return value.
45090         * math/libm-test.inc (struct test_sincos_data): Replace with
45091         struct test_fFF_11_data.
45092         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45093         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45094         (sincos_test_data): Change element type to struct
45095         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45096         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45097         RUN_TEST_LOOP_sincos.
45098         * math/README.libm-test: Don't mention special handling of
45099         individual functions.
45100         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45102         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45103         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45107         * math/gen-libm-test.pl (get_variable): Remove function.
45108         (parse_args): Don't show pointer parameters to call in test
45109         names.  Use "extra output N" in test names for extra outputs
45110         rather than naming variables.
45112 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45114         [BZ #15488]
45115         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45116         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45117         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45118         double tests.
45119         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45120         disable.
45121         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45122         check_long_double.
45124         * math/gen-libm-test.pl (@tests): Remove variable.
45125         ($count): Likewise.
45126         (new_test): Remove function.
45127         (show_exceptions): New function.
45128         (special_functions): Use show_exceptions instead of new_test.
45129         (parse_args): Likewise.
45130         (generate_testfile): Pass only function name in generated call to
45131         print_max_error or print_complex_max_error.
45132         (get_ulps): Do not handle complex tests specially.
45133         (output_test): Rename to ...
45134         (get_all_ulps_for_test): ... this.  Return a string rather than
45135         printing to a file.  Require ulps to be present.
45136         (output_ulps): Generate arrays rather than #defines.
45137         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45138         (struct ulp_data): New type.
45139         (BUILD_COMPLEX_ULP): Remove macro.
45140         (compare_ulp_data): New function.
45141         (find_ulps): Likewise.
45142         (find_test_ulps): Likewise.
45143         (find_function_ulps): Likewise.
45144         (find_complex_function_ulps): Likewise.
45145         (print_max_error): Determine allowed ulps using
45146         find_function_ulps.
45147         (print_complex_max_error): Determine allowed ulps using
45148         find_complex_function_ulps.
45149         (check_float_internal): Determine max ulps using find_test_ulps.
45150         (check_float): Do not take max_ulp parameter.  Update call to
45151         check_float_internal.
45152         (check_complex): Likewise.
45153         (check_int): Do not take max_ulp parameter.
45154         (check_long): Likewise.
45155         (check_bool): Likewise.
45156         (check_longlong): Likewise.
45157         (struct test_f_f_data): Remove max_ulp field.
45158         (struct test_ff_f_data): Likewise.
45159         (struct test_ff_f_data_nexttoward): Likewise.
45160         (struct test_fi_f_data): Likewise.
45161         (struct test_fl_f_data): Likewise.
45162         (struct test_if_f_data): Likewise.
45163         (struct test_fff_f_data): Likewise.
45164         (struct test_c_f_data): Likewise.
45165         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45166         (struct test_fF_f1_data): Likewise.
45167         (struct test_ffI_f1_data): Likewise.
45168         (struct test_c_c_data): Remove max_ulp field.
45169         (struct test_cc_c_data): Likewise.
45170         (struct test_f_i_data): Likewise.
45171         (struct test_ff_i_data): Likewise.
45172         (struct test_f_l_data): Likewise.
45173         (struct test_f_L_data): Likewise.
45174         (struct test_sincos_data): Likewise.
45175         (RUN_TEST_f_f): Do not handle ulps.
45176         (RUN_TEST_LOOP_f_f): Likewise.
45177         (RUN_TEST_2_f): Likewise.
45178         (RUN_TEST_LOOP_2_f): Likewise.
45179         (RUN_TEST_fff_f): Likewise.
45180         (RUN_TEST_LOOP_fff_f): Likewise.
45181         (RUN_TEST_c_f): Likewise.
45182         (RUN_TEST_LOOP_c_f): Likewise.
45183         (RUN_TEST_f_f1): Likewise.
45184         (RUN_TEST_LOOP_f_f1): Likewise.
45185         (RUN_TEST_fF_f1): Likewise.
45186         (RUN_TEST_LOOP_fF_f1): Likewise.
45187         (RUN_TEST_fI_f1): Likewise.
45188         (RUN_TEST_LOOP_fI_f1): Likewise.
45189         (RUN_TEST_ffI_f1): Likewise.
45190         (RUN_TEST_LOOP_ffI_f1): Likewise.
45191         (RUN_TEST_c_c): Likewise.
45192         (RUN_TEST_LOOP_c_c): Likewise.
45193         (RUN_TEST_cc_c): Likewise.
45194         (RUN_TEST_LOOP_cc_c): Likewise.
45195         (RUN_TEST_f_i): Likewise.
45196         (RUN_TEST_LOOP_f_i): Likewise.
45197         (RUN_TEST_f_i_tg): Likewise.
45198         (RUN_TEST_LOOP_f_i_tg): Likewise.
45199         (RUN_TEST_ff_i_tg): Likewise.
45200         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45201         (RUN_TEST_f_b): Likewise.
45202         (RUN_TEST_LOOP_f_b): Likewise.
45203         (RUN_TEST_f_b_tg): Likewise.
45204         (RUN_TEST_LOOP_f_b_tg): Likewise.
45205         (RUN_TEST_f_l): Likewise.
45206         (RUN_TEST_LOOP_f_l): Likewise.
45207         (RUN_TEST_f_L): Likewise.
45208         (RUN_TEST_LOOP_f_L): Likewise.
45209         (RUN_TEST_sincos): Likewise.
45210         (RUN_TEST_LOOP_sincos): Likewise.
45212 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45214         [BZ #15480]
45215         [BZ #15485]
45216         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45217         main case of finite arguments, set rounding mode to FE_TONEAREST
45218         and discard exceptions.
45219         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45220         exceptions.
45221         (remainder_tonearest_test_data): New variable.
45222         (remainder_test_tonearest): New function.
45223         (remainder_towardzero_test_data): New variable.
45224         (remainder_test_towardzero): New function.
45225         (remainder_downward_test_data): New variable.
45226         (remainder_test_downward): New function.
45227         (remainder_upward_test_data): New variable.
45228         (remainder_test_upward): New function.
45229         (main): Call the new test functions.
45231         * math/libm-test.inc (struct test_f_f1_data): Remove field
45232         extra_init.
45233         (struct test_fF_f1_data): Likewise.
45234         (struct test_ffI_f1_data): Likewise.
45235         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45236         based on value of EXTRA_EXPECTED.
45237         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45238         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45239         EXTRA_VAR based on value of EXTRA_EXPECTED.
45240         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45241         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45242         EXTRA_VAR based on value of EXTRA_EXPECTED.
45243         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45244         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45245         EXTRA_VAR based on value of EXTRA_EXPECTED.
45246         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45247         * math/gen-libm-test.pl (parse_args): Don't output initializers
45248         for extra output values.
45250         * math/libm-test.inc (check_int): Expect result to be exactly
45251         equal to expected value and do not handle ulps.
45252         (check_long): Likewise.
45253         (check_longlong): Likewise.
45255         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45256         exceptions.
45257         (cimag_test_data): Likewise.
45258         (conj_test_data): Likewise.
45259         (copysign_test_data): Likewise.
45260         (cproj_test_data): Likewise.
45261         (creal_test_data): Likewise.
45262         (fabs_test_data): Likewise.
45263         (fdim_test_data): Likewise.
45264         (finite_test_data): Likewise.
45265         (floor_test_data): Likewise.
45266         (fmax_test_data): Likewise.
45267         (fmin_test_data): Likewise.
45268         (fmod_test_data): Likewise.
45269         (fpclassify_test_data): Likewise.
45270         (frexp_test_data): Likewise.
45271         (ilogb_test_data): Likewise.
45272         (isfinite_test_data): Likewise.
45273         (isgreater_test_data): Likewise.
45274         (isgreaterequal_test_data): Likewise.
45275         (isinf_test_data): Likewise.
45276         (isless_test_data): Likewise.
45277         (islessequal_test_data): Likewise.
45278         (islessgreater_test_data): Likewise.
45279         (isnan_test_data): Likewise.
45280         (isnormal_test_data): Likewise.
45281         (issignaling_test_data): Likewise.
45282         (isunordered_test_data): Likewise.
45283         (ldexp_test_data): Likewise.
45284         (lrint_test_data): Likewise.
45285         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45286         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45287         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45288         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45289         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45290         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45291         test input.
45292         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45293         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45294         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45295         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45296         that test input.
45297         (lrint_downward_test_data): Test for "inexact" exceptions.
45298         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45299         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45300         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45301         test input.
45302         (lrint_upward_test_data): Test for "inexact" exceptions.
45303         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45304         test input.
45305         (llrint_test_data): Test for "inexact" exceptions.
45306         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45307         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45308         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45309         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45310         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45311         (llrint_downward_test_data): Test for "inexact" exceptions.
45312         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45313         (llrint_upward_test_data): Test for "inexact" exceptions.
45314         (logb_test_data): Likewise.
45315         (logb_downward_test_data): Likewise.
45316         (nextafter_test_data): Likewise.
45317         (nexttoward_test_data): Likewise.
45318         (remainder_test_data): Likewise.
45319         (remquo_test_data): Likewise.
45320         (scalbn_test_data): Likewise.
45321         (scalbln_test_data): Likewise.
45322         (signbit_test_data): Likewise.
45323         (sqrt_test_data): Likewise.
45324         (significand_test_data): Likewise.
45326 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45328         [BZ #15424]
45329         * benchtests/bench-modf.c (struct args): Mark arg0 as
45330         volatile.
45331         * scripts/bench.pl: Mark members of struct args as volatile.
45333 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45335         [BZ # 15497]
45336         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45337         negative infinity on POWER6 or lower.
45338         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45340 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45342         [BZ #15442]
45343         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45344         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45345         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45346         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45347         (_FP_SETQNAN): New macro.
45348         (_FP_SETQNAN_SEMIRAW): Likewise.
45349         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45350         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45351         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45352         (FP_EXTEND): Use _FP_FRAC_SNANP.
45353         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45354         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45355         into account.
45356         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45357         New macro.
45358         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45359         Likewise.
45361 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45363         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45364         with DIVIDE_BY_ZERO_EXCEPTION.
45365         (gamma_test_data): Likewise.
45366         (lgamma_test_data): Likewise.
45367         (log_test_data): Likewise.
45368         (log10_test_data): Likewise.
45369         (log2_test_data): Likewise.
45370         (tgamma_test_data): Likewise.
45372         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45373         (acos_test_tonearest): Likewise.
45374         (acos_test_towardzero): Likewise.
45375         (acos_test_downward): Likewise.
45376         (acos_test_upward): Likewise.
45377         (acosh_test): Likewise.
45378         (asin_test): Likewise.
45379         (asin_test_tonearest): Likewise.
45380         (asin_test_towardzero): Likewise.
45381         (asin_test_downward): Likewise.
45382         (asin_test_upward): Likewise.
45383         (asinh_test): Likewise.
45384         (atan_test): Likewise.
45385         (atanh_test): Likewise.
45386         (atan2_test): Likewise.
45387         (cabs_test): Likewise.
45388         (cacos_test): Likewise.
45389         (cacosh_test): Likewise.
45390         (casin_test): Likewise.
45391         (casinh_test): Likewise.
45392         (catan_test): Likewise.
45393         (catanh_test): Likewise.
45394         (cbrt_test): Likewise.
45395         (ccos_test): Likewise.
45396         (ccosh_test): Likewise.
45397         (cexp_test): Likewise.
45398         (clog_test): Likewise.
45399         (clog10_test): Likewise.
45400         (cos_test): Likewise.
45401         (cos_test_tonearest): Likewise.
45402         (cos_test_towardzero): Likewise.
45403         (cos_test_downward): Likewise.
45404         (cos_test_upward): Likewise.
45405         (cosh_test): Likewise.
45406         (cosh_test_tonearest): Likewise.
45407         (cosh_test_towardzero): Likewise.
45408         (cosh_test_downward): Likewise.
45409         (cosh_test_upward): Likewise.
45410         (cpow_test): Likewise.
45411         (csin_test): Likewise.
45412         (csinh_test): Likewise.
45413         (csqrt_test): Likewise.
45414         (ctan_test): Likewise.
45415         (ctan_test_tonearest): Likewise.
45416         (ctan_test_towardzero): Likewise.
45417         (ctan_test_downward): Likewise.
45418         (ctan_test_upward): Likewise.
45419         (ctanh_test): Likewise.
45420         (ctanh_test_tonearest): Likewise.
45421         (ctanh_test_towardzero): Likewise.
45422         (ctanh_test_downward): Likewise.
45423         (ctanh_test_upward): Likewise.
45424         (erf_test): Likewise.
45425         (erfc_test): Likewise.
45426         (exp_test): Likewise.
45427         (exp_test_tonearest): Likewise.
45428         (exp_test_towardzero): Likewise.
45429         (exp_test_downward): Likewise.
45430         (exp_test_upward): Likewise.
45431         (exp10_test): Likewise.
45432         (exp2_test): Likewise.
45433         (expm1_test): Likewise.
45434         (fmod_test): Likewise.
45435         (gamma_test): Likewise.
45436         (hypot_test): Likewise.
45437         (j0_test): Likewise.
45438         (j1_test): Likewise.
45439         (jn_test): Likewise.
45440         (lgamma_test): Likewise.
45441         (log_test): Likewise.
45442         (log10_test): Likewise.
45443         (log1p_test): Likewise.
45444         (log2_test): Likewise.
45445         (logb_test_downward): Likewise.
45446         (pow_test): Likewise.
45447         (pow_test_tonearest): Likewise.
45448         (pow_test_towardzero): Likewise.
45449         (pow_test_downward): Likewise.
45450         (pow_test_upward): Likewise.
45451         (remainder_test): Likewise.
45452         (remquo_test): Likewise.
45453         (sin_test): Likewise.
45454         (sin_test_tonearest): Likewise.
45455         (sin_test_towardzero): Likewise.
45456         (sin_test_downward): Likewise.
45457         (sin_test_upward): Likewise.
45458         (sincos_test): Likewise.
45459         (sinh_test): Likewise.
45460         (sinh_test_tonearest): Likewise.
45461         (sinh_test_towardzero): Likewise.
45462         (sinh_test_downward): Likewise.
45463         (sinh_test_upward): Likewise.
45464         (sqrt_test): Likewise.
45465         (tan_test): Likewise.
45466         (tan_test_tonearest): Likewise.
45467         (tan_test_towardzero): Likewise.
45468         (tan_test_downward): Likewise.
45469         (tan_test_upward): Likewise.
45470         (tanh_test): Likewise.
45471         (tgamma_test): Likewise.
45472         (y0_test): Likewise.
45473         (y1_test): Likewise.
45474         (yn_test): Likewise.
45476         * math/gen-libm-test.pl (adjust_arg): Remove function.
45477         (special_function): Remove argument $in_func.  Only handle
45478         generating output for tables of tests, not inside functions.
45479         (parse_args): Likewise.
45480         (generate_testfile): Remove variable $in_func.  Update call to
45481         parse_args.
45482         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45483         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45484         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45485         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45486         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45487         (MAX_VALUE_INIT): Rename macro to max_value.
45488         (MIN_VALUE_INIT): Rename macro to min_value.
45489         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45490         (plus_zero): Remove variable.
45491         (minus_zero): Likewise.
45492         (plus_infty): Likewise.
45493         (minus_infty): Likewise.
45494         (qnan_value): Likewise.
45495         (max_value): Likewise.
45496         (min_value): Likewise.
45497         (min_subnorm_value): Likewise.
45499 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45501         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45502         uint64_t or uint32_t usage.
45503         * crypt/sha256-block.c: Likewise.
45504         * crypt/sha256-crypt.c: Likewise.
45505         * crypt/sha256.c: Likewise.
45506         * crypt/sha512-block.c: Likewise.
45507         * crypt/sha512-crypt.c: Likewise.
45508         * crypt/sha512.c: Likewise.
45509         * debug/backtrace-tst.c: Likewise.
45510         * debug/pcprofiledump.c: Likewise.
45511         * elf/cache.c: Likewise.
45512         * elf/dl-cache.c: Likewise.
45513         * elf/dl-misc.c: Likewise.
45514         * elf/dl-profile.c: Likewise.
45515         * elf/dl-support.c: Likewise.
45516         * elf/ldconfig.c: Likewise.
45517         * elf/sprof.c: Likewise.
45518         * iconv/dummy-repertoire.c: Likewise.
45519         * iconv/iconv_charmap.c: Likewise.
45520         * iconv/skeleton.c: Likewise.
45521         * iconvdata/8bit-generic.c: Likewise.
45522         * iconvdata/cp737.h: Likewise.
45523         * iconvdata/cp775.h: Likewise.
45524         * iconvdata/ibm1008.h: Likewise.
45525         * iconvdata/ibm1025.h: Likewise.
45526         * iconvdata/ibm1046.h: Likewise.
45527         * iconvdata/ibm1097.h: Likewise.
45528         * iconvdata/ibm1112.h: Likewise.
45529         * iconvdata/ibm1122.h: Likewise.
45530         * iconvdata/ibm1123.h: Likewise.
45531         * iconvdata/ibm1124.h: Likewise.
45532         * iconvdata/ibm1129.h: Likewise.
45533         * iconvdata/ibm1130.h: Likewise.
45534         * iconvdata/ibm1132.h: Likewise.
45535         * iconvdata/ibm1133.h: Likewise.
45536         * iconvdata/ibm1137.h: Likewise.
45537         * iconvdata/ibm1140.h: Likewise.
45538         * iconvdata/ibm1141.h: Likewise.
45539         * iconvdata/ibm1142.h: Likewise.
45540         * iconvdata/ibm1143.h: Likewise.
45541         * iconvdata/ibm1144.h: Likewise.
45542         * iconvdata/ibm1145.h: Likewise.
45543         * iconvdata/ibm1146.h: Likewise.
45544         * iconvdata/ibm1147.h: Likewise.
45545         * iconvdata/ibm1148.h: Likewise.
45546         * iconvdata/ibm1149.h: Likewise.
45547         * iconvdata/ibm1153.h: Likewise.
45548         * iconvdata/ibm1154.h: Likewise.
45549         * iconvdata/ibm1155.h: Likewise.
45550         * iconvdata/ibm1156.h: Likewise.
45551         * iconvdata/ibm1157.h: Likewise.
45552         * iconvdata/ibm1158.h: Likewise.
45553         * iconvdata/ibm1160.h: Likewise.
45554         * iconvdata/ibm1161.h: Likewise.
45555         * iconvdata/ibm1162.h: Likewise.
45556         * iconvdata/ibm1163.h: Likewise.
45557         * iconvdata/ibm1164.h: Likewise.
45558         * iconvdata/ibm1166.h: Likewise.
45559         * iconvdata/ibm1167.h: Likewise.
45560         * iconvdata/ibm12712.h: Likewise.
45561         * iconvdata/ibm1390.h: Likewise.
45562         * iconvdata/ibm1399.h: Likewise.
45563         * iconvdata/ibm16804.h: Likewise.
45564         * iconvdata/ibm4517.h: Likewise.
45565         * iconvdata/ibm4899.h: Likewise.
45566         * iconvdata/ibm4909.h: Likewise.
45567         * iconvdata/ibm4971.h: Likewise.
45568         * iconvdata/ibm5347.h: Likewise.
45569         * iconvdata/ibm803.h: Likewise.
45570         * iconvdata/ibm856.h: Likewise.
45571         * iconvdata/ibm901.h: Likewise.
45572         * iconvdata/ibm902.h: Likewise.
45573         * iconvdata/ibm9030.h: Likewise.
45574         * iconvdata/ibm9066.h: Likewise.
45575         * iconvdata/ibm921.h: Likewise.
45576         * iconvdata/ibm922.h: Likewise.
45577         * iconvdata/ibm9448.h: Likewise.
45578         * iconvdata/isiri-3342.h: Likewise.
45579         * iconvdata/jis0201.h: Likewise.
45580         * include/link.h: Likewise.
45581         * include/netdb.h: Likewise.
45582         * inet/check_native.c: Likewise.
45583         * inet/check_pf.c: Likewise.
45584         * inet/getipv4sourcefilter.c: Likewise.
45585         * inet/getnameinfo.c: Likewise.
45586         * inet/getsourcefilter.c: Likewise.
45587         * inet/htonl.c: Likewise.
45588         * inet/setipv4sourcefilter.c: Likewise.
45589         * inet/setsourcefilter.c: Likewise.
45590         * inet/test-inet6_opt.c: Likewise.
45591         * inet/tst-network.c: Likewise.
45592         * locale/C-collate.c: Likewise.
45593         * locale/C-ctype.c: Likewise.
45594         * locale/C-time.c: Likewise.
45595         * locale/C-translit.h: Likewise.
45596         * locale/loadarchive.c: Likewise.
45597         * locale/programs/3level.h: Likewise.
45598         * locale/programs/charmap.c: Likewise.
45599         * locale/programs/charmap.h: Likewise.
45600         * locale/programs/ld-address.c: Likewise.
45601         * locale/programs/ld-collate.c: Likewise.
45602         * locale/programs/ld-ctype.c: Likewise.
45603         * locale/programs/ld-identification.c: Likewise.
45604         * locale/programs/ld-measurement.c: Likewise.
45605         * locale/programs/ld-messages.c: Likewise.
45606         * locale/programs/ld-monetary.c: Likewise.
45607         * locale/programs/ld-name.c: Likewise.
45608         * locale/programs/ld-numeric.c: Likewise.
45609         * locale/programs/ld-paper.c: Likewise.
45610         * locale/programs/ld-telephone.c: Likewise.
45611         * locale/programs/ld-time.c: Likewise.
45612         * locale/programs/linereader.c: Likewise.
45613         * locale/programs/locale.c: Likewise.
45614         * locale/programs/locarchive.c: Likewise.
45615         * locale/programs/locfile.h: Likewise.
45616         * locale/programs/repertoire.c: Likewise.
45617         * locale/programs/simple-hash.c: Likewise.
45618         * locale/programs/simple-hash.h: Likewise.
45619         * malloc/memusage.c: Likewise.
45620         * malloc/memusagestat.c: Likewise.
45621         * nis/nis_defaults.c: Likewise.
45622         * nis/nis_hash.c: Likewise.
45623         * nis/nis_print.c: Likewise.
45624         * nis/nis_xdr.c: Likewise.
45625         * nscd/connections.c: Likewise.
45626         * nscd/hstcache.c: Likewise.
45627         * nscd/nscd_gethst_r.c: Likewise.
45628         * nscd/nscd_getserv_r.c: Likewise.
45629         * nscd/nscd_helper.c: Likewise.
45630         * nscd/servicescache.c: Likewise.
45631         * nss/makedb.c: Likewise.
45632         * nss/nss_db/db-XXX.c: Likewise.
45633         * nss/nss_db/db-initgroups.c: Likewise.
45634         * nss/nss_db/db-netgrp.c: Likewise.
45635         * nss/nss_files/files-network.c: Likewise.
45636         * nss/nss_files/files-parse.c: Likewise.
45637         * posix/bug-regex5.c: Likewise.
45638         * posix/fnmatch_loop.c: Likewise.
45639         * posix/regcomp.c: Likewise.
45640         * posix/regexec.c: Likewise.
45641         * posix/tst-rfc3484-2.c: Likewise.
45642         * posix/tst-rfc3484-3.c: Likewise.
45643         * posix/tst-rfc3484.c: Likewise.
45644         * resolv/nss_dns/dns-canon.c: Likewise.
45645         * resolv/nss_dns/dns-network.c: Likewise.
45646         * resolv/res_init.c: Likewise.
45647         * resolv/res_mkquery.c: Likewise.
45648         * resolv/tst-aton.c: Likewise.
45649         * stdlib/cxa_atexit.c: Likewise.
45650         * stdlib/cxa_finalize.c: Likewise.
45651         * stdlib/gen-fpioconst.c: Likewise.
45652         * stdlib/strtol_l.c: Likewise.
45653         * string/tst-endian.c: Likewise.
45654         * sunrpc/auth_des.c: Likewise.
45655         * sunrpc/clnt_udp.c: Likewise.
45656         * sunrpc/rtime.c: Likewise.
45657         * sunrpc/svcauth_des.c: Likewise.
45658         * sunrpc/xdr.c: Likewise.
45659         * sunrpc/xdr_intXX_t.c: Likewise.
45660         * sunrpc/xdr_rec.c: Likewise.
45661         * sysdeps/generic/ldconfig.h: Likewise.
45662         * sysdeps/generic/ldsodefs.h: Likewise.
45663         * sysdeps/generic/memusage.h: Likewise.
45664         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45665         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45666         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45667         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45668         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45670         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45671         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45672         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45674         * sysdeps/posix/getaddrinfo.c: Likewise.
45675         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45676         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45677         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45678         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45679         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45680         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45681         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45682         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45683         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45684         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45685         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45686         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45687         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45688         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45689         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45690         * sysdeps/x86_64/dl-tls.h: Likewise.
45691         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45692         * time/alt_digit.c: Likewise.
45693         * time/era.c: Likewise.
45694         * wcsmbs/tst-c16c32-1.c: Likewise.
45696 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45698         * math/libm-test.inc (struct test_sincos_data): New type.
45699         (RUN_TEST_LOOP_sincos): New macro.
45700         (sincos_test_data): New variable.
45701         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45703 2013-05-16  Richard Henderson  <rth@redhat.com>
45705         * math/atest-exp2.c (LIMB64): New macro.
45706         (CONSTSZ): New macro.
45707         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45708         (hexdig): Move ...
45709         (print_mpn_fp): ... to function scope.
45710         (read_mpn_hex): Remove.
45711         (get_log2): Remove.
45712         (exp2_mpn): Use mp_log2.
45713         (main): Use mp_exp1.
45715 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45717         * math/libm-test.inc: Remove comment about not testing "inexact"
45718         exceptions.
45719         (INEXACT_EXCEPTION): New macro.
45720         (NO_INEXACT_EXCEPTION): Likewise.
45721         (INVALID_EXCEPTION_OK): Update value.
45722         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45723         (OVERFLOW_EXCEPTION_OK): Likewise.
45724         (UNDERFLOW_EXCEPTION_OK): Likewise.
45725         (IGNORE_ZERO_INF_SIGN): Likewise.
45726         (ERRNO_UNCHANGED): Likewise.
45727         (ERRNO_EDOM): Likewise.
45728         (ERRNO_ERANGE): Likewise.
45729         (test_exceptions): Handle testing "inexact" exceptions.
45730         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45731         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45732         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45733         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45734         INEXACT_EXCEPTION.
45735         (rint_towardzero_test_data): Likewise.
45736         (rint_downward_test_data): Likewise.
45737         (rint_upward_test_data): Likewise.
45739         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45740         with OVERFLOW_EXCEPTION.
45741         (exp10_test_data): Likewise.
45742         (exp2_test_data): Likewise.
45743         (expm1_test_data): Likewise.
45744         (lgamma_test_data): Likewise.
45745         (pow_test_data): Likewise.
45746         (tgamma_test_data): Likewise.
45747         (yn_test_data): Remove duplicate test of overflow.
45749         * math/libm-test.inc (struct test_cc_c_data): New type.
45750         (RUN_TEST_LOOP_cc_c): New macro.
45751         (cpow_test_data): New variable.
45752         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45754         * math/libm-test.inc (struct test_f_L_data): New type.
45755         (RUN_TEST_LOOP_f_L): New macro.
45756         (llrint_test_data): New variable.
45757         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45758         (llrint_tonearest_test_data): New variable.
45759         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45760         (llrint_towardzero_test_data): New variable.
45761         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45762         (llrint_downward_test_data): New variable.
45763         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45764         (llrint_upward_test_data): New variable.
45765         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45766         (llround_test_data): New variable.
45767         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45769 2013-05-13  Peter Collingbourne  <pcc@google.com>
45771         * math/atest-exp2.c (get_log2): Remove const attribute.
45773 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45775         * math/libm-test.inc (struct test_f_l_data): New type.
45776         (RUN_TEST_LOOP_f_l): New macro.
45777         (lrint_test_data): New variable.
45778         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45779         (lrint_tonearest_test_data): New variable.
45780         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45781         (lrint_towardzero_test_data): New variable.
45782         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45783         (lrint_downward_test_data): New variable.
45784         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45785         (lrint_upward_test_data): New variable.
45786         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45787         (lround_test_data): New variable.
45788         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45790 2013-05-15  Peter Collingbourne  <pcc@google.com>
45792         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45793         (EXTRACT_WORDS64) Use where appropriate.
45794         (INSERT_WORDS64) Likewise.
45796         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45797         constraints with x constraints.
45798         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45800         * malloc/obstack.c (_obstack_compat): Add initializer.
45802 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45804         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45805         si_trapno and add si_addr_lsb to _sifields.sigfault.
45806         (si_trapno): Remove macro.
45807         (si_addr_lsb): Define new macro.
45808         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45810 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45812         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45813         instead of TEST_f_l.
45814         (llrint_test_tonearest): Likewise.
45815         (llrint_test_towardzero): Likewise.
45816         (llrint_test_downward): Likewise.
45817         (llrint_test_upward): Likewise.
45818         (llround_test): Likewise.
45820         * math/libm-test.inc (struct test_f_i_data): Add comment.
45821         (RUN_TEST_LOOP_f_b): New macro.
45822         (RUN_TEST_LOOP_f_b_tg): Likewise.
45823         (finite_test_data): New variable.
45824         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45825         (isfinite_test_data): New variable.
45826         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45827         (isinf_test_data): New variable.
45828         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45829         (isnan_test_data): New variable.
45830         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45831         (isnormal_test_data): New variable.
45832         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45833         (issignaling_test_data): New variable.
45834         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45835         (signbit_test_data): New variable.
45836         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45838         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45839         with INVALID_EXCEPTION.
45840         (acosh_test_data): Likewise.
45841         (asin_test_data): Likewise.
45842         (atanh_test_data): Likewise.
45843         (fmod_test_data): Likewise.
45844         (log_test_data): Likewise.
45845         (log10_test_data): Likewise.
45846         (log2_test_data): Likewise.
45847         (pow_test_data): Likewise.
45848         (sqrt_test_data): Likewise.
45849         (y0_test_data): Likewise.
45850         (y1_test_data): Likewise.
45851         (yn_test_data): Likewise.
45853         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45854         function contents.
45856         * math/libm-test.inc (struct test_ff_i_data): New type.
45857         (RUN_TEST_LOOP_ff_i_tg): New macro.
45858         (isgreater_test_data): New variable.
45859         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45860         (isgreaterequal_test_data): New variable.
45861         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45862         (isless_test_data): New variable.
45863         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45864         (islessequal_test_data): New variable.
45865         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45866         (islessgreater_test_data): New variable.
45867         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45868         (isunordered_test_data): New variable.
45869         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45871 2013-05-14  David S. Miller  <davem@davemloft.net>
45873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45875 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45877         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45879         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45880         extra_test to int.
45881         (struct test_f_i_data): Change type of max_ulp to int.
45883         * math/libm-test.inc (test_ffI_f1_data): New type.
45884         (RUN_TEST_LOOP_ffI_f1): New macro.
45885         (remquo_test_data): New variable.
45886         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45888         * setjmp/tst-setjmp-fp.c: New file.
45889         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45890         (link-libm): New variable.
45891         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45893         * math/libm-test.inc (struct test_f_i_data): New type.
45894         (RUN_TEST_LOOP_f_i): New macro.
45895         (RUN_TEST_LOOP_f_i_tg): Likewise.
45896         (fpclassify_test_data): New variable.
45897         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45898         (ilogb_test_data): New variable.
45899         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45901         * math/libm-test.inc (scalbln_test): Correct function name in END
45902         call.
45904         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45905         (RUN_TEST_LOOP_fI_f1): New macro.
45906         (frexp_test_data): New variable.
45907         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45909         * math/libm-test.inc (struct test_fF_f1_data): New type.
45910         (RUN_TEST_LOOP_fF_f1): New macro.
45911         (modf_test_data): New variable.
45912         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45914         * math/libm-test.inc (struct test_f_f1_data): New type.
45915         (RUN_TEST_LOOP_f_f1): New macro.
45916         (gamma_test_data): New variable.
45917         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45918         (lgamma_test_data): New variable.
45919         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45921 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45923         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45924         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45925         (main): Comment "tls" pseudo-hwcap.
45927 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45929         * math/libm-test.inc (struct test_fl_f_data): New type.
45930         (RUN_TEST_LOOP_fl_f): New variable.
45931         (scalbln_test_data): New variable.
45932         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45934         * math/libm-test.inc (struct test_fi_f_data): New type.
45935         (RUN_TEST_LOOP_fi_f): New macro.
45936         (ldexp_test_data): New variable.
45937         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45938         (scalbn_test_data): New variable.
45939         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45941         * math/libm-test.inc (struct test_c_f_data): New type.
45942         (RUN_TEST_LOOP_c_f): New macro.
45943         (cabs_test_data): New variable.
45944         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45945         (carg_test_data): New variable.
45946         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45947         (cimag_test_data): New variable.
45948         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45949         (creal_test_data): New variable.
45950         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45952         * math/libm-test.inc (struct test_if_f_data): New type.
45953         (RUN_TEST_LOOP_if_f): New macro.
45954         (jn_test_data): New variable.
45955         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45956         (yn_test_data): New variable.
45957         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45959         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45961 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45963         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45964         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45966 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45968         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45969         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45970         (bench-deps): Add bench-timing.h.
45971         * benchtests-bench-skeleton.c: Include bench-timing.h.
45972         (main): Use TIMING_* macros instead of clock_gettime.
45973         * benchtests/bench-timing.h: New file.
45975         [BZ #14582]
45976         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45977         Renamed from _LIB_VERSION.
45978         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45980 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45982         * math/libm-test.inc (struct test_fff_f_data): New type.
45983         (RUN_TEST_LOOP_fff_f): New macro.
45984         (fma_test_data): New variable.
45985         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45986         (fma_towardzero_test_data): New variable.
45987         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45988         (fma_downward_test_data): New variable.
45989         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45990         (fma_upward_test_data): New variable.
45991         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45993         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45994         (struct test_c_c_data): New type.
45995         (RUN_TEST_LOOP_c_c): New macro.
45996         (cacos_test_data): New variable.
45997         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45998         (cacosh_test_data): New variable.
45999         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46000         (casin_test_data): New variable.
46001         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46002         (casinh_test_data): New variable.
46003         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46004         (catan_test_data): New variable.
46005         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46006         (catanh_test_data): New variable.
46007         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46008         (ccos_test_data): New variable.
46009         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46010         (ccosh_test_data): New variable.
46011         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46012         (cexp_test_data): New variable.
46013         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46014         (clog_test_data): New variable.
46015         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46016         (clog10_test_data): New variable.
46017         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46018         (conj_test_data): New variable.
46019         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46020         (cproj_test_data): New variable.
46021         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46022         (csin_test_data): New variable.
46023         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46024         (csinh_test_data): New variable.
46025         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46026         (csqrt_test_data): New variable.
46027         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46028         (ctan_test_data): New variable.
46029         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46030         (ctan_tonearest_test_data): New variable.
46031         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46032         (ctan_towardzero_test_data): New variable.
46033         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46034         (ctan_downward_test_data): New variable.
46035         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46036         (ctan_upward_test_data): New variable.
46037         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46038         (ctanh_test_data): New variable.
46039         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46040         (ctanh_tonearest_test_data): New variable.
46041         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46042         (ctanh_towardzero_test_data): New variable.
46043         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46044         (ctanh_downward_test_data): New variable.
46045         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46046         (ctanh_upward_test_data): New variable.
46047         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46048         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46049         of BUILD_COMPLEX.
46051         * math/libm-test.inc (struct test_ff_f_data): New type.
46052         (struct test_ff_f_data_nexttoward): Likewise.
46053         (RUN_TEST_LOOP_2_f): New macro.
46054         (RUN_TEST_LOOP_ff_f): Likewise.
46055         (atan2_test_data): New variable.
46056         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46057         (copysign_test_data): New variable.
46058         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46059         (fdim_test_data): New variable.
46060         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46061         (fmax_test_data): New variable.
46062         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46063         (fmin_test_data): New variable.
46064         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46065         (fmod_test_data): New variable.
46066         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46067         (hypot_test_data): New variable.
46068         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46069         (nextafter_test_data): New variable.
46070         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46071         (nexttoward_test_data): New variable.
46072         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46073         (pow_test_data): New variable.
46074         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46075         (pow_tonearest_test_data): New variable.
46076         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46077         (pow_towardzero_test_data): New variable.
46078         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46079         (pow_downward_test_data): New variable.
46080         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46081         (pow_upward_test_data): New variable.
46082         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46083         (remainder_test_data): New variable.
46084         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46085         (scalb_test_data): New variable.
46086         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46087         * sysdeps/i386/fpu/libm-test-ulps: Update.
46089 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46091         * math/libm-test.inc (fma_test): Use max_value instead of local
46092         variable fltmax.
46093         (nextafter_test): Likewise.
46095         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46096         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46097         (acos_downward_test_data): New variable.
46098         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46099         (acos_upward_test_data): New variable.
46100         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46101         (acosh_test_data): New variable.
46102         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46103         (asin_test_data): New variable.
46104         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46105         (asin_tonearest_test_data): New variable.
46106         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46107         (asin_towardzero_test_data): New variable.
46108         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46109         (asin_downward_test_data): New variable.
46110         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46111         (asin_upward_test_data): New variable.
46112         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46113         (asinh_test_data): New variable.
46114         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46115         (atan_test_data): New variable.
46116         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46117         (atanh_test_data): New variable.
46118         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46119         (cbrt_test_data): New variable.
46120         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46121         (ceil_test_data): New variable.
46122         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46123         (cos_test_data): New variable.
46124         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46125         (cos_tonearest_test_data): New variable.
46126         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46127         (cos_towardzero_test_data): New variable.
46128         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46129         (cos_downward_test_data): New variable.
46130         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46131         (cos_upward_test_data): New variable.
46132         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46133         (cosh_test_data): New variable.
46134         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46135         (cosh_tonearest_test_data): New variable.
46136         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46137         (cosh_towardzero_test_data): New variable.
46138         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46139         (cosh_downward_test_data): New variable.
46140         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46141         (cosh_upward_test_data): New variable.
46142         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46143         (erf_test_data): New variable.
46144         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46145         (erfc_test_data): New variable.
46146         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46147         (exp_test_data): New variable.
46148         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46149         (exp_tonearest_test_data): New variable.
46150         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46151         (exp_towardzero_test_data): New variable.
46152         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46153         (exp_downward_test_data): New variable.
46154         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46155         (exp_upward_test_data): New variable.
46156         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46157         (exp10_test_data): New variable.
46158         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46159         (exp2_test_data): New variable.
46160         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46161         (expm1_test_data): New variable.
46162         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46163         (fabs_test_data): New variable.
46164         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46165         (floor_test_data): New variable.
46166         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46167         (j0_test_data): New variable.
46168         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46169         (j1_test_data): New variable.
46170         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46171         (log_test_data): New variable.
46172         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46173         (log10_test_data): New variable.
46174         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46175         (log1p_test_data): New variable.
46176         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46177         (log2_test_data): New variable.
46178         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46179         (logb_test_data): New variable.
46180         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46181         (logb_downward_test_data): New variable.
46182         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46183         (nearbyint_test_data): New variable.
46184         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46185         (rint_test_data): New variable.
46186         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46187         (rint_tonearest_test_data): New variable.
46188         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46189         (rint_towardzero_test_data): New variable.
46190         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46191         (rint_downward_test_data): New variable.
46192         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46193         (rint_upward_test_data): New variable.
46194         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46195         (round_test_data): New variable.
46196         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46197         (sin_test_data): New variable.
46198         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46199         (sin_tonearest_test_data): New variable.
46200         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46201         (sin_towardzero_test_data): New variable.
46202         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46203         (sin_downward_test_data): New variable.
46204         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46205         (sin_upward_test_data): New variable.
46206         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46207         (sinh_test_data): New variable.
46208         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46209         (sinh_tonearest_test_data): New variable.
46210         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46211         (sinh_towardzero_test_data): New variable.
46212         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46213         (sinh_downward_test_data): New variable.
46214         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46215         (sinh_upward_test_data): New variable.
46216         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46217         (sqrt_test_data): New variable.
46218         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46219         (tan_test_data): New variable.
46220         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46221         (tan_tonearest_test_data): New variable.
46222         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46223         (tan_towardzero_test_data): New variable.
46224         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46225         (tan_downward_test_data): New variable.
46226         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46227         (tan_upward_test_data): New variable.
46228         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46229         (tanh_test_data): New variable.
46230         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46231         (tgamma_test_data): New variable.
46232         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46233         (trunc_test_data): New variable.
46234         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46235         (y0_test_data): New variable.
46236         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46237         (y1_test_data): New variable.
46238         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46239         (significand_test_data): New variable.
46240         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46242 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46244         [BZ #12387]
46245         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46247 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46249         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46251 2013-05-10  Andreas Jaeger  <aj@suse.de>
46253         [BZ #15448]
46254         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46255         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46257 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46259         * math/gen-libm-test.pl (adjust_arg): New function.
46260         (special_functions): Handle generating output in both functions
46261         and arrays.
46262         (parse_args): Likewise.
46263         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46264         $in_func argument to parse_args.
46265         * math/libm-test.inc (struct test_f_f_data): New type.
46266         (IF_ROUND_INIT_): New macro.
46267         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46268         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46269         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46270         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46271         (ROUND_RESTORE_): Likewise.
46272         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46273         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46274         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46275         (ROUND_RESTORE_FE_UPWARD): Likewise.
46276         (RUN_TEST_LOOP_f_f): New macro.
46277         (acos_test_data): New variable.
46278         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46279         (acos_tonearest_test_data): New variable.
46280         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46282 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46284         * benchtests/bench-skeleton.c (startup): Fix coding style.
46286 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46288         [BZ #6809]
46289         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46290         negative infinity argument.
46291         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46292         negative infinity argument.
46293         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46294         negative infinity argument.
46295         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46296         domain errors.
46298 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46300         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46301         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46302         * iconv/iconv_prog.c (main): Likewise.
46303         * locale/programs/charmap-dir.c (charmap_readdir)
46304         (fopen_uncompressed): Likewise.
46305         * locale/programs/locfile.c (siblings_uncached)
46306         (write_locale_data): Use lstat64 instead of lstat.
46307         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46308         stat.
46310 2013-05-10  Andreas Jaeger  <aj@suse.de>
46312         [BZ #15395]
46313         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46314         localization.
46315         Include <locale.h>.
46317 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46319         * elf/dl-close.c (_dl_close_worker): Add comments.
46321 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46323         [BZ #15359]
46324         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46325         high part of pi/2.
46326         (__ieee754_rem_pio2l): Update comments.
46328         [BZ #15429]
46329         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46330         high part of pi/2.
46331         (__ieee754_rem_pio2l): Update comments.
46333         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46334         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46336         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46337         M_PI_4l.
46339         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46340         (M_PI_34_LOG10El): Likewise.
46341         (M_PI2_LOG10El): Likewise.
46342         (M_PI4_LOG10El): Likewise.
46343         (M_PI_LOG10El): Likewise.
46345 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46349 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46351         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46352         (MINUS_ZERO_INIT): Likewise.
46353         (PLUS_INFTY_INIT): Likewise.
46354         (MINUS_INFTY_INIT): Likewise.
46355         (QNAN_VALUE_INIT): Likewise.
46356         (MAX_VALUE_INIT): Likewise.
46357         (MIN_VALUE_INIT): Likewise.
46358         (MIN_SUBNORM_VALUE_INIT): Likewise.
46359         (plus_zero): Initialize with PLUS_ZERO_INIT.
46360         (minus_zero): Initialize with MINUS_ZERO_INIT.
46361         (plus_infty): Initialize with PLUS_INFTY_INIT.
46362         (minus_infty): Initialize with MINUS_INFTY_INIT.
46363         (qnan_value): Initialize with QNAN_VALUE_INIT.
46364         (max_value): Initialize with MAX_VALUE_INIT.
46365         (min_value): Initialize with MIN_VALUE_INIT.
46366         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46368         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46369         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46370         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46371         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46373         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46374         (RUN_TEST_2_f): Likewise.
46375         (RUN_TEST_ff_f): Likewise.
46376         (RUN_TEST_fi_f): Likewise.
46377         (RUN_TEST_fl_f): Likewise.
46378         (RUN_TEST_fff_f): Likewise.
46379         (RUN_TEST_c_f): Likewise.
46380         (RUN_TEST_f_f1): Likewise.
46381         (RUN_TEST_fF_f1): Likewise.
46382         (RUN_TEST_fI_f1): Likewise.
46383         (RUN_TEST_ffI_f1): Likewise.
46384         (RUN_TEST_c_c): Likewise.
46385         (RUN_TEST_cc_c): Likewise.
46386         (RUN_TEST_f_i): Likewise.
46387         (RUN_TEST_f_i_tg): Likewise.
46388         (RUN_TEST_ff_i_tg): Likewise.
46389         (RUN_TEST_f_b): Likewise.
46390         (RUN_TEST_f_b_tg): Likewise.
46391         (RUN_TEST_f_l): Likewise.
46392         (RUN_TEST_f_L): Likewise.
46393         (RUN_TEST_sincos): Likewise.
46394         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46395         whether to show exceptions.  Do not include ");\n" in return
46396         value.
46397         (special_functions): Output call to RUN_TEST_sincos instead of
46398         check_float calls.  Update calls to new_test.
46399         (parse_args): Output call to single RUN_TEST_* macro instead of
46400         check_* calls and other assignments.  Update calls to new_test.
46402         [BZ #2546]
46403         [BZ #2560]
46404         [BZ #5159]
46405         [BZ #15426]
46406         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46407         input to result for tgamma overflow.
46408         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46409         (gamma_coeff): New variable.
46410         (NCOEFF): New macro.
46411         (gamma_positive): New function.
46412         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46413         underflow here.  Use gamma_positive instead of exp (lgamma) for
46414         other arguments.
46415         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46416         (gamma_coeff): New variable.
46417         (NCOEFF): New macro.
46418         (gammaf_positive): New function.
46419         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46420         underflow here.  Use gamma_positive instead of exp (lgamma) for
46421         other arguments.
46422         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46423         (gamma_coeff): New variable.
46424         (NCOEFF): New macro.
46425         (gammal_positive): New function.
46426         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46427         underflow here.  Use gamma_positive instead of exp (lgamma) for
46428         other arguments.
46429         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46430         (gamma_coeff): New variable.
46431         (NCOEFF): New macro.
46432         (gammal_positive): New function.
46433         (__ieee754_gammal_r): Handle positive infinity, overflow and
46434         underflow here.  Handle NaN the same as positive infinity.  Remove
46435         check x < 0xffffffff for negative integers.  Use gamma_positive
46436         instead of exp (lgamma) for other arguments.
46437         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46438         (gamma_coeff): New variable.
46439         (NCOEFF): New macro.
46440         (gammal_positive): New function.
46441         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46442         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46443         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46444         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46445         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46446         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46447         * sysdeps/generic/math_private.h (__gamma_productf): New
46448         prototype.
46449         (__gamma_product): Likewise.
46450         (__gamma_productl): Likewise.
46451         * math/Makefile (libm-calls): Add gamma_product.
46452         * math/libm-test.inc (tgamma_test): Add more tests.
46453         * sysdeps/i386/fpu/libm-test-ulps: Update.
46454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46456 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46458         * benchtests/bench-skeleton.c (main): Preheat CPU.
46460 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46462         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46464 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46466         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46467         and _dl_skip_args_internal.
46469 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46471         * manual/message.texi (Message Translation): Talk about users.
46472         Message to key mapping impacts design.
46474 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46476         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46478         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46480         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46481         * sysdeps/wordsize-64/glob64.c: ... here.
46483         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46484         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46485         New macros.
46487         * debug/getlogin_r_chk.c: Moved to ...
46488         * login/getlogin_r_chk.c: ... here.
46489         * debug/Makefile (routines): Move getlogin_r_chk to ...
46490         * login/Makefile (routines): ... here.
46491         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46492         * login/Versions (libc: GLIBC_2.4): ... here.
46494         * io/poll.c (__poll): Renamed from poll.
46495         Add libc_hidden_def.
46496         (poll): Define as weak alias.
46498         * debug/ptsname_r_chk.c: Moved to ...
46499         * login/ptsname_r_chk.c: ... here.
46500         * debug/Makefile (routines): Move ptsname_r_chk to ...
46501         * login/Makefile (routines): ... here.
46502         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46503         * login/Versions (libc: GLIBC_2.4): ... here.
46505         * posix/getlogin.c: Moved to ...
46506         * login/getlogin.c: ... here.
46507         * posix/getlogin_r.c: Moved to ...
46508         * login/getlogin_r.c: ... here.
46509         * posix/getlogin_r.c: Moved to ...
46510         * login/getlogin_r.c: ... here.
46511         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46512         * login/Makefile (routines): ... here.
46513         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46514         * login/Versions (libc: GLIBC_2.0): ... here.
46516         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46517         (setrlimit): Define as weak alias.
46519         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46520         Call __ names for open, ftruncate, and close.
46521         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46522         (truncate): Define as weak alias.
46524 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46526         * math/gen-libm-test.pl (parse_args): Initialize x before each
46527         test of frexp, modf and remquo.
46529         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46530         test signgam value.
46532 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46534         [BZ #15418]
46535         [BZ #15419]
46536         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46537         internal tests.
46538         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46540 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46542         * elf/dl-writev.h: New file.
46543         * elf/dl-misc.c: Include it.
46544         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46545         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46547 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46549         * math/libm-test.inc (noXFails): Remove variable.
46550         (noXPasses): Likewise.
46551         (BUILD_COMPLEX_INT): Remove macro.
46552         (print_screen): Remove xfail argument.
46553         (print_screen_max_error): Likewise.
46554         (update_stats): Likewise.
46555         (print_max_error): Likewise.  Update calls to other affected
46556         functions.
46557         (print_complex_max_error): Likewise.
46558         (test_single_exception): Update calls to print_screen.
46559         (test_single_errno): Likewise.
46560         (check_float_internal): Remove xfail argument.  Update calls to
46561         other affected functions.
46562         (check_float): Likewise.
46563         (check_complex): Likewise.
46564         (check_int): Likewise.
46565         (check_long): Likewise.
46566         (check_bool): Likewise.
46567         (check_longlong): Likewise.
46568         (main): Don't print noXFails and noXPasses.
46569         * math/gen-libm-test.pl (top level): Don't mention expected
46570         failure handling in comment.
46571         (new_test): Don't handle expected failures.
46572         (parse_args): Don't mention expected failure handling in comment.
46573         (generate_testfile): Don't handle expected failures.
46574         (parse_ulps): Likewise.
46575         (print_ulps_file): Likewise.
46576         (get_failure): Remove function.
46577         (output_test): Don't handle expected failures.
46578         * make/README.libm-test: Don't mention expected failure handling.
46580         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46581         (minus_zero): Likewise.
46582         (plus_infty): Likewise.
46583         (minus_infty): Likewise.
46584         (qnan_value): Likewise.
46585         (max_value): Likewise.
46586         (min_value): Likewise.
46587         (min_subnorm_value): Likewise.
46588         (initialize): Do not initialize those variables dynamically.
46590 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46592         * io/open.c (__open_2): Moved to ...
46593         * io/open_2.c: ... this new file.
46594         * io/open64.c (__open64_2): Moved to ...
46595         * io/open64_2.c: ... this new file.
46596         * io/openat.c (__openat_2): Moved to ...
46597         * io/openat_2.c: ... this new file.
46598         * io/openat64.c (__openat64_2): Moved to ...
46599         * io/openat64_2.c: ... this new file.
46600         * io/Makefile (routines): Add them.
46601         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46602         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46603         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46604         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46605         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46606         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46607         (__openat64): Add hidden_ver.
46608         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46609         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46611         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46612         Separately conditionalize setting of GLRO(dl_sysinfo) so
46613         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46614         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46616 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46618         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46619         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46620         definition.
46621         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46622         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46623         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46624         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46625         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46627 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46629         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46630         test signgam value.
46632         * math/libm-test.inc (hypot_test): Do not use
46633         IGNORE_ZERO_INF_SIGN.
46635 2013-05-03  Andreas Jaeger  <aj@suse.de>
46637         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46638         Linux 3.9.
46639         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46640         (PF_MAX): Adjust for VSOCK change.
46642 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46646 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46648         [BZ #15264]
46649         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46650         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46651         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46653 2013-05-02  David S. Miller  <davem@davemloft.net>
46655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46657 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46659         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46661 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46663         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46665 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46667         [BZ #14952]
46668         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46669         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46670         Use __attribute__ ((__gnu_inline__)).
46671         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46672         Don't use __attribute__ ((__gnu_inline__)).
46674 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46676         [BZ #15423]
46677         * math/s_catan.c (__catan): Handle small real or imaginary part of
46678         input specially to avoid spurious underflow.
46679         * math/s_catanf.c (__catanf): Likewise.
46680         * math/s_catanh.c (__catanh): Likewise.
46681         * math/s_catanhf.c (__catanhf): Likewise.
46682         * math/s_catanhl.c (__catanhl): Likewise.
46683         * math/s_catanl.c (__catanl): Likewise.
46684         * math/libm-test.inc (catan_test): Add more tests.
46685         (catanh_test): Likewise.
46686         * sysdeps/i386/fpu/libm-test-ulps: Update.
46687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46689 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46693 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46695         [BZ #15416]
46696         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46697         accurately for denominator in atan2.
46698         * math/s_catanf.c (__catanf): Likewise.
46699         * math/s_catanh.c (__catanh): Likewise.
46700         * math/s_catanhf.c (__catanhf): Likewise.
46701         * math/s_catanhl.c (__catanhl): Likewise.
46702         * math/s_catanl.c (__catanl): Likewise.
46703         * math/libm-test.inc (catan_test): Add more tests.
46704         (catanh_test): Likewise.
46705         * sysdeps/i386/fpu/libm-test-ulps: Update.
46706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46708 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46710         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46712         * benchtests/Makefile (bench): Remove slow benchmarks.
46713         * benchtests/atan-inputs: Add slow benchmark inputs.
46714         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46715         (BENCH_FUNC): Accept variant offset.
46716         (VARIANT): Define.
46717         * benchtests/bench-skeleton.c (main): Run benchmark for each
46718         variant.
46719         * benchtests/cos-inputs: Add slow benchmark inputs.
46720         * benchtests/exp-inputs: Likewise.
46721         * benchtests/pow-inputs: Likewise.
46722         * benchtests/sin-inputs: Likewise.
46723         * benchtests/slowatan-inputs: Remove.
46724         * benchtests/slowatan.c: Remove.
46725         * benchtests/slowcos-inputs: Remove.
46726         * benchtests/slowcos.c: Remove.
46727         * benchtests/slowexp-inputs: Remove.
46728         * benchtests/slowexp.c: Remove.
46729         * benchtests/slowpow-inputs: Remove.
46730         * benchtests/slowpow.c: Remove.
46731         * benchtests/slowsin-inputs: Remove.
46732         * benchtests/slowsin.c: Remove.
46733         * benchtests/slowtan-inputs: Remove.
46734         * benchtests/slowtan.c: Remove.
46735         * benchtests/tan-inputs: Add slow benchmark inputs.
46736         * scripts/bench.pl: Parse comments and directives.
46738         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46739         in CPPFLAGS.
46740         ($(objpfx)bench-%.c): Remove *-ITER.
46741         * benchtests/bench-modf.c: Remove definition of ITER.
46742         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46743         (main): Loop for DURATION seconds instead of fixed number of
46744         iterations.
46745         * scripts/bench.pl: Don't expect iterations in parameters.
46747 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46749         * io/fchdir.c (__fchdir): Renamed from fchdir.
46750         (fchdir): Define as weak alias.
46752 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46754         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46755         (ERRNO_EDOM): Likewise.
46756         (ERRNO_ERANGE): Likewise.
46757         (noErrnoTests): New variable.
46758         (init_max_error): Set errno to 0.
46759         (test_single_errno): New function.
46760         (test_errno): Likewise.
46761         (check_float_internal): Call test_errno.  Set errno to 0.
46762         (check_complex): Refer to errno tests in comment.
46763         (check_int): Call test_errno.  Set errno to 0.
46764         (check_long): Likewise.
46765         (check_bool): Likewise.
46766         (check_longlong): Likewise.
46767         (cos_test): Use ERRNO_* flags for errno tests instead of
46768         check_int.
46769         (expm1_test): Likewise.
46770         (fmod_test): Likewise.
46771         (ilogb_test): Likewise.
46772         (lgamma_test): Likewise.
46773         (pow_test): Likewise.
46774         (remainder_test): Likewise.
46775         (sin_test): Likewise.
46776         (tan_test): Likewise.
46777         (yn_test): Likewise.
46778         (initialize): Set errno to 0.
46779         (main): Print number of errno tests.
46780         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46782 2013-04-29  Andreas Jaeger  <aj@suse.de>
46784         [BZ #15084]
46785         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46786         and RES_USEVC.
46788         [BZ #15085]
46789         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46790         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46791         unimplemented.
46793         [BZ #15380]
46794         * stdlib/random.c (__initstate): Return NULL if
46795         __initstate fails.
46797         [BZ #15086]
46798         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46799         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46800         RES_SNGLKUPREOP.
46802 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46806 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46808         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46809         of individual tests.
46810         (casin_test): Likewise.
46811         (casinh_test): Likewise.
46813 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46815         [BZ #15409]
46816         * math/s_catan.c (__catan): Handle arguments with large real or
46817         imaginary part separately without squaring.
46818         * math/s_catanf.c (__catanf): Likewise.
46819         * math/s_catanh.c (__catanh): Likewise.
46820         * math/s_catanhf.c (__catanhf): Likewise.
46821         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46822         and redefine.
46823         (__catanhl): Handle arguments with large real or imaginary part
46824         separately without squaring.
46825         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46826         and redefine.
46827         (__catanl): Handle arguments with large real or imaginary part
46828         separately without squaring.
46829         * math/libm-test.inc (catan_test): Add more tests.
46830         (catanh_test): Likewise.
46831         * sysdeps/i386/fpu/libm-test-ulps: Update.
46832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46834 2013-04-27  Andreas Jaeger  <aj@suse.de>
46836         [BZ #15007]
46837         * stdlib/stdlib.h: Update guards for qecvt.
46838         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46839         <stdlib.h>.
46841 2013-04-27  Allan McRae  <allan@archlinux.org>
46843         * sysdeps/i386/fpu/libm-test-ulps: Update.
46845 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46847         [BZ #15406]
46848         * math/s_catan.c: Include <float.h>.
46849         (__catan): Ensure underflow exception occurs for underflowed
46850         result.
46851         * math/s_catanf.c: Include <float.h>.
46852         (__catanf): Ensure underflow exception occurs for underflowed
46853         result.
46854         * math/s_catanh.c: Include <float.h>.
46855         (__catanh): Ensure underflow exception occurs for underflowed
46856         result.
46857         * math/s_catanhf.c: Include <float.h>.
46858         (__catanhf): Ensure underflow exception occurs for underflowed
46859         result.
46860         * math/s_catanhl.c: Include <float.h>.
46861         (__catanhl): Ensure underflow exception occurs for underflowed
46862         result.
46863         * math/s_catanl.c: Include <float.h>.
46864         (__catanl): Ensure underflow exception occurs for underflowed
46865         result.
46866         * math/libm-test.inc (catan_test): Add more tests.
46867         (catanh_test): Likewise.
46869         [BZ #15405]
46870         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46871         underflowed result.
46872         * math/s_ccoshf.c (__ccoshf): Likewise.
46873         * math/s_ccoshl.c (__ccoshl): Likewise.
46874         * math/s_csin.c (__csin): Likewise.
46875         * math/s_csinf.c (__csinf): Likewise.
46876         * math/s_csinh.c (__csinh): Likewise.
46877         * math/s_csinhf.c (__csinhf): Likewise.
46878         * math/s_csinhl.c (__csinhl): Likewise.
46879         * math/s_csinl.c (__csinl): Likewise.
46880         * math/libm-test.inc (ccos_test): Add more tests.
46881         (ccosh_test): Likewise.
46882         (csin_test): Likewise.
46883         (csinh_test): Likewise.
46885 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46887         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46888         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46889         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46890         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46891         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46892         powerpc/power5+/fpu folders.
46893         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46896 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46900 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46902         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46903         additions to variable.
46904         [$(config-machine) = x86_64] (modules-names): Likewise.
46905         ($(objpfx)tst-audit3): Remove dependency.
46906         ($(objpfx)tst-audit3.out): Likewise.
46907         ($(objpfx)tst-audit4): Likewise.
46908         ($(objpfx)tst-audit4.out): Likewise.
46909         ($(objpfx)tst-audit5): Likewise.
46910         ($(objpfx)tst-audit5.out): Likewise.
46911         ($(objpfx)tst-audit6): Likewise.
46912         ($(objpfx)tst-audit6.out): Likewise.
46913         ($(objpfx)tst-audit7): Likewise.
46914         ($(objpfx)tst-audit7.out): Likewise.
46915         (tst-audit3-ENV): Remove variable.
46916         (tst-audit4-ENV): Likewise.
46917         (tst-audit5-ENV): Likewise.
46918         (tst-audit6-ENV): Likewise.
46919         (tst-audit7-ENV): Likewise.
46920         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46921         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46922         addition to variable.
46923         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46924         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46925         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46926         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46927         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46928         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46929         tst-audit3, tst-audit4 and tst-audit5.
46930         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46931         tst-audit6 and tst-audit7.
46932         [$(subdir) = elf] (modules-names): Add audit modules for those
46933         tests.
46934         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46935         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46936         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46937         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46938         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46939         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46940         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46941         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46942         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46943         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46944         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46945         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46946         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46947         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46948         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46949         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46950         Likewise.
46951         [$(subdir) = elf && $(config-cflags-avx) = yes]
46952         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46953         [$(subdir) = elf && $(config-cflags-avx) = yes]
46954         (CFLAGS-tst-auditmod4a.c): Likewise.
46955         [$(subdir) = elf && $(config-cflags-avx) = yes]
46956         (CFLAGS-tst-auditmod4b.c): Likewise.
46957         [$(subdir) = elf && $(config-cflags-avx) = yes]
46958         (CFLAGS-tst-auditmod6b.c): Likewise.
46959         [$(subdir) = elf && $(config-cflags-avx) = yes]
46960         (CFLAGS-tst-auditmod6c.c): Likewise.
46961         [$(subdir) = elf && $(config-cflags-avx) = yes]
46962         (CFLAGS-tst-auditmod7b.c): Likewise.
46963         * elf/tst-audit3.c: Move to ...
46964         * sysdeps/x86_64/tst-audit3.c: ... here.
46965         * elf/tst-audit4.c: Move to ...
46966         * sysdeps/x86_64/tst-audit4.c: ... here.
46967         * elf/tst-audit5.c: Move to ...
46968         * sysdeps/x86_64/tst-audit5.c: ... here.
46969         * elf/tst-audit6.c: Move to ...
46970         * sysdeps/x86_64/tst-audit6.c: ... here.
46971         * elf/tst-audit7.c: Move to ...
46972         * sysdeps/x86_64/tst-audit7.c: ... here.
46973         * elf/tst-auditmod3a.c: Move to ...
46974         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46975         * elf/tst-auditmod3b.c: Move to ...
46976         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46977         * elf/tst-auditmod4a.c: Move to ...
46978         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46979         * elf/tst-auditmod4b.c: Move to ...
46980         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46981         * elf/tst-auditmod5a.c: Move to ...
46982         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46983         * elf/tst-auditmod5b.c: Move to ...
46984         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46985         * elf/tst-auditmod6a.c: Move to ...
46986         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46987         * elf/tst-auditmod6b.c: Move to ...
46988         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46989         * elf/tst-auditmod6c.c: Move to ...
46990         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46991         * elf/tst-auditmod7a.c: Move to ...
46992         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46993         * elf/tst-auditmod7b.c: Move to ...
46994         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46996 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46998         [BZ #15366]
46999         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47000         define unconditionally.
47001         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47002         define unconditionally.
47003         (INT8_C, INT16_C, etc.): Likewise.
47005 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47007         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47008         __ehdr_start with hidden visibility.
47010         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47012 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47014         * math/libm-test.inc (cos_test): Use accurate hex constants.
47015         (sincost_test): Likewise.
47017 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47019         * math/libm-test.inc (catan_test): Add more tests.
47020         (catanh_test): Likewise.
47022         * math/s_catanf.c (__catanf): Use suffixed floating-point
47023         constants.
47024         * math/s_catanhf.c (__catanhf): Likewise.
47025         * math/s_catanhl.c (__catanhl): Likewise.
47026         * math/s_catanl.c (__catanl): Likewise.
47028         [BZ #15394]
47029         * math/s_catan.c (__catan): Calculate imaginary part of result
47030         with log1p not log unless computing log of number close to 0.
47031         * math/s_catanf.c (__catanf): Likewise.
47032         * math/s_catanl.c (__catanl): Likewise.
47033         * math/s_catanh.c (__catanh): Calculate real part of result with
47034         log1p not log unless computing log of number close to 0.
47035         * math/s_catanhf.c (__catanhf): Likewise.
47036         * math/s_catanhl.c (__catanhl): Likewise.
47037         * math/libm-test.inc (catan_test): Add more tests.
47038         (catanh_test): Likewise.
47039         * sysdeps/i386/fpu/libm-test-ulps: Update.
47040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47042 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47044         * benchtests/Makefile: Mention files in which fast and slow
47045         paths of math functions are implemented.
47047 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47049         * sysdeps/posix/timespec_get.c: New file.
47051 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47053         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47054         POWER.
47055         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47056         for POWER.
47057         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47058         powerpc/power5/fpu folders.
47059         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47060         * benchtests/Makefile: Add modf testcase.
47061         * benchtests/bench-modf.c: New file: Benchmark test for mo
47063 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47065         [BZ #14888]
47066         * time/Makefile (tests): Add tst-strptime-whitespace.
47067         * time/strptime_l.c (get_number): Use ISSPACE.
47068         (__strptime_internal): Likewise.
47069         * time/tst-strptime-whitespace.c: New test case.
47071 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47073         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47074         member.
47075         (_nss_files_init): Set it here.
47077 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47079         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47080         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47081         unsigned.
47083 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47085         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47087 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47090         size just once.
47092 2013-04-21  David S. Miller  <davem@davemloft.net>
47094         * po/ru.po: Update Russion translation from translation project.
47096 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47098         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47099         and setfsgid.
47101 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47103         * configure.in: Remove i386 configure warning. Remove i386 case.
47104         * configure: Regenerate.
47105         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47106         Add example to error message.
47107         * sysdeps/i386/configure: Regenerate.
47109 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47111         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47112         slowtan.
47113         * benchtests/cos-inputs: New file.
47114         * benchtests/slowcos-inputs: New file.
47115         * benchtests/slowcos.c: New file.
47116         * benchtests/slowtan-inputs: New file.
47117         * benchtests/slowtan.c: New file.
47118         * benchtests/tan-inputs: New file.
47120 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47122         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47123         considered kosher.
47125 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47127         * benchtests/Makefile: Include cppflags-iterator.mk to add
47128         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47130         * Makefile.in (bench-clean): New target.
47131         * benchtests/Makefile (bench-clean): Likewise.
47133 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47135         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47137 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47139         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47141 2013-04-15  Andreas Schwab  <schwab@suse.de>
47143         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47144         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47145         * nscd/pwdcache.c (cache_addpw): Likewise.
47146         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47147         more than recsize.
47149 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47151         * benchtests/Makefile (bench): Write all output to
47152         bench-out.tmp together.
47154 2013-04-15  Andreas Schwab  <schwab@suse.de>
47156         * nscd/nscd.c (main): Don't fork again after closing files.
47158 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47160         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47162         * benchtests/Rules (bench-deps): Collect dependencies into a
47163         single variable.  Add Makefile to dependencies.
47164         ($(objpfx)bench-%.c): Depend on bench-deps.
47166 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47167             Xavier Roche  <roche+kml2@exalead.com>
47169         [BZ #15361]
47170         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47171         just that it's a file descriptor.
47172         * manual/llio.texi (Synchronizing AIO Operations): Update description
47173         for EBADF error from aio_fsync.
47175 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47177         * Rules (bench): Move target definition...
47178         * benchtests/Makefile: ... here.
47180 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47182         * math/libm-test.inc (cos_test): Fix PI/2 test.
47183         (sincos_test): Likewise.
47184         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47185         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47187 2013-04-11  Andreas Schwab  <schwab@suse.de>
47189         [BZ #13988]
47190         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47191         accept exponent character only when digits were seen.
47192         * stdio-common/Makefile (tests): Add bug26.
47193         * stdio-common/bug26.c: New file.
47195         [BZ #14293]
47196         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47197         non-freeable.
47199 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47201         * Makeconfig (rtld-prefix): Define built linker prefix.
47202         * Rules (run-bench): Use it.
47203         * math/Makefile (run-regen-ulps): Likewise.
47205         * Rules (bench): Remove eval.
47207 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47208             Roland McGrath  <roland@hack.frob.com>
47209             Ondrej Bilka  <neleai@seznam.cz>
47211         [BZ #15346]
47212         * time/getdate.c: Include ctype.h and alloca.h.
47213         (__getdate_r): Trim leading and trailing spaces of input.
47214         * time/tst-getdate.c (tests): Add tests with leading and
47215         trailing spaces.
47217 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47219         [BZ #14280]
47220         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47221         when computing value.
47223 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47225         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47226         Use testrun.sh to run libm tests.
47228         [BZ #15309]
47229         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47231 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47233         [BZ #15264]
47234         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47236 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47238         * Makefile.in (regen-ulps): New target.
47239         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47240         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47241         [ifneq (no,$(PERL)] (regen-ulps): New target.
47242         [ifeq (no,$(PERL)] (regen-ulps): New target.
47243         * math/libm-test.inc (ulps_file_name): Define.
47244         (output_dir): New variable.
47245         (options): Add "output-dir" option.
47246         (parse_opt): Handle 'o' case.
47247         (main): If output_dir is non-NULL use it as a prefix
47248         otherwise use "".
47249         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47251 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47253         [BZ #10060, #10062]
47254         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47255         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47256         fail configure if __sync_val_compare_and_swap is not inlined.
47257         * sysdeps/i386/configure: Regenerate.
47258         * configure.in: Build for i686 when configured for i386.
47259         * configure: Regenerate.
47260         * README: Remove i386 reference.
47262 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47264         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47265         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47267 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47269         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47270         (lmsnanval): New variables.
47271         (F): Add conversion tests.
47272         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47273         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47275         * stdio-common/tstdiomisc.c (F): Properly collect individual
47276         tests' results.
47278         [BZ #14686, #15336]
47279         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47280         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47281         Instead, use input NaN values or generate a qNaN by arithmetic
47282         operation.  Also fix bugs to comply with the standard.
47283         * math/libm-test.inc (remainder_test): Add more tests.
47285         [BZ #15335, #15342]
47286         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47288         input NaN values or generate a qNaN by arithmetic operation.
47290         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47291         unreachable code.
47293         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47294         definitions.
47296 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47298         [BZ #14478]
47299         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47300         underflowed result.
47301         * math/s_cexpf.c (__cexpf): Likewise.
47302         * math/s_cexpl.c (__cexpl): Likewise.
47303         * math/libm-test.inc (cexp_test): Add more tests.
47305 2013-04-03  Andreas Schwab  <schwab@suse.de>
47307         [BZ #15330]
47308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47309         order arrays from heap if bigger than alloca cutoff.
47311 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47313         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47314         (SNAN_TESTS_double): Refer to GCC PR56831.
47315         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47316         GCC PR56828.
47318 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47320         * Rules (bench): Move bench.out after the run is complete.
47322         * Rules (bench): Echo currently running benchmark.
47324         * benchtests/Makefile (bench): Add atan and slowatan.
47325         * benchtests/atan-inputs: New file.
47326         * benchtests/slowatan-inputs: New file.
47327         * benchtests/slowatan.c: New file.
47329         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47330         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47331         its value.
47333         [BZ #15305]
47334         * sysdeps/unix/sysv/linux/kernel-features.h
47335         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47336         __ASSUME_XFS_RESTRICTED_CHOWN.
47337         * sysdeps/unix/sysv/linux/pathconf.c
47338         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47339         Save and restore errno.
47341 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47343         [BZ #15327]
47344         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47345         arguments using __kernel_casinh.
47346         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47347         arguments using __kernel_casinhf.
47348         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47349         arguments using __kernel_casinhl.
47350         * math/libm-test.inc (cacosh_test): Add more tests.
47351         * sysdeps/i386/fpu/libm-test-ulps: Update.
47352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47354 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47356         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47359         * bench/Makefile (bench): Add sin and slowsin.
47360         * benchtests/sin-inputs: New file.
47361         * benchtests/slowsin-inputs: New file.
47362         * benchtests/slowsin.c: New file.
47364         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47365         (bench): Add slowexp and slowpow.
47366         (exp-ITER): Increase iterations.
47367         (pow-ITER): Likewise.
47368         * benchtests/exp-inputs: Change input.
47369         * benchtests/pow-inputs: Likewise.
47370         * benchtests/slowexp-inputs: New file.
47371         * benchtests/slowexp.c: New file.
47372         * benchtests/slowpow-inputs: New file.
47373         * benchtests/slowpow.c: New file.
47375 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47377         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47378         instructions.
47379         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47380         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47381         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47382         * benchtests/Makefile: Add rint benchtest.
47383         * benchtests/rint-inputs: Input for rint benchtest.
47385 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47387         * Versions.def (libm): Add GLIBC_2.18.
47388         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47389         hidden libm prototypes.
47390         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47391         * math/Makefile (libm-calls): Add s_issignaling.
47392         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47393         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47394         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47395         declaration.
47396         * math/math.h [__USE_GNU] (issignaling): New macro.
47397         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47398         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47399         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47400         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47401         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47402         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47403         * manual/arith.texi (issignaling): New section.
47404         * manual/libm-err-tab.pl (@all_functions): Update comment.
47405         * math/gen-libm-test.pl (parse_args): Apply special handling for
47406         issignaling.
47407         * math/libm-test.inc (print_float, issignaling_test): New
47408         functions.
47409         (check_float_internal): Add issignaling checks.
47410         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47411         default definition.
47412         * sysdeps/powerpc/math-tests.h: New file.
47413         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47414         tests.
47415         * math/test-snan.c (TEST_FUNC): Likewise.
47417 2013-03-30  David S. Miller  <davem@davemloft.net>
47419         * po/de.po: Update from translation team.
47421 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47423         [BZ #10357]
47424         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47425         imaginary part less than 1.0 and real part less than 0.5
47426         specially.
47427         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47428         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47429         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47430         (cacos_test): Add more tests.
47431         (casin_test): Likewise.
47432         (casinh_test): Likewise.
47433         * sysdeps/i386/fpu/libm-test-ulps: Update.
47434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47436 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47438         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47439         ONE with its value.
47441         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47442         (__pow_mp): Replace ONE and MONE with their values.
47443         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47444         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47445         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47446         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47447         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47448         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47450         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47452         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47453         (__pow_mp): Replace ZERO and MZERO with their values.
47454         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47455         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47456         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47458         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47459         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47460         (__sqr): Likewise.
47462         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47464         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47466 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47468         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47469         Declare with __attribute__ ((weak)).
47470         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47471         Call __call_tls_dtors only if it's not NULL.
47473 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47475         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47476         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47477         magic __ehdr_start linker symbol if it's defined.
47478         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47479         them up here if it was already done.
47481         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47482         (_dl_aux_init): Use const in cast when setting it.
47483         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47484         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47485         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47487         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47488         Declare them here.
47489         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47490         * csu/libc-tls.c: Nor here.
47491         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47493         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47494         (__libc_message): Never call vsyslog.
47496 2013-03-28  Alan Modra  <amodra@gmail.com>
47498         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47499         Define as empty.
47500         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47501         Likewise.
47503 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47505         [BZ #15214]
47506         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47507         underflow.
47508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47510 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47512         [BZ #15304]
47513         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47514         Don't add gid passed as argument.
47516         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47518 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47520         [BZ #15307]
47521         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47522         imaginary part between 1.0 and 1.5 and real part less than 0.5
47523         specially.
47524         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47525         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47526         * math/libm-test.inc (cacos_test): Add more tests.
47527         (casin_test): Likewise.
47528         (casinh_test): Likewise.
47529         * sysdeps/i386/fpu/libm-test-ulps: Update.
47530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47532 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47534         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47535         constants.
47536         (norm): Likewise.
47537         (denorm): Likewise.
47538         (__dbl_mp): Likewise.
47539         (add_magnitudes): Likewise.
47540         (sub_magnitudes): Likewise.
47541         (__add): Likewise.
47542         (__sub): Likewise.
47543         (__mul): Likewise.
47544         (__sqr): Likewise.
47545         (__inv): Likewise.
47546         (__dvd): Likewise.
47548         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47549         commented code.
47550         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47551         (__dubcos): Likewise.
47552         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47553         (__ieee754_acos): Likewise.
47554         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47555         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47556         (__exp1): Likewise.
47557         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47558         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47559         (log1): Likewise.
47560         (my_log2): Likewise.
47561         (checkint): Likewise.
47562         * sysdeps/ieee754/dbl-64/e_remainder.c
47563         (__ieee754_remainder): Likewise.
47564         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47565         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47566         (bsloww): Likewise.
47567         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47569         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47570         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47571         MANTISSA_STORE_T to store computations on mantissa.  Use
47572         macros for rounding and division.
47573         (denorm): Likewise.
47574         (__dbl_mp): Likewise.
47575         (add_magnitudes): Likewise.
47576         (sub_magnitudes): Likewise.
47577         (__mul): Likewise.
47578         (__sqr): Likewise.
47579         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47580         powers of two in terms of TWOPOW macro.
47581         (mp_no): Make type of mantissa as MANTISSA_T.
47582         [!RADIXI]: Define RADIXI.
47583         [!TWO52]: Define TWO52.
47584         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47586 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47588         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47589         llroundl symbol when building for PPC32.
47591 2013-03-24  Mark H Weaver  <mhw@netris.org>
47593         * manual/arith.texi (Normalization Functions): Fix prototypes for
47594         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47596 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47598         [BZ #13889]
47599         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47600         high value to check if expl overflow.
47601         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47602         to check for underflow and overflow.
47603         * math/libm-test.inc: Add exp test.
47605 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47607         [BZ #11120]
47608         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47609         with NOT_IN_libc.
47611 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47613         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47614         symbol.
47616 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47618         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47619         wrap blocks consisting of several statements.
47621         * sysdeps/generic/math-tests.h: New file.
47622         * sysdeps/i386/fpu/math-tests.h: Likewise.
47623         * math/test-snan.c: Include it.
47624         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47626 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47628         [BZ #15285]
47629         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47630         (__ieee754_j0l): Do not improve calculations using cos of twice
47631         input for inputs above LDBL_MAX / 2.0L.
47632         (__ieee754_y0l): Likewise.
47633         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47634         (__ieee754_j1l): Do not improve calculations using cos of twice
47635         input for inputs above LDBL_MAX / 2.0L.
47636         (__ieee754_y1l): Likewise.
47637         * math/libm-test.inc (j0_test): Add another test.
47638         (j1_test): Likewise.
47639         (y0_test): Likewise.
47640         (y1_test): Likewise.
47641         * sysdeps/i386/fpu/libm-test-ulps: Update.
47643 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47645         * Rules ($(objpfx)bench-%.c): Include code from a C source
47646         file.
47648 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47650         [BZ #15287]
47651         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47652         imaginary part 1.0 and real part less than 0.5 specially.
47653         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47654         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47655         * math/libm-test.inc (cacos_test): Add more tests.
47656         (casin_test): Likewise.
47657         (casinh_test): Likewise.
47658         * sysdeps/i386/fpu/libm-test-ulps: Update.
47659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47661 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47663         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47664         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47666 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47668         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47669         * config.make.in (config-cflags-sse4): Remove variable.
47670         (config-cflags-avx): Likewise.
47671         (config-cflags-sse2avx): Likewise.
47672         (config-cflags-novzeroupper): Likewise.
47673         (config-asflags-i686): Likewise.
47674         (have-mfma4): Likewise.
47675         (have-as-vis3): Likewise.
47676         (MIG): Likewise.
47677         * configure.in (MIG): Do not AC_SUBST.
47678         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47679         (libc_cv_cc_sse4): Do not AC_SUBST.
47680         (libc_cv_cc_avx): Likewise.
47681         (libc_cv_cc_sse2avx): Likewise.
47682         (libc_cv_cc_novzeroupper): Likewise.
47683         (libc_cv_cc_fma4): Likewise.
47684         (libc_cv_as_i686): Likewise.
47685         (libc_cv_sparc_as_vis3): Likewise.
47686         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47687         LIBC_CONFIG_VAR.
47688         (config-asflags-i686): Likewise.
47689         (config-cflags-avx): Likewise.
47690         (config-cflags-sse2avx): Likewise.
47691         (have-mfma4): Likewise.
47692         (config-cflags-novzeroupper): Likewise.
47693         * sysdeps/mach/configure.in (MIG): Likewise.
47694         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47695         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47696         LIBC_CONFIG_VAR.
47697         (config-cflags-avx): Likewise.
47698         (config-cflags-sse2avx): Likewise.
47699         (have-mfma4): Likewise.
47700         (config-cflags-novzeroupper): Likewise.
47701         * configure: Regenerated.
47702         * sysdeps/i386/configure: Likewise.
47703         * sysdeps/mach/configure: Likewise.
47704         * sysdeps/sparc/configure: Likewise.
47705         * sysdeps/x86_64/configure: Likewise.
47707 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47709         [BZ #14812]
47710         * locale/programs/localedef.c (options): Put N_ translation marker
47711         on argument names, not just descriptions.
47713 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47715         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47717 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47719         [BZ #14176]
47720         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47722 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47724         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47725         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47726         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47727         [!BEFORE_ABORT] (before_abort): New function.
47728         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47729         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47730         (writev_for_fatal): New function.
47731         (WRITEV_FOR_FATAL): New macro; call that.
47732         (backtrace_and_maps): New function.
47733         (BEFORE_ABORT): New macro; call that.
47734         (struct str_list): Type removed.
47735         (__libc_message, __libc_fatal): Functions removed.
47736         Include <sysdeps/posix/libc_fatal.c> instead.
47738 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47740         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47741         constants.
47742         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47743         double constants.
47745 2013-03-19  Andreas Schwab  <schwab@suse.de>
47747         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47748         * sysdeps/gnu/configure: Regenerate.
47750         * configure.in: Substitute libc_cv_rtlddir.
47751         * configure: Regenerate.
47752         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47753         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47754         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47755         * elf/Makefile (install-others, CFLAGS-interp.c)
47756         (ldso_install, common-ldd-rewrite): Likewise.
47757         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47758         $(inst_slibdir)/$(rtld-installed-name).
47759         * scripts/rellns-sh: Add -p option.
47760         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47761         for source.
47763 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47765         * manual/nptl.texi: Renamed to ...
47766         * manual/threads.texi: ... this.
47767         * manual/Makefile (chapters): Update.
47769 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47771         [BZ #14812]
47772         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47773         on argument names, not just descriptions.
47774         * malloc/memusagestat.c (options): Likewise.
47775         * nss/getent.c (options): Likewise.
47777 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47779         [BZ #14812]
47780         * iconv/iconv_prog.c (options): Put N_ translation marker
47781         on argument names, not just descriptions.
47782         * iconv/iconvconfig.c (options): Likewise.
47784 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47786         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47787         implementation which is faster on all x86_64 architectures.
47788         Tested on AMD, Intel Nehalem, SNB, IVB.
47789         * sysdeps/x86_64/strnlen.S: Likewise.
47791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47792         Remove all multiarch strlen and strnlen versions.
47793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47794         Remove strlen and strnlen related parts.
47796         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47797         Inline strlen part.
47798         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47800         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47801         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47802         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47803         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47804         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47805         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47807 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47809         * manual/memory.texi (Malloc Tunable Parameters):
47810         Sort parameters alphabetically. Add comments for missing entries.
47812 2013-03-17  David S. Miller  <davem@davemloft.net>
47814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47816 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47818         [BZ #15283]
47819         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47820         for arguments at most half maximum finite value.
47821         * math/libm-test.inc (j0_test): Add more tests.
47822         (j1_test): Likewise.
47823         (y0_test): Likewise.
47824         (y1_test): Likewise.
47825         * sysdeps/i386/fpu/libm-test-ulps: Update.
47826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47828         [BZ #14155]
47829         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47830         1 / x and functions P and Q for arguments above 0x1p256L.
47831         (__ieee754_y0l): Likewise.
47832         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47833         (__ieee754_y1l): Likewise.
47834         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47835         (j1_test): Likewise.
47836         (y0_test): Likewise.
47837         (y1_test): Likewise.
47839 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47841         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47842         variable.
47844 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47846         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47847         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47848         zero since it's initialized to EXEC_PAGESIZE.
47850         * sysdeps/unix/sysv/linux/ldsodefs.h
47851         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47852         * sysdeps/generic/ldsodefs.h: ... here.
47854 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47856         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47858         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47859         math/test-snan.c.
47860         * math/test-snan.c: Renamed from
47861         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47862         * math/Makefile (tests): Add test-snan.
47863         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47864         test-powerpc-snan.
47866         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47867         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47868         functions.
47869         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47870         __builtin_nan family of functions.
47871         * math/libm-test.inc (initialize): Initialize qnan_value with
47872         __builtin_nan family of functions.
47873         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47874         Remove variables.
47875         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47876         Remove functions.
47877         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47878         storage class.  Initialize qNaN_var and sNaN_var with
47879         __builtin_nan and __builtin_nans families of functions,
47880         respectively.
47882         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47883         (sqrt_test): Remove duplicate test with qNaN input.
47884         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47885         (round_test, signbit_test, significand_test): Note missing +/-Inf
47886         as well as qNaN tests.
47888         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47889         qNaN_var.  Fix a few strings, too.
47890         * math/libm-test.inc (nan_value): Rename to qnan_value.
47891         * math/gen-libm-test.pl (%beautify): Adjust to that.
47892         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47893         * math/test-misc.c (main): Likewise.
47894         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47895         to __qnan_bytes, and __qnan_union, respectively.
47896         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47897         Likewise.
47898         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47899         and lqnanval, respectively.
47900         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47901         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47902         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47903         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47905         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47906         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47907         doubles.
47909         * math/test-misc.c (main): Fix copy'n'pastos.
47910         * misc/tst-efgcvt.c (special): Likewise.
47912         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47913         Remove declarations.
47915 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47917         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47918         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47919         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47920         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47922 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47924         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47925         macro to return vdso values correctly in IFUNC implementations.
47926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47927         Optimization by using IFUNC.
47929 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47930             Richard Henderson  <rth@redhat.com>
47931             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47933         * Makefile.in (bench): New target.
47934         * NEWS: Mention the benchmark framework.
47935         * Rules (bench): Likewise.
47936         (binaries-bench): Generate binaries for functions to
47937         benchmark.
47938         * benchtests/Makefile: New makefile for benchmark tests.
47939         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47940         programs.
47941         * benchtests/exp-inputs: New input file for EXP function.
47942         * benchtests/pow-inputs: New input file for POW function.
47943         * scripts/bench.pl: New script to generate source files for
47944         benchmark programs.
47946 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47948         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47949         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47950         computations on mantissa.  Use macros for rounding and
47951         division.
47952         (denorm): Likewise.
47953         (__dbl_mp): Likewise.
47954         (add_magnitudes): Likewise.
47955         (sub_magnitudes): Likewise.
47956         (__mul): Likewise.
47957         (__sqr): Likewise.
47958         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47959         powers of two in terms of TWOPOW macro.
47960         (mp_no): Make type of mantissa as MANTISSA_T.
47961         [!RADIXI]: Define RADIXI.
47962         [!TWO52]: Define TWO52.
47963         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47965         * manual/nptl.texi (cindex): Modify threads to pthreads.
47967 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47969         * sysdeps/x86_64/preconfigure: Regenerated.
47971 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47973         [BZ #14155]
47974         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47975         0x1p28 and above.
47976         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47977         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47978         0x1p28 and above.
47979         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47980         * math/libm-test.inc (j0_test): Do not allow one spurious
47981         underflow exception.
47982         (y1_test): Likewise.
47984 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47986         * manual/Makefile (chapters): Add nptl.
47987         * manual/debug.texi (Debugging Support): Add link to Threads
47988         chapter.
47989         * manual/nptl.texi: New file.
47991         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47993 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47995         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47996         for non-NULL pointer before the memory validity test. Pointed
47997         out by Holger Brunck <holger.brunck@keymile.com>.
47999 2013-03-13  Andreas Schwab  <schwab@suse.de>
48001         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48002         instead of .os.
48004 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48006         * timezone/zic.c: Update from tzcode 2013b.
48008 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48010         * manual/install.texi (Configuring and compiling):
48011         Mention i686 and i586.
48012         * INSTALL: Regenerate.
48014 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48016         * sysdeps/init_array/elf-init.c: New file.
48017         * csu/elf-init.c
48018         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48019         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48021         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48022         __gmon_start__ as global, but as static with a .preinit_array pointer.
48023         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48024         * sysdeps/init_array/crti.S: New file, empty except for comments.
48025         * sysdeps/init_array/crtn.S: Likewise.
48027 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48029         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48030         definining bcopy.
48031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48032         Remove Prefer_SSE_for_memop.
48033         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48034         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48035         HAS_PREFER_SSE_FOR_MEMOP.
48036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48037         memset-x86-64.
48038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48039         Remove bzero, memset ifunc support.
48040         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48041         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48042         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48043         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48045 2013-03-11  Andreas Schwab  <schwab@suse.de>
48047         [BZ #15234]
48048         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48049         by SHLIB_COMPAT.
48050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48051         (GLIBC_2.16): Remove pthread_atfork.
48053 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48055         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48056         (ptestcases.h): Likewise.
48058 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48060         * Makeconfig ($(common-objpfx)config.status): Depend on
48061         sysdeps/*/preconfigure{,.in} too.
48063 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48065         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48066         (__free_hook): Use void * instead of __malloc_ptr_t.
48067         (__malloc_hook): Likewise.
48068         (__realloc_hook): Likewise.
48069         (__memalign_hook): Likewise.
48070         (__after_morecore_hook): Likewise.
48071         * malloc/arena.c (save_malloc_hook): Likewise.
48072         (save_free_hook): Likewise.
48073         * malloc/hooks.c (malloc_hook_ini): Likewise.
48074         (realloc_hook_ini): Likewise.
48075         (memalign_hook_ini): Likewise.
48076         * malloc/malloc.c (malloc_hook_ini): Likewise.
48077         (realloc_hook_ini): Likewise.
48078         (memalign_hook_ini): Likewise.
48079         (__free_hook): Likewise.
48080         (__malloc_hook): Likewise.
48081         (__realloc_hook): Likewise.
48082         (__memalign_hook): Likewise.
48083         (__libc_malloc): Likewise.
48084         (__libc_free): Likewise.
48085         (__libc_realloc): Likewise.
48086         (__libc_memalign): Likewise.
48087         (__libc_valloc): Likewise.
48088         (__libc_pvalloc): Likewise.
48089         (__libc_calloc): Likewise.
48090         (__posix_memalign): Likewise.
48091         * malloc/morecore.c (__sbrk): Likewise.
48092         (__default_morecore): Likewise.
48094         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48096         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48097         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48098         __malloc_ptrdiff_t.
48100         * malloc/malloc.h (__malloc_size_t): Remove macro.
48101         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48102         __malloc_size_t.
48103         (old_memalign_hook): Likewise.
48104         (old_realloc_hook): Likewise.
48105         (struct hdr): Likewise.
48106         (flood): Likewise.
48107         (mallochook): Likewise.
48108         (memalignhook): Likewise.
48109         (reallochook): Likewise.
48110         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48111         (tr_old_realloc_hook): Likewise.
48112         (tr_old_memalign_hook): Likewise.
48113         (tr_mallochook): Likewise.
48114         (tr_reallochook): Likewise.
48115         (tr_memalignhook): Likewise.
48117 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48120         default_ldbl_pack and using as default implementation.
48121         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48122         implementation.
48123         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48124         redundant definition.
48125         (ldbl_insert_mantissa): Likewise.
48126         (ldbl_canonicalize): Likewise.
48127         (ldbl_nearbyint): Likewise.
48128         (ldbl_pack): Rename to ldbl_pack_ppc.
48129         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48130         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48131         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48133 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48136         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48137         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48138         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48140         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48141         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48142         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48144 2013-03-07  Andreas Jaeger  <aj@suse.de>
48146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48147         bits/mman-linux.h.
48149 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48151         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48152         Include mpa.h and declare __MPEXP.
48153         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48154         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48155         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48156         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48157         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48158         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48159         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48161         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48162         (__slowpow): Use long double EXPL and LOGL functions to
48163         compute POW.
48164         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48165         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48166         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48167         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48168         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48169         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48171         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48172         intermediate variable to calculate exponent.
48173         (__sqr): Likewise.
48174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48175         Likewise.
48176         (__sqr): Likewise.
48178         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48179         [!NO__SQR]: Define __sqr.
48180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48181         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48182         sysdeps/ieee754/dbl-64/mpa.c.
48183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48185         [BZ #12723]
48186         * posix/Makefile (tests): Add tst-pathconf.
48187         * posix/tst-pathconf.c: New test case.
48188         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48189         _PC_PIPE_BUF.
48190         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48192 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48194         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48196 2013-03-06  Andreas Jaeger  <aj@suse.de>
48198         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48199         definition via __MAP_ANONYMOUS.
48201         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48202         it's not part of Linux headers.
48204         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48205         (MAP_HUGE_MASK): Define.
48207         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48208         Define.
48209         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48210         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48211         Define.
48212         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48213         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48214         Define.
48215         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48216         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48217         Define.
48218         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48220         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48221         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48222         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48223         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48224         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48225         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48227         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48228         Handle f2fs.
48230         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48231         Handle f2fs and efivarfs.
48233         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48234         f2fs.
48236         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48237         (EFIVARFS_MAGIC): Add.
48238         (F2FS_LINK_MAX): Add.
48240 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48242         * stdio-common/vfprintf.c: Replace __builtin_expect with
48243         __glibc_unlikely.
48245 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48247         [BZ #13550]
48248         * sysdeps/generic/bp-sym.h: Remove file.
48249         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48250         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48251         <bp-sym.h> and <bp-asm.h>.
48252         (__longjmp): Don't use BP_SYM.
48253         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48254         and <bp-asm.h>.
48255         (memcpy): Don't use BP_SYM.
48256         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48257         <bp-sym.h> and <bp-asm.h>.
48258         (memcpy): Don't use BP_SYM.
48259         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48260         <bp-asm.h>.
48261         (memcpy): Don't use BP_SYM.
48262         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48263         <bp-asm.h>.
48264         (memset): Don't use BP_SYM.
48265         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48266         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48267         (__bzero): Don't use BP_SYM.
48268         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48269         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48270         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48271         <bp-sym.h> and <bp-asm.h>.
48272         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48273         pointers.
48274         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48275         <bp-sym.h> and <bp-asm.h>.
48276         (memcpy): Don't use BP_SYM.
48277         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48278         <bp-sym.h> and <bp-asm.h>.
48279         (memset): Don't use BP_SYM.
48280         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48281         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48282         (__bzero): Don't use BP_SYM.
48283         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48284         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48285         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48286         <bp-sym.h> and <bp-asm.h>.
48287         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48288         pointers.
48289         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48290         <bp-sym.h> and <bp-asm.h>.
48291         (memcpy): Don't use BP_SYM.
48292         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48293         <bp-sym.h> and <bp-asm.h>.
48294         (memset): Don't use BP_SYM.
48295         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48296         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48297         (__bzero): Don't use BP_SYM.
48298         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48299         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48301         <bp-sym.h> and <bp-asm.h>.
48302         (__memchr): Don't use BP_SYM.
48303         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48304         <bp-sym.h> and <bp-asm.h>.
48305         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48306         pointers.
48307         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48308         <bp-sym.h> and <bp-asm.h>.
48309         (memcpy): Don't use BP_SYM.
48310         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48311         <bp-sym.h> and <bp-asm.h>.
48312         (__mempcpy): Don't use BP_SYM.
48313         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48314         <bp-sym.h> and <bp-asm.h>.
48315         (__memrchr): Don't use BP_SYM.
48316         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48317         <bp-sym.h> and <bp-asm.h>.
48318         (memset): Don't use BP_SYM.
48319         (__bzero): Likewise.
48320         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48321         <bp-sym.h> and <bp-asm.h>.
48322         (__rawmemchr): Don't use BP_SYM.
48323         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48324         <bp-sym.h> and <bp-asm.h>.
48325         (__STRCMP): Don't use BP_SYM.
48326         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48327         <bp-sym.h> and <bp-asm.h>.
48328         (strchr): Don't use BP_SYM.
48329         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48330         <bp-sym.h> and <bp-asm.h>.
48331         (__strchrnul): Don't use BP_SYM.
48332         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48333         <bp-sym.h> and <bp-asm.h>.
48334         (strlen): Don't use BP_SYM.
48335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48336         <bp-sym.h> and <bp-asm.h>.
48337         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48338         pointers.
48339         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48340         <bp-sym.h> and <bp-asm.h>.
48341         (__strnlen): Don't use BP_SYM.
48342         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48343         <bp-sym.h> and <bp-asm.h>.
48344         (__GI__setjmp): Don't use BP_SYM.
48345         (_setjmp): Likewise.
48346         (__sigsetjmp): Likewise.
48347         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48348         (L(start_addresses)): Don't use BP_SYM.
48349         (_start): Likewise.
48350         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48351         <bp-asm.h>.
48352         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48353         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48354         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48355         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48356         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48357         <bp-asm.h>.
48358         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48359         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48360         about bounded pointers.
48361         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48362         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48363         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48364         <bp-asm.h>.
48365         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48366         about bounded pointers.  Remove GKM FIXME comments.
48367         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48368         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48369         <bp-asm.h>.
48370         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48371         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48372         Remove GKM FIXME comments.
48373         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48374         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48375         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48376         <bp-asm.h>.
48377         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48378         about bounded pointers.  Remove GKM FIXME comment.
48379         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48380         and <bp-asm.h>.
48381         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48382         pointers.
48383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48384         <bp-sym.h> and <bp-asm.h>.
48385         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48387         <bp-sym.h> and <bp-asm.h>.
48388         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48389         comment.
48391 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48393         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48394         call free(NULL).
48396 2013-03-05  David S. Miller  <davem@davemloft.net>
48398         * po/es.po: Update from translation team.
48400 2013-03-05  Andreas Jaeger  <aj@suse.de>
48402         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48403         <bits/mman-linux.h>.
48404         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48405         is fine.
48406         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48407         <bits/mman-linux.h> to end of file.
48408         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48409         is fine.
48410         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48411         <bits/mman-linux.h> to end of file.
48412         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48413         is fine.
48414         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48415         <bits/mman-linux.h> to end of file.
48417         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48418         (MCL_CURRENT, MCL_FUTURE): Define here.
48420 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48422         [BZ #15232]
48423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48424         attribute_hidden.
48425         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48427 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48429         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48430         fourth parameter needed for rt_sigprocmask syscall.
48431         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48432         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48433         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48434         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48435         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48436         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48438 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48440         [BZ #13550]
48441         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48442         comment about bounded pointers.
48443         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48444         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48446 2013-03-04  Andreas Jaeger  <aj@suse.de>
48448         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48449         common definitions.
48451         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48452         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48453         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48454         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48455         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48456         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48458 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48460         [BZ #15055]
48461         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48462         __ieee754_sqrl instead of __sqrl.
48464 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48466         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48467         * sysdeps/powerpc/fpu_control.h: ... here.
48468         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48469         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48470         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48471         * sysdeps/powerpc/bits/mathinline.h: ... here.
48473 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48475         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48476         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48477         to just [NEED_DL_SYSINFO_DSO].
48478         * elf/dl-support.c: Likewise.
48479         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48480         * elf/rtld.c (dl_main): Likewise.
48481         * elf/setup-vdso.h (setup_vdso): Likewise.
48482         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48483         * sysdeps/unix/sysv/linux/dl-sysdep.c
48484         (_dl_discover_osversion): Likewise.
48486 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48488         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48489         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48491 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48493         * NEWS: Mention libm performance improvements and non-x86 PI
48494         futex support.
48496         * csu/libc-start.c (__pthread_initialize_minimal): Change
48497         function arguments.
48498         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48500 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48502         [BZ #13550]
48503         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48504         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48505         <bp-sym.h> and <bp-asm.h>.
48506         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48507         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48508         and <bp-asm.h>.
48509         (memcpy): Don't use BP_SYM.
48510         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48511         <bp-asm.h>.
48512         (__mpn_add_n): Don't use BP_SYM.
48513         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48514         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48515         and <bp-asm.h>.
48516         (__mpn_addmul_1): Don't use BP_SYM.
48517         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48518         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48519         <bp-sym.h>.
48520         (_setjmp): Don't use BP_SYM.
48521         (__novmx_setjmp): Likewise.
48522         (__GI__setjmp): Likewise.
48523         (__vmx_setjmp): Likewise.
48524         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48525         <bp-sym.h>.
48526         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48527         (__bzero): Don't use BP_SYM.
48528         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48529         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48530         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48531         <bp-sym.h> and <bp-asm.h>.
48532         (memcpy): Don't use BP_SYM.
48533         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48534         <bp-sym.h> and <bp-asm.h>.
48535         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48536         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48537         <bp-sym.h> and <bp-asm.h>.
48538         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48539         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48540         <bp-asm.h>.
48541         (__mpn_lshift): Don't use BP_SYM.
48542         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48543         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48544         <bp-asm.h>.
48545         (memset): Don't use BP_SYM.
48546         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48547         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48548         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48549         <bp-asm.h>.
48550         (__mpn_mul_1): Don't use BP_SYM.
48551         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48552         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48553         <bp-sym.h> and <bp-asm.h>.
48554         (memcmp): Don't use BP_SYM.
48555         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48556         <bp-sym.h> and <bp-asm.h>.
48557         (memcpy): Don't use BP_SYM.
48558         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48559         <bp-sym.h> and <bp-asm.h>.
48560         (memset): Don't use BP_SYM.
48561         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48562         <bp-sym.h> and <bp-asm.h>.
48563         (strncmp): Don't use BP_SYM.
48564         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48565         <bp-sym.h> and <bp-asm.h>.
48566         (memcpy): Don't use BP_SYM.
48567         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48568         <bp-sym.h> and <bp-asm.h>.
48569         (memset): Don't use BP_SYM.
48570         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48571         <bp-sym.h> and <bp-asm.h>.
48572         (__memchr): Don't use BP_SYM.
48573         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48574         <bp-sym.h> and <bp-asm.h>.
48575         (memcmp): Don't use BP_SYM.
48576         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48577         <bp-sym.h> and <bp-asm.h>.
48578         (memcpy): Don't use BP_SYM.
48579         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48580         <bp-sym.h> and <bp-asm.h>.
48581         (__mempcpy): Don't use BP_SYM.
48582         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48583         <bp-sym.h> and <bp-asm.h>.
48584         (__memrchr): Don't use BP_SYM.
48585         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48586         <bp-sym.h> and <bp-asm.h>.
48587         (memset): Don't use BP_SYM.
48588         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48589         <bp-sym.h> and <bp-asm.h>.
48590         (__rawmemchr): Don't use BP_SYM.
48591         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48592         <bp-sym.h> and <bp-asm.h>.
48593         (__STRCMP): Don't use BP_SYM.
48594         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48595         <bp-sym.h> and <bp-asm.h>.
48596         (strchr): Don't use BP_SYM.
48597         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48598         <bp-sym.h> and <bp-asm.h>.
48599         (__strchrnul): Don't use BP_SYM.
48600         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48601         <bp-sym.h> and <bp-asm.h>.
48602         (strlen): Don't use BP_SYM.
48603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48604         <bp-sym.h> and <bp-asm.h>.
48605         (strncmp): Don't use BP_SYM.
48606         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48607         <bp-sym.h> and <bp-asm.h>.
48608         (__strnlen): Don't use BP_SYM.
48609         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48610         <bp-asm.h>.
48611         (__mpn_rshift): Don't use BP_SYM.
48612         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48613         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48614         <bp-sym.h> and <bp-asm.h>.
48615         (__sigsetjmp): Don't use BP_SYM.
48616         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48617         (L(start_addresses)): Don't use BP_SYM.
48618         (_start): Likewise.
48619         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48620         <bp-asm.h>.
48621         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48622         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48623         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48624         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48625         <bp-asm.h>.
48626         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48627         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48628         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48629         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48630         <bp-asm.h>.
48631         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48632         comments.
48633         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48634         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48635         <bp-asm.h>.
48636         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48637         FIXME comments.
48638         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48639         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48640         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48641         <bp-asm.h>.
48642         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48643         comment.
48644         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48645         and <bp-asm.h>.
48646         (strncmp): Don't use BP_SYM,
48647         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48648         <bp-asm.h>.
48649         (__mpn_sub_n): Don't use BP_SYM.
48650         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48651         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48652         and <bp-asm.h>.
48653         (__mpn_submul_1): Don't use BP_SYM.
48654         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48656         <bp-sym.h> and <bp-asm.h>.
48657         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48659         <bp-sym.h> and <bp-asm.h>.
48660         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48661         comment.
48663 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48666         Use ZK to minimize writes to Z.
48667         (sub_magnitudes): Simplify code a bit.
48668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48669         Use ZK to minimize writes to Z.
48670         (sub_magnitudes): Simplify code a bit.
48672 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48674         * csu/gmon-start.c: Add special exception to license text.
48676 2013-02-27  Richard Henderson  <rth@redhat.com>
48678         * scripts/config.guess: Update from config.git.
48679         * scripts/config.sub: Likewise.
48681 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48683         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48685         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48687         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48689         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48691         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48693 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48695         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48696         [$(build-shared = yes].
48698 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48700         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48701         (__mul): Reduce iterations for calculating mantissa.
48703         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48704         MPTWO.
48705         (__mpranred): Likewise.
48707         [BZ #15160]
48708         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48709         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48711 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48713         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48714         Define __attribute__.
48716 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48718         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48719         unused.
48720         * posix/regex_internal.h (__attribute): Remove.
48721         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48722         (re_string_context_at): Likewise.
48723         (bitset_not): Use __attribute__ and mark function as possibly
48724         unused.
48725         (bitset_merge): Likewise.
48726         (bitset_mask): Likewise.
48727         (re_string_char_size_at): Likewise.
48728         (re_string_wchar_at): Likewise.
48729         (re_string_elem_size_at): Likewise.
48731 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48733         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48734         code.
48735         (cc32): Likewise.
48737         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48738         (__acr): Likewise.
48739         (__cpy): Likewise.
48740         (norm): Likewise.
48741         (denorm): Likewise.
48742         (__dbl_mp): Likewise.
48743         (add_magnitudes): Likewise.
48744         (sub_magnitudes): Likewise.
48745         (__mul): Likewise.
48746         (__inv): Likewise.
48748         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48749         style.
48751         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48752         style.
48754         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48755         code.
48757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48758         up changes with default code.
48759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48760         Likewise.
48762 2013-02-24  Allan McRae  <allan@archlinux.org>
48764         * manual/socket.texi (The Internet Namespace): Order menu items
48765         to match that in the file.
48767         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48768         node listing of the info page menu.
48770 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48772         [BZ #13550]
48773         * sysdeps/i386/bp-asm.h: Remove file.
48774         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48775         (PARMS): Do not use macros from bp-asm.h.
48776         (S1): Likewise.
48777         (S2): Likewise.
48778         (SIZE): Likewise.
48779         (__mpn_add_n): Do not use BP_SYM
48780         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48781         "bp-asm.h".
48782         (PARMS): Do not use macros from bp-asm.h.
48783         (S1): Likewise.
48784         (SIZE): Likewise.
48785         (__mpn_addmul_1): Do not use BP_SYM
48786         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48787         "bp-asm.h".
48788         (PARMS): Do not use macros from bp-asm.h.
48789         (SIGMSK): Likewise.
48790         (_setjmp): Likewise.  Do not use BP_SYM.
48791         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48792         "bp-asm.h".
48793         (PARMS): Do not use macros from bp-asm.h.
48794         (SIGMSK): Likewise.
48795         (setjmp): Likewise.  Do not use BP_SYM.
48796         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48797         "bp-asm.h".
48798         (PARMS): Do not use macros from bp-asm.h.
48799         (__frexp): Do not use BP_SYM.
48800         (frexp): Likewise.
48801         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48802         "bp-asm.h".
48803         (PARMS): Do not use macros from bp-asm.h.
48804         (__frexpf): Do not use BP_SYM.
48805         (frexpf): Likewise.
48806         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48807         "bp-asm.h".
48808         (PARMS): Do not use macros from bp-asm.h.
48809         (__frexpl): Do not use BP_SYM.
48810         (frexpl): Likewise.
48811         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48812         "bp-asm.h".
48813         (PARMS): Do not use macros from bp-asm.h.
48814         (__remquo): Do not use BP_SYM.
48815         (remquo): Likewise.
48816         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48817         "bp-asm.h".
48818         (PARMS): Do not use macros from bp-asm.h.
48819         (__remquof): Do not use BP_SYM.
48820         (remquof): Likewise.
48821         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48822         "bp-asm.h".
48823         (PARMS): Do not use macros from bp-asm.h.
48824         (__remquol): Do not use BP_SYM.
48825         (remquol): Likewise.
48826         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48827         "bp-asm.h".
48828         (PARMS): Do not use macros from bp-asm.h.
48829         (DEST): Likewise.
48830         (SRC): Likewise.
48831         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48832         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48833         "bp-asm.h".
48834         (PARMS): Do not use macros from bp-asm.h.
48835         (strlen): Do not use BP_SYM.
48836         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48837         "bp-asm.h".
48838         (PARMS): Do not use macros from bp-asm.h.
48839         (S1): Likewise.
48840         (S2): Likewise.
48841         (SIZE): Likewise.
48842         (__mpn_add_n): Do not use BP_SYM.
48843         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48844         "bp-asm.h".
48845         (PARMS): Do not use macros from bp-asm.h.
48846         (S1): Likewise.
48847         (SIZE): Likewise.
48848         (__mpn_addmul_1): Do not use BP_SYM.
48849         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48850         weak_alias.
48851         (bzero): Likewise.
48852         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48853         "bp-asm.h".
48854         (PARMS): Do not use macros from bp-asm.h.
48855         (S): Likewise.
48856         (SIZE): Likewise.
48857         (__mpn_lshift): Do not use BP_SYM.
48858         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48859         "bp-asm.h".
48860         (PARMS): Do not use macros from bp-asm.h.
48861         (DEST): Likewise.
48862         (SRC): Likewise.
48863         (LEN): Likewise.
48864         (memcpy): Likewise.  Do not use BP_SYM.
48865         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48866         libc_hidden_def and weak_alias.
48867         (mempcpy): Do not use BP_SYM in weak_alias.
48868         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48869         "bp-asm.h".
48870         (PARMS): Do not use macros from bp-asm.h.
48871         (DEST): Likewise.
48872         (LEN): Likewise.
48873         [!BZERO_P] (CHR): Likewise.
48874         (memset): Likewise.  Do not use BP_SYM.
48875         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48876         "bp-asm.h".
48877         (PARMS): Do not use macros from bp-asm.h.
48878         (S1): Likewise.
48879         (SIZE): Likewise.
48880         (__mpn_mul_1): Do not use BP_SYM.
48881         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48882         "bp-asm.h".
48883         (PARMS): Do not use macros from bp-asm.h.
48884         (S): Likewise.
48885         (SIZE): Likewise.
48886         (__mpn_rshift): Do not use BP_SYM.
48887         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48888         "bp-asm.h".
48889         (PARMS): Do not use macros from bp-asm.h.
48890         (STR): Likewise.
48891         (CHR): Likewise.
48892         (strchr): Likewise.  Do not use BP_SYM.
48893         (index): Do not use BP_SYM in weak_alias.
48894         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48895         "bp-asm.h".
48896         (PARMS): Do not use macros from bp-asm.h.
48897         (DEST): Likewise.
48898         (SRC): Likewise.
48899         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48900         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48901         "bp-asm.h".
48902         (PARMS): Do not use macros from bp-asm.h.
48903         (strlen): Do not use BP_SYM.
48904         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48905         "bp-asm.h".
48906         (PARMS): Do not use macros from bp-asm.h.
48907         (S1): Likewise.
48908         (S2): Likewise.
48909         (SIZE): Likewise.
48910         (__mpn_sub_n): Do not use BP_SYM.
48911         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48912         "bp-asm.h".
48913         (PARMS): Do not use macros from bp-asm.h.
48914         (S1): Likewise.
48915         (SIZE): Likewise.
48916         (__mpn_submul_1): Do not use BP_SYM.
48917         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48918         "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/i686/bzero.S (__bzero): Do not use BP_SYM in
48925         weak_alias.
48926         (bzero): Likewise.
48927         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48928         "bp-asm.h".
48929         (PARMS): Do not use macros from bp-asm.h.
48930         (BLK2): Likewise.
48931         (LEN): Likewise.
48932         (memcmp): Do not use BP_SYM.
48933         (bcmp): Do not use BP_SYM in weak_alias.
48934         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48935         "bp-asm.h".
48936         (PARMS): Do not use macros from bp-asm.h.
48937         (DEST): Likewise.
48938         (SRC): Likewise.
48939         (LEN): Likewise.
48940         (memcpy): Likewise.  Do not use BP_SYM.
48941         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48942         "bp-asm.h".
48943         (PARMS): Do not use macros from bp-asm.h.
48944         (DEST): Likewise.
48945         (SRC): Likewise.
48946         (LEN): Likewise.
48947         (memmove): Likewise.  Do not use BP_SYM.
48948         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48949         "bp-asm.h".
48950         (PARMS): Do not use macros from bp-asm.h.
48951         (DEST): Likewise.
48952         (SRC): Likewise.
48953         (LEN): Likewise.
48954         (__mempcpy): Likewise.  Do not use BP_SYM.
48955         (mempcpy): Do not use BP_SYM in weak_alias.
48956         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48957         "bp-asm.h".
48958         (PARMS): Do not use macros from bp-asm.h.
48959         (DEST): Likewise.
48960         (LEN): Likewise.
48961         [!BZERO_P] (CHR): Likewise.
48962         (memset): Likewise.  Do not use BP_SYM.
48963         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48964         "bp-asm.h".
48965         (PARMS): Do not use macros from bp-asm.h.
48966         (STR2): Likewise.
48967         (strcmp): Do not use BP_SYM.
48968         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48969         "bp-asm.h".
48970         (PARMS): Do not use macros from bp-asm.h.
48971         (STR): Likewise.
48972         (DELIM): Likewise.
48973         [USE_AS_STRTOK_R] (SAVE): Likewise.
48974         (FUNCTION): Likewise.  Do not use BP_SYM.
48975         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48976         aliases.
48977         (strtok_r): Likewise.
48978         (__GI___strtok_r): Likewise.
48979         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48980         (PARMS): Do not use macros from bp-asm.h.
48981         (S): Likewise.
48982         (SIZE): Likewise.
48983         (__mpn_lshift): Do not use BP_SYM.
48984         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48985         (PARMS): Do not use macros from bp-asm.h.
48986         (STR): Likewise.
48987         (CHR): Likewise.
48988         (__memchr): Do not use BP_SYM.
48989         (memchr): Do not use BP_SYM in weak_alias.
48990         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48991         (PARMS): Do not use macros from bp-asm.h.
48992         (BLK2): Likewise.
48993         (LEN): Likewise.
48994         (memcmp): Do not use BP_SYM.
48995         (bcmp): Do not use BP_SYM in weak_alias.
48996         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48997         (PARMS): Do not use macros from bp-asm.h.
48998         (S1): Likewise.
48999         (SIZE): Likewise.
49000         (__mpn_mul_1): Do not use BP_SYM.
49001         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49002         "bp-asm.h".
49003         (PARMS): Do not use macros from bp-asm.h.
49004         (STR): Likewise.
49005         (CHR): Likewise.
49006         (__rawmemchr): Do not use BP_SYM.
49007         (rawmemchr): Do not use BP_SYM in weak_alias.
49008         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49009         (PARMS): Do not use macros from bp-asm.h.
49010         (S): Likewise.
49011         (SIZE): Likewise.
49012         (__mpn_rshift): Do not use BP_SYM.
49013         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49014         (PARMS): Do not use macros from bp-asm.h.
49015         (SIGMSK): Likewise.
49016         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49017         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49018         (_start): Do not use BP_SYM.
49019         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49020         (PARMS): Do not use macros from bp-asm.h.
49021         (DEST): Likewise.
49022         (SRC): Likewise.
49023         (__stpcpy): Likewise.  Do not use BP_SYM.
49024         (stpcpy): Do not use BP_SYM in weak_alias.
49025         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49026         "bp-asm.h".
49027         (PARMS): Do not use macros from bp-asm.h.
49028         (DEST): Likewise.
49029         (SRC): Likewise.
49030         (LEN): Likewise.
49031         (__stpncpy): Likewise.  Do not use BP_SYM.
49032         (stpncpy): Do not use BP_SYM in weak_alias.
49033         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49034         (PARMS): Do not use macros from bp-asm.h.
49035         (STR): Likewise.
49036         (CHR): Likewise.
49037         (strchr): Likewise.  Do not use BP_SYM.
49038         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49039         "bp-asm.h".
49040         (PARMS): Do not use macros from bp-asm.h.
49041         (STR): Likewise.
49042         (CHR): Likewise.
49043         (__strchrnul): Likewise.  Do not use BP_SYM.
49044         (strchrnul): Do not use BP_SYM in weak_alias.
49045         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49046         "bp-asm.h".
49047         (PARMS): Do not use macros from bp-asm.h.
49048         (STOP): Likewise.
49049         (strcspn): Do not use BP_SYM.
49050         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49051         "bp-asm.h".
49052         (PARMS): Do not use macros from bp-asm.h.
49053         (STR): Likewise.
49054         (STOP): Likewise.
49055         (strpbrk): Likewise.  Do not use BP_SYM.
49056         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49057         "bp-asm.h".
49058         (PARMS): Do not use macros from bp-asm.h.
49059         (STR): Likewise.
49060         (CHR): Likewise.
49061         (strrchr): Likewise.  Do not use BP_SYM.
49062         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49063         (PARMS): Do not use macros from bp-asm.h.
49064         (SKIP): Likewise.
49065         (strspn): Do not use BP_SYM.
49066         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49067         (PARMS): Do not use macros from bp-asm.h.
49068         (STR): Likewise.
49069         (DELIM): Likewise.
49070         (SAVE): Likewise.
49071         (FUNCTION): Likewise.  Do not use BP_SYM.
49072         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49073         aliases.
49074         (strtok_r): Likewise.
49075         (__GI___strtok_r): Likewise.
49076         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49077         (PARMS): Do not use macros from bp-asm.h.
49078         (S1): Likewise.
49079         (S2): Likewise.
49080         (SIZE): Likewise.
49081         (__mpn_sub_n): Do not use BP_SYM.
49082         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49083         "bp-asm.h".
49084         (PARMS): Do not use macros from bp-asm.h.
49085         (S1): Likewise.
49086         (SIZE): Likewise.
49087         (__mpn_submul_1): Do not use BP_SYM.
49088         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49089         <bp-sym.h>.
49090         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49091         and <bp-asm.h>.
49092         (PARMS): Do not use macros from bp-asm.h.
49093         (FLAGS): Likewise.
49094         (PTID): Likewise.
49095         (TLS): Likewise.
49096         (CTID): Likewise.
49097         (__clone): Do not use BP_SYM.
49098         (clone): Do not use BP_SYM in weak_alias.
49099         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49100         and <bp-asm.h>.
49101         (PARMS): Do not use macros from bp-asm.h.
49102         (LEN): Likewise.
49103         (__mmap64): Do not use BP_SYM.
49104         (mmap64): Do not use BP_SYM in weak_alias.
49105         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49106         <bp-sym.h> and <bp-asm.h>.
49107         (PARMS): Do not use macros from bp-asm.h.
49108         (__posix_fadvise64_l64): Do not use BP_SYM.
49109         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49110         (PARMS): Do not use macros from bp-asm.h.
49111         (NSOPS): Likewise.
49112         (semtimedop): Do not use BP_SYM.
49113         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49114         and <bp-asm.h>.
49116 2013-02-21  Allan McRae  <allan@archlinux.org>
49118         * manual/message.texi (Charset conversion in gettext):
49119         Move @end statement to beginning of line.
49121 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49124         static.
49125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49126         Likewise.
49128         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49129         (denorm): Likewise.
49130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49133 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49135         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49136         tail-call to the resolved function if pltexit isn't needed.
49138 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49141         or Y being zero as being unlikely.
49142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49143         Likewise.
49145 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49147         * manual/nss.texi (System Databases and Name Service Switch):
49148         Remove frobnicate @pxref.
49150 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49152         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49153         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49155 2013-02-20  Petr Machata  <pmachata@redhat.com>
49157         * elf/elf.h (R_ARM_TARGET1): New macro.
49158         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49159         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49160         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49161         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49162         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49163         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49164         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49165         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49166         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49167         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49168         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49169         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49170         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49171         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49172         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49173         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49174         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49175         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49176         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49177         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49178         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49179         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49180         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49181         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49182         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49183         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49184         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49185         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49186         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49187         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49188         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49189         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49190         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49191         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49192         (R_ARM_THM_GOT_BREL12): Likewise.
49193         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49194         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49195         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49196         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49197         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49198         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49199         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49200         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49201         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49203 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49205         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49206         __attribute_used__ to __attribute__ ((unused)).
49208 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49210         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49211         powerpc mpa.c.
49212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49213         comment formatting.
49214         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49216 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49218         [BZ #13550]
49219         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49220         Remove macro.
49221         (ENTER): Remove both macro definitions.
49222         (LEAVE): Likewise.
49223         (CHECK_BOUNDS_LOW): Likewise.
49224         (CHECK_BOUNDS_HIGH): Likewise.
49225         (CHECK_BOUNDS_BOTH): Likewise.
49226         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49227         (RETURN_BOUNDED_POINTER): Likewise.
49228         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49229         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49230         (POP_ERRNO_LOCATION_RETURN): Likewise.
49231         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49232         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49233         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49234         macros.
49235         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49236         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49237         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49238         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49239         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49240         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49241         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49242         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49243         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49244         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49245         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49246         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49247         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49248         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49249         removed macros.
49250         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49251         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49252         macros.
49253         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49254         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49255         * sysdeps/i386/i586/memset.S (memset): Likewise.
49256         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49257         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49258         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49259         macros.
49260         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49261         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49262         Change uses of L(2) to L(out).
49263         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49264         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49265         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49266         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49267         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49268         removed macros.
49269         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49270         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49271         macros.
49272         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49273         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49274         (RETURN): Do not use macro LEAVE.
49275         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49276         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49277         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49278         * sysdeps/i386/i686/memset.S (memset): Likewise.
49279         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49280         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49281         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49282         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49283         Likewise.
49284         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49285         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49286         L(1_2) and L(1_3) into L(1).
49287         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49288         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49289         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49290         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49291         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49292         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49293         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49294         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49295         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49296         macros.
49297         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49298         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49299         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49300         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49301         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49302         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49303         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49304         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49305         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49306         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49307         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49308         * sysdeps/i386/strspn.S (strspn): Likewise.
49309         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49310         conditional code.
49311         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49312         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49313         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49314         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49315         L(1_3) into L(1_1).
49316         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49317         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49318         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49319         macros.
49320         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49322 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49324         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49325         macro.
49327 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49329         * math/atest-exp.c (exp_mpn): Remove ROUND.
49330         * math/atest-exp2.c (exp_mpn): Likewise.
49331         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49333         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49334         * stdlib/tst-tls-atexit-lib.c: Likewise.
49335         * stdlib/tst-tls-atexit.c: Likewise.
49337 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49339         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49340         and __attribute_alloc_size__.
49342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49344         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49345         __attribute_alloc_size__.
49346         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49347         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49349 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49351         * include/programs/xmalloc.h: New file.
49352         * catgets/gencat.c: Include it.
49353         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49354         * elf/pldd.c: Likewise.
49355         * iconv/iconv_charmap.c: Likewise.
49356         * iconv/iconvconfig.c: Likewise.
49357         * iconv/strtab.c: Likewise.
49358         * locale/programs/locale.c: Likewise.
49359         * locale/programs/localedef.h: Likewise.
49360         * locale/programs/simple-hash.c: Likewise.
49361         * nscd/nscd.h: Likewise.
49362         * nss/makedb.c: Likewise.
49363         * sysdeps/generic/ldconfig.h: Likewise.
49365 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49367         * Versions.def: Add GLIBC_2.18.
49368         * include/link.h (struct link_map): New member l_tls_dtor_count.
49369         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49370         (__call_tls_dtors): Likewise.
49371         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49372         __cxa_thread_atexit_impl.
49373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49374         Likewise.
49375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49376         Likewise.
49377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49378         Likewise.
49379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49380         Likewise.
49381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49383         Likewise.
49384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49385         Likewise.
49386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49388         Likewise.
49389         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49390         (tests): Add test case tst-tls-atexit.
49391         (modules-names): Add shared library for tst-tls-atexit.
49392         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49393         (GLIBC_PRIVATE): Add __call_tls_dtors.
49394         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49395         for libstdc++.
49396         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49397         * stdlib/tst-tls-atexit.c: New test case.
49398         * stdlib/tst-tls-atexit-lib.c: New test case.
49400         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49402         * elf/Versions (ld): Add _dl_find_dso_for_object.
49403         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49404         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49405         (dl_open_worker): Use _dl_find_dso_for_object.
49406         * elf/dl-sym.c (do_sym): Likewise.
49407         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49409 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49411         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49412         Syntactic changes only.
49413         (_dl_runtime_profile): Do a tail-call to the resolved function.
49415 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49417         [BZ #13550]
49418         * sysdeps/x86_64/bp-asm.h: Remove file.
49419         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49420         <bp-sym.h> and <bp-asm.h>.
49421         (__clone): Do not use BP_SYM.
49422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49423         <bp-sym.h> and <bp-asm.h>.
49424         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49425         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49426         "bp-asm.h".
49427         (_setjmp): Do not use BP_SYM.
49428         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49429         "bp-asm.h".
49430         (setjmp): Do not use BP_SYM.
49431         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49432         libc_hidden_def.
49433         (mempcpy): Do not use BP_SYM in weak_alias.
49434         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49435         "bp-asm.h".
49436         (strchr): Do not use BP_SYM.
49437         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49438         "bp-asm.h".
49439         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49440         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49441         (_start): Do not use BP_SYM.
49442         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49443         "bp-asm.h".
49444         (strcat): Do not use BP_SYM.
49445         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49446         "bp-asm.h".
49447         (STRCMP): Do not use BP_SYM.
49448         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49449         "bp-asm.h".
49450         (STRCPY): Do not use BP_SYM.
49451         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49452         "bp-asm.h".
49453         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49454         "bp-asm.h".
49455         (FUNCTION): Do not use BP_SYM.
49456         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49457         weak_alias.
49458         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49460 2013-02-17  Andreas Jaeger  <aj@suse.de>
49462         * time/Versions: Sort entries.
49463         * string/Versions: Likewise.
49464         * resolv/Versions: Likewise.
49465         * posix/Versions: Likewise.
49466         * iconv/Versions: Likewise.
49467         * elf/Versions: Likewise.
49468         * wcsmbs/Versions: Likewise.
49470 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49472         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49473         loop termination condition.
49475         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49476         variable to calculate EZ.
49477         (__sqr): Likewise.
49479         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49480         the lower precision input.
49482 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49484         [BZ #13550]
49485         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49486         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49487         (run-via-rtld-prefix): Do not handle %-bp tests.
49488         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49489         (all-object-suffixes): Remove .ob.
49490         (bppfx): Remove variable.
49491         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49492         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49493         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49494         [$(build-bounded) = yes] (libtype.ob): Likewise.
49495         * Makerules (elide-routines.ob): Remove variable.
49496         (do-tests-clean): Do not handle *-bp.out.
49497         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49498         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49499         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49500         (tests): Do not include $(tests-bp.out).
49501         (xtests): Do not include $(xtests-bp.out).
49502         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49503         [$(build-bounded) = yes] ($(addprefix
49504         $(objpfx),$(binaries-bounded))): Remove rule.
49505         ($(objpfx)%-bp.out): Remove rule.
49506         * config.make.in (build-bounded): Remove variable.
49507         * crypt/Makefile [$(build-bounded) = yes]
49508         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49509         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49510         append to variable.
49511         [$(build-bounded) = yes] (install-lib): Likewise.
49512         [$(build-bounded) = yes] (generated): Likewise.
49513         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49514         Remove rule.
49515         * intl/Makefile [$(build-bounded) = yes]
49516         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49517         * math/Makefile [$(build-bounded) = yes]
49518         ($(tests:%=$(objpfx)%-bp): Likewise.
49519         * misc/Makefile [$(build-bounded) = yes]
49520         ($(objpfx)tst-tsearch-bp): Likewise.
49521         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49522         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49523         Remove dependency.
49524         * string/Makefile (o-objects.ob): Remove variable.
49525         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49526         (CFLAGS-.ob): Remove variable.
49527         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49528         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49529         both definitions of variable.
49530         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49531         (ASFLAGS-.ob): Remove variable.
49533 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49535         [BZ #13550]
49536         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49537         Remove __BOUNDED_POINTERS__ from condition.
49538         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49539         * string/bits/string2.h [!__NO_STRING_INLINES &&
49540         !__BOUNDED_POINTERS__]: Likewise.
49541         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49542         Likewise.
49543         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49544         Remove conditional code.
49545         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49546         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49547         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49548         condition.
49550         [BZ #13550]
49551         * csu/libc-start.c: Do not include <bp-sym.h>.
49552         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49553         * elf/dl-open.c: Do not include <bp-sym.h>.
49554         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49555         * math/fegetenv.c: Do not include <bp-sym.h>.
49556         (fegetenv): Do not use BP_SYM in versioned symbols.
49557         * nptl/sysdeps/pthread/bits/libc-lockP.h
49558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49559         <bp-sym.h>.
49560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49561         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49563         (__pthread_mutex_destroy): Likewise.
49564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49565         (__pthread_mutex_lock): Likewise.
49566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49567         (__pthread_mutex_trylock): Likewise.
49568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49569         (__pthread_mutex_unlock): Likewise.
49570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49571         (__pthread_mutexattr_init): Likewise.
49572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49573         (__pthread_mutexattr_destroy): Likewise.
49574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49575         (__pthread_mutexattr_settype): Likewise.
49576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49577         (__pthread_rwlock_init): Likewise.
49578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49579         (__pthread_rwlock_destroy): Likewise.
49580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49581         (__pthread_rwlock_rdlock): Likewise.
49582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49583         (__pthread_rwlock_tryrdlock): Likewise.
49584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49585         (__pthread_rwlock_wrlock): Likewise.
49586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49587         (__pthread_rwlock_trywrlock): Likewise.
49588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49589         (__pthread_rwlock_unlock): Likewise.
49590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49591         (__pthread_key_create): Likewise.
49592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49593         (__pthread_setspecific): Likewise.
49594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49595         (__pthread_getspecific): Likewise.
49596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49597         Likewise.
49598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49599         (_pthread_cleanup_push_defer): Likewise.
49600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49601         (_pthread_cleanup_pop_restore): Likewise.
49602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49603         (pthread_setcancelstate): Likewise.
49604         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49605         <bp-sym.h>.
49606         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49607         (memchr): Do not use BP_SYM in weak_alias.
49608         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49609         (fegetenv): Do not use BP_SYM in versioned symbols.
49610         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49611         (fesetenv): Do not use BP_SYM in versioned symbols.
49612         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49613         (feupdateenv): Do not use BP_SYM in versioned symbols.
49614         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49615         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49616         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49617         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49618         (open64): Do not use BP_SYM in weak_alias.
49619         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49620         (fegetenv): Do not use BP_SYM in versioned symbols.
49621         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49622         (fesetenv): Do not use BP_SYM in versioned symbols.
49623         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49624         (feupdateenv): Do not use BP_SYM in versioned symbols.
49625         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49626         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49627         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49628         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49629         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49630         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49631         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49632         <bp-sym.h>.
49633         (__libc_start_main): Do not use BP_SYM.
49635 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49638         redundant return line.
49639         (norm): Likewise.
49640         (denorm): Likewise.
49641         (dbl_mp): Likewise.
49642         (sub_magnitudes): Likewise.
49643         (__add): Likewise.
49644         (__sub): Likewise.
49645         (__mul): Likewise.
49646         (__inv): Likewise.
49647         (__dvd): Likewise.
49648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49649         (norm): Likewise.
49650         (denorm): Likewise.
49651         (dbl_mp): Likewise.
49652         (sub_magnitudes): Likewise.
49653         (__add): Likewise.
49654         (__sub): Likewise.
49655         (__mul): Likewise.
49656         (__inv): Likewise.
49657         (__dvd): Likewise.
49659         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49660         instead of __mul.
49661         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49662         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49663         (cc32): Likewise.
49665         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49666         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49667         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49668         of __mul for squares.
49669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49670         function
49671         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49672         Likewise.
49673         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49674         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49676 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49678         [BZ #13550]
49679         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49680         code.
49681         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49682         prototype or function definition.  Rename ubp_* variables and
49683         parameters.  Remove argv definitions conditional on
49684         [__BOUNDED_POINTERS__].
49685         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49686         * elf/dl-runtime.c (_dl_fixup): Likewise.
49687         * include/set-hooks.h (RUN_HOOK): Likewise.
49688         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49689         definition.
49690         * string/strcpy.c (strcpy): Do not use __unbounded.
49691         * sysdeps/generic/frame.h (struct layout): Likewise.
49692         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49693         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49694         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49695         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49696         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49697         (__backtrace): Likewise.
49698         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49699         use __ptrvalue.
49700         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49701         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49702         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49703         Likewise.
49704         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49705         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49706         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49707         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49708         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49709         Do not use __unbounded.
49710         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49711         Rename __unboundedrlimits parameter to rlimits in prototype.
49712         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49713         Do not use __unbounded.
49714         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49715         not use __ptrvalue.
49716         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49717         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49718         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49719         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49720         __ptrvalue or __unbounded.
49721         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49722         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49723         use __unbounded.
49724         (__new_msgctl): Do not use __ptrvalue.
49725         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49726         __unbounded.
49727         (__libc_msgrcv): Do not use __ptrvalue.
49728         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49729         startup_info): Do not use __unbounded.
49730         (__libc_start_main): Likewise.  Rename ubp_* variables and
49731         parameters.  Remove argv definitions conditional on
49732         [__BOUNDED_POINTERS__].
49733         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49734         __ptrvalue.
49735         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49736         use __unbounded.
49737         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49738         or __ptrvalue.
49739         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49740         use __unbounded.
49741         (__new_shmctl): Do not use __ptrvalue.
49742         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49743         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49744         Likewise.
49745         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49746         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49747         (__libc_sigaction): Likewise.
49748         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49749         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49750         Likewise.
49751         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49753 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49755         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49757         * string/mempcpy.c: Implement by calling memcpy.
49759 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49763         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49764         evaluation.
49766         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49767         values in the mantissa.
49769         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49770         minimize writes to Z.
49771         (sub_magnitudes): Simplify code a bit.
49773 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49775         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49776         from the message.  The linker prefixes all warnings with that already.
49778 2013-02-12  Andreas Schwab  <schwab@suse.de>
49780         [BZ #15078]
49781         * posix/regexec.c (extend_buffers): Add parameter min_len.
49782         (check_matching): Pass minimum needed length.
49783         (clean_state_log_if_needed): Likewise.
49784         (get_subexp): Likewise.
49785         * posix/Makefile (tests): Add bug-regex34.
49786         (bug-regex34-ENV): Define.
49787         * posix/bug-regex34.c: New file.
49789         [BZ #11561]
49790         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49791         elements compare against the byte sequence of it, not its name.
49792         * posix/Makefile (tests): Add bug-regex35.
49793         (bug-regex35-ENV): Define.
49794         * posix/bug-regex35.c: New file.
49796 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49798         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49799         comment.
49800         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49801         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49802         (CHECK_EOL): Add undef.
49804 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49806         * bits/stdlib-bsearch.h: New file.
49807         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49808         * stdlib/stdlib.h: Likewise.
49810 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49812         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49813         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49814         declaration.
49815         * manual/search.texi (Array Search Function): Add missing const in
49816         lfind prototype.
49817         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49818         declaration to use rlim_t.
49819         (Basic Scheduling Functions): Remove erroneous const from
49820         sched_getparam prototype.  Remove erroneous * from
49821         sched_get_priority_max and sched_get_priority_min prototypes.
49822         (Resource Usage): Fix summary @comment on vtimes to refer to
49823         sys/vtimes.h rather than vtimes.h.
49824         Add missing *s in vtimes prototype.
49825         (Limits on Resources): Fix ulimit prototype to return long int.
49826         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49827         prototypes to use long int rather than double.
49828         (BSD Random): Fix initstate and setstate to use char *, not void *.
49829         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49830         prototype to make second argument 'struct aiocb64 *const[]'.
49831         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49832         (Status of AIO Operations): Remove erroneous const in aio_return and
49833         aio_return64 prototypes.
49834         (Synchronizing I/O): Fix sync prototype to return void.
49835         * manual/startup.texi (Suboptions): Remove an erroneous const in
49836         getsubopt prototype.
49837         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49838         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49839         use size_t rather than int.
49840         (Scanning All Users): Likewise for getpwent_r.
49841         (Setting Groups): Add missing const to setgroups prototype.
49842         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49843         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49844         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49845         'const void *' rather than 'const char *'.
49846         (Host Address Functions): Likewise for inet_ntop.
49847         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49848         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49849         ssize_t for return value.
49850         (Sending Data): Likewise for send, sendto, sendmsg.
49851         (Socket Option Functions): Add a missing const in setsockopt prototype.
49852         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49853         use wchar_t for the argument.
49854         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49855         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49856         take no arguments.
49857         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49858         double/float/long double for second argument.
49859         Fix return types of significand, significandf, significandl.
49860         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49861         argument in fchmod prototype.
49862         (File Owner): Use uid_t and gid_t in fchown prototype.
49863         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49864         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49865         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49866         use 'const struct dirent **' as argument types to CMP function pointer
49867         argument.
49868         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49869         (File Times): Fix summary magic @comment for struct utimbuf and utime
49870         to refer to utime.h, not time.h.
49871         * manual/string.texi (Argz Functions): Add missing const in
49872         argz_extract and argz_next prototypes.
49873         (Finding Tokens in a String): Likewise for basename.
49874         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49875         (Copying and Concatenation): Fix typo in wmemmove prototype.
49876         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49877         (Signal Stack): Remove erroneous const in sigstack prototype.
49878         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49879         prototype.
49880         (Simple Calendar Time): Likewise for stime.
49881         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49882         prototype.
49883         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49884         say sys/sysctl.h instead.
49885         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49886         and vsyslog prototypes.
49888 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49890         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49891         Remove.
49893 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49895         * misc/sys/mman.h: Fix typo in mremap comment.
49897 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49899         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49900         the '\0' terminator.
49902 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49904         [BZ #13550]
49905         * debug/segfault.c: Don't include <bp-checks.h>.
49906         * sysdeps/generic/bp-checks.h: Remove file.
49907         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49908         (__GETDENTS): Don't use CHECK_N.
49909         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49910         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49911         (__getgroups): Don't use CHECK_N.
49912         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49913         (setgroups): Don't use CHECK_N.
49914         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49915         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49916         (__libc_msgrcv): Don't use CHECK_N.
49917         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49918         (__libc_msgsnd): Don't use CHECK_N.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49920         <bp-checks.h>.
49921         (__libc_pread): Don't use CHECK_N.
49922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49923         include <bp-checks.h>.
49924         (__libc_pread64): Don't use CHECK_N.
49925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49926         include <bp-checks.h>.
49927         (__libc_pwrite): Don't use CHECK_N.
49928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49929         include <bp-checks.h>.
49930         (__libc_pwrite64): Don't use CHECK_N.
49931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49932         <bp-checks.h>.
49933         (__libc_pread): Don't use CHECK_N.
49934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49935         include <bp-checks.h>.
49936         (__libc_pread64): Don't use CHECK_N.
49937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49938         include <bp-checks.h>.
49939         (__libc_pwrite): Don't use CHECK_N.
49940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49941         include <bp-checks.h>.
49942         (__libc_pwrite64): Don't use CHECK_N.
49943         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49944         (do_pread): Don't use CHECK_N.
49945         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49946         (do_pread64): Don't use CHECK_N.
49947         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49948         (do_pwrite): Don't use CHECK_N.
49949         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49950         (do_pwrite64): Don't use CHECK_N.
49951         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49952         (__libc_readv): Don't use CHECK_N.
49953         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49954         (semop): Don't use CHECK_N.
49955         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49956         <bp-checks.h>.
49957         (semtimedop): Don't use CHECK_N.
49958         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49959         (__libc_pread): Don't use CHECK_N.
49960         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49961         <bp-checks.h>.
49962         (__libc_pread64): Don't use CHECK_N.
49963         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49964         <bp-checks.h>.
49965         (__libc_pwrite): Don't use CHECK_N.
49966         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49967         <bp-checks.h>.
49968         (__libc_pwrite64): Don't use CHECK_N.
49969         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49970         <bp-checks.h>.
49971         (__libc_msgrcv): Don't use CHECK_N.
49972         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49973         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49974         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49975         (__libc_writev): Don't use CHECK_N.
49977 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49979         * string/strcpy.c: Removed unused variable.
49981         * Makeconfig (+sysdep-includes): Define with := rather than =.
49982         Use an existing include/ subdir of each sysdeps dir before it.
49984 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49986         * nscd/connection.c (register_traced_file): Comment function.
49987         [HAVE_INOTIFY] (union __inev): Define.
49988         [HAVE_INOTIFY] (inotify_check_files): New function.
49989         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49990         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49991         clear_db_cache.
49992         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49994 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49996         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49997         loaded if not already and that a failure is permanent.
49999 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50001         [BZ #15006]
50002         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50003         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50005 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50007         [BZ #13550]
50008         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50009         (CHECK_1_NULL_OK): Likewise.
50010         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50011         (__fxstat): Do not use CHECK_1.
50012         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50013         <bp-checks.h>.
50014         (___fxstat64): Do not use CHECK_1.
50015         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50016         <bp-checks.h>.
50017         (__fxstatat): Do not use CHECK_1.
50018         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50019         <bp-checks.h>.
50020         (__fxstatat64): Do not use CHECK_1.
50021         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50022         <bp-checks.h>.
50023         (__fxstat): Do not use CHECK_1.
50024         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50025         <bp-checks.h>.
50026         (__fxstatat): Do not use CHECK_1.
50027         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50028         <bp-checks.h>.
50029         (__getresgid): Do not use CHECK_1.
50030         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50031         <bp-checks.h>.
50032         (__getresuid): Do not use CHECK_1.
50033         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50034         <bp-checks.h>.
50035         (__lxstat): Do not use CHECK_1.
50036         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50037         <bp-checks.h>.
50038         (__old_msgctl): Do not use CHECK_1.
50039         (__new_msgctl): Likewise.
50040         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50041         <bp-checks.h>.
50042         (__new_setrlimit): Do not use CHECK_1.
50043         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50044         <bp-checks.h>.
50045         (__old_shmctl): Do not use CHECK_1.
50046         (__new_shmctl): Likewise.
50047         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50048         <bp-checks.h>.
50049         (__xstat): Do not use CHECK_1.
50050         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50051         (__lxstat): Do not use CHECK_1.
50052         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50053         <bp-checks.h>.
50054         (___lxstat64): Do not use CHECK_1.
50055         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50056         (__old_msgctl): Do not use CHECK_1.
50057         (__new_msgctl): Likewise.
50058         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50059         <bp-checks.h>.
50060         (__gettimeofday): Do not use CHECK_1.
50061         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50062         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50063         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50064         <bp-checks.h>.
50065         (__gettimeofday): Do not use CHECK_1.
50066         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50067         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50068         (__new_shmctl): Do not use CHECK_1.
50069         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50070         <bp-checks.h>.
50071         (do_sigtimedwait): Do not use CHECK_1.
50072         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50073         <bp-checks.h>.
50074         (do_sigwaitinfo): Do not use CHECK_1.
50075         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50076         <bp-checks.h>.
50077         (msgctl): Do not use CHECK_1.
50078         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50079         <bp-checks.h>.
50080         (shmctl): Do not use CHECK_1.
50081         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50082         (ustat): Do not use CHECK_1.
50083         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50084         <bp-checks.h>.
50085         (__fxstat): Do not use CHECK_1.
50086         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50087         <bp-checks.h>.
50088         (__fxstatat): Do not use CHECK_1.
50089         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50090         <bp-checks.h>.
50091         (__lxstat): Do not use CHECK_1.
50092         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50093         <bp-checks.h>.
50094         (__xstat): Do not use CHECK_1.
50095         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50096         (__xstat): Do not use CHECK_1.
50097         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50098         (___xstat64): Do not use CHECK_1.
50100         [BZ #13550]
50101         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50102         definitions.
50103         (CHECK_BOUNDS_HIGH): Likewise.
50104         * string/strcpy.c: Do not include <bp-checks.h>.
50105         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50107 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50109         * nscd/nscd-client.h (__nscd_drop_map_ref):
50110         Add __attribute__ ((unused)).
50111         * nis/nss-nisplus.h (niserr2nss): Likewise.
50113         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50114         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50116         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50117         Remove inline keyword.
50118         * include/rounding-mode.h (round_away): Likewise.
50119         * libio/wfileops.c (adjust_wide_data): Likewise.
50120         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50121         (__m128i_strloadu_tolower): Likewise.
50122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50123         (__m128i_strloadu_tolower): Likewise.
50124         * time/mktime.c (ydhms_diff): Likewise.
50125         * locale/elem-hash.h (elem_hash): Likewise.
50126         * locale/setlocale.c (setdata): Likewise.
50127         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50128         (re_string_wchar_at): Likewise.
50129         (bitset_not, bitset_merge, bitset_mask): Likewise.
50130         [!(__GNUC__ > 3)] (inline): Remove macro.
50131         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50132         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50133         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50134         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50135         * string/memcmp.c (memcmp_bytes): Likewise.
50136         * locale/programs/locarchive.c (compute_hashval): Likewise.
50137         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50138         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50139         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50140         * nss/getent.c (print_rpc, print_protocols): Likewise.
50141         (print_passwd, print_group, print_aliases): Likewise.
50142         * nis/nss-nisplus.h (niserr2nss): Likewise.
50143         * nscd/connections.c (restart_p): Likewise.
50144         Change return type to bool.
50146 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50148         * Makeconfig (all-Depend-files): Add existing
50149         $(sorted-subdirs:=/Depend) files.
50150         (all-subdirs): Remove nss.
50151         * sysdeps/unix/inet/Subdirs: Add it here instead.
50152         * hesiod/Depend: New file.
50154         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50155         instead of calling alloca.
50157         * io/lseek.c (__lseek): Rename to __libc_lseek.
50158         Define __lseek as an alias.
50160         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50162 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50164         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50165         else clause and remove check for non-standard endianness.
50167 2013-02-04  David S. Miller  <davem@davemloft.net>
50169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50171 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50173         [BZ #13550]
50174         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50175         (__ubp_memchr): Remove prototype.
50176         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50177         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50178         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50179         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50180         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50181         Remove alias.
50182         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50183         (__ubp_memchr): Likewise.
50184         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50185         (__ubp_memchr): Likewise.
50186         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50187         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50188         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50189         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50190         CHECK_STRING.
50191         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50192         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50193         (__getcwd): Do not use CHECK_STRING.
50194         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50195         <bp-checks.h>.
50196         (__real_chown): Do not use CHECK_STRING.
50197         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50198         <bp-checks.h>.
50199         (fchownat): Do not use CHECK_STRING.
50200         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50201         CHECK_STRING.
50202         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50203         <bp-checks.h>.
50204         (__lchown): Do not use CHECK_STRING.
50205         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50206         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50207         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50208         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50210         include <bp-checks.h>.
50211         (truncate64): Do not use CHECK_STRING.
50212         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50213         <bp-checks.h>.
50214         (__real_chown): Do not use CHECK_STRING.
50215         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50216         <bp-checks.h>.
50217         (__lchown): Do not use CHECK_STRING.
50218         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50219         <bp-checks.h>.
50220         (__chown): Do not use CHECK_STRING.
50221         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50222         <bp-checks.h>.
50223         (truncate64): Do not use CHECK_STRING.
50224         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50225         Likewise.
50226         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50227         (__xmknod): Do not use CHECK_STRING.
50228         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50229         <bp-checks.h>.
50230         (__xmknodat): Do not use CHECK_STRING.
50231         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50232         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50234 2013-02-04  Andreas Schwab  <schwab@suse.de>
50236         [BZ #14142]
50237         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50238         * include/netdb.h: Likewise for h_errno.
50239         * elf/tst-stackguard1.c: Include <tls.h>.
50241 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50243         * elf/link.h (struct link_map): Extend the l_addr comment.
50244         * include/link.h (struct link_map): Likewise.
50246 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50248         [BZ #13550]
50249         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50250         (BOUNDED_1): Remove macro.
50251         * debug/backtrace.c: Don't include <bp-checks.h>.
50252         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50253         (__backtrace): Likewise.
50254         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50255         <bp-checks.h>.
50256         (__backtrace): Don't use BOUNDED_1.
50257         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50258         <bp-checks.h>.
50259         (__backtrace): Don't use BOUNDED_1.
50260         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50261         (__backtrace): Don't use BOUNDED_1.
50262         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50263         (shmat): Don't use BOUNDED_N.
50265 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50267         [BZ #13550]
50268         * sysdeps/generic/bp-start.h: Remove file.
50269         * csu/libc-start.c: Don't include <bp-start.h>.
50270         (LIBC_START_MAIN): Set up __environ directly instead of using
50271         INIT_ARGV_and_ENVIRON.
50272         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50273         <bp-start.h>.
50275         [BZ #13550]
50276         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50277         definitions.
50278         (CHECK_FCNTL): Likewise.
50279         (CHECK_N_PAGES): Likewise.
50281         [BZ #13550]
50282         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50283         definitions.
50284         (CHECK_SIGSET_NULL_OK): Likewise.
50285         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50286         <bp-checks.h>.
50287         (sigpending): Don't use CHECK_SIGSET.
50288         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50289         <bp-checks.h>.
50290         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50291         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50292         <bp-checks.h>.
50293         (do_sigsuspend): Don't use CHECK_SIGSET.
50294         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50295         use CHECK_SIGSET.
50296         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50297         (do_sigwait): Don't use CHECK_SIGSET.
50298         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50299         use CHECK_SIGSET.
50300         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50301         include <bp-checks.h>.
50302         (sigpending): Don't use CHECK_SIGSET.
50303         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50304         include <bp-checks.h>.
50305         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50306         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50307         <bp-checks.h>.
50308         (sigpending): Don't use CHECK_SIGSET.
50309         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50310         <bp-checks.h>.
50311         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50313         [BZ #13550]
50314         * sysdeps/generic/bp-semctl.h: Remove file.
50315         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50316         <bp-checks.h> and <bp-semctl.h>.
50317         (__old_semctl): Don't use CHECK_SEMCTL.
50318         (__new_semctl): Likewise.
50319         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50320         and <bp-semctl.h>.
50321         (__old_semctl): Don't use CHECK_SEMCTL.
50322         (__new_semctl): Likewise.
50323         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50324         <bp-checks.h> and <bp-semctl.h>.
50325         (__old_semctl): Don't use CHECK_SEMCTL.
50326         (__new_semctl): Likewise.
50327         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50328         <bp-checks.h> and <bp-semctl.h>.
50329         (semctl): Don't use CHECK_SEMCTL.
50331         [BZ #13550]
50332         * Makerules (elide-bp-thunks): Remove variable.
50333         (elide-routines.oS): Don't use $(elide-bp-thunks).
50334         (elide-routines.os): Likewise.
50335         (elide-routines.o): Likewise.
50336         (elide-routines.op): Likewise.
50337         (elide-routines.og): Likewise.
50338         (objects): Don't use $(bp-thunks).
50339         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50340         include.
50341         (common-generated): Do not add s-proto-bp.d.
50342         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50343         (int): Likewise.
50344         (typ): Likewise.
50345         Do not generate makefile rules for bounded-pointer thunks.
50346         * sysdeps/generic/bp-thunks.h: Remove file.
50347         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50348         * sysdeps/unix/s-proto-bp.S: Likewise.
50350         [BZ #15062]
50351         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50352         parts of result separately when argument is not close to line from
50353         -i to i and one part of argument is small.
50354         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50355         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50356         * math/libm-test.inc (cacos_test): Add more tests.
50357         (casin_test): Likewise.
50358         (casinh_test): Likewise.
50359         * sysdeps/i386/fpu/libm-test-ulps: Update.
50360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50362 2013-01-31  David S. Miller  <davem@davemloft.net>
50364         * po/de.po: Update from translation team.
50366 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50368         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50370 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50372         * configure.in (_AC_PROG_CC_C89): New definition.
50373         * configure: Regenerate.
50375         * configure.in (AC_PROG_CPP): New definition.
50376         * configure: Regenerate.
50378 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50380         * debug/tst-backtrace.h: New file.
50381         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50382         (ret): Remove variable.
50383         (x): Likewise.
50384         (FAIL): Remove macro.
50385         (NO_INLINE): Likewise.
50386         (fn1): Use match function instead of strstr.
50387         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50388         (ret): Remove variable.
50389         (x): Likewise.
50390         (FAIL): Remove macro.
50391         (NO_INLINE): Likewise.
50392         (fn): Use match function instead of strstr.
50393         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50394         (ret): Remove variable.
50395         (x): Likewise.
50396         (FAIL): Remove macro.
50397         (NO_INLINE): Likewise.
50398         (handle_signal): Use match function instead of strstr.
50399         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50400         (ret): Remove variable.
50401         (x): Likewise.
50402         (FAIL): Remove macro.
50403         (NO_INLINE): Likewise.
50404         (handle_signal): Use match function instead of strstr.
50406 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50408         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50410 2013-01-23  David S. Miller  <davem@davemloft.net>
50412         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50413         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50414         argument of CAS if possible.
50415         * sysdeps/sparc/sparc64/bits/atomic.h
50416         (__arch_compare_and_exchange_val_32_acq): Likewise.
50417         (__arch_compare_and_exchange_val_64_acq): Likewise.
50419 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50421         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50422         * sysdeps/posix/ulimit.c: ... this.
50423         Include <limits.h>.
50424         * sysdeps/unix/bsd/ulimit.c: Remove file.
50426 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50428         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50429         (LDFLAGS-tst-array5): Likewise.
50431 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50433         [BZ #15036]
50434         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50435         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50436         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50437         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50439 2013-01-21  David S. Miller  <davem@davemloft.net>
50441         * sysdeps/sparc/backtrace.c: New file.
50442         * sysdeps/sparc/sparc32/backtrace.h: New file.
50443         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50444         * sysdeps/sparc/sparc64/backtrace.h: New file.
50445         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50446         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50447         -funwind-tables.
50449 2013-01-21  Andreas Schwab  <schwab@suse.de>
50451         [BZ #15020]
50452         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50453         closed its stdout.
50455 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50458         "mpa2.h".
50459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50461 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50462             Mark Mitchell  <mark@codesourcery.com>
50463             Tom de Vries  <tom@codesourcery.com>
50464             Paul Pluzhnikov  <ppluzhnikov@google.com>
50466         * debug/tst-backtrace2.c: New file.
50467         * debug/tst-backtrace3.c: Likewise.
50468         * debug/tst-backtrace4.c: Likewise.
50469         * debug/tst-backtrace5.c: Likewise.
50470         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50471         (CFLAGS-tst-backtrace3.c): Likewise.
50472         (CFLAGS-tst-backtrace4.c): Likewise.
50473         (CFLAGS-tst-backtrace5.c): Likewise.
50474         (LDFLAGS-tst-backtrace2): Likewise.
50475         (LDFLAGS-tst-backtrace3): Likewise.
50476         (LDFLAGS-tst-backtrace4): Likewise.
50477         (LDFLAGS-tst-backtrace5): Likewise.
50478         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50479         tst-backtrace4 and tst-backtrace5.
50481 2013-01-18  Anton Blanchard  <anton@samba.org>
50482             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50484         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50485         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50486         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50487         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50489         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50490         "+r" and remove output regs list as redundant.  Add explicit inline
50491         asm to specify register of return val to work around compiler codegen
50492         bug.  Remove (int) cast on return value.  Add return type parameter to
50493         use in macro so that this macro does not truncate return value for
50494         64-bit values.
50495         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50496         pass to INTERNAL_VSYSCALL_NCS.
50497         (INLINE_VSYSCALL): Add 'long int' as return type to
50498         INTERNAL_VSYSCALL_NCS macro invocation.
50499         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50500         INTERNAL_VSYSCALL_NCS macro invocation.
50501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50503 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50505         [BZ #14496]
50506         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50507         Fix application of SIMD FP exception mask.
50509         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50510         mp_no from a power of two.
50511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50512         __mpexp_twomm1.  Use __pow_mp.
50514         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50515         multiplication.
50517 2013-01-17  David S. Miller  <davem@davemloft.net>
50519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50521 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50523         [BZ #15023]
50524         * include/complex.h: Condition contents on [!_COMPLEX_H].
50525         (__kernel_casinhf): New prototype.
50526         (__kernel_casinh): Likewise.
50527         (__kernel_casinhl): Likewise.
50528         * math/Makefile (libm_calls): Add k_casinh.
50529         * math/k_casinh.c: New file.
50530         * math/k_casinhf.c: Likewise.
50531         * math/k_casinhl.c: Likewise.
50532         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50533         finite nonzero arguments.
50534         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50535         finite nonzero arguments.
50536         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50537         finite nonzero arguments.
50538         * math/s_casinh.c: Do not include <float.h>.
50539         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50540         * math/s_casinhf.c: Do not include <float.h>.
50541         (__casinhf): Move code for finite nonzero arguments to
50542         k_casinhf.c.
50543         * math/s_casinhl.c: Do not include <float.h>.
50544         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50545         redefine.
50546         (__casinhl): Move code for finite nonzero arguments to
50547         k_casinhl.c.
50548         * math/libm-test.inc (cacos_test): Add more tests.
50549         * sysdeps/i386/fpu/libm-test-ulps: Update.
50550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50552 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50554         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50555         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50556         [!HAVE_MREMAP]: Remove [defined linux] case.
50557         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50559 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50561         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50563 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50565         * elf/elf.h (R_386_SIZE32): New relocation.
50566         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50567         R_386_SIZE32.
50568         (elf_machine_rela): Likewise.
50569         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50570         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50572 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50574         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50575         (FP_FAST_FMA): Do not define.
50576         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50577         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50578         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50579         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50580         !_SOFT_FLOAT]: Likewise.
50581         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50582         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50583         value.
50584         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50585         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50586         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50587         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50588         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50589         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50590         file.
50592 2013-01-16  Andreas Schwab  <schwab@suse.de>
50594         [BZ #14327]
50595         * include/stdlib.h (__mktemp): Add declaration.
50596         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50597         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50599 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50601         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50602         definitions.
50603         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50604         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50605         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50606         definitions here.
50607         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50608         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50609         definitions.
50610         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50611         and ONE.
50612         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50613         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50614         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50615         definitions.
50616         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50617         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50618         definitions.
50619         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50621         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50623 2013-01-15  David S. Miller  <davem@davemloft.net>
50625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50626         trunc{,f} to libm-sysdep_routes.
50627         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50629         file.
50630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50632         file.
50633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50634         file.
50635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50637         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50638         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50639         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50640         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50641         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50642         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50645         nearbyint{,f} to libm-sysdep_routes.
50646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50648         New file.
50649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50650         file.
50651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50652         New file.
50653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50654         file.
50655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50657         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50658         file.
50659         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50660         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50661         file.
50662         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50663         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50664         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50666         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50667         libc_feholdexcept and libc_fesetenv.
50669 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50671         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50673 2013-01-14  David S. Miller  <davem@davemloft.net>
50675         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50676         (SPARC_ASM_VIS2_IFUNC): Likewise.
50677         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50679         use of 'siam' instruction.
50680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50681         Likewise.
50682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50683         Likewise.
50684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50685         Likewise.
50686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50691         file.
50692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50693         file.
50694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50695         file.
50696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50697         file.
50698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50701         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50703         new VIS2 routines.
50704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50707         Likewise.
50708         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50713         routines to libm-sysdep_routines.
50714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50717         fdim/fdimf to libm-sysdep_routines.
50718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50719         file.
50720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50722         file.
50723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50726         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50727         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50728         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50729         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50731 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50733         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50734         to optimize copies.
50736         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50741         local variable MPTWO.
50742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50743         Likewise.
50745 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50747         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50748         GLOB_NOESCAPE.
50750 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50752         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50754 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50756         * manual/pattern.texi (glob_t): Document gl_flags.
50757         (glob64_t): Likewise.
50759 2013-01-11  David S. Miller  <davem@davemloft.net>
50761         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50762         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50763         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50764         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50765         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50766         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50767         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50768         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50769         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50770         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50771         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50772         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50773         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50775         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50776         sparc V9 rather than using V8 code.
50777         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50778         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50780         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50781         Move to...
50782         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50783         Here.
50785 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50787         [BZ #14941]
50788         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50789         not in the main loop.
50790         * configure: Regenerated.
50792 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50794         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50795         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50796         to just #else.
50797         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50798         [!__GLIBC_HAVE_LONG_LONG] case.
50799         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50800         condition to just #else.
50801         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50802         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50803         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50804         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50805         unconditional.
50806         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50807         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50808         #elif condition to just #else.
50809         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50810         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50811         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50812         #elif condition to just #else.
50814 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50816         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50817         (EF_MIPS_ARCH_64): Fix value.
50818         (EF_MIPS_ARCH_32R2): New.
50819         (EF_MIPS_ARCH_64R2): New.
50821 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50823         * Makeconfig (+link-pie-before-libc): New.
50824         (+link-pie-after-libc): Likewise.
50825         (+link-pie-tests): Likewise.
50826         (+link-pie): Rewritten.
50827         (link-before-libc): Remove $(config-LDFLAGS).
50828         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50829         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50830         (config-LDFLAGS): Renamed to ...
50831         (rtld-LDFLAGS): This.
50832         (rtld-tests-LDFLAGS): New macro.
50833         (link-libc-rpath-link): Likewise.
50834         (link-libc-tests-rpath-link): Likewise.
50835         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50836         (link-libc): Prepand $(link-libc-rpath-link).
50837         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50838         (test-program-prefix): New macro.
50839         (test-via-rtld-prefix): Likewise.
50840         (test-program-cmd): Likewise.
50841         (host-test-program-cmd): Likewise.
50842         * Makefile ($(common-objpfx)testrun.sh): Replace
50843         $(run-program-prefix) with $(test-program-prefix).
50844         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50845         $(rtld-LDFLAGS).
50846         ($(common-objpfx)shlib.lds): Likewise.
50847         (build-module-helper): Likewise.
50848         ($(common-objpfx)format.lds): Likewise.
50849         * Rules (binaries-pie-tests): New.
50850         (binaries-pie-notests): Likewise.
50851         (binaries-pie): Rewritten.
50852         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50853         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50854         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50855         (make-test-out): Replace $(host-built-program-cmd) with
50856         $(host-test-program-cmd).
50857         * config.make.in (build-hardcoded-path-in-tests): New variable.
50858         * configure.in (--enable-hardcoded-path-in-tests): New configure
50859         option.
50860         (hardcoded_path_in_tests): New AC_SUBST.
50861         * configure: Regenerated.
50862         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50863         $(built-program-cmd) with $(test-program-cmd).
50864         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50865         (test_program_cmd): This.
50866         * elf/Makefile ($(objpfx)order.out): Run test with
50867         $(test-program-prefix).
50868         ($(objpfx)order2.out): Likewise.
50869         ($(objpfx)tst-initorder.out): Likewise.
50870         ($(objpfx)tst-initorder2.out): Likewise.
50871         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50872         $(test-program-cmd).
50873         ($(objpfx)tst-array1-static.out): Likewise.
50874         ($(objpfx)tst-array2.out): Likewise.
50875         ($(objpfx)tst-array3.out): Likewise.
50876         ($(objpfx)tst-array4.out): Likewise.
50877         ($(objpfx)tst-array5.out): Likewise.
50878         ($(objpfx)tst-array5-static.out): Likewise.
50879         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50880         $(test-program-cmd).
50881         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50882         $(run-program-prefix) with $(test-program-prefix).
50883         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50884         (test_program_prefix): This.
50885         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50886         $(run-program-prefix) with $(test-program-prefix).
50887         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50888         (test_program_prefix): This.
50889         * iconvdata/tst-tables.sh: Likewise.
50890         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50891         $(run-program-prefix) with $(test-program-prefix).
50892         ($(objpfx)tst-translit.out): Likewise.
50893         ($(objpfx)tst-gettext2.out): Likewise.
50894         ($(objpfx)tst-gettext4.out): Likewise.
50895         ($(objpfx)tst-gettext6.out): Likewise.
50896         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50897         (test_program_prefix): This.
50898         * intl/tst-gettext2.sh: Likewise.
50899         * intl/tst-gettext4.sh  Likewise.
50900         * intl/tst-gettext6.sh: Likewise.
50901         * intl/tst-translit.sh: Likewise.
50902         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50903         with $(test-program-cmd).
50904         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50905         $(run-program-prefix) with $(test-program-prefix).
50906         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50907         (test_program_prefix): This.
50908         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50909         $(run-program-prefix) with $(test-program-prefix).
50910         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50911         (test_program_prefix): This.
50912         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50913         * posix/Makefile ($(objpfx)globtest.out): Replace
50914         $(run-via-rtld-prefix) and $(test-wrapper) with
50915         $(test-program-prefix) and $(test-via-rtld-prefix).
50916         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50917         $(test-program-prefix).
50918         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50919         $(host-test-program-cmd).
50920         (tst-spawn-ARGS): Likewise.
50921         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50922         $(test-program-prefix).
50923         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50924         (test_via_rtld_prefix): This.
50925         (test_wrapper): Renamed to ...
50926         (test_program_prefix): This.
50927         (run_program_prefix): Replaced by test_program_prefix.
50928         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50929         (test_program_prefix): This.
50930         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50931         with $(host-test-program-cmd).
50932         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50933         $(run-program-prefix) with $(test-program-prefix).
50934         ($(objpfx)tst-printf.out): Likewise.
50935         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50936         $(test-program-cmd).
50937         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50938         (test_program_prefix): This.
50939         * stdio-common/tst-unbputc.sh: Likewise.
50940         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50941         $(run-program-prefix) with $(test-program-prefix).
50942         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50943         (test_program_prefix): This.
50944         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50945         $(built-program-cmd) with $(test-program-cmd).
50947 2013-01-11  Andreas Jaeger  <aj@suse.de>
50949         [BZ #15003]
50950         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50951         value. Sync with Linux 3.7.
50953 2013-01-10  David S. Miller  <davem@davemloft.net>
50955         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50956         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50957         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50959 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50961         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50962         never set.
50963         * configure: Regenerated.
50965 2013-01-10  David S. Miller  <davem@davemloft.net>
50967         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50968         sparc V9 rather than using V8 code.
50969         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50970         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50972 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50974         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50975         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50976         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50977         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50978         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50979         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50980         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50981         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50982         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50983         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50984         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50985         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50986         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50987         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50988         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50989         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50990         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50991         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50992         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50993         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50994         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50995         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50996         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50997         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50998         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50999         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51000         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51002 2013-01-10  David S. Miller  <davem@davemloft.net>
51004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51006 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51008         * posix/Makefile (tests-static): New variable.
51009         (tests): Add $(tests-static).
51010         (tst-exec-static-ARGS): New variable.
51011         (tst-spawn-static-ARGS): Likewise.
51012         * posix/tst-exec-static.c: New file.
51013         * posix/tst-spawn-static.c: Likewise.
51014         * posix/tst-exec.c: Support run directly.
51015         * posix/tst-spawn.c: Likewise.
51017 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51019         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51020         long.
51021         * math/bits/mathcalls.h (llrint): Likewise.
51022         (llround): Likewise.
51023         * stdlib/stdlib.h (struct drand48_data): Likewise.
51024         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51025         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51026         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51027         Likewise.
51028         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51029         Likewise.
51030         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51031         (elf_greg_t): Likewise.
51032         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51033         (__jmp_buf): Likewise.
51034         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51035         definitions.
51036         (llrint): Likewise, for all definitions.
51037         (llrintl): Likewise.
51039         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51040         Remove [__GNUC__] condition.
51041         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51042         condition to just [__USE_ISOC99].
51043         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51045 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51047         [BZ #14200]
51048         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51049         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51050         defined.
51051         (_POSIX_V6_ILP32_OFF32): Likewise.
51052         (_XBS5_ILP32_OFF32): Likewise.
51053         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51054         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51056 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51058         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51060         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51061         doubles __mpexp_twomm1.  Adjust usage.
51062         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51063         Remove.
51065 2013-01-10  Andreas Schwab  <schwab@suse.de>
51067         [BZ #14964]
51068         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51069         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51071 2013-01-09  David S. Miller  <davem@davemloft.net>
51073         [BZ #15003]
51074         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51075         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51076         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51077         (TCP_FASTOPEN): Define.
51078         (tcp_repair_opt): New structure.
51079         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51080         enum values.
51081         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51082         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51083         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51084         (tcp_cookie_transactions): New structure.
51086 2013-01-09  Anton Blanchard  <anton@samba.org>
51088         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51089         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51091         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51093 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51095         * include/features.h (__USE_ANSI): Remove.
51097 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51099         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51101         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51103 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51105         * sysdeps/s390/fpu/libm-test-ulps: Update.
51107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51109         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51110         (__acr): Likewise.
51111         (__cpy): Likewise.
51112         (norm): Likewise.
51113         (denorm): Likewise.
51114         (__mp_dbl): Likewise.
51115         (__dbl_mp): Likewise.
51116         (add_magnitudes): Likewise.
51117         (sub_magnitudes): Likewise.
51118         (__add): Likewise.
51119         (__sub): Likewise.
51120         (__mul): Likewise.
51121         (__inv): Likewise.
51122         (__dvd): Likewise.
51123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51124         (__acr): Likewise.
51125         (__cpy): Likewise.
51126         (norm): Likewise.
51127         (denorm): Likewise.
51128         (__mp_dbl): Likewise.
51129         (__dbl_mp): Likewise.
51130         (add_magnitudes): Likewise.
51131         (sub_magnitudes): Likewise.
51132         (__add): Likewise.
51133         (__sub): Likewise.
51134         (__mul): Likewise.
51135         (__inv): Likewise.
51136         (__dvd): Likewise.
51137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51138         (__acr): Likewise.
51139         (__cpy): Likewise.
51140         (norm): Likewise.
51141         (denorm): Likewise.
51142         (__mp_dbl): Likewise.
51143         (__dbl_mp): Likewise.
51144         (add_magnitudes): Likewise.
51145         (sub_magnitudes): Likewise.
51146         (__add): Likewise.
51147         (__sub): Likewise.
51148         (__mul): Likewise.
51149         (__inv): Likewise.
51150         (__dvd): Likewise.
51152 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51154         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51155         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51156         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51157         2 && __USE_EXTERN_INLINES]: Likewise.
51159 2013-01-08  Andreas Jaeger  <aj@suse.de>
51161         [BZ# 14985]
51162         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51163         Remove.
51164         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51165         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51167 2013-01-07  Anton Blanchard  <anton@samba.org>
51169         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51170         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51171         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51172         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51173         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51174         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51175         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51176         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51177         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51178         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51179         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51180         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51181         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51182         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51183         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51184         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51185         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51187         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51188         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51189         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51190         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51191         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51192         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51193         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51194         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51195         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51196         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51197         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51198         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51199         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51200         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51201         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51202         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51203         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51204         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51205         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51206         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51207         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51208         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51209         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51210         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51211         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51213 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51215         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51216         (__MALLOC_PMT): Likewise.
51217         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51218         [__GNUC__], only on [_LIBC].
51219         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51220         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51221         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51222         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51223         forward declaration.
51224         (realloc_hook_ini): Likewise.
51225         (memalign_hook_ini): Likewise.
51226         (__libc_memalign): Do not use __MALLOC_PMT in variable
51227         declaration.
51228         (__libc_valloc): Likewise.
51229         (__libc_pvalloc): Likewise.
51230         (__libc_calloc): Likewise.
51231         (__posix_memalign): Likewise.
51233         [BZ #14996]
51234         * math/s_casinh.c: Include <float.h>.
51235         (__casinh): Do not do computation with squaring and square root
51236         for large arguments.
51237         * math/s_casinhf.c: Include <float.h>.
51238         (__casinhf): Do not do computation with squaring and square root
51239         for large arguments.
51240         * math/s_casinhl.c: Include <float.h>.
51241         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51242         (__casinhl): Do not do computation with squaring and square root
51243         for large arguments.
51244         * math/libm-test.inc (casin_test): Add more tests.
51245         (casinh_test): Likewise.
51246         * sysdeps/i386/fpu/libm-test-ulps: Update.
51247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51249 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51251         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51252         (__x86_64_raw_data_cache_size): Likewise.
51253         (__x86_64_data_cache_size_half): Likewise.
51254         (__x86_64_raw_data_cache_size_half): Likewise.
51255         (__x86_64_shared_cache_size): Likewise.
51256         (__x86_64_raw_shared_cache_size): Likewise.
51257         (__x86_64_shared_cache_size_half): Likewise.
51258         (__x86_64_raw_shared_cache_size_half): Likewise.
51259         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51260         to ...
51261         (__x86_data_cache_size): This.
51262         (__x86_64_raw_data_cache_size): Renamed to ...
51263         (__x86_raw_data_cache_size): This.
51264         (__x86_64_data_cache_size_half): Renamed to ...
51265         (__x86_data_cache_size_half): This.
51266         (__x86_64_raw_data_cache_size_half): Renamed to ...
51267         (__x86_raw_data_cache_size_half): This.
51268         (__x86_64_shared_cache_size): Renamed to ...
51269         (__x86_shared_cache_size): This.
51270         (__x86_64_raw_shared_cache_size): Renamed to ...
51271         (__x86_raw_shared_cache_size): This.
51272         (__x86_64_shared_cache_size_half): Renamed to ...
51273         (__x86_shared_cache_size_half): This.
51274         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51275         (__x86_raw_shared_cache_size_half): This.
51276         * sysdeps/x86_64/memcpy.S: Updated.
51277         * sysdeps/x86_64/memset.S: Likewise.
51278         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51280         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51282 2013-01-04  David S. Miller  <davem@davemloft.net>
51284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51286 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51288         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51289         1 to avoid redefinition warning.
51290         (__USE_GNU): Don't define.
51291         (init_signaling_nan): Protoize.
51293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51295 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51297         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51299         (__cpymn): Likewise.
51300         (norm): Remove commented code.
51301         (denorm): Likewise.
51302         (__mp_dbl): Likewise.
51303         (__inv): Likewise.
51304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51305         (__cpymn): Likewise.
51306         (norm): Remove commented code.
51307         (denorm): Likewise.
51308         (__mp_dbl): Likewise.
51309         (__inv): Likewise.
51311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51312         mp_no value for 1.0 and 2.0.
51313         (norm): Use RADIXI instead of radixi.d.
51314         (denorm): Likewise.
51315         (__mul): Use 0.0 instead of zero.d.
51316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51317         mp_no value for 1.0 and 2.0.
51318         (norm): Use RADIXI instead of radixi.d.
51319         (denorm): Likewise.
51320         (__mul): Use 0.0 instead of zero.d.
51322 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51324         [BZ #14994]
51325         * math/s_casinh.c (__casinh): Reduce finite argument to first
51326         quadrant then set signs of results at the end.
51327         * math/s_casinhf.c (__casinhf): Likewise.
51328         * math/s_casinhl.c (__casinhl): Likewise.
51329         * math/libm-test.inc (casin_test): Add more tests.
51330         (casinh_test): Likewise.
51331         * sysdeps/i386/fpu/libm-test-ulps: Update.
51332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51334 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51336         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51338         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51340         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51341         declarations.
51342         (denorm): Likewise.
51343         (__mp_dbl): Likewise.
51344         (__inv): Likewise.
51346         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51347         and adjust the header comment.
51349         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51350         variable name from declaration.
51352 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51355         Initialize COMMON_CPUID_INDEX_7 element.
51356         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51357         (CPUID_RTM): Likewise.
51358         (HAS_RTM): Likewise.
51359         (COMMON_CPUID_INDEX_7): New enum.
51361 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51363         [BZ #14981]
51364         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51365         size is zero, record memory as freed.
51367 2013-01-03  Andreas Jaeger  <aj@suse.de>
51369         * po/ia.po: Add new Interlingua translation.
51371 2012-01-03  Allan McRae  <allan@archlinux.org>
51373         * locale/programs/localedef.c: Fix description of '--posix' flag.
51375 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51377         * NEWS: Update dates in second copyright notice.
51378         * README: Update copyright dates in example.
51379         * manual/libc.texinfo: Update copyright dates.
51380         * scripts/test-installation.pl: Update copyright date in --version
51381         output.
51383         * hurd/ctty-input.c: Fix copyright notice formatting.
51384         * hurd/ctty-output.c: Likewise.
51385         * hurd/dtable.c: Likewise.
51386         * hurd/hurd-raise.c: Likewise.
51387         * hurd/hurdprio.c: Likewise.
51388         * hurd/msgportdemux.c: Likewise.
51389         * misc/sys/file.h: Likewise.
51390         * misc/sys/ioctl.h: Likewise.
51391         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51392         * sysdeps/mach/hurd/chdir.c: Likewise.
51393         * sysdeps/mach/hurd/fchdir.c: Likewise.
51394         * sysdeps/mach/hurd/rename.c: Likewise.
51395         * sysdeps/mach/hurd/rmdir.c: Likewise.
51396         * sysdeps/mach/hurd/seekdir.c: Likewise.
51397         * sysdeps/mach/hurd/setsid.c: Likewise.
51398         * sysdeps/posix/wait3.c: Likewise.
51400         * All files with FSF copyright notices: Update copyright dates
51401         using scripts/update-copyrights.
51402         * intl/plural.c: Regenerated.
51403         * locale/programs/charmap-kw.h: Likewise.
51404         * locale/programs/locfile-kw.h: Likewise.
51406 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51408         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51409         four values.
51411         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51412         calculation loop and add branch prediction.
51414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51415         check access beyond bounds of m1np.
51417         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51418         MPTWO.
51419         (__inv): Remove local variable MPTWO to use the global
51420         constant.
51421         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51422         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51423         variable MPTWO.
51424         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51425         MP3HALFS static const.
51427 2013-01-01  David S. Miller  <davem@davemloft.net>
51429         * po/ca.po: Update from translation team.
51431 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51433         * scripts/update-copyrights: New file.
51434         * Makeconfig: Reformat copyright notice.
51435         * ctype/ctype.h: Likewise.
51436         * debug/swprintf_chk.c: Likewise.
51437         * elf/dl-cache.c: Likewise.
51438         * elf/dl-debug.c: Likewise.
51439         * elf/dl-object.c: Likewise.
51440         * grp/initgroups.c: Likewise.
51441         * hurd/Makefile: Likewise.
51442         * hurd/hurd/signal.h: Likewise.
51443         * hurd/hurdfault.c: Likewise.
51444         * hurd/hurdioctl.c: Likewise.
51445         * hurd/hurdlookup.c: Likewise.
51446         * hurd/intr-msg.c: Likewise.
51447         * iconv/gconv_open.c: Likewise.
51448         * libio/swprintf.c: Likewise.
51449         * locale/lc-ctype.c: Likewise.
51450         * locale/nl_langinfo.c: Likewise.
51451         * mach/Machrules: Likewise.
51452         * mach/Makefile: Likewise.
51453         * malloc/obstack.h: Likewise.
51454         * manual/Makefile: Likewise.
51455         * manual/tsort.awk: Likewise.
51456         * misc/bits/stab.def: Likewise.
51457         * nis/nis_print_group_entry.c: Likewise.
51458         * nis/nis_table.c: Likewise.
51459         * nis/nss_compat/compat-pwd.c: Likewise.
51460         * nis/nss_compat/compat-spwd.c: Likewise.
51461         * po/Makefile: Likewise.
51462         * posix/fnmatch.c: Likewise.
51463         * posix/regex.h: Likewise.
51464         * resolv/Makefile: Likewise.
51465         * resolv/nss_dns/dns-network.c: Likewise.
51466         * resolv/res_hconf.c: Likewise.
51467         * scripts/gen-sorted.awk: Likewise.
51468         * soft-fp/soft-fp.h: Likewise.
51469         * stdio-common/printf.h: Likewise.
51470         * stdlib/monetary.h: Likewise.
51471         * stdlib/random.c: Likewise.
51472         * stdlib/random_r.c: Likewise.
51473         * sysdeps/generic/Makefile: Likewise.
51474         * sysdeps/gnu/Makefile: Likewise.
51475         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51477         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51478         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51479         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51482         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51483         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51484         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51485         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51486         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51487         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51488         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51489         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51490         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51491         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51493         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51494         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51495         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51496         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51497         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51503         * sysdeps/mach/hurd/errnos.awk: Likewise.
51504         * sysdeps/mach/hurd/fork.c: Likewise.
51505         * sysdeps/mach/hurd/getcwd.c: Likewise.
51506         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51507         * sysdeps/mach/hurd/mmap.c: Likewise.
51508         * sysdeps/mach/hurd/utimes.c: Likewise.
51509         * sysdeps/mach/hurd/xmknod.c: Likewise.
51510         * sysdeps/posix/profil.c: Likewise.
51511         * sysdeps/posix/readdir_r.c: Likewise.
51512         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51513         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51514         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51515         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51517         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51518         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51519         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51521         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51522         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51523         * sysdeps/pthread/lio_listio.c: Likewise.
51524         * sysdeps/sparc/dl-procinfo.h: Likewise.
51525         * sysdeps/unix/i386/sysdep.S: Likewise.
51526         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51527         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51528         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51529         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51531         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51532         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51533         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51534         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51535         * sysdeps/wordsize-32/divdi3.c: Likewise.
51536         * time/sys/time.h: Likewise.
51537         * wcsmbs/Makefile: Likewise.
51539 2013-01-01  David S. Miller  <davem@davemloft.net>
51541         * po/fr.po: Update from translation team.
51543         * catgets/gencat.c: Update copyright year.
51544         * csu/version.c: Likewise.
51545         * debug/catchsegv.sh: Likewise.
51546         * debug/pcprofiledump.c: Likewise.
51547         * debug/xtrace.sh: Likewise.
51548         * elf/ldconfig.c: Likewise.
51549         * elf/ldd.bash.in: Likewise.
51550         * elf/pldd.c: Likewise.
51551         * elf/sotruss.ksh: Likewise.
51552         * elf/sprof.c: Likewise.
51553         * iconv/iconv_prog.c: Likewise.
51554         * iconv/iconvconfig.c: Likewise.
51555         * locale/programs/locale.c: Likewise.
51556         * locale/programs/localedef.c: Likewise.
51557         * login/programs/pt_chown.c: Likewise.
51558         * malloc/memusage.sh: Likewise.
51559         * malloc/memusagestat.c: Likewise.
51560         * malloc/mtrace.pl: Likewise.
51561         * nscd/nscd.c: Likewise.
51562         * nss/getent.c: Likewise.
51563         * nss/makedb.c: Likewise.
51564         * posix/getconf.c: Likewise.
51566 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51568         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51569         numbers.
51571 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51573         * math/bits/mathcalls.h (modf): Use __nonnull.
51575 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51577         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51578         (split): Use macro CN instead of the bare value.
51579         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51580         could be used.
51581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51582         instead of the bare value.
51583         (power1): Likewise.
51585 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51588         __ATAN_TWOM.
51589         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51591         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51592         their values.
51593         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51594         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51595         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51596         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51598 2012-12-28  Andreas Jaeger  <aj@suse.de>
51600         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51601         values are from Linux 3.7.
51603         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51604         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51606 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51608         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51609         TRUE case.
51611         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51612         (norm): Likewise.
51613         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51614         variables with preprocessor constants.
51615         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51616         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51617         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51619 2012-12-27  Bruno Haible  <bruno@clisp.org>
51621         [BZ #14317]
51622         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51623         only if needed.
51625 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51628         and use variable directly.
51629         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51631         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51632         MPONE.
51633         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51634         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51635         variable MPONE.
51636         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51638         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51639         include directive.  Remove local variable MPONE.
51640         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51641         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51642         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51644 2012-12-25  David S. Miller  <davem@davemloft.net>
51646         * version.h (RELEASE): Set to "development".
51647         (VERSION): Set to "2.17.90".
51648         * NEWS: Add 2.18 section.
51650 2012-12-21  David S. Miller  <davem@davemloft.net>
51652         * po/hr.po: Update from translation team.
51654 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51656         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51658 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51660         * NEWS:  Mention new memcpy for MIPS.
51662 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51664         * manual/contrib.texi (Contributors): Spelling correction.
51666 2012-12-15  David S. Miller  <davem@davemloft.net>
51668         * po/ru.po: Update from translation team.
51670 2012-12-13  David S. Miller  <davem@davemloft.net>
51672         * NEWS: Mention IFUNC testsuite enhancements.
51674         * po/pl.po: Update from translation team.
51675         * po/bg.po: Likewise.
51677         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51678         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51680 2012-12-11  David S. Miller  <davem@davemloft.net>
51682         * po/sv.po: Update from translation team.
51684         * po/vi.po: Update from translation team.
51686         * po/cs.po: Update from translation team.
51688         * po/de.po: Update from translation team.
51689         * po/eo.po: Likewise.
51690         * po/nl.po: Likewise.
51692 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51694         [BZ #14246]
51695         * manual/argp.texi (Argp Helper Functions): Move node to follow
51696         Argp Parsing State.
51698         [BZ #14872]
51699         * manual/conf.texi (Limits on File System Capacity): Mention if
51700         terminating null is included in the max size.
51702 2012-12-10  Andreas Jaeger  <aj@suse.de>
51704         * po/cs.po: Update from translation team.
51706 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51708         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51709         void pointer and cast to uintptr_t.
51710         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51711         path.
51712         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51713         * sysdeps/s390/s390-64/memset.S: Likewise.
51715 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51717         [BZ #14833]
51718         * menual/message.texi (Message Translation): Fix typos.
51719         (Helper programs for gettext): Likewise.
51721 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51723         [BZ #14898]
51724         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51725         Change to -1.
51727 2012-12-07  David S. Miller  <davem@davemloft.net>
51729         * po/libc.pot: Update.
51731 2012-12-07  Richard Henderson  <rth@redhat.com>
51733         [BZ #10114]
51734         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51735         normal/normal case to before the switch.
51736         (_FP_DIV): Likewise.
51738 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51739             Mike Frysinger  <vapier@gentoo.org>
51741         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51742         check for __NR_fadvise64_64.
51744 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51746         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51747         0, not just to plain "0" as a statement.
51748         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51749         with cw.
51751 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51753         * NEWS: Use sourceware.org in Bugzilla URL.
51755 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51758         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51760         * stdio-common/tst-put-error.c (do_test): Add newline to the
51761         padded test to ensure flush.
51763 2012-12-05  Jeff Law  <law@redhat.com>
51765         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51767 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51769         * README: Don't refer to ports add-on as distributed separately.
51770         Mention AArch64 in list of systems supported in the ports add-on.
51772         * LICENSES: Add more non-FSF copyright and license notices.
51774         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51775         ((unused)).
51777         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51779         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51780         10000 as width of padded output.
51782 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51784         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51786         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51787         variable LX with __attribute__ ((unused)).
51788         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51789         Likewise.
51790         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51793         with __attribute__ ((unused)).
51795 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51797         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51799 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51801         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51802         (CFLAGS-nldbl-acos.c): New variable.
51803         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51804         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51805         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51806         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51807         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51808         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51809         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51810         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51811         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51812         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51813         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51814         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51815         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51816         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51817         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51818         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51819         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51820         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51821         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51822         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51823         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51824         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51825         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51826         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51827         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51828         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51829         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51830         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51831         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51832         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51833         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51834         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51835         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51836         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51837         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51838         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51839         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51840         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51841         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51842         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51843         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51844         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51845         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51846         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51847         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51848         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51849         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51850         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51851         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51852         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51853         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51854         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51855         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51856         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51857         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51858         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51859         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51860         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51861         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51862         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51863         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51864         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51865         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51866         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51867         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51868         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51869         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51870         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51871         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51872         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51873         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51874         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51875         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51876         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51877         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51878         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51879         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51880         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51881         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51882         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51883         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51884         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51885         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51886         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51887         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51888         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51889         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51890         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51891         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51892         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51893         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51894         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51895         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51896         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51897         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51898         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51899         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51902         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51904         [BZ #14914]
51905         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51906         whole low double instead of just low 47 bits when splitting values
51907         into two parts.
51909 2012-12-03  Allan McRae  <allan@archlinux.org>
51911         * manual/stdio.texi (Predefined Printf Handlers): Remove
51912         @hsep and @vsep usage.
51914 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51916         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51917         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51919 2012-12-03  Jeff Law  <law@redhat.com>
51921         * time/sys/time.h (settimeofday): Do not mark TV argument
51922         as __nonnull.
51924 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51926         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51927         when currently writing and seek to current position when not.
51928         * libio/Makefile (tests): Remove bug-fclose1.
51929         * libio/bug-fclose1.c: Delete.
51931 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51933         * manual/arith.texi (feenableexcept): Fix typo.
51934         (fedisableexcept): Likewise.
51936 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51938         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51939         second, differently-typed declaration, rather than a cast.
51941 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51943         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51944         * include/rpc/svc.h: ... here.
51946 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51948         [BZ #13013]
51949         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51950         depending n and resplen2 to catch cases where answer
51951         equals answerp2.
51953 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51955         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51956         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51958 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51960         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51962 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51964         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51966 2012-11-28  Jeff Law  <law@redhat.com>
51968         [BZ #13761]
51969         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51970         dataset_temporary.  Track alloca usage into alloca_used.
51971         If dataset is large allocate and release it via malloc/free.
51973 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51975         [BZ #14197]
51976         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51978 2012-11-28  David S. Miller  <davem@davemloft.net>
51980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51982 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51984         [BZ #14803]
51985         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51986         of pi/2 rounded to nearest to 64 bits.
51987         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51988         nearest to 64 bits.
51989         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51990         bits.
51992 2012-11-28  Jeff Law <law@redhat.com>
51993             Martin Osvald <mosvald@redhat.com>
51995         [BZ #14889]
51996         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51997         * sunrpc/svc.c: Include time.h.
51998         (__svc_accept_failed): New function.
51999         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52000         any reason other than EINTR, call __svc_accept_failed.
52001         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52002         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52004 2012-11-28  Andreas Schwab  <schwab@suse.de>
52006         * scripts/abilist.awk: Also handle indirect functions in .opd
52007         section.
52009 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52011         [BZ #13881]
52012         * sysdeps/x86/fpu/powl_helper.c: New file.
52013         * sysdeps/x86/fpu/Makefile: Likewise.
52014         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52015         (p3): New object.
52016         (__ieee754_powl): Use __powl_helper for finite arguments except
52017         integer exponents below 8.
52018         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52019         (p3): New object.
52020         (__ieee754_powl): Use __powl_helper for finite arguments except
52021         integer exponents below 8.
52022         * math/libm-test.inc (pow_test): Add more tests and enable some
52023         previously disabled tests.
52024         * sysdeps/i386/fpu/libm-test-ulps: Update.
52025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52027 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52028             Carlos O'Donell  <carlos_odonell@mentor.com>
52030         * nss/makedb.c (is_prime): Assert that input is odd and greater
52031         than 4.  Note that fact in a comment too.
52032         (next_prime): Add 4 to input.
52034 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52036         [BZ #11741]
52037         * libio/Makefile (tests): Add test case tst-fwrite-error.
52038         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52039         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52040         * libio/tst-fwrite-error.c: New test case.
52042 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52044         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52045         before casting to void *.
52046         * include/libc-internal.h (__pointer_type): New macro.
52047         (__integer_if_pointer_type_sub): Likewise.
52048         (__integer_if_pointer_type): Likewise.
52049         (cast_to_integer): Likewise.
52050         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52051         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52052         before casting to atomic64_t.
52053         (atomic_exchange_acq): Likewise.
52054         (__arch_exchange_and_add_body): Likewise.
52055         (__arch_add_body): Likewise.
52056         (atomic_add_negative): Likewise.
52057         (atomic_add_zero): Likewise.
52059 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52061         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52062         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52063         (add_fdes): Likewise.
52064         (linear_search_fdes): Likewise.
52065         (binary_search_unencoded_fdes): Likewise.
52067 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52069         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52071 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52073         * configure.in: Autodetect C++ header directories.
52074         * configure: Regenerated.
52076 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52078         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52080 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52084 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52086         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52087         LDBL_MANT_DIG == 106]: Disable some tests.
52088         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52089         Likewise.
52090         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52091         Likewise.
52093         [BZ #14871]
52094         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52095         input for small inputs.  Return +/- pi/2 for large inputs.
52096         * math/libm-test.inc (atan_test): Add more tests.
52098         * sysdeps/generic/unwind-dw2-fde-glibc.c
52099         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52100         __attribute__ ((unused)).
52102         [BZ #14645]
52103         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52104         x * y if x and y are nonzero and z is zero.
52106         [BZ #14811]
52107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52108         nonzero exponents with absolute value below 0x1p-117 to +/-
52109         0x1p-117.
52111         [BZ #14869]
52112         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52113         up arguments below 2**-450, not just those below 2**-500.
52114         * math/libm-test.inc (hypot_test): Add another test.
52116         [BZ #14868]
52117         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52118         Return a+b for ratio over 2**120, not 2**60.
52119         * math/libm-test.inc (hypot_test): Add another test.
52121         * math/libm-test.inc (clog_test): Use
52122         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52123         (clog10_test): Likewise.
52125         [BZ #6778]
52126         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52128 2012-11-22  Andreas Schwab  <schwab@suse.de>
52130         * sysdeps/i386/fpu/libm-test-ulps: Update.
52132 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52134         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52135         printf output with newline.
52137 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52139         [BZ #14865]
52140         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52141         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52142         -z nodlopen, -z initfirst and -z execstack support.
52143         * configure: Regenerated.
52145         * elf/elf.h (DF_1_NODIRECT): New macro.
52146         (DF_1_IGNMULDEF): Likewise.
52147         (DF_1_NOKSYMS): Likewise.
52148         (DF_1_NOHDR): Likewise.
52149         (DF_1_EDITED): Likewise.
52150         (DF_1_NORELOC): Likewise.
52151         (DF_1_SYMINTPOSE): Likewise.
52152         (DF_1_GLOBAUDIT): Likewise.
52153         (DF_1_SINGLETON): Likewise.
52154         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52155         DT_1_SUPPORTED_MASK bits.
52156         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52158 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52160         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52162 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52164         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52165         macro.
52167         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52168         (sendmmsg): Move declarations...
52169         * socket/sys/socket.h: ... here.
52170         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52171         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52172         include it from...
52173         * socket/recvmmsg.c: ... this new file.
52174         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52175         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52176         definition of __sendmmsg hidden.
52177         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52178         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52179         Move ENOSYS stub into and include it from...
52180         * socket/sendmmsg.c: ... this new file.
52181         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52182         (sysdep_routines): Move recvmmsg and sendmmsg...
52183         * socket/Makefile (routines): ... here.
52184         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52185         (GLIBC_PRIVATE): Add __sendmmsg.
52186         * include/sys/socket.h (__sendmmsg): Add declarations.
52187         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52188         sendmmsg.
52190 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52192         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52193         variable I1 with __attribute__ ((unused)).
52194         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52196 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52198         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52199         DUMMY variables with __attribute__ ((unused)).
52201         * bits/byteswap.h: Include <bits/types.h>.
52202         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52204 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52206         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52207         string_t.  Do not manually set errno.
52208         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52209         length with __strnlen.  Make sure to both set errno and return it on
52210         failure.
52212 2012-11-19  David S. Miller  <davem@davemloft.net>
52214         With help from Joseph Myers.
52215         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52216         very large arguments properly.
52217         * math/libm-test.inc (atan_test): New tests.
52218         (atan2_test): New tests.
52219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52222 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52224         [BZ #14856]
52225         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52226         Define to 3.
52228         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52229         [POSIX] (EADDRNOTAVAIL): Likewise.
52230         [POSIX] (EAFNOSUPPORT): Likewise.
52231         [POSIX] (EALREADY): Likewise.
52232         [POSIX] (ECONNABORTED): Likewise.
52233         [POSIX] (ECONNREFUSED): Likewise.
52234         [POSIX] (ECONNRESET): Likewise.
52235         [POSIX] (EDESTADDRREQ): Likewise.
52236         [POSIX] (EDQUOT): Likewise.
52237         [POSIX] (EHOSTUNREACH): Likewise.
52238         [POSIX] (EIDRM): Likewise.
52239         [POSIX] (EISCONN): Likewise.
52240         [POSIX] (ELOOP): Likewise.
52241         [POSIX] (EMULTIHOP): Likewise.
52242         [POSIX] (ENETDOWN): Likewise.
52243         [POSIX] (ENETUNREACH): Likewise.
52244         [POSIX] (ENOBUFS): Likewise.
52245         [POSIX] (ENODATA): Likewise.
52246         [POSIX] (ENOLINK): Likewise.
52247         [POSIX] (ENOMSG): Likewise.
52248         [POSIX] (ENOPROTOOPT): Likewise.
52249         [POSIX] (ENOSR): Likewise.
52250         [POSIX] (ENOSTR): Likewise.
52251         [POSIX] (ENOTCONN): Likewise.
52252         [POSIX] (ENOTSOCK): Likewise.
52253         [POSIX] (EOPNOTSUPP): Likewise.
52254         [POSIX] (EOVERFLOW): Likewise.
52255         [POSIX] (EPROTO): Likewise.
52256         [POSIX] (EPROTONOSUPPORT): Likewise.
52257         [POSIX] (EPROTOTYPE): Likewise.
52258         [POSIX] (ESTALE): Likewise.
52259         [POSIX] (ETIME): Likewise.
52260         [POSIX] (ETXTBSY): Likewise.
52261         [POSIX] (EWOULDBLOCK): Likewise.
52262         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52263         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52264         [POSIX] (SEEK_CUR): Likewise.
52265         [POSIX] (SEEK_END): Likewise.
52266         [POSIX || UNIX98] (mode_t): Do not require.
52267         [POSIX] (off_t): Likewise.
52268         [POSIX] (pid_t): Likewise.
52269         [POSIX] (sys/stat.h): Do not allow header.
52270         [POSIX] (unistd.h): Likewise.
52271         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52272         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52273         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52274         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52275         require.
52276         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52277         sigevent): Specify elements.
52278         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52279         entry.
52280         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52281         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52283         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52284         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52285         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52286         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52287         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52288         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52289         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52290         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52291         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52292         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52293         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52294         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52295         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52296         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52297         Likewise.
52298         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52299         Likewise.
52300         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52301         Likewise.
52302         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52303         Likewise.
52304         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52305         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52306         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52307         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52308         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52309         Specify lower bound on value.
52310         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52311         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52312         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52313         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52314         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52315         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52316         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52317         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52318         value.
52319         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52320         as optional.
52321         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52322         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52323         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52324         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52325         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52326         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52327         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52328         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52329         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52330         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52331         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52332         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52333         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52334         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52335         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52336         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52337         entry.
52338         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52339         optional.
52340         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52341         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52342         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52343         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52344         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52345         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52346         Likewise.
52347         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52348         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52349         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52350         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52351         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52352         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52353         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52354         as optional.
52355         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52356         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52357         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52358         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52359         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52360         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52361         specify as optional.
52362         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52363         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52364         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52365         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52366         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52367         [XPG3] (NL_LANGMAX): Likewise.
52368         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52369         [POSIX || XPG3] (NL_NMAX): Likewise.
52370         [POSIX || XPG3] (NL_SETMAX): Likewise.
52371         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52372         [XPG3] (NZERO): Likewise.
52373         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52374         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52375         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52376         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52377         (REG_ERANGE): Expect.
52378         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52379         optional-constant.
52380         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52381         Use (void) in prototype.
52382         [POSIX] (*_t): Allow.
52383         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52384         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52385         (WRDE_BADVAL): Expect.
52387         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52388         expect.
52389         [XPG3 || XPG4] (O_RSYNC): Likewise.
52390         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52391         Likewise.
52392         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52393         [XPG3 || XPG4] (sigqueue): Likewise.
52394         [XPG3 || XPG4] (sigtimedwait): Likewise.
52395         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52396         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52397         [XPG3 || XPG4] (vsnprintf): Likewise.
52398         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52399         Likewise.
52400         [XPG3 || XPG4] (blksize_t): Likewise.
52401         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52402         Likewise.
52403         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52404         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52405         [XPG3 || XPG4] (struct itimerspec): Likewise.
52406         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52407         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52408         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52409         [XPG3 || XPG4] (clockid_t): Likewise.
52410         [XPG3 || XPG4] (timer_t): Likewise.
52411         [XPG3 || XPG4] (clock_getres): Likewise.
52412         [XPG3 || XPG4] (clock_gettime): Likewise.
52413         [XPG3 || XPG4] (clock_settime): Likewise.
52414         [XPG3 || XPG4] (nanosleep): Likewise.
52415         [XPG3 || XPG4] (timer_create): Likewise.
52416         [XPG3 || XPG4] (timer_delete): Likewise.
52417         [XPG3 || XPG4] (timer_gettime): Likewise.
52418         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52419         [XPG3 || XPG4] (timer_settime): Likewise.
52420         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52421         [XPG3 || XPG4] (getlogin_r): Likewise.
52422         [XPG3 || XPG4] (pread): Likewise.
52423         [XPG3 || XPG4] (pthread_atfork): Likewise.
52424         [XPG3 || XPG4] (pwrite): Likewise.
52426         [BZ #14835]
52427         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52428         <bits/siginfo.h>.
52430 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52432         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52433         finalizing MALLSTREAM.
52435         * sysdeps/mach/hurd/syncfs.c: New file.
52437 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52439         [BZ #14719]
52440         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52441         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52442         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52443         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52444         (_nss_dns_gethostbyname4_r): Likewise.
52445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52446         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52448 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52450         [BZ #13763]
52451         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52453 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52455         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52456         * elf/cache.c (print_entry): Print ",AArch64" for
52457         FLAG_AARCH64_LIB64
52459         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52460         * elf/cache.c (print_entry): Print ",hard-float" for
52461         FLAG_ARM_LIBHF.
52463 2012-11-18  David S. Miller  <davem@davemloft.net>
52465         With help from Joseph Myers.
52466         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52467         cutoff to 2**-13.
52468         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52469         cutoff to 2**-25.
52470         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52471         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52472         small.
52473         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52474         * math/libm-test.inc (y0_test): New tests.
52475         (y1_test): New tests.
52476         * sysdeps/i386/fpu/libm-test-ulps: Update.
52477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52478         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52480 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52482         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52483         64-bit targets.
52484         * configure: Regenerated.
52486 2012-11-17  David S. Miller  <davem@davemloft.net>
52488         [BZ #14811]
52489         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52490         nonzero exponents with absolute value below 0x1p-128 to +/-
52491         0x1p-128.
52493 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52495         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52497         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52499         * posix/getconf-speclist.c: New file.
52500         * posix/posix-envs.def: Likewise.
52501         * posix/confstr.c (START_ENV_GROUP): New macro.
52502         (END_ENV_GROUP): Likewise.
52503         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52504         (KNOWN_PRESENT_ENV_STRING): Likewise.
52505         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52506         (UNKNOWN_ENVIRONMENT): Likewise.
52507         (confstr): Include posix-envs.def instead of handling
52508         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52509         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52510         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52511         (END_ENV_GROUP): Likewise.
52512         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52513         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52514         (UNKNOWN_ENVIRONMENT): Likewise.
52515         (__sysconf): Include posix-envs.def instead of handling associated
52516         cases directly here.
52517         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52518         preprocessing getconf-speclist.c rather than running getconf or
52519         generating empty file.
52521 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52523         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52525 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52527         [BZ #14672]
52528         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52530 2012-11-16  David S. Miller  <davem@davemloft.net>
52532         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52533         smaller than LDBL_EPSILON/2.0L, just return xm1.
52535 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52537         * elf/tst-array1.c (init): Set constructor priority to 1000.
52538         (fini): Set destructor priority to 1000.
52539         * elf/tst-array2dep.c: Likewise.
52541 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52543         [BZ #11741]
52544         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52545         (_IO_new_file_xsputn): Also return EOF if none of the input
52546         data was written when overflow failed.
52547         * libio/iopadn.c (_IO_padn): Likewise.
52548         * libio/iowpadn.c (_IO_wpadn): Likewise.
52549         * stdio-common/tst-put-error.c: Add copyright notice.
52550         (do_test): Add case for printing padded string.
52551         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52552         _IO_padn returned error.
52553         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52554         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52555         return EOF.
52557 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52559         * libio/libioP.h: Add comment note that the references to C++
52560         bits are now obsolete.
52562 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52564         * math/libm-test.inc (check_complex): Use asprintf.
52566 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52568         * debug/pcprofiledump.c (print_version): Update copyright year.
52569         * malloc/memusagestat.c (print_version): Likewise.
52571 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52573         [BZ #14831]
52574         * elf/Makefile (tests): Add tst-audit8.
52575         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52576         ($(objpfx)tst-audit8.out): New target.
52577         (tst-audit8-ENV): New variable.
52578         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52579         audit if l_reloc_result is NULL.
52580         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52581         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52582         * elf/tst-audit8.c: New file.
52584 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52586         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52587         * misc/Makefile (CFLAGS-select.c): Define.
52588         * posix/Makefile (CFLAGS-pause.c): Define.
52590 2012-11-13  David S. Miller  <davem@davemloft.net>
52592         * crypt/Makefile: Move test targets after toplevel Rules
52593         inclusion.  Grab any necessary sysdep routines when linking.
52594         * crypt/md5.c (md5_process_block): Remove define, we will always
52595         name it __md5_process_block.
52596         (md5_finish_ctx): Update md5_process_block call.
52597         (md5_stream): Likewise.
52598         (md5_process_bytes): Likewise.
52599         (md5_process_block): Rename to __md5_process_block and move to ...
52600         * crypt/md5-block.c: ... here.
52601         * crypt/sha256.c (sha256_process_block): Move to ...
52602         * crypt/sha256-block.c: ... here.
52603         * crypt/sha512.c (sha512_process_block): Move to ...
52604         * crypt/sha512-block.c: ... here.
52605         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52606         path.
52607         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52608         * sysdeps/sparc/sparc64/multiarch/Makefile
52609         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52610         crypt subdir.
52611         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52612         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52613         multiarch changes.
52614         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52615         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52616         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52617         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52618         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52619         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52620         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52621         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52622         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52623         file.
52624         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52625         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52626         file.
52627         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52629 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52631         * timezone/tzselect.ksh: Update from tzcode git revision
52632         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52633         * timezone/zdump.c: Likewise.
52634         * timezone/zic.c: Likewise.
52635         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52636         in TZVERSION setting, not $(PKGVERSION).
52637         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52638         REPORT_BUGS_TO settings.
52640         [BZ #14838]
52641         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52642         macro.
52644 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52646         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52647         detection to immediately after _FP_ROUND().
52648         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52649         bits are 0.
52651 2012-11-11  David S. Miller  <davem@davemloft.net>
52653         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52654         inttypes.h
52655         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52656         __close rather than their public counterparts.
52658 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52660         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52661         file.
52662         [UNIX98] (sem_timedwait): Do not expect.
52663         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52664         [XPG4 || UNIX98] (sockatmark): Do not expect.
52665         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52666         (clock_getcpuclockid): Do not expect.
52667         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52668         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52669         Do not expect.
52670         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52671         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52672         [UNIX98] (vwscanf): Likewise.
52673         [UNIX98] (vswscanf): Likewise.
52675 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52677         * timezone/version.h: Remove file.
52678         * timezone/README: Do not refer to version.h.
52679         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52680         $(objpfx)version.h.
52681         ($(objpfx)zdump.o): Likewise.
52682         ($(objpfx)version.h): New target.
52684         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52685         2012i.
52686         * timezone/README: Don't mention modification to tzselect.ksh.
52687         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52688         work on unmodified tzselect.ksh.  Substitute version numbers in
52689         tzselect.ksh.
52691         * Makefile (format-me): Remove.
52692         (INSTALL): Adjust indentation.  Use commands directly instead of
52693         using $(format-me).
52695         * aclocal.m4 (ACX_PKGVERSION): New macro.
52696         (ACX_BUGURL): Likewise.
52697         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52698         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52699         (REPORT_BUGS_TO): Likewise.
52700         * configure: Regenerated.
52701         * config.h.in (PKGVERSION): New macro.
52702         (REPORT_BUGS_TO): Likewise.
52703         * config.make.in (PKGVERSION): New variable.
52704         (PKGVERSION_TEXI): Likewise.
52705         (REPORT_BUGS_TO): Likewise.
52706         (REPORT_BUGS_TEXI): Likewise.
52707         * Makefile (format-me): Use -I$(common-objpfx)manual.
52708         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52709         ($(common-objpfx)manual/%): New target.
52710         (manual/%): Remove target.
52711         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52712         (print_version): Use PKGVERSION.
52713         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52714         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52715         and REPORT_BUGS_TO.
52716         ($(objpfx)xtrace): Likewise.
52717         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52718         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52719         (print_version): Use PKGVERSION.
52720         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52721         (do_version): Use PKGVERSION.
52722         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52723         REPORT_BUGS_TO.
52724         (common-ldd-rewrite): Likewise.
52725         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52726         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52727         (print_version): Use PKGVERSION.
52728         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52729         * elf/pldd.c (argp_program_bug_address): Remove variable.
52730         (more_help): New function.
52731         (argp): Use more_help.
52732         (print_version): Use PKGVERSION.
52733         * elf/sln.c (main): Use PKGVERSION.
52734         (usage): Use REPORT_BUGS_TO.
52735         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52736         (top level): Use PKGVERSION.
52737         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52738         (print_version): Use PKGVERSION.
52739         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52740         (print_version): Use PKGVERSION.
52741         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52742         (print_version): Use PKGVERSION.
52743         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52744         (print_version): Use PKGVERSION.
52745         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52746         (print_version): Use PKGVERSION.
52747         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52748         (print_version): Use PKGVERSION.
52749         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52750         and BUGURL.
52751         ($(objpfx)memusage): Likewise.
52752         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52753         (do_version): Use PKGVERSION.
52754         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52755         (print_version): Use PKGVERSION.
52756         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52757         ($PKGVERSION): New variable.
52758         ($REPORT_BUGS_TO): Likewise.
52759         (usage): Use $REPORT_BUGS_TO.
52760         (top level): Use $PKGVERSION.
52761         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52762         ($(objpfx)pkgvers.texi): New rule.
52763         ($(objpfx)stamp-pkgvers): Likewise.
52764         * manual/install.texi: Include pkgvers.texi.
52765         (--with-pkgversion): Document new configure option.
52766         (--with-bugurl): Likewise.
52767         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52768         than necessarily for this particular distribution.  Use
52769         REPORT_BUGS_TO for where to report bugs.
52770         * INSTALL: Regenerated.
52771         * manual/libc.texinfo: Include pkgvers.texi.
52772         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52773         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52774         (print_version): Use PKGVERSION.
52775         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52776         (print_version): Use PKGVERSION.
52777         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52778         (print_version): Use PKGVERSION.
52779         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52780         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52781         macro.
52782         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52783         (print_version): Use PKGVERSION.
52784         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52785         (print_version): Use PKGVERSION.
52786         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52787         and PKGVERSION.
52789         * timezone/checktab.awk: Update from tzcode 2012i.
52790         * timezone/ialloc.c: Likewise.
52791         * timezone/private.h: Likewise.
52792         * timezone/scheck.c: Likewise.
52793         * timezone/tzfile.h: Likewise.
52794         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52795         (TZVERSION): Hardcode tzcode version number.
52796         * timezone/zdump.c: Update from tzcode 2012i.
52797         * timezone/zic.c: Likewise.
52798         * timezone/version.h: New file.
52799         * timezone/README: Describe version.h.  Update upstream location.
52801         [BZ #14824]
52802         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52803         (mktemp): Enable declaration.
52804         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52805         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52806         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52807         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52808         Likewise.
52809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52810         Likewise.
52811         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52812         Likewise.
52813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52814         Likewise.
52815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52816         Likewise.
52817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52818         Likewise.
52820         [BZ #14821]
52821         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52822         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52823         for copies of such integer values.
52824         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52825         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52827 2012-11-09  Andreas Jaeger  <aj@suse.de>
52829         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52830         definitions and declarations that are provided by
52831         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52833 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52835         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52836         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52837         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52838         definition.
52840 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52842         * elf/elf.h: Update comment before AArch64 relocations.
52844 2012-11-07  David S. Miller  <davem@davemloft.net>
52846         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52847         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52848         (__start_context): Declare.
52849         (__makecontext_ret): Delete.
52850         (__makecontext): Hook up __start_context instead of
52851         __makecontext_ret.
52852         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52853         (sysdep_routines): Add __start_context when in stdlib.
52855 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52857         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52858         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52859         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52860         hardcoded "nm".
52861         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52862         (READELF): New variable.  Use it instead of hardcoded "readelf".
52864 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52866         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52867         * sysdeps/x86/Makefile: Here.
52868         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52869         * sysdeps/x86/tst-xmmymm.sh: This.
52871 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52873         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52874         expectations.
52875         [UNIX98] (pthread_barrier_t): Do not expect.
52876         [UNIX98] (pthread_barrierattr_t): Likewise.
52877         [UNIX98] (pthread_spinlock_t): Likewise.
52878         [UNIX98] (pthread_barrier_destroy): Likewise.
52879         [UNIX98] (pthread_barrier_init): Likewise.
52880         [UNIX98] (pthread_barrier_wait): Likewise.
52881         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52882         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52883         [UNIX98] (pthread_barrierattr_init): Likewise.
52884         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52885         [UNIX98] (pthread_getcpuclockid): Likewise.
52886         [UNIX98] (pthread_mutex_timedlock): Likewise.
52887         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52888         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52889         [UNIX98] (pthread_sigmask): Likewise.
52890         [UNIX98] (pthread_spin_destroy): Likewise.
52891         [UNIX98] (pthread_spin_init): Likewise.
52892         [UNIX98] (pthread_spin_lock): Likewise.
52893         [UNIX98] (pthread_spin_trylock): Likewise.
52894         [UNIX98] (pthread_spin_unlock): Likewise.
52895         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52896         Do not expect.
52897         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52898         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52899         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52900         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52901         [XPG3 || XPG4] (pthread_key_t): Likewise.
52902         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52903         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52904         [XPG3 || XPG4] (pthread_once_t): Likewise.
52905         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52906         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52907         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52908         [XPG3 || XPG4] (pthread_t): Likewise.
52910         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52911         not expect.
52912         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52914         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52915         Change function return type to int.
52917         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52918         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52919         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52920         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52921         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52922         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52923         [!POSIX] (posix_madvise): Likewise.
52924         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52925         && !UNIX98].
52926         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52927         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52928         (mode_t): Likewise.
52929         (posix_mem_offset): Likewise.
52930         (posix_typed_mem_get_info): Likewise.
52931         (posix_typed_mem_open): Likewise.
52933         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52934         Change condition to [XOPEN2K8].
52936         * conform/conformtest.pl: Preprocess allow-header data with -x c
52937         instead of from stdin.
52938         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52939         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52940         [C99-based standards] (cerfc): Likewise.
52941         [C99-based standards] (cexp2): Likewise.
52942         [C99-based standards] (cexpm1): Likewise.
52943         [C99-based standards] (clog10): Likewise.
52944         [C99-based standards] (clog1p): Likewise.
52945         [C99-based standards] (clog2): Likewise.
52946         [C99-based standards] (clgamma): Likewise.
52947         [C99-based standards] (ctgamma): Likewise.
52948         [C99-based standards] (cerff): Likewise.
52949         [C99-based standards] (cerfcf): Likewise.
52950         [C99-based standards] (cexp2f): Likewise.
52951         [C99-based standards] (cexpm1f): Likewise.
52952         [C99-based standards] (clog10f): Likewise.
52953         [C99-based standards] (clog1pf): Likewise.
52954         [C99-based standards] (clog2f): Likewise.
52955         [C99-based standards] (clgammaf): Likewise.
52956         [C99-based standards] (ctgammaf): Likewise.
52957         [C99-based standards] (cerfl): Likewise.
52958         [C99-based standards] (cerfcl): Likewise.
52959         [C99-based standards] (cexp2l): Likewise.
52960         [C99-based standards] (cexpm1l): Likewise.
52961         [C99-based standards] (clog10l): Likewise.
52962         [C99-based standards] (clog1pl): Likewise.
52963         [C99-based standards] (clog2l): Likewise.
52964         [C99-based standards] (clgammal): Likewise.
52965         [C99-based standards] (ctgammal): Likewise.
52966         * conform/data/inttypes.h-data [C99-based standards]: Include
52967         stdint.h-data.  Remove all expectations for stdint.h contents.
52968         [C99-based standards] (PRI*): Do not allow.
52969         [C99-based standards] (SCN*): Likewise.
52970         [C99-based standards] (*_t): Likewise.
52971         [C99-based-standards] (PRId8): Expect macro.
52972         [C99-based-standards] (PRIi8): Likewise.
52973         [C99-based-standards] (PRIo8): Likewise.
52974         [C99-based-standards] (PRIu8): Likewise.
52975         [C99-based-standards] (PRIx8): Likewise.
52976         [C99-based-standards] (PRIX8): Likewise.
52977         [C99-based-standards] (SCNd8): Likewise.
52978         [C99-based-standards] (SCNi8): Likewise.
52979         [C99-based-standards] (SCNo8): Likewise.
52980         [C99-based-standards] (SCNu8): Likewise.
52981         [C99-based-standards] (SCNx8): Likewise.
52982         [C99-based-standards] (PRIdLEAST8): Likewise.
52983         [C99-based-standards] (PRIiLEAST8): Likewise.
52984         [C99-based-standards] (PRIoLEAST8): Likewise.
52985         [C99-based-standards] (PRIuLEAST8): Likewise.
52986         [C99-based-standards] (PRIxLEAST8): Likewise.
52987         [C99-based-standards] (PRIXLEAST8): Likewise.
52988         [C99-based-standards] (SCNdLEAST8): Likewise.
52989         [C99-based-standards] (SCNiLEAST8): Likewise.
52990         [C99-based-standards] (SCNoLEAST8): Likewise.
52991         [C99-based-standards] (SCNuLEAST8): Likewise.
52992         [C99-based-standards] (SCNxLEAST8): Likewise.
52993         [C99-based-standards] (PRIdFAST8): Likewise.
52994         [C99-based-standards] (PRIiFAST8): Likewise.
52995         [C99-based-standards] (PRIoFAST8): Likewise.
52996         [C99-based-standards] (PRIuFAST8): Likewise.
52997         [C99-based-standards] (PRIxFAST8): Likewise.
52998         [C99-based-standards] (PRIXFAST8): Likewise.
52999         [C99-based-standards] (SCNdFAST8): Likewise.
53000         [C99-based-standards] (SCNiFAST8): Likewise.
53001         [C99-based-standards] (SCNoFAST8): Likewise.
53002         [C99-based-standards] (SCNuFAST8): Likewise.
53003         [C99-based-standards] (SCNxFAST8): Likewise.
53004         [C99-based-standards] (PRId16): Likewise.
53005         [C99-based-standards] (PRIi16): Likewise.
53006         [C99-based-standards] (PRIo16): Likewise.
53007         [C99-based-standards] (PRIu16): Likewise.
53008         [C99-based-standards] (PRIx16): Likewise.
53009         [C99-based-standards] (PRIX16): Likewise.
53010         [C99-based-standards] (SCNd16): Likewise.
53011         [C99-based-standards] (SCNi16): Likewise.
53012         [C99-based-standards] (SCNo16): Likewise.
53013         [C99-based-standards] (SCNu16): Likewise.
53014         [C99-based-standards] (SCNx16): Likewise.
53015         [C99-based-standards] (PRIdLEAST16): Likewise.
53016         [C99-based-standards] (PRIiLEAST16): Likewise.
53017         [C99-based-standards] (PRIoLEAST16): Likewise.
53018         [C99-based-standards] (PRIuLEAST16): Likewise.
53019         [C99-based-standards] (PRIxLEAST16): Likewise.
53020         [C99-based-standards] (PRIXLEAST16): Likewise.
53021         [C99-based-standards] (SCNdLEAST16): Likewise.
53022         [C99-based-standards] (SCNiLEAST16): Likewise.
53023         [C99-based-standards] (SCNoLEAST16): Likewise.
53024         [C99-based-standards] (SCNuLEAST16): Likewise.
53025         [C99-based-standards] (SCNxLEAST16): Likewise.
53026         [C99-based-standards] (PRIdFAST16): Likewise.
53027         [C99-based-standards] (PRIiFAST16): Likewise.
53028         [C99-based-standards] (PRIoFAST16): Likewise.
53029         [C99-based-standards] (PRIuFAST16): Likewise.
53030         [C99-based-standards] (PRIxFAST16): Likewise.
53031         [C99-based-standards] (PRIXFAST16): Likewise.
53032         [C99-based-standards] (SCNdFAST16): Likewise.
53033         [C99-based-standards] (SCNiFAST16): Likewise.
53034         [C99-based-standards] (SCNoFAST16): Likewise.
53035         [C99-based-standards] (SCNuFAST16): Likewise.
53036         [C99-based-standards] (SCNxFAST16): Likewise.
53037         [C99-based-standards] (PRId32): Likewise.
53038         [C99-based-standards] (PRIi32): Likewise.
53039         [C99-based-standards] (PRIo32): Likewise.
53040         [C99-based-standards] (PRIu32): Likewise.
53041         [C99-based-standards] (PRIx32): Likewise.
53042         [C99-based-standards] (PRIX32): Likewise.
53043         [C99-based-standards] (SCNd32): Likewise.
53044         [C99-based-standards] (SCNi32): Likewise.
53045         [C99-based-standards] (SCNo32): Likewise.
53046         [C99-based-standards] (SCNu32): Likewise.
53047         [C99-based-standards] (SCNx32): Likewise.
53048         [C99-based-standards] (PRIdLEAST32): Likewise.
53049         [C99-based-standards] (PRIiLEAST32): Likewise.
53050         [C99-based-standards] (PRIoLEAST32): Likewise.
53051         [C99-based-standards] (PRIuLEAST32): Likewise.
53052         [C99-based-standards] (PRIxLEAST32): Likewise.
53053         [C99-based-standards] (PRIXLEAST32): Likewise.
53054         [C99-based-standards] (SCNdLEAST32): Likewise.
53055         [C99-based-standards] (SCNiLEAST32): Likewise.
53056         [C99-based-standards] (SCNoLEAST32): Likewise.
53057         [C99-based-standards] (SCNuLEAST32): Likewise.
53058         [C99-based-standards] (SCNxLEAST32): Likewise.
53059         [C99-based-standards] (PRIdFAST32): Likewise.
53060         [C99-based-standards] (PRIiFAST32): Likewise.
53061         [C99-based-standards] (PRIoFAST32): Likewise.
53062         [C99-based-standards] (PRIuFAST32): Likewise.
53063         [C99-based-standards] (PRIxFAST32): Likewise.
53064         [C99-based-standards] (PRIXFAST32): Likewise.
53065         [C99-based-standards] (SCNdFAST32): Likewise.
53066         [C99-based-standards] (SCNiFAST32): Likewise.
53067         [C99-based-standards] (SCNoFAST32): Likewise.
53068         [C99-based-standards] (SCNuFAST32): Likewise.
53069         [C99-based-standards] (SCNxFAST32): Likewise.
53070         [C99-based-standards] (PRId64): Likewise.
53071         [C99-based-standards] (PRIi64): Likewise.
53072         [C99-based-standards] (PRIo64): Likewise.
53073         [C99-based-standards] (PRIu64): Likewise.
53074         [C99-based-standards] (PRIx64): Likewise.
53075         [C99-based-standards] (PRIX64): Likewise.
53076         [C99-based-standards] (SCNd64): Likewise.
53077         [C99-based-standards] (SCNi64): Likewise.
53078         [C99-based-standards] (SCNo64): Likewise.
53079         [C99-based-standards] (SCNu64): Likewise.
53080         [C99-based-standards] (SCNx64): Likewise.
53081         [C99-based-standards] (PRIdLEAST64): Likewise.
53082         [C99-based-standards] (PRIiLEAST64): Likewise.
53083         [C99-based-standards] (PRIoLEAST64): Likewise.
53084         [C99-based-standards] (PRIuLEAST64): Likewise.
53085         [C99-based-standards] (PRIxLEAST64): Likewise.
53086         [C99-based-standards] (PRIXLEAST64): Likewise.
53087         [C99-based-standards] (SCNdLEAST64): Likewise.
53088         [C99-based-standards] (SCNiLEAST64): Likewise.
53089         [C99-based-standards] (SCNoLEAST64): Likewise.
53090         [C99-based-standards] (SCNuLEAST64): Likewise.
53091         [C99-based-standards] (SCNxLEAST64): Likewise.
53092         [C99-based-standards] (PRIdFAST64): Likewise.
53093         [C99-based-standards] (PRIiFAST64): Likewise.
53094         [C99-based-standards] (PRIoFAST64): Likewise.
53095         [C99-based-standards] (PRIuFAST64): Likewise.
53096         [C99-based-standards] (PRIxFAST64): Likewise.
53097         [C99-based-standards] (PRIXFAST64): Likewise.
53098         [C99-based-standards] (SCNdFAST64): Likewise.
53099         [C99-based-standards] (SCNiFAST64): Likewise.
53100         [C99-based-standards] (SCNoFAST64): Likewise.
53101         [C99-based-standards] (SCNuFAST64): Likewise.
53102         [C99-based-standards] (SCNxFAST64): Likewise.
53103         [C99-based-standards] (PRIdMAX): Likewise.
53104         [C99-based-standards] (PRIiMAX): Likewise.
53105         [C99-based-standards] (PRIoMAX): Likewise.
53106         [C99-based-standards] (PRIuMAX): Likewise.
53107         [C99-based-standards] (PRIxMAX): Likewise.
53108         [C99-based-standards] (PRIXMAX): Likewise.
53109         [C99-based-standards] (SCNdMAX): Likewise.
53110         [C99-based-standards] (SCNiMAX): Likewise.
53111         [C99-based-standards] (SCNoMAX): Likewise.
53112         [C99-based-standards] (SCNuMAX): Likewise.
53113         [C99-based-standards] (SCNxMAX): Likewise.
53114         [C99-based-standards] (PRIdPTR): Likewise.
53115         [C99-based-standards] (PRIiPTR): Likewise.
53116         [C99-based-standards] (PRIoPTR): Likewise.
53117         [C99-based-standards] (PRIuPTR): Likewise.
53118         [C99-based-standards] (PRIxPTR): Likewise.
53119         [C99-based-standards] (PRIXPTR): Likewise.
53120         [C99-based-standards] (SCNdPTR): Likewise.
53121         [C99-based-standards] (SCNiPTR): Likewise.
53122         [C99-based-standards] (SCNoPTR): Likewise.
53123         [C99-based-standards] (SCNuPTR): Likewise.
53124         [C99-based-standards] (SCNxPTR): Likewise.
53125         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53126         allow.
53127         * conform/data/stdint.h-data: Update comments to clarify
53128         requirements.
53129         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53130         type.
53131         [C99-based standards] (INT8_MAX): Likewise.
53132         [C99-based standards] (INT16_MIN): Likewise.
53133         [C99-based standards] (INT16_MAX): Likewise.
53134         [C99-based standards] (INT32_MIN): Likewise.
53135         [C99-based standards] (INT32_MAX): Likewise.
53136         [C99-based standards] (INT64_MIN): Likewise.
53137         [C99-based standards] (INT64_MAX): Likewise.
53138         [C99-based standards] (UINT8_MAX): Likewise.
53139         [C99-based standards] (UINT16_MAX): Likewise.
53140         [C99-based standards] (UINT32_MAX): Likewise.
53141         [C99-based standards] (UINT64_MAX): Likewise.
53142         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53143         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53144         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53145         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53146         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53147         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53148         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53149         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53150         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53151         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53152         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53153         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53154         [C99-based standards] (INT_FAST8_MIN): Likewise.
53155         [C99-based standards] (INT_FAST8_MAX): Likewise.
53156         [C99-based standards] (INT_FAST16_MIN): Likewise.
53157         [C99-based standards] (INT_FAST16_MAX): Likewise.
53158         [C99-based standards] (INT_FAST32_MIN): Likewise.
53159         [C99-based standards] (INT_FAST32_MAX): Likewise.
53160         [C99-based standards] (INT_FAST64_MIN): Likewise.
53161         [C99-based standards] (INT_FAST64_MAX): Likewise.
53162         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53163         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53164         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53165         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53166         [C99-based standards] (INTPTR_MIN): Likewise.
53167         [C99-based standards] (INTPTR_MAX): Likewise.
53168         [C99-based standards] (UINTPTR_MAX): Likewise.
53169         [C99-based standards] (INTMAX_MIN): Likewise.
53170         [C99-based standards] (INTMAX_MAX): Likewise.
53171         [C99-based standards] (UINTMAX_MAX): Likewise.
53172         [C99-based standards] (PTRDIFF_MIN): Likewise.
53173         [C99-based standards] (PTRDIFF_MAX): Likewise.
53174         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53175         [C99-based standards] (SIZE_MAX): Likewise.
53176         [C99-based standards] (WCHAR_MAX): Likewise.
53177         [C99-based standards] (WINT_MAX): Likewise.
53178         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53179         constraint on value.
53180         [C99-based standards] (WCHAR_MIN): Likewise.
53181         [C99-based standards] (WINT_MIN): Likewise.
53182         [C99-based standards] (*_t): Allow.
53183         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53184         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53185         Include math.h-data and complex.h-data.  Remove all expectations
53186         of math.h and complex.h contents.
53187         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53188         at end of line.
53189         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53190         (struct tm): Expect tag.
53191         [C99-based-standards] (wcstof): Expect function.
53192         [C99-based-standards] (wcstold): Likewise.
53193         [C99-based-standards] (wcstoll): Likewise.
53194         [C99-based-standards] (wcstoull): Likewise.
53195         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53196         macro-int-constant.  Specify type.
53197         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53198         constraint on value.
53199         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53200         Specify type.
53201         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53202         Specify value.
53203         [ISO C standards]: Do not allow headers.
53204         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53205         wcs[abcdefghijklmnopqrstuvwxyz]*.
53206         [ISO C standards] (*_t): Do not allow.
53207         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53208         Expect function.
53209         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53210         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53211         Specify type.
53212         [ISO C standards]: Do not allow headers.
53213         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53214         is[abcdefghijklmnopqrstuvwxyz]*.
53215         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53216         to[abcdefghijklmnopqrstuvwxyz]*.
53217         [ISO C standards] (*_t): Do not allow.
53218         * conform/data/stdalign.h-data: New file.
53219         * conform/data/stdbool.h-data: Likewise.
53220         * conform/data/stdnoreturn.h-data: Likewise.
53222 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53224         [BZ #14815]
53225         * manual/filesys.texi (Directory Entries): Typo fix.
53226         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53228 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53230         * elf/elf.h (EM_AARCH64): New macro.
53231         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53232         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53233         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53234         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53235         (R_AARCH64_TLSDESC): Likewise.
53236         (NT_ARM_TLS): Likewise.
53237         (NT_ARM_HW_BREAK): Likewise.
53238         (NT_ARM_HW_WATCH): Likewise.
53240 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53242         [BZ #14811]
53243         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53244         (__ieee754_powl): Saturate nonzero exponents with absolute value
53245         below 0x1p-79 to +/- 0x1p-79.
53246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53247         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53248         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53249         nonzero exponents with absolute value below 0x1p-32 to +/-
53250         0x1p-32.
53251         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53252         (__ieee754_powl): Saturate nonzero exponents with absolute value
53253         below 0x1p-79 to +/- 0x1p-79.
53254         * math/libm-test.inc (pow_test): Add more tests.
53256 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53258         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53259         _dl_s390_cap_flags with kernel. Increase string length.
53260         (_dl_s390_platforms): Add z196 and zEC12.
53262 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53264         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53265         Change XOPEN21K to XOPEN2K.
53267 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53269         * string/memmove.c: Use memcpy when possible.
53271 2012-11-06  Andreas Jaeger  <aj@suse.de>
53273         * po/eo.po: Update from translation team.
53275 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53277         [BZ #14793]
53278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53279         exponent and small x and y exponents, scale x or y up.  Increase
53280         by 2 the exponent used in scaling up.
53281         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53283         * math/libm-test.inc (fma_test): Add more tests.
53284         (fma_test_towardzero): Likewise.
53285         (fma_test_downward): Likewise.
53286         (fma_test_upward): Likewise.
53288 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53290         [BZ #14805]
53291         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53292         fenv_t *.
53294         [BZ #14801]
53295         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53296         namespace for names of struct fields.
53297         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53298         fenv_t fields.
53299         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53300         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53302 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53304         [BZ #3665]
53305         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53307 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53309         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53310         PTR_DEMANGLE.
53312         [BZ #5246]
53313         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53314         PTR_DEMANGLE.
53316 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53318         [BZ #14797]
53319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53320         definitely overflow as x * y not x * y + z.
53321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53323         * math/libm-test.inc (fma_test): Add more tests.
53324         (fma_test_towardzero): Likewise.
53325         (fma_test_downward): Likewise.
53326         (fma_test_upward): Likewise.
53328 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53330         [BZ #157]
53332         * include/stub-tag.h: Remove file.
53333         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53334         '#include' of it.
53335         * manual/maint.texi (Porting): Don't reference it.
53336         * Makerules ($(objpfx)stubs): Likewise.
53337         * dirent/closedir.c: Don't include <stub-tag.h>.
53338         * dirent/dirfd.c: Likewise.
53339         * dirent/fdopendir.c: Likewise.
53340         * dirent/getdents.c: Likewise.
53341         * dirent/getdents64.c: Likewise.
53342         * dirent/opendir.c: Likewise.
53343         * dirent/readdir.c: Likewise.
53344         * dirent/readdir64.c: Likewise.
53345         * dirent/readdir64_r.c: Likewise.
53346         * dirent/readdir_r.c: Likewise.
53347         * dirent/rewinddir.c: Likewise.
53348         * dirent/seekdir.c: Likewise.
53349         * dirent/telldir.c: Likewise.
53350         * gmon/profil.c: Likewise.
53351         * grp/setgroups.c: Likewise.
53352         * inet/if_index.c: Likewise.
53353         * io/access.c: Likewise.
53354         * io/chdir.c: Likewise.
53355         * io/chmod.c: Likewise.
53356         * io/chown.c: Likewise.
53357         * io/close.c: Likewise.
53358         * io/dup.c: Likewise.
53359         * io/dup2.c: Likewise.
53360         * io/dup3.c: Likewise.
53361         * io/euidaccess.c: Likewise.
53362         * io/faccessat.c: Likewise.
53363         * io/fchdir.c: Likewise.
53364         * io/fchmod.c: Likewise.
53365         * io/fchmodat.c: Likewise.
53366         * io/fchown.c: Likewise.
53367         * io/fchownat.c: Likewise.
53368         * io/fcntl.c: Likewise.
53369         * io/flock.c: Likewise.
53370         * io/fstatfs.c: Likewise.
53371         * io/fstatfs64.c: Likewise.
53372         * io/fstatvfs.c: Likewise.
53373         * io/fstatvfs64.c: Likewise.
53374         * io/futimens.c: Likewise.
53375         * io/fxstat.c: Likewise.
53376         * io/fxstat64.c: Likewise.
53377         * io/fxstatat.c: Likewise.
53378         * io/fxstatat64.c: Likewise.
53379         * io/getcwd.c: Likewise.
53380         * io/isatty.c: Likewise.
53381         * io/lchmod.c: Likewise.
53382         * io/lchown.c: Likewise.
53383         * io/link.c: Likewise.
53384         * io/linkat.c: Likewise.
53385         * io/lseek.c: Likewise.
53386         * io/lseek64.c: Likewise.
53387         * io/lxstat64.c: Likewise.
53388         * io/mkdir.c: Likewise.
53389         * io/mkdirat.c: Likewise.
53390         * io/mkfifo.c: Likewise.
53391         * io/mkfifoat.c: Likewise.
53392         * io/open.c: Likewise.
53393         * io/open64.c: Likewise.
53394         * io/openat.c: Likewise.
53395         * io/openat64.c: Likewise.
53396         * io/pipe.c: Likewise.
53397         * io/pipe2.c: Likewise.
53398         * io/poll.c: Likewise.
53399         * io/posix_fadvise.c: Likewise.
53400         * io/posix_fadvise64.c: Likewise.
53401         * io/posix_fallocate.c: Likewise.
53402         * io/posix_fallocate64.c: Likewise.
53403         * io/read.c: Likewise.
53404         * io/readlink.c: Likewise.
53405         * io/readlinkat.c: Likewise.
53406         * io/rmdir.c: Likewise.
53407         * io/sendfile.c: Likewise.
53408         * io/sendfile64.c: Likewise.
53409         * io/statfs.c: Likewise.
53410         * io/statfs64.c: Likewise.
53411         * io/statvfs.c: Likewise.
53412         * io/statvfs64.c: Likewise.
53413         * io/symlink.c: Likewise.
53414         * io/symlinkat.c: Likewise.
53415         * io/ttyname.c: Likewise.
53416         * io/ttyname_r.c: Likewise.
53417         * io/umask.c: Likewise.
53418         * io/unlink.c: Likewise.
53419         * io/unlinkat.c: Likewise.
53420         * io/utime.c: Likewise.
53421         * io/utimensat.c: Likewise.
53422         * io/write.c: Likewise.
53423         * io/xmknod.c: Likewise.
53424         * io/xmknodat.c: Likewise.
53425         * io/xstat.c: Likewise.
53426         * io/xstat64.c: Likewise.
53427         * login/getpt.c: Likewise.
53428         * login/grantpt.c: Likewise.
53429         * login/unlockpt.c: Likewise.
53430         * math/e_acoshl.c: Likewise.
53431         * math/e_acosl.c: Likewise.
53432         * math/e_asinl.c: Likewise.
53433         * math/e_atan2l.c: Likewise.
53434         * math/e_atanhl.c: Likewise.
53435         * math/e_coshl.c: Likewise.
53436         * math/e_expl.c: Likewise.
53437         * math/e_fmodl.c: Likewise.
53438         * math/e_gammal_r.c: Likewise.
53439         * math/e_hypotl.c: Likewise.
53440         * math/e_j0l.c: Likewise.
53441         * math/e_j1l.c: Likewise.
53442         * math/e_jnl.c: Likewise.
53443         * math/e_lgammal_r.c: Likewise.
53444         * math/e_log10l.c: Likewise.
53445         * math/e_log2l.c: Likewise.
53446         * math/e_logl.c: Likewise.
53447         * math/e_powl.c: Likewise.
53448         * math/e_rem_pio2l.c: Likewise.
53449         * math/e_sinhl.c: Likewise.
53450         * math/e_sqrtl.c: Likewise.
53451         * math/fclrexcpt.c: Likewise.
53452         * math/fedisblxcpt.c: Likewise.
53453         * math/feenablxcpt.c: Likewise.
53454         * math/fegetenv.c: Likewise.
53455         * math/fegetexcept.c: Likewise.
53456         * math/fegetround.c: Likewise.
53457         * math/feholdexcpt.c: Likewise.
53458         * math/fesetenv.c: Likewise.
53459         * math/fesetround.c: Likewise.
53460         * math/feupdateenv.c: Likewise.
53461         * math/fgetexcptflg.c: Likewise.
53462         * math/fraiseexcpt.c: Likewise.
53463         * math/fsetexcptflg.c: Likewise.
53464         * math/ftestexcept.c: Likewise.
53465         * math/k_cosl.c: Likewise.
53466         * math/k_rem_pio2l.c: Likewise.
53467         * math/k_sinl.c: Likewise.
53468         * math/k_tanl.c: Likewise.
53469         * math/s_asinhl.c: Likewise.
53470         * math/s_atanl.c: Likewise.
53471         * math/s_cbrtl.c: Likewise.
53472         * math/s_erfl.c: Likewise.
53473         * math/s_expm1l.c: Likewise.
53474         * math/s_log1pl.c: Likewise.
53475         * math/s_tanhl.c: Likewise.
53476         * misc/acct.c: Likewise.
53477         * misc/brk.c: Likewise.
53478         * misc/chflags.c: Likewise.
53479         * misc/chroot.c: Likewise.
53480         * misc/fchflags.c: Likewise.
53481         * misc/fgetxattr.c: Likewise.
53482         * misc/flistxattr.c: Likewise.
53483         * misc/fremovexattr.c: Likewise.
53484         * misc/fsetxattr.c: Likewise.
53485         * misc/fsync.c: Likewise.
53486         * misc/ftruncate.c: Likewise.
53487         * misc/futimes.c: Likewise.
53488         * misc/futimesat.c: Likewise.
53489         * misc/getdomain.c: Likewise.
53490         * misc/getdtsz.c: Likewise.
53491         * misc/gethostid.c: Likewise.
53492         * misc/gethostname.c: Likewise.
53493         * misc/getloadavg.c: Likewise.
53494         * misc/getpagesize.c: Likewise.
53495         * misc/getsysstats.c: Likewise.
53496         * misc/getxattr.c: Likewise.
53497         * misc/gtty.c: Likewise.
53498         * misc/ioctl.c: Likewise.
53499         * misc/lgetxattr.c: Likewise.
53500         * misc/listxattr.c: Likewise.
53501         * misc/llistxattr.c: Likewise.
53502         * misc/lremovexattr.c: Likewise.
53503         * misc/lsetxattr.c: Likewise.
53504         * misc/lutimes.c: Likewise.
53505         * misc/madvise.c: Likewise.
53506         * misc/mincore.c: Likewise.
53507         * misc/mlock.c: Likewise.
53508         * misc/mlockall.c: Likewise.
53509         * misc/mmap.c: Likewise.
53510         * misc/mprotect.c: Likewise.
53511         * misc/msync.c: Likewise.
53512         * misc/munlock.c: Likewise.
53513         * misc/munlockall.c: Likewise.
53514         * misc/munmap.c: Likewise.
53515         * misc/preadv.c: Likewise.
53516         * misc/preadv64.c: Likewise.
53517         * misc/ptrace.c: Likewise.
53518         * misc/pwritev.c: Likewise.
53519         * misc/pwritev64.c: Likewise.
53520         * misc/readv.c: Likewise.
53521         * misc/reboot.c: Likewise.
53522         * misc/remap_file_pages.c: Likewise.
53523         * misc/removexattr.c: Likewise.
53524         * misc/revoke.c: Likewise.
53525         * misc/select.c: Likewise.
53526         * misc/setdomain.c: Likewise.
53527         * misc/setegid.c: Likewise.
53528         * misc/seteuid.c: Likewise.
53529         * misc/sethostid.c: Likewise.
53530         * misc/sethostname.c: Likewise.
53531         * misc/setregid.c: Likewise.
53532         * misc/setreuid.c: Likewise.
53533         * misc/setxattr.c: Likewise.
53534         * misc/sstk.c: Likewise.
53535         * misc/stty.c: Likewise.
53536         * misc/swapoff.c: Likewise.
53537         * misc/swapon.c: Likewise.
53538         * misc/sync.c: Likewise.
53539         * misc/syncfs.c: Likewise.
53540         * misc/syscall.c: Likewise.
53541         * misc/truncate.c: Likewise.
53542         * misc/ualarm.c: Likewise.
53543         * misc/usleep.c: Likewise.
53544         * misc/ustat.c: Likewise.
53545         * misc/utimes.c: Likewise.
53546         * misc/vhangup.c: Likewise.
53547         * misc/writev.c: Likewise.
53548         * posix/_exit.c: Likewise.
53549         * posix/alarm.c: Likewise.
53550         * posix/execve.c: Likewise.
53551         * posix/fexecve.c: Likewise.
53552         * posix/fork.c: Likewise.
53553         * posix/fpathconf.c: Likewise.
53554         * posix/getaddrinfo.c: Likewise.
53555         * posix/getegid.c: Likewise.
53556         * posix/geteuid.c: Likewise.
53557         * posix/getgid.c: Likewise.
53558         * posix/getgroups.c: Likewise.
53559         * posix/getlogin.c: Likewise.
53560         * posix/getlogin_r.c: Likewise.
53561         * posix/getpgid.c: Likewise.
53562         * posix/getpid.c: Likewise.
53563         * posix/getppid.c: Likewise.
53564         * posix/getresgid.c: Likewise.
53565         * posix/getresuid.c: Likewise.
53566         * posix/getsid.c: Likewise.
53567         * posix/getuid.c: Likewise.
53568         * posix/glob64.c: Likewise.
53569         * posix/nanosleep.c: Likewise.
53570         * posix/pathconf.c: Likewise.
53571         * posix/pause.c: Likewise.
53572         * posix/posix_madvise.c: Likewise.
53573         * posix/pread.c: Likewise.
53574         * posix/pread64.c: Likewise.
53575         * posix/pwrite.c: Likewise.
53576         * posix/pwrite64.c: Likewise.
53577         * posix/sched_getaffinity.c: Likewise.
53578         * posix/sched_getp.c: Likewise.
53579         * posix/sched_gets.c: Likewise.
53580         * posix/sched_primax.c: Likewise.
53581         * posix/sched_primin.c: Likewise.
53582         * posix/sched_rr_gi.c: Likewise.
53583         * posix/sched_setaffinity.c: Likewise.
53584         * posix/sched_setp.c: Likewise.
53585         * posix/sched_sets.c: Likewise.
53586         * posix/sched_yield.c: Likewise.
53587         * posix/setgid.c: Likewise.
53588         * posix/setlogin.c: Likewise.
53589         * posix/setpgid.c: Likewise.
53590         * posix/setresgid.c: Likewise.
53591         * posix/setresuid.c: Likewise.
53592         * posix/setsid.c: Likewise.
53593         * posix/setuid.c: Likewise.
53594         * posix/sleep.c: Likewise.
53595         * posix/spawni.c: Likewise.
53596         * posix/sysconf.c: Likewise.
53597         * posix/times.c: Likewise.
53598         * posix/wait.c: Likewise.
53599         * posix/wait3.c: Likewise.
53600         * posix/wait4.c: Likewise.
53601         * posix/waitpid.c: Likewise.
53602         * resolv/gai_sigqueue.c: Likewise.
53603         * resource/getpriority.c: Likewise.
53604         * resource/getrlimit.c: Likewise.
53605         * resource/getrusage.c: Likewise.
53606         * resource/nice.c: Likewise.
53607         * resource/setpriority.c: Likewise.
53608         * resource/setrlimit.c: Likewise.
53609         * resource/ulimit.c: Likewise.
53610         * rt/aio_cancel.c: Likewise.
53611         * rt/aio_fsync.c: Likewise.
53612         * rt/aio_read.c: Likewise.
53613         * rt/aio_sigqueue.c: Likewise.
53614         * rt/aio_suspend.c: Likewise.
53615         * rt/aio_write.c: Likewise.
53616         * rt/clock_getres.c: Likewise.
53617         * rt/clock_gettime.c: Likewise.
53618         * rt/clock_nanosleep.c: Likewise.
53619         * rt/clock_settime.c: Likewise.
53620         * rt/lio_listio.c: Likewise.
53621         * rt/mq_close.c: Likewise.
53622         * rt/mq_getattr.c: Likewise.
53623         * rt/mq_notify.c: Likewise.
53624         * rt/mq_open.c: Likewise.
53625         * rt/mq_receive.c: Likewise.
53626         * rt/mq_send.c: Likewise.
53627         * rt/mq_setattr.c: Likewise.
53628         * rt/mq_timedreceive.c: Likewise.
53629         * rt/mq_timedsend.c: Likewise.
53630         * rt/mq_unlink.c: Likewise.
53631         * rt/shm_open.c: Likewise.
53632         * rt/shm_unlink.c: Likewise.
53633         * rt/timer_create.c: Likewise.
53634         * rt/timer_delete.c: Likewise.
53635         * rt/timer_getoverr.c: Likewise.
53636         * rt/timer_gettime.c: Likewise.
53637         * rt/timer_settime.c: Likewise.
53638         * setjmp/__longjmp.c: Likewise.
53639         * setjmp/setjmp.c: Likewise.
53640         * signal/kill.c: Likewise.
53641         * signal/killpg.c: Likewise.
53642         * signal/raise.c: Likewise.
53643         * signal/sigaction.c: Likewise.
53644         * signal/sigaltstack.c: Likewise.
53645         * signal/sigblock.c: Likewise.
53646         * signal/sigignore.c: Likewise.
53647         * signal/sigintr.c: Likewise.
53648         * signal/signal.c: Likewise.
53649         * signal/sigpause.c: Likewise.
53650         * signal/sigpending.c: Likewise.
53651         * signal/sigqueue.c: Likewise.
53652         * signal/sigreturn.c: Likewise.
53653         * signal/sigset.c: Likewise.
53654         * signal/sigsetmask.c: Likewise.
53655         * signal/sigstack.c: Likewise.
53656         * signal/sigsuspend.c: Likewise.
53657         * signal/sigtimedwait.c: Likewise.
53658         * signal/sigvec.c: Likewise.
53659         * signal/sigwait.c: Likewise.
53660         * signal/sigwaitinfo.c: Likewise.
53661         * signal/sysv_signal.c: Likewise.
53662         * socket/accept.c: Likewise.
53663         * socket/accept4.c: Likewise.
53664         * socket/bind.c: Likewise.
53665         * socket/connect.c: Likewise.
53666         * socket/getpeername.c: Likewise.
53667         * socket/getsockname.c: Likewise.
53668         * socket/getsockopt.c: Likewise.
53669         * socket/isfdtype.c: Likewise.
53670         * socket/listen.c: Likewise.
53671         * socket/recv.c: Likewise.
53672         * socket/recvfrom.c: Likewise.
53673         * socket/recvmsg.c: Likewise.
53674         * socket/send.c: Likewise.
53675         * socket/sendmsg.c: Likewise.
53676         * socket/sendto.c: Likewise.
53677         * socket/setsockopt.c: Likewise.
53678         * socket/shutdown.c: Likewise.
53679         * socket/sockatmark.c: Likewise.
53680         * socket/socket.c: Likewise.
53681         * socket/socketpair.c: Likewise.
53682         * stdio-common/ctermid.c: Likewise.
53683         * stdio-common/cuserid.c: Likewise.
53684         * stdio-common/remove.c: Likewise.
53685         * stdio-common/rename.c: Likewise.
53686         * stdio-common/renameat.c: Likewise.
53687         * stdio-common/tempname.c: Likewise.
53688         * stdlib/getcontext.c: Likewise.
53689         * stdlib/makecontext.c: Likewise.
53690         * stdlib/setcontext.c: Likewise.
53691         * stdlib/swapcontext.c: Likewise.
53692         * stdlib/system.c: Likewise.
53693         * streams/fattach.c: Likewise.
53694         * streams/fdetach.c: Likewise.
53695         * streams/getmsg.c: Likewise.
53696         * streams/getpmsg.c: Likewise.
53697         * streams/putmsg.c: Likewise.
53698         * streams/putpmsg.c: Likewise.
53699         * sysdeps/unix/bsd/getpt.c: Likewise.
53700         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53701         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53702         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53704         Likewise.
53705         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53706         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53707         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53708         * sysvipc/msgctl.c: Likewise.
53709         * sysvipc/msgget.c: Likewise.
53710         * sysvipc/msgrcv.c: Likewise.
53711         * sysvipc/msgsnd.c: Likewise.
53712         * sysvipc/semctl.c: Likewise.
53713         * sysvipc/semget.c: Likewise.
53714         * sysvipc/semop.c: Likewise.
53715         * sysvipc/semtimedop.c: Likewise.
53716         * sysvipc/shmat.c: Likewise.
53717         * sysvipc/shmctl.c: Likewise.
53718         * sysvipc/shmdt.c: Likewise.
53719         * sysvipc/shmget.c: Likewise.
53720         * termios/tcdrain.c: Likewise.
53721         * termios/tcflow.c: Likewise.
53722         * termios/tcflush.c: Likewise.
53723         * termios/tcgetattr.c: Likewise.
53724         * termios/tcgetpgrp.c: Likewise.
53725         * termios/tcsendbrk.c: Likewise.
53726         * termios/tcsetattr.c: Likewise.
53727         * termios/tcsetpgrp.c: Likewise.
53728         * time/adjtime.c: Likewise.
53729         * time/clock.c: Likewise.
53730         * time/getitimer.c: Likewise.
53731         * time/gettimeofday.c: Likewise.
53732         * time/setitimer.c: Likewise.
53733         * time/settimeofday.c: Likewise.
53734         * time/stime.c: Likewise.
53735         * time/time.c: Likewise.
53737 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53739         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53740         /usr/old/bin.
53742         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53743         instead of spaces.
53744         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53746 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53748         [BZ #14796]
53749         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53750         FE_TONEAREST before applying Dekker multiplication and Knuth
53751         addition.  Clear inexact exceptions and check for exact zero
53752         results afterwards.
53753         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53754         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53755         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53756         * math/libm-test.inc (fma_test): Add more tests.
53757         (fma_test_towardzero): Likewise.
53758         (fma_test_downward): Likewise.
53759         (fma_test_upward): Likewise.
53760         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53761         function.
53762         (libc_fesetround): New macro.
53763         (libc_fesetroundf): Likewise.
53764         (libc_fesetroundl): Likewise.
53765         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53766         function.
53767         (libc_fesetround_387): Likewise.
53768         (libc_fesetroundf): New macro.
53769         (libc_fesetround): Likewise.
53770         (libc_fesetroundl): Likewise.
53771         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53772         function.
53773         (libc_fesetroundf): New macro.
53774         (libc_fesetround): Likewise.
53775         (libc_fesetroundl): Likewise.
53776         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53777         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53778         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53779         libm_hidden_ver.
53780         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53781         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53782         libm_hidden_def.
53783         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53784         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53785         libm_hidden_ver.
53786         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53787         libm_hidden_def.
53789         [BZ #3439]
53790         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53791         integer constant usable in #if and use that to give value to enum
53792         constant.
53793         (FE_DIVBYZERO): Likewise.
53794         (FE_UNDERFLOW): Likewise.
53795         (FE_OVERFLOW): Likewise.
53796         (FE_INVALID): Likewise.
53797         (FE_INVALID_SNAN): Likewise.
53798         (FE_INVALID_ISI): Likewise.
53799         (FE_INVALID_IDI): Likewise.
53800         (FE_INVALID_ZDZ): Likewise.
53801         (FE_INVALID_IMZ): Likewise.
53802         (FE_INVALID_COMPARE): Likewise.
53803         (FE_INVALID_SOFTWARE): Likewise.
53804         (FE_INVALID_SQRT): Likewise.
53805         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53806         (FE_TONEAREST): Likewise.
53807         (FE_TOWARDZERO): Likewise.
53808         (FE_UPWARD): Likewise.
53809         (FE_DOWNWARD): Likewise.
53810         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53811         (FE_DIVBYZERO): Likewise.
53812         (FE_OVERFLOW): Likewise.
53813         (FE_UNDERFLOW): Likewise.
53814         (FE_INEXACT): Likewise.
53815         (FE_TONEAREST): Likewise.
53816         (FE_DOWNWARD): Likewise.
53817         (FE_UPWARD): Likewise.
53818         (FE_TOWARDZERO): Likewise.
53819         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53820         (FE_UNDERFLOW): Likewise.
53821         (FE_OVERFLOW): Likewise.
53822         (FE_DIVBYZERO): Likewise.
53823         (FE_INVALID): Likewise.
53824         (FE_TONEAREST): Likewise.
53825         (FE_TOWARDZERO): Likewise.
53826         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53827         (FE_OVERFLOW): Likewise.
53828         (FE_UNDERFLOW): Likewise.
53829         (FE_DIVBYZERO): Likewise.
53830         (FE_INEXACT): Likewise.
53831         (FE_TONEAREST): Likewise.
53832         (FE_TOWARDZERO): Likewise.
53833         (FE_UPWARD): Likewise.
53834         (FE_DOWNWARD): Likewise.
53835         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53836         (FE_DIVBYZERO): Likewise.
53837         (FE_OVERFLOW): Likewise.
53838         (FE_UNDERFLOW): Likewise.
53839         (FE_INEXACT): Likewise.
53840         (FE_TONEAREST): Likewise.
53841         (FE_DOWNWARD): Likewise.
53842         (FE_UPWARD): Likewise.
53843         (FE_TOWARDZERO): Likewise.
53845 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53847         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53849 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53851         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53852         commands.  Quote $PWD.
53853         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53854         -x" by "export".
53855         (remove_newlines): Remove.
53857 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53859         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53860         * stdlib/stdlib.h (atof): Moved to ...
53861         * include/bits/stdlib-float.h: Here.  New file.
53862         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53863         * stdlib/bits/stdlib-float.h: New file.
53864         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53865         -mno-sse -mno-mmx.
53866         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53867         <xmmintrin.h>.
53869 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53871         * conform/conformtest.pl (@headers): Add fenv.h.
53872         * conform/data/fenv.h-data: New file.
53873         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53874         include of <math/fenv.h>.
53876         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53877         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53878         && !UNIX98].  Enables tests for XOPEN2K8.
53879         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53880         POSIX2008]: Likewise.
53882         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53883         (struct rusage): Do not expect type or its members.
53885         [BZ #3439]
53886         * math/math.h (FP_NAN): Define macro to integer constant usable in
53887         #if and use that to give value to enum constant.
53888         (FP_INFINITE): Likewise.
53889         (FP_ZERO): Likewise.
53890         (FP_SUBNORMAL): Likewise.
53891         (FP_NORMAL): Likewise.
53893 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53895         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53896         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53897         arguments.
53899 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53901         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53902         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53903         autoconf-time if not.
53904         * configure.in: Remove AC_PREREQ.
53906 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53908         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53909         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53910         of the internal implementation.
53912 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53914         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53915         except include of <misc/sys/syslog.h>.
53917 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53920         function returns with a NULL context exit with zero.
53922 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53924         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53926 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53928         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53929         (run_program_cmd): This.
53930         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53931         (tst_langinfo): New variable.  Use it.
53933 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53935         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53936         floating point opcodes.
53938 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53940         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53941         variable.
53943         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53945         * sysdeps/mach/hurd/powerpc: Remove directory.
53946         * sysdeps/mach/powerpc: Likewise.
53948 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53950         * scripts/check-local-headers.sh: Ignore c++ headers.
53952 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53954         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53955         __libc_cleanup_region_start argument.
53957 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53959         [BZ #14784]
53960         [BZ #14785]
53961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53962         x * y using scaling, not as x * y + z.
53963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53965         * math/libm-test.inc (fma_test): Add more tests.
53966         (fma_test_towardzero): Likewise.
53967         (fma_test_downward): Likewise.
53968         (fma_test_upward): Likewise.
53970 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53972         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53974 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53976         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53977         New variable.
53979 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53981         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53983 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53986         Fix sort order.
53987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53988         Likewise.
53990 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53993         Fix the order of the list for glibc 2.17.
53994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53995         Likewise.
53997 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54001 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54003         [BZ #14610]
54004         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54005         for low part of x being zero before using __atanl (y).
54006         * math/libm-test.inc (atan2_test): Add another test.
54008         * manual/install.texi (Configuring and compiling): Document
54009         general use of test-wrapper and test-wrapper-env.
54010         * INSTALL: Regenerated.
54012         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54013         (__fma): Do not extract and scale down low bits on after-rounding
54014         systems when result rounded to normal precision would have normal
54015         exponent.
54016         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54017         (__fmal): Do not extract and scale down low bits on after-rounding
54018         systems when result rounded to normal precision would have normal
54019         exponent.
54020         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54021         (__fmal): Do not extract and scale down low bits on after-rounding
54022         systems when result rounded to normal precision would have normal
54023         exponent.
54024         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54025         macro.
54026         (fma_test): Add more tests.
54027         (fma_test_towardzero): Likewise.
54028         (fma_test_downward): Likewise.
54029         (fma_test_upward): Likewise.
54031 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54033         * sysdeps/i386/tininess.h: Renamed to ...
54034         * sysdeps/x86/tininess.h: This.
54035         * sysdeps/x86_64/tininess.h: Removed.
54037 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54039         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54040         input.  Use $(build-program-cmd).
54041         ($(objpfx)tst-array1-static.out): Likewise.
54042         ($(objpfx)tst-array2.out): Likewise.
54043         ($(objpfx)tst-array3.out): Likewise.
54044         ($(objpfx)tst-array4.out): Likewise.
54045         ($(objpfx)tst-array5.out): Likewise.
54046         ($(objpfx)tst-array5-static.out): Likewise.
54048 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54050         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54051         if defined.
54053         * nss/nsswitch.h (nss_interface_function): Provide new
54054         macro for use with NSS functions.
54055         * grp/initgroups.c: Use new macro.
54056         * nss/getXXbyYY.c: Likewise.
54057         * nss/getXXbyYY_r.c: Likewise.
54058         * nss/getXXent.c: Likewise.
54059         * nss/getXXent_r.c: Likewise.
54060         * sysdeps/posix/getaddrinfo.c: Likewise.
54062 2012-10-30  Andreas Jaeger  <aj@suse.de>
54064         * po/ru.po: Update Russion translation from translation project.
54066 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54068         [BZ #14152]
54069         [BZ #14783]
54070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54071         result and shift together with sticky bit instead of replicating
54072         round-to-nearest rounding.
54073         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54075         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54076         missing underflow exceptions.
54077         (fma_test_towardzero): Add more tests.
54078         (fma_test_downward): Likewise.
54079         (fma_test_upward): Likewise.
54081         [BZ #14047]
54082         * sysdeps/generic/tininess.h: New file.
54083         * sysdeps/i386/tininess.h: Likewise.
54084         * sysdeps/sh/tininess.h: Likewise.
54085         * sysdeps/x86_64/tininess.h: Likewise.
54086         * stdlib/tst-strtod-underflow.c: Likewise.
54087         * stdlib/tst-tininess.c: Likewise.
54088         * stdlib/strtod_l.c: Include <tininess.h>.
54089         (round_and_return): Do not set errno for exact underflow cases.
54090         Force an underflow exception when setting errno for underflow.
54091         Determine underflow based on rounding to normal precision if
54092         TININESS_AFTER_ROUNDING.
54093         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54094         ERANGE for exact underflow cases.
54095         * stdlib/Makefile (tests): Add tst-tininess and
54096         tst-strtod-underflow.
54097         ($(objpfx)tst-tininess): Use $(link-libm).
54098         ($(objpfx)tst-strtod-underflow): Likewise.
54100 2012-10-30  Andreas Jaeger  <aj@suse.de>
54102         [BZ#14767]
54103         * elf/Makefile (tests): Remove conditional for have-initfini-array
54104         since this is now always required and the variable does not exist
54105         anymore.
54106         (tests-static): Likewise.
54107         (modules-names): Likewise.
54109         * po/eo.po: Add Esperanto translation from translation project.
54111         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54112         merged with constructor/destructor.
54113         (init_array): Likewise.
54114         * elf/tst-array2dep.c (fini_array): Likewise.
54115         (init_array): Likewise.
54117 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54119         * manual/message.texi: Delete @cartouche tags.
54121 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54123         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54124         EOPNOTSUPP.
54125         * sysdeps/mach/hurd/fsync.c: Likewise.
54127         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54128         [_POSIX_REALTIME_SIGNALS]: Change condition to
54129         [_POSIX_REALTIME_SIGNALS > 0].
54131 2012-10-27  Andreas Jaeger  <aj@suse.de>
54133         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54134         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54136         [__WORDSIZE != 64]: Likewise.
54138 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54140         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54141         *  iconvdata/tst-tables.sh: Likewise.
54143 2012-10-25  David S. Miller  <davem@davemloft.net>
54145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54146         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54147         of strtoull.
54149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54150         ifunc-impl-list.c
54151         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54152         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54153         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54154         file.
54156 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54158         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54159         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54160         __getdirentries.
54162 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54163             Jim Blandy  <jimb@codesourcery.com>
54165         * scripts/cross-test-ssh.sh: New file.
54166         * manual/install.texi (Configuring and compiling): Document use of
54167         cross-test-ssh.sh.
54168         * INSTALL: Regenerated.
54170 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54172         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54173         EOPNOTSUPP.
54175 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54177         * Makeconfig (run-program-prefix): Fix comment.
54179 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54180             Jim Blandy  <jimb@codesourcery.com>
54182         * Makeconfig (test-wrapper): New variable,
54183         (test-wrapper-env): Likewise.
54184         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54185         (run-built-tests): Define to yes.
54186         (run-program-prefix): Use $(test-wrapper).
54187         (built-program-cmd): Likewise.
54188         * Rules (make-test-out): Use $(test-wrapper-env) and
54189         $(host-built-program-cmd).
54190         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54191         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54192         tst-pathopt.sh.
54193         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54194         $(test-wrapper-env) to tst-rtld-load-self.sh.
54195         ($(objpfx)order2.out): Use $(test-wrapper).
54196         ($(objpfx)tst-initorder.out): Likewise.
54197         ($(objpfx)tst-initorder2.out): Likewise.
54198         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54199         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54200         (test_wrapper_env): New variable.  Use it to run ld.so.
54201         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54202         Use it to run ld.so.
54203         (test_wrapper_env): Likewise.
54204         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54205         $(test-wrapper) to run-iconv-test.sh.
54206         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54207         (ICONV): Use $test_wrapper.
54208         * posix/Makefile ($(objpfx)globtest.out): Pass
54209         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54210         globtest.sh, not $(run-program-prefix).
54211         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54212         (test_wrapper): Likewise.
54213         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54214         set together with run_via_rtld_prefix.
54215         (run_program_prefix): Define in terms of test_wrapper and
54216         run_via_rtld_prefix.
54218 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54220         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54221         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54222         Targets removed.
54224         [BZ #14743]
54225         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54226         Declare __clock_getres, __clock_gettime, __clock_settime,
54227         __clock_nanosleep, and __clock_getcpuclockid.
54228         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54229         Remove librt_hidden_def (clock_gettime).
54230         * sysdeps/unix/clock_gettime.c: Likewise.
54231         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54232         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54233         * rt/clock_getres.c: Define __clock_getres as an alias.
54234         * sysdeps/posix/clock_getres.c: Likewise.
54235         * rt/clock_settime.c: Define __clock_settime as an alias.
54236         * sysdeps/unix/clock_settime.c: Likewise.
54237         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54238         * sysdeps/unix/clock_nanosleep.c: Likewise.
54239         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54240         * rt/clock-compat.c: New file.
54241         * rt/Makefile (librt-routines): Add clock-compat and move
54242         $(clock-routines) to ...
54243         (routines): ... here, new variable.
54244         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54245         Don't add get_clockfreq here.
54246         * rt/Versions (libc: GLIBC_2.17): New version set.
54247         Add clock_* symbols here.
54248         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54249         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54250         (GLIBC_2.17): Add clock_* symbols.
54251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54253         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54255         Likewise.
54256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54257         Likewise.
54258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54262         * NEWS: Mention the move.
54264         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54265         Use __open, __read, __close rather than their public counterparts.
54266         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54267         (__get_clockfreq_via_cpuinfo): Likewise.
54268         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54269         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54271         * config.h.in (HAVE_IFUNC): New #undef.
54272         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54273         was successful.
54274         * configure: Regenerated.
54276 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54278         * configure.in: Move READELF check to start of file.
54279         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54280         libc_cv_asm_gnu_indirect_function in the process.
54281         * configure: Regenerated.
54283 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54285         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54286         send the output to /dev/null.
54287         (libc_cv_cc_with_libunwind): Likewise.
54288         (libc_cv_as_noexecstack): Likewise.
54289         * configure: Regenerate.
54291 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54293         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54295         * posix/globtest.sh (TMPDIR): Do not set.
54296         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54297         (testout): Likewise.
54299 2012-10-24  Andreas Jaeger  <aj@suse.de>
54301         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54302         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54303         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54304         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54305         posix_fadvise64, posix_fallocate64.
54307         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54308         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54309         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54310         Likewise.
54311         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54312         Likewise.
54313         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54316         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54317         <bits/fcntl-linux.h>.
54318         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54321         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54322         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54323         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54324         [__WORDSIZE != 64]: Likewise.
54326 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54328         * Makeconfig (run-built-tests): New variable.
54329         * Rules [$(cross-compiling) = yes]: Change condition to
54330         [$(run-built-tests) = no].
54331         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54332         to [$(run-built-tests) = yes].
54333         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54334         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54335         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54336         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54337         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54338         * io/Makefile [$(cross-compiling) = no]: Likewise.
54339         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54340         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54341         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54342         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54343         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54344         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54345         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54346         * string/Makefile [$(cross-compiling) = no]: Likewise.
54348         * posix/Makefile ($(objpfx)globtest.out): Pass
54349         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54350         $(rtld-installed-name).
54351         * posix/globtest.sh (elf_objpfx): Remove variable.
54352         (rtld_installed_name): Likewise.
54353         (library_path): Likewise.
54354         (run_program_prefix): New variable.  Use for running globtest
54355         binary.
54357 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54358             Joseph Myers  <joseph@codesourcery.com>
54360         * Makeconfig (host-built-program-cmd): New variable.
54361         * elf/Makefile (tst-stackguard1-ARGS): Use
54362         $(host-built-program-cmd).
54363         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54364         (tst-spawn-ARGS): Likewise.
54365         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54367 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54368             Jim Blandy  <jimb@codesourcery.com>
54370         * Makeconfig (run-via-rtld-prefix): New variable.
54371         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54372         (built-program-cmd): Likewise.
54374 2012-10-22  Andreas Jaeger  <aj@suse.de>
54376         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54377         __O_RSYNC if it exists, otherwise to O_SYNC.
54379 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54380             Joseph Myers  <joseph@codesourcery.com>
54382         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54383         /dev/null.
54384         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54385         from /dev/null
54386         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54387         /dev/null.
54389 2012-10-22  Andreas Jaeger  <aj@suse.de>
54391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54392         Define always.
54393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54395         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54396         bits/fcntl-linux.h.
54398         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54399         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54402         to __O_LARGEFILE.
54403         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54404         to __O_LARGEFILE.
54406 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54407             Joseph Myers  <joseph@codesourcery.com>
54409         * config.make.in (NM): New variable.
54411 2012-10-21  Andreas Jaeger  <aj@suse.de>
54413         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54414         definitions and declarations that are provided by
54415         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54417 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54419         [BZ #14683]
54420         * elf/Makefile (tests-static): Add tst-leaks1-static.
54421         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54422         ($(objpfx)tst-leaks1-static): New rule.
54423         ($(objpfx)tst-leaks1-static-mem): Likewise.
54424         (tst-leaks1-static-ENV): New macro.
54425         * elf/dl-open.c (dl_open_worker): Check the main application
54426         only if SHARED is defined.
54427         * elf/tst-leaks1-static.c: New file.
54429 2012-10-20  Andreas Jaeger  <aj@suse.de>
54431         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54432         generic values for Linux.
54433         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54434         and declarations that are provided by <bits/fcntl-linux.h> and
54435         include <bits/fcntl-linux.h>.
54436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54439 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54441         * io/fcntl.h: Move include of <bits/types.h> to the top and
54442         include it unconditionally.
54444 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54446         * wcsmbs/Makefile (tests-ifunc): New variable.
54447         (tests): Add $(tests-ifunc).
54448         * wcsmbs/test-wcschr-ifunc.c: New file.
54449         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54450         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54451         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54452         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54453         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54455         * string/Makefile (tests-ifunc): New variable.
54456         (tests): Add $(tests-ifunc).
54457         * string/test-memccpy.c (TEST_NAME): New macro.
54458         * string/test-memchr.c (TEST_NAME): Likewise.
54459         * string/test-memcmp.c (TEST_NAME): Likewise.
54460         * string/test-memcpy.c (TEST_NAME): Likewise.
54461         * string/test-memmem.c (TEST_NAME): Likewise.
54462         * string/test-memmove.c (TEST_NAME): Likewise.
54463         * string/test-memset.c (TEST_NAME): Likewise.
54464         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54465         * string/test-stpcpy.c (TEST_NAME): Likewise.
54466         * string/test-stpncpy.c (TEST_NAME): Likewise.
54467         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54468         * string/test-strcasestr.c (TEST_NAME): Likewise.
54469         * string/test-strcat.c (TEST_NAME): Likewise.
54470         * string/test-strchr.c (TEST_NAME): Likewise.
54471         * string/test-strcmp.c(TEST_NAME): Likewise.
54472         * string/test-strcpy.c (TEST_NAME): Likewise.
54473         * string/test-strcspn.c (TEST_NAME): Likewise.
54474         * string/test-strlen.c (TEST_NAME): Likewise.
54475         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54476         * string/test-strncmp.c (TEST_NAME): Likewise.
54477         * string/test-strncpy.c (TEST_NAME): Likewise.
54478         * string/test-strnlen.c (TEST_NAME): Likewise.
54479         * string/test-strpbrk.c (TEST_NAME): Likewise.
54480         * string/test-strrchr.c (TEST_NAME): Likewise.
54481         * string/test-strspn.c (TEST_NAME): Likewise.
54482         * string/test-strstr.c (TEST_NAME): Likewise.
54483         * string/test-bcopy-ifunc.c: New file.
54484         * string/test-bzero-ifunc.c: Likewise.
54485         * string/test-memccpy-ifunc.c: Likewise.
54486         * string/test-memchr-ifunc.c: Likewise.
54487         * string/test-memcmp-ifunc.c: Likewise.
54488         * string/test-memcpy-ifunc.c: Likewise.
54489         * string/test-memmem-ifunc.c: Likewise.
54490         * string/test-memmove-ifunc.c: Likewise.
54491         * string/test-mempcpy-ifunc.c: Likewise.
54492         * string/test-memset-ifunc.c: Likewise.
54493         * string/test-rawmemchr-ifunc.c: Likewise.
54494         * string/test-stpcpy-ifunc.c: Likewise.
54495         * string/test-stpncpy-ifunc.c: Likewise.
54496         * string/test-strcasecmp-ifunc.c: Likewise.
54497         * string/test-strcasestr-ifunc.c: Likewise.
54498         * string/test-strcat-ifunc.c: Likewise.
54499         * string/test-strchr-ifunc.c: Likewise.
54500         * string/test-strchrnul-ifunc.c: Likewise.
54501         * string/test-strcmp-ifunc.c: Likewise.
54502         * string/test-strcpy-ifunc.c: Likewise.
54503         * string/test-strcspn-ifunc.c: Likewise.
54504         * string/test-strlen-ifunc.c: Likewise.
54505         * string/test-strncasecmp-ifunc.c: Likewise.
54506         * string/test-strncat-ifunc.c: Likewise.
54507         * string/test-strncmp-ifunc.c: Likewise.
54508         * string/test-strncpy-ifunc.c: Likewise.
54509         * string/test-strnlen-ifunc.c: Likewise.
54510         * string/test-strpbrk-ifunc.c: Likewise.
54511         * string/test-strrchr-ifunc.c: Likewise.
54512         * string/test-strspn-ifunc.c: Likewise.
54513         * string/test-strstr-ifunc.c: Likewise.
54515         * debug/Makefile (tests-ifunc): New variable.
54516         (tests): Add $(tests-ifunc).
54517         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54518         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54519         * debug/test-stpcpy_chk-ifunc.c: New file.
54520         * debug/test-strcpy_chk-ifunc.c: Likewise.
54522 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54524         [BZ #13601]
54525         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54526         header is not read in.
54528 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54530         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54531         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54532         directly.  Pass built executable to script as
54533         $(built-program-cmd).
54534         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54535         $testprogram without using LD_LIBRARY_PATH and $ldso.
54537         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54538         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54539         $(rtld-installed-name).
54540         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54541         (rtld_installed_name): Likewise.
54542         (library_path): Likewise.
54543         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54544         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54545         $(run-program-prefix) to tst-tables.sh.
54546         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54547         it to run tst-table-from and tst-table-to.
54548         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54549         Pass it to tst-table.sh.
54550         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54551         $(run-program-prefix) to tst-gettext.sh.
54552         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54553         tst-translit.sh.
54554         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54555         tst-gettext2.sh.
54556         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54557         to run tst-gettext.
54558         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54559         to run tst-gettext2.
54560         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54561         to run tst-translit.
54562         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54563         $(run-program-prefix) to tst-mtrace.sh.
54564         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54565         to run tst-mtrace.
54566         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54567         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54568         $(rtld-installed-name).
54569         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54570         (rtld_installed_name): Likewise.
54571         (run_program_prefix): New variable.  Use it to run wordexp-test.
54573         * Makeconfig (ARCH): Remove all definitions.
54574         (machine): Likewise.
54575         [ARCH]: Remove conditional code.
54576         [!objdir]: Give error.
54577         [!objdir] (objpfx): Remove.
54578         [!objdir] (common-objpfx): Likewise.
54579         [!objdir] (common-objdir): Likewise.
54580         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54581         AC_CONFIG_FILES call.
54582         * configure: Regenerated.
54584         [BZ #13888]
54585         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54586         or TMPDIR.
54587         (testout): Likewise.
54589         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54590         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54591         $(rtld-installed-name).
54592         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54593         (rtld_installed_name): Likwise.
54594         (runit): Remove function.
54595         (run_getconf): New variable,  Use it for running getconf binary.
54597 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54599         [BZ #14716]
54600         * string/test-memmem.c (check_result): New function.
54601         (do_one_test): Use it.
54602         (check1): New function.
54603         (test_main): Use it.
54605 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54607         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54609 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54611         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54612         (_G_LSEEK64): Likewise.
54613         (_G_MMAP64): Likewise.
54614         (_G_FSTAT64): Likewise.
54615         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54616         (_G_LSEEK64): Likewise.
54617         (_G_MMAP64): Likewise.
54618         (_G_FSTAT64): Likewise.
54619         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54620         unconditional.  Call __mmap64 directly.
54621         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54622         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54623         __lseek64 directly.
54624         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54625         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54626         __mmap64 directly.
54627         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54628         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54629         __lseek64 directly.
54630         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54631         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54632         __lseek64 directly.
54633         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54634         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54635         __lseek64 directly.
54636         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54637         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54638         __fxstat64 directly.
54639         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54640         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54641         unconditional.
54642         (freopen64) [!_G_OPEN64]: Remove conditional code.
54643         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54644         unconditional.
54645         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54646         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54647         unconditional.
54648         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54649         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54650         unconditional.
54651         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54652         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54653         unconditional.
54654         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54655         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54656         unconditional.
54657         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54658         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54659         unconditional.
54660         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54661         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54662         unconditional.
54663         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54665 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54667         [BZ #12140]
54668         * manual/memory.texi (Malloc Tunable Parameters): Add note
54669         about free list pointers overwriting some perturb bytes.
54670         Wording suggested by Roland McGrath.
54672 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54674         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54675         (lgamma_test): Likewise.
54676         (tgamma_test): Likewise.
54678 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54680         [BZ #14700]
54681         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54682         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54684 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54686         * NEWS: Mention BZ #14716.
54687         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54688         when removing AVAILABLE1_USES_J macro.
54690 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54692         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54693         (__bswap_64): __uint64_t for unsigned 64-bit int.
54695 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54697         * include/string.h (memmem): Declare libc hidden alias.
54698         * string/memmem.c (memmem): Define libc hidden alias.
54699         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54700         __read, __close instead of open, read, close.
54702 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54705         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54706         global and hidden.
54707         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54708         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54709         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54710         Likewise.
54711         (__rawmemchr_sse2): Likewise.
54712         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54713         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54714         (__strchr_sse2): Likewise.
54715         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54716         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54717         (__strcasecmp_sse2): Likewise.
54718         (__strncasecmp_sse2): Likewise.
54719         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54720         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54721         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54722         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54723         (__strrchr_sse2): Likewise.
54724         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54725         ifunc-impl-list.c.
54726         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54727         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54728         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54729         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54730         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54731         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54732         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54733         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54734         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54735         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54736         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54737         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54738         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54739         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54740         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54741         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54742         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54743         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54744         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54745         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54746         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54747         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54748         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54749         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54750         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54751         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54752         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54753         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54754         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54755         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54757         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54758         global and hidden.
54759         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54760         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54761         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54762         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54763         Likewise.
54764         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54765         Likewise.
54766         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54767         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54768         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54769         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54770         ifunc-impl-list.c.
54771         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54772         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54773         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54774         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54775         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54776         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54777         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54778         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54779         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54780         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54781         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54782         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54783         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54784         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54785         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54786         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54787         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54788         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54789         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54790         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54791         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54792         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54793         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54794         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54795         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54796         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54797         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54798         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54799         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54800         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54801         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54802         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54803         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54804         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54805         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54806         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54807         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54808         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54809         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54810         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54811         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54813         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54814         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54815         * include/ifunc-impl-list.h: New file.
54816         * misc/ifunc-impl-list.c: Likewise.
54817         * misc/Makefile (routines): Add ifunc-impl-list.
54818         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54819         * string/test-string.h: Include <ifunc-impl-list.h>.
54820         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54821         TEST_NAME]: New variables.
54822         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54823         are defined.
54824         (test_init): Call __libc_ifunc_impl_list to initialize
54825         func_list if TEST_IFUNC and TEST_NAME are defined.
54827         * string/Makefile (strop-tests): Add bcopy and bzero.
54828         * string/test-bcopy.c: New file.
54829         * string/test-bzero.c: Likewise.
54830         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54831         defined.
54832         * string/test-memset.c: Support bzero test if TEST_BZERO is
54833         defined.
54834         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54835         __libc_memmove.
54836         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54837         __libc_memset.
54838         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54839         of memset.
54841 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54843         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54844         * configure: Regenerated.
54846         * Makeconfig (+link-static-before-libc): Don't include
54847         $(link-static-libc).
54849         * libio/libio.h (_IO_pos_t): Remove.
54851 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54853         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54854         McGrath.
54856 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54858         * crypt/crypt-entry.c: Include fips-private.h.
54859         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54860         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54861         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54862         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54864 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54866         * crypt/crypt-private.h: Include stdbool.h.
54867         (_ufc_setup_salt_r): Return bool.
54868         * crypt/crypt-entry.c: Include errno.h.
54869         (__crypt_r): Return NULL with EINVAL for bad salt.
54870         * crypt/crypt_util.c (bad_for_salt): New.
54871         (_ufc_setup_salt_r): Check that salt is long enough and within
54872         the specified alphabet.
54873         * crypt/badsalttest.c: New file.
54874         * crypt/Makefile (tests): Add it.
54875         ($(objpfx)badsalttest): New.
54877 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54879         * NEWS: Add entry for BZ #14602.
54881 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54883         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54884         type-generic.
54885         * math/libm-test.inc: Update comment listing what functions and
54886         macros are tested.
54887         (isgreater_test): New function.
54888         (isgreaterequal_test): Likewise.
54889         (isless_test): Likewise.
54890         (islessequal_test): Likewise.
54891         (islessgreater_test): Likewise.
54892         (isunordered_test): Likewise.
54893         (main): Call the new functions.
54895 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54897         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54898         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54899         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54900         * sysdeps/i386/configure: Regenerated.
54901         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54902         * sysdeps/mach/configure: Regenerated.
54903         * sysdeps/mach/hurd/configure: Regenerated.
54904         * sysdeps/powerpc/configure: Regenerated.
54905         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54906         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54907         * sysdeps/s390/s390-32/configure: Regenerated.
54908         * sysdeps/s390/s390-64/configure: Regenerated.
54909         * sysdeps/sh/configure: Regenerated.
54910         * sysdeps/sparc/configure: Regenerated.
54911         * sysdeps/unix/sysv/linux/configure: Regenerated.
54912         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54913         * sysdeps/x86_64/configure: Regenerated.
54915         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54916         defined.  Don't check if MAP is NULL.
54918 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54920         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54921         (_G_stat64): Likewise.
54922         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54923         (_G_stat64): Likewise.
54924         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54925         instead of struct _G_stat64.
54926         * libio/fileops.c (mmap_remap_check): Likewise.
54927         (decide_maybe_mmap): Likewise.
54928         (_IO_new_file_seekoff): Likewise.
54929         (_IO_file_stat): Likewise.
54930         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54931         _G_off64_t.
54932         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54933         instead of struct _G_stat64.
54934         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54936 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54938         [BZ #14602]
54939         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54940         Replace with ...
54941         (CHECK_EOL): New macro.
54942         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54943         CHECK_EOL.
54944         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54945         Replace with CHECK_EOL.
54946         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54947         Replace with CHECK_EOL.
54949 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54951         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54952         type-generic.
54953         * math/libm-test.inc: Update comment listing what functions and
54954         macros are tested.
54955         (finite_test): New function.
54956         (isinf_test): Likewise.
54957         (isnan_test): Likewise.
54958         (fpclassify_test): Test subnormal input.
54959         (isfinite_test): Likewise.
54960         (isnormal_test): Likewise.
54961         (main): Call the new functions.
54963 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54965         [BZ #14660]
54966         * Makerules (%.dynsym): Force C locale when running
54967         $(OBJDUMP) --dynamic-syms.
54969 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54971         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54972         <stdint.h>.
54974 2012-10-06  David S. Miller  <davem@davemloft.net>
54976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54977         upper 32-bits of the length value in %o2 since we use branch-on-register
54978         tests which consider the entire 64-bit register.
54980 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54982         * string/test-strstr.c (check2): Add a test for page boundary.
54984 2012-10-05  David S. Miller  <davem@davemloft.net>
54986         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54987         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54988         file.
54989         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54990         sysdep_routines.
54991         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54992         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54993         and bzero when HWCAP_SPARC_CRYPTO is present.
54995 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54997         [BZ #14602]
54998         * string/test-strstr.c (check2): New function.
54999         (test_main): Call check2.
55001         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55002         and bug-strchr1.
55003         * string/bug-strcasestr1.c (do_test): Moved to ...
55004         * string/test-strcasestr.c (check1): Here.  New function.
55005         (do_one_test): Break out result checking code into ...
55006         (check_result): This.  New function.
55007         (do_one_test): Call check_result.
55008         (test_main): Call check1.
55009         * string/bug-strchr1.c (do_test): Moved to ...
55010         * string/test-strchr.c (check1): Here.  New function.
55011         (do_one_test): Break out result checking code into ...
55012         (check_result): This.  New function.
55013         (do_one_test): Call check_result.
55014         (test_main): Call check1.
55015         * string/bug-strstr1.c (main): Moved to ...
55016         * string/test-strstr.c (check1): Here.  New function.
55017         (do_one_test): Break out result checking code into ...
55018         (check_result): This.  New function.
55019         (do_one_test): Call check_result.
55020         (test_main): Call check1.
55021         * string/bug-strcasestr1.c: Removed.
55022         * string/bug-strchr1.c: Likewise.
55023         * string/bug-strstr1.c: Likewise.
55025         * elf/Makefile (dl-routines): Add hwcaps.
55026         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55027         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55028         (_dl_important_hwcaps): Moved to ...
55029         * elf/dl-hwcaps.c: Here.  New file.
55030         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55032         [BZ #14557]
55033         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55034         if IS_IN_rtld isn't defined.
55036         * elf/dl-support.c (_dl_sysinfo_map): New.
55037         Include "get-dynamic-info.h" and "setup-vdso.h".
55038         (_dl_non_dynamic_init): Call setup_vdso.
55039         * elf/dynamic-link.h: Don't include <assert.h>.
55040         (elf_get_dynamic_info): Moved to ...
55041         * elf/get-dynamic-info.h: Here.  New file.
55042         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55043         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55044         * elf/setup-vdso.h: Here.  New file.
55045         * elf/rtld.c: Include "setup-vdso.h".
55046         (dl_main): Call setup_vdso.
55048 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55050         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55051         creal in comment listing functions tested.  List finite, isinf,
55052         isnan, isless, islessequal, isgreater, isgreaterequal,
55053         islessgreater, isunordered, lgamma_r and pow10 as functions and
55054         macros not tested.  Mention which functions not tested are aliases
55055         for other functions.  Fix typo.  Note that signs of NaNs are not
55056         tested.
55058         * scripts/config.guess: Update from config.git.
55059         * scripts/config.sub: Likewise.
55061 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55063         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55064         * misc/madvise.c (madvise): Renamed to __madvise.
55065         Make madvise a weak alias.
55066         * include/sys/mman.h: Declare __madvise.
55067         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55068         * sysdeps/unix/syscalls.list
55069         (madvise): Make __madvise the strong name, and madvise a weak alias.
55070         * sysdeps/unix/sysv/linux/syscalls.list
55071         (madvise, mmap): Remove redundant entries.
55072         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55073         * malloc/malloc.c (mtrim): Likewise.
55074         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55076 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55078         * sysdeps/mach/hurd/dl-cache.c: File removed.
55079         * config.h.in (USE_LDCONFIG): New #undef.
55080         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55081         * configure: Regenerated.
55082         * elf/Makefile (dl-routines): Add dl-cache only under
55083         [$(use-ldconfig) = yes].
55084         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55085         cache on [USE_LDCONFIG].
55086         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55087         [USE_LDCONFIG].
55088         * elf/rtld.c (dl_main): Likewise.
55090 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55092         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55093         _SC_LEVEL4_CACHE_LINESIZE.
55095 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55097         * sysdeps/unix/bsd/confstr.h: File removed.
55099 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55101         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55102         sys/sdt-config.h.
55104 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55106         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55107         Make 'mapoff' field ElfW(Off) rather than off_t.
55109 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55111         * nscd/Makefile: Remove nscd-cflags and all its users.
55112         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55113         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55115         [BZ #10631]
55116         * malloc.c (malloc_printerr): Clarify error message.
55118 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55120         [BZ #14648]
55121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55122         Set bit_FMA_Usable if FMA is supported.
55123         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55124         macro.
55125         (bit_FMA4_Usable): Updated.
55126         (index_FMA_Usable): New macro.
55127         (CPUID_FMA): Likewise.
55128         (HAS_FMA): Defined with bit_FMA_Usable.
55130 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55132         * bits/types.h (__swblk_t): Type removed.
55133         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55134         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55135         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55136         (__SWBLK_T_TYPE): Likewise.
55137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55138         (__SWBLK_T_TYPE): Likewise.
55139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55140         (__SWBLK_T_TYPE): Likewise.
55141         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55142         (__SWBLK_T_TYPE): Likewise.
55144 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55145             Honza Horak <hhorak@redhat.com>
55147         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55148         (xdr_mapname): Use YPMAXMAP as maxsize.
55149         (xdr_peername): Use YPMAXPEER as maxsize.
55150         (xdr_keydat): Use YPAXRECORD as maxsize.
55151         (xdr_valdat): Use YPMAXRECORD as maxsize.
55153 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55155         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55157         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55158         * csu/init-first.c: ... here.
55159         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55160         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55161         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55162         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55163         * sysdeps/i386/init-first.c: File removed.
55164         * sysdeps/sh/init-first.c: File removed.
55166 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55168         [BZ #14645]
55169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55170         if x * y might underflow to zero and z is zero.
55171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55172         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55173         * math/libm-test.inc (min_subnorm_value): New variable.
55174         (fma_test): Add more tests.
55175         (fma_test_towardzero): Likewise.
55176         (fma_test_downward): Likewise.
55177         (fma_test_upward): Likewise.
55178         (initialize): Set min_subnorm_value.
55180 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55182         [BZ #14638]
55183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55184         0 + 0.
55185         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55186         mode for addition resulting in exact zero.
55187         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55189         exact 0 + 0.
55190         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55191         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55192         * math/libm-test.inc (fma_test): Add more tests.
55193         (fma_test_towardzero): New function.
55194         (fma_test_downward): Likewise.
55195         (fma_test_upward): Likewise.
55196         (main): Call the new functions.
55198 2012-09-28  David S. Miller  <davem@davemloft.net>
55200         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55202 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55204         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55205         instead of SIGALRM.
55207         * sysdeps/gnu/_G_config.h: Moved to ...
55208         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55209         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55210         * sysdeps/generic/_G_config.h: ... here.
55212         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55214         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55216         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55217         Conditionalize target on [libnss_test1.so-version].
55219         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55221         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55222         (elfobjdir): Move out of conditionals.
55224         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55225         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55226         (__nss_lookup_function): Conditionalize label remove_from_tree on
55227         [!DO_STATIC_NSS || SHARED], matching its only use.
55229 2012-09-28  David S. Miller  <davem@davemloft.net>
55231         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55232         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55233         file.
55234         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55235         sysdep_routines.
55236         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55237         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55238         when HWCAP_SPARC_CRYPTO is present.
55240 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55242         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55244 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55246         [BZ #6530]
55247         * stdio-common/vfprintf.c (process_string_arg): Revert
55248         2000-07-22 change.
55250 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55252         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55253         for testcase.
55254         * stdio-common/tst-sprintf.c: Include <locale.h>
55255         (main): Test sprintf's handling of incomplete multibyte
55256         characters.
55258 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55260         * elf/dl-runtime.c (VERSYMIDX): Removed.
55261         * elf/dl-version.c (VERSYMIDX): Likewise.
55262         * elf/do-rel.h (VERSYMIDX): Likewise.
55263         (VALIDX): Likewise.
55264         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55265         * elf/rtld.c (VALIDX): Likewise.
55266         (ADDRIDX): Likewise.
55267         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55268         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55269         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55270         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55271         (VALIDX): Likewise.
55272         (ADDRIDX): Likewise.
55274 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55276         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55278 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55280         [BZ #11438]
55281         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55282         to global scope.
55283         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55284         addresses are in the same scope as 192.0.2/24.
55285         * posix/gai.conf: Document new scope table defaults.
55287 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55289         [BZ #5298]
55290         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55291         for ftell.  Compute offsets from write pointers instead.
55292         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55294 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55296         [BZ #14543]
55297         * libio/Makefile (tests): New test case tst-fseek.
55298         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55299         combination works in wide mode.
55300         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55301         state when the external buffer state changes.
55303 2012-09-27  David S. Miller  <davem@davemloft.net>
55305         [BZ #14376]
55306         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55307         pass reloc->r_addend in as the 'high' argument to
55308         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55312 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55314         * rt/tst-aio2.c: Include <pthread.h>.
55315         * rt/tst-aio3.c: Likewise.
55317 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55319         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55321 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55323         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55324         contents on [SHARED].
55326 2012-09-26  Marek Polacek  <polacek@redhat.com>
55328         [BZ #14530]
55329         [BZ #13741]
55330         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55331         for C++ and GCC <4.3 as well as for non GCC compilers.
55333 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55337 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55339         * Makefile.in (all, install): Declare with .PHONY.
55340         Reported by Michael Hope <michael.hope@linaro.org>.
55342 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55344         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55345         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55346         system header.
55347         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55348         Likewise.
55349         (sydep_routines): Add the new and the internal functions.
55350         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55351         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55353         (GLIBC_2.17): Add the new function.
55354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55355         (GLIBC_2.17): Likewise.
55356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55357         (GLIBC_2.17): Likewise.
55358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55359         (GLIBC_2.17): Likewise.
55360         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55362 2012-09-25  Alan Modra  <amodra@gmail.com>
55364         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55365         Add release barrier before setting once_control to say
55366         initialisation is done.  Add hints on lwarx.  Use macro in
55367         place of isync.
55368         (clear_once_control): Add release barrier.
55370 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55372         [BZ #13629]
55373         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55374         specially.
55375         * math/s_clog10.c (__clog10): Likewise.
55376         * math/s_clog10f.c (__clog10f): Likewise.
55377         * math/s_clog10l.c (__clog10l): Likewise.
55378         * math/s_clogf.c (__clogf): Likewise.
55379         * math/s_clogl.c (__clogl): Likewise.
55380         * math/Makefile (libm-calls): Add x2y2m1.
55381         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55382         (__x2y2m1): Likewise.
55383         (__x2y2m1l): Likewise.
55384         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55385         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55386         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55387         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55388         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55389         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55390         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55391         * sysdeps/i386/fpu/libm-test-ulps: Update.
55392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55394         [BZ #14621]
55395         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55396         int as type of variable DEPTH.
55397         (glob): Use size_t instead of int as type of variables NEWCOUNT
55398         and OLD_PATHC.
55400 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55402         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55403         Add s_sincosf-sse2.
55404         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55405         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55406         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55407         macros for using routine as __sincosf_ia32.
55408         Use macro for function declaration and weak_alias.
55409         * sysdeps/i386/fpu/libm-test-ulps: Update.
55411         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55414         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55415         subnormal argument.
55416         * math/s_cexpf.c (__cexpf): Likewise.
55417         * math/s_csinf.c (__csinf): Likewise.
55418         * math/s_csinhf.c (__csinhf): Likewise.
55419         * math/s_ctanf.c (__ctanf): Likewise.
55420         * math/s_ctanhf.c (__ctanhf): Likewise.
55421         * math/s_ccosh.c (__ccoshf): Likewise.
55422         * math/s_cexp.c (__cexpl): Likewise.
55423         * math/s_csin.c (__csin): Likewise.
55424         * math/s_csinh.c (__csinh): Likewise.
55425         * math/s_ctan.c (__ctan): Likewise.
55426         * math/s_ctanh.c (ctanh): Likewise.
55427         * math/s_ccoshl.c (__ccoshl): Likewise.
55428         * math/s_cexpl.c (__cexpl): Likewise.
55429         * math/s_csinl.c (__csinl): Likewise.
55430         * math/s_csinhl.c (__csinhl): Likewise.
55431         * math/s_ctanl.c (__ctanl): Likewise.
55432         * math/s_ctanhl.c (__ctanhl): Likewise.
55434 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55436         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55437         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55438         (_IO_off_t): Define to __off_t, not _G_off_t.
55439         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55440         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55441         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55442         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55443         type of __dummy and __dummy2 fields.
55444         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55445         (_G_ssize_t): Likewise.
55446         (_G_off_t): Likewise.
55447         (_G_pid_t): Likewise.
55448         (_G_uid_t): Likewise.
55449         (_G_wchar_t): Likewise.
55450         (_G_wint_t): Likewise.
55451         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55452         (_G_ssize_t): Likewise.
55453         (_G_off_t): Likewise.
55454         (_G_pid_t): Likewise.
55455         (_G_uid_t): Likewise.
55456         (_G_wchar_t): Likewise.
55457         (_G_wint_t): Likewise.
55458         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55459         (_G_ssize_t): Likewise.
55460         (_G_off_t): Likewise.
55461         (_G_pid_t): Likewise.
55462         (_G_uid_t): Likewise.
55463         (_G_wchar_t): Likewise.
55464         (_G_wint_t): Likewise.
55466 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55468         * malloc/arena.c: Include malloc-sysdep.h.
55469         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55470         is sufficient to shrink the heap or an unmap is needed.
55471         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55472         new function check_may_shrink_heap.
55473         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55474         new function check_may_shrink_heap.
55476 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55478         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55479         comments.
55481 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55483         * catgets/test-gencat.sh: Add "set -e".
55484         * elf/tst-pathopt.sh: Likewise.
55485         * grp/tst_fgetgrent.sh: Likewise.
55486         * iconvdata/run-iconv-test.sh: Likewise.
55487         * intl/tst-gettext.sh: Likewise.
55488         * intl/tst-gettext2.sh: Likewise.
55489         * intl/tst-gettext4.sh: Likewise.
55490         * intl/tst-gettext6.sh: Likewise.
55491         * intl/tst-translit.sh: Likewise.
55492         * io/ftwtest-sh: Likewise.
55493         * libio/test-freopen.sh: Likewise.
55494         * malloc/tst-mtrace.sh: Likewise.
55495         * posix/globtest.sh: Likewise.
55496         * posix/tst-getconf.sh: Likewise.
55497         * posix/wordexp-tst.sh: Likewise.
55498         * stdio-common/tst-printf.sh: Likewise.
55499         * stdio-common/tst-unbputc.sh: Likewise.
55500         * stdlib/tst-fmtmsg.sh: Likewise.
55501         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55502         * catgets/Makefile: Do not specify -e option when running
55503         testsuite shell scripts.
55504         * elf/Makefile: Likewise.
55505         * grp/Makefile: Likewise.
55506         * iconvdata/Makefile: Likewise.
55507         * intl/Makefile: Likewise.
55508         * io/Makefile: Likewise.
55509         * libio/Makefile: Likewise.
55510         * malloc/Makefile: Likewise.
55511         * posix/Makefile: Likewise.
55512         * stdio-common/Makefile: Likewise.
55513         * stdlib/Makefile: Likewise.
55514         * sysdeps/x86_64/Makefile: Likewise.
55516         * io/ftwtest-sh: Add copyright header.
55517         * posix/globtest.sh: Likewise.
55518         * posix/tst-getconf.sh: Likewise.
55519         * posix/wordexp-tst.sh: Likewise.
55520         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55522 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55524         [BZ #13679]
55525         * Makeconfig (+link): Defined as $(+link-static) if
55526         $(build-shared) isn't yes.
55527         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55528         isn't yes.
55529         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55531         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55533         [BZ #14562]
55534         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55535         new chunk size with MALLOC_ALIGN_MASK.
55537 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55539         [BZ #5044]
55540         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55541         <rounding-mode.h>.
55542         (__printf_fphex): Determine rounding using get_rounding_mode and
55543         round_away.
55544         * stdio-common/tst-printf-round.c (struct hex_test): New
55545         structure.
55546         (hex_tests): New variable.
55547         (test_hex_in_one_mode): New function.
55548         (do_test): Also run tests for hex float output.
55550 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55552         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55553         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55554         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55555         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55556         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55557         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55558         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55559         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55561 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55563         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55564         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55565         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55566         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55568 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55570         [BZ #14579]
55571         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55572         mode only.
55573         * elf/tst-rtld-load-self.sh: New test.
55574         * elf/Makefile: Run it.
55576 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55578         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55579         (tst-writev-ENV): Remove.
55580         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55582 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55584         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55586 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55588         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55589         unconditional.
55590         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55591         Likewise.
55592         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55593         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55594         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55595         Likewise.
55597 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55599         [BZ #14587]
55600         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55601         * config.make.in (have-cpp-asm-debuginfo): Removed.
55602         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55603         * configure: Regenerated.
55605 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55607         [BZ #5044]
55608         * stdio-common/printf_fp.c: Include <stdbool.h> and
55609         <rounding-mode.h>.
55610         (___printf_fp): Determine rounding using get_rounding_mode and
55611         round_away.
55612         * stdio-common/tst-printf-round.c: New file.
55613         * stdio-common/Makefile (tests): Add tst-printf-round.
55614         (link-libm): New variable.
55615         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55617 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55619         [BZ #14576]
55620         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55621         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55622         Likewise.
55623         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55624         Likewise.
55626 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55628         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55629         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55630         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55631         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55633 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55635         [BZ #14518]
55636         * include/rounding-mode.h: New file.
55637         * sysdeps/generic/get-rounding-mode.h: Likewise.
55638         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55639         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55640         (MAX_VALUE): New macro.
55641         (MIN_VALUE): Likewise.
55642         (overflow_value): New function.
55643         (underflow_value): Likewise.
55644         (round_and_return): Use overflow_value and underflow_value to
55645         determine return values in overflow and underflow cases.  Use
55646         round_away to determine rounding depending on rounding mode.
55647         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55648         determine return values in overflow and underflow cases.
55649         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55650         (struct test_results): New structure.
55651         (struct test): Use struct test_results to store expected results
55652         for all rounding modes.
55653         (TEST): Include expected results for all rounding modes.
55654         (test_in_one_mode): New function.
55655         (do_test): Use test_in_one_mode to compute and check results.
55656         Check results for all rounding modes.
55657         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55658         $(link-libm).
55660 2012-12-09  Allan McRae  <allan@archlinux.org>
55662         * sysdeps/i386/fpu/libm-test-ulps: Update
55664 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55666         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55667         (_G_int32_t): Likewise.
55668         (_G_uint16_t): Likewise.
55669         (_G_uint32_t): Likewise.
55670         (_G_HAVE_BOOL): Likewise.
55671         (_G_HAVE_ATEXIT): Likewise.
55672         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55673         (_G_HAVE_IO_FILE_OPEN): Likewise.
55674         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55675         (_G_int32_t): Likewise.
55676         (_G_uint16_t): Likewise.
55677         (_G_uint32_t): Likewise.
55678         (_G_HAVE_BOOL): Likewise.
55679         (_G_HAVE_ATEXIT): Likewise.
55680         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55681         (_G_HAVE_IO_FILE_OPEN): Likewise.
55682         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55683         (_G_int32_t): Likewise.
55684         (_G_uint16_t): Likewise.
55685         (_G_uint32_t): Likewise.
55686         (_G_HAVE_BOOL): Likewise.
55687         (_G_HAVE_ATEXIT): Likewise.
55688         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55689         (_G_HAVE_IO_FILE_OPEN): Likewise.
55691 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55693         * csu/libc-tls.c: Update copyright years.
55695 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55697         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55698         [!_G_USING_THUNKS]: Remove conditional code.
55699         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55700         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55702         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55703         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55704         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55705         (_G_VTABLE_LABEL_PREFIX): Likewise.
55706         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55707         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55708         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55709         (_G_VTABLE_LABEL_PREFIX): Likewise.
55710         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55711         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55712         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55713         (_G_VTABLE_LABEL_PREFIX): Likewise.
55714         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55716 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55718         * libio/Makefile: Include ../Makeconfig before tests.
55719         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55720         only if $(build-shared) is yes.
55722         * iconv/gconv_db.c: Update copyright years.
55724 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55726         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55727         unwind info if defined PIC. Fix special cases description.
55728         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55730         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55731         DP_HI_MASK entry.
55732         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55734 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55736         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55738         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55739         is NULL.
55741         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55742         (LDLIBS-tst-chk4): This.
55743         (LDFLAGS-tst-chk5): Renamed to ...
55744         (LDLIBS-tst-chk5): This.
55745         (LDFLAGS-tst-chk6): Renamed to ...
55746         (LDLIBS-tst-chk6): This.
55747         (LDFLAGS-tst-lfschk4): Renamed to ...
55748         (LDLIBS-tst-lfschk4): This.
55749         (LDFLAGS-tst-lfschk5): Renamed to ...
55750         (LDLIBS-tst-lfschk5): This.
55751         (LDFLAGS-tst-lfschk6): Renamed to ...
55752         (LDLIBS-tst-lfschk6): This.
55754         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55755         on $(common-objpfx)soversions.mk.
55757 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55759         [BZ #10014]
55760         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55761         example host name.
55763 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55765         * malloc/arena.c (arena_get_retry): New function that gets
55766         another arena for the caller to try its request on.
55767         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55768         current arena cannot fulfill the request.
55769         (__libc_memalign): Likewise.
55770         (__libc_memalign): Likewise.
55771         (__libc_pvalloc): Likewise.
55772         (__libc_calloc): Likewise.
55774 2012-09-05  John Tobey  <john.tobey@gmail.com>
55776         [BZ #13542]
55777         * manual/arith.texi (Operations on Complex): Fix description
55778         of carg branch cut.
55780 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55782         [BZ #10014]
55783         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55784         host name.
55786         [BZ #10038]
55787         * manual/memory.texi (Memory): Make order of menu items match
55788         order of sections.
55790 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55792         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55793         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55794         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55796 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55798         * csu/libc-tls.c (static_dtv): Renamed to ...
55799         (_dl_static_dtv): This.  Make it global.
55800         (_dl_initial_dtv): Removed.
55801         (__libc_setup_tls): Updated.
55802         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55803         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55804         DL_INITIAL_DTV.
55806 2012-09-06  Petr Machata  <pmachata@redhat.com>
55808         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55809         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55810         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55811         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55813 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55815         [BZ #14545]
55816         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55817         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55818         freeing dtv[-1].
55820 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55822         [BZ #14544]
55823         * Makeconfig (link-static-before-libc): Replace $(+prector)
55824         with $(+prectorT).
55825         (link-static-after-libc): Replace $(+postctor) with
55826         $(+postctorT).
55827         (link-bounded): Replace $(+prector)/$(+postctor) with
55828         $(+prectorT)/$(+postctorT).
55829         (+prectorT): New macro.
55830         (+postctorT): Likewise.
55832 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55834         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55835         (round_str): Handle values above the maximum for IBM long double
55836         as inexact.
55837         * stdlib/tst-strtod-round.c (tests): Regenerated.
55839 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55841         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55842         assembler flag.
55843         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55844         zarch_nohighgprs around the zarch optimized routines.
55845         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55846         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55847         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55848         for zarch.
55850 2012-09-05  David S. Miller  <davem@davemloft.net>
55852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55854         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55855         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55856         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55857         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55858         entries.
55860 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55862         * malloc/arena.c: Fold copyright years.
55863         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55865 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55867         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55869 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55871         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55875         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55876         change internal state upon failure.
55878 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55880         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55881         * malloc/memusage.c (mmap): Likewise.
55882         (mmap64, mremap): Likewise.  Adjust name in comment.
55884 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55886         * libio/fileops.c: Fix typos in comments.
55887         * libio/oldfileops.c: Likewise.
55888         * libio/wfileops.c: Likewise.
55890 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55892         [BZ #1349]
55893         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55894         (tst-malloc-usable-ENV): Set environment for test case.
55895         * malloc/hooks.c (malloc_check_get_size): New function to get
55896         requested size.
55897         * malloc/malloc.c (musable): Use malloc_check_get_size.
55898         * malloc/tst-malloc-usable.c: New test case.
55900 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55902         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55904 2012-09-05  Allan McRae  <allan@archlinux.org>
55906         [BZ #13966]
55907         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55908         determine header location.
55909         * configure: Regenerated.
55911 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55913         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55914         float format.
55915         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55916         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55917         format.
55918         (test): Regenerate.
55920 2012-09-04  David S. Miller  <davem@davemloft.net>
55922         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55923         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55924         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55926 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55928         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55929         failures.
55931         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55933 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55935         [BZ #9914]
55936         * libio/iogetdelim.c: Include <limits.h>.
55937         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55938         + len + 1 would overflow.
55940 2012-09-03  Andreas Jaeger  <aj@suse.de>
55942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55943         * sysdeps/i386/fpu/libm-test-ulps: Update.
55945 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55947         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55948         Add s_sinf-sse2, s_conf-sse2.
55950         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55951         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55952         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55953         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55955         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55956         for using routine as __sinf_ia32.
55957         Use macro for function declaration and weak_alias.
55958         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55959         for using routine as __cosf_ia32.
55960         Use macro for function declaration and weak_alias.
55962         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55963         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55965         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55966         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55969         * math/libm-test.inc (cos_test): Add more test cases.
55970         (sin_test): Likewise.
55971         (sincos_test): Likewise.
55973 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55976         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55977         hidden.
55978         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55980 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55982         [BZ #14538]
55983         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55984         first element of the GOT.
55985         (elf_machine_load_address): Return the difference between
55986         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55988 2012-09-01  Allan McRae  <allan@archlinux.org>
55990         [BZ #13412]
55991         * configure.in (AWK): Require gawk version 3.0 or later.
55992         * configure: Regenerated.
55994 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55996         * sysdeps/unix/sysv/linux/kernel-features.h
55997         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55998         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55999         [__NR_clock_getres]: Make code unconditional.
56000         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56001         (clock_getcpuclockid): Remove code left unreachable by removal of
56002         conditionals.
56003         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56004         code unconditional.
56005         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56006         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56007         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56008         Make code unconditional.
56009         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56010         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56011         * sysdeps/unix/sysv/linux/clock_settime.c
56012         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56013         conditional code.
56014         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56015         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56017 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56019         [BZ #14476]
56020         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56021         scripts/test-installation.pl.
56023         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56024         and $ld_so_version if it is set.
56026 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56028         [BZ #14516]
56029         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56030         failure if reading from procfs failed.
56031         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56033 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56035         * sysdeps/unix/sysv/linux/kernel-features.h
56036         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56037         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56038         Remove conditional code.
56039         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56040         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56041         Remove conditional code.
56042         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56043         * sysdeps/unix/sysv/linux/i386/fxstat.c
56044         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56045         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56046         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56047         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56048         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56049         * sysdeps/unix/sysv/linux/i386/lxstat.c
56050         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56051         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56052         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56053         Remove conditional code.
56054         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56055         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56056         Remove conditional code.
56057         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56058         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56059         <kernel-features.h>.
56060         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56061         Remove.
56062         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56063         Remove conditional code.
56064         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56065         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56066         Remove conditional.
56068 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56070         [BZ #5400]
56071         * NEWS: Add fixed bug number.
56073 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56075         [BZ #14519]
56076         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56077         underflowing exponent in case of negative sign.
56078         * stdlib/tst-strtod-round-data: Add more tests.
56079         * stdlib/tst-strtod-round.c (tests): Regenerated.
56081         [BZ #3479]
56082         * stdlib/strtod_l.c (NDIG): Remove.
56083         (HEXNDIG): Likewise.
56084         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56085         smallest representable value.
56086         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56087         lie within an exact representation of 1/2 ulp of the result.
56088         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56089         unconditionally.
56090         (TENS_P9_IDX): Define unconditionally.
56091         (TENS_P9_SIZE): Likewise.
56092         (TENS_P10_IDX): Likewise.
56093         (TENS_P10_SIZE): Likewise.
56094         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56095         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56096         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56097         entries for 10^2^13 and 10^2^14.
56098         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56099         (TENS_P13_IDX): Define.
56100         (TENS_P13_SIZE): Likewise.
56101         (TENS_P14_IDX): Likewise.
56102         (TENS_P14_SIZE): Likewise.
56103         (_fpioconst_pow10): Change array size to
56104         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56105         unconditional.
56106         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56107         1024]: Add entries for 10^2^13 and 10^2^14.
56108         [LAST_POW10 > _LAST_POW10]: Remove #error.
56109         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56110         (_fpioconst_pow10): Change array size to
56111         FPIOCONST_POW10_ARRAY_SIZE.
56112         * stdlib/gen-fpioconst.c: New file.
56113         * stdlib/gen-tst-strtod-round.c: Likewise.
56114         * stdlib/tst-strtod-round-data: Likewise.
56115         * stdlib/tst-strtod-round.c: Likewise.
56116         * stdlib/Makefile (tests): Add tst-strtod-round.
56118         [BZ #14459]
56119         * stdlib/strtod_l.c: Include <stdint.h>.
56120         (NDEBUG): Do not define.
56121         (round_and_return): Change EXPONENT parameter to type intmax_t.
56122         Rearrange calculations to avoid internal overflow possibilities.
56123         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56124         Rearrange calculations to avoid internal overflow possibilities.
56125         Assert that number fits inside MPNSIZE limbs.
56126         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56127         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56128         calculations and add assertions to avoid internal overflow
56129         possibilities.  Add casts to avoid signed/unsigned operations.
56130         * stdlib/tst-strtod-overflow.c: New file.
56131         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56133 2012-08-25  Marek Polacek  <polacek@redhat.com>
56135         * time/time.h: Fix some typos in comments.
56137 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56139         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56140         * posix/tst-rfc3484-2.c: Likewise.
56141         * posix/tst-rfc3484-3.c: Likewise.
56143 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56145         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56146         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56148 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56150         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56151         #include of fxstatat64.c.
56153 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56155         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56156         * shadow/getspent_r.c: Likewise.
56157         * shadow/getspnam.c: Likewise.
56158         * shadow/getspnam_r.c: Likewise.
56159         * gshadow/getsgent.c: Likewise.
56160         * gshadow/getsgent_r.c: Likewise.
56161         * gshadow/getsgnam.c: Likewise.
56162         * gshadow/getsgnam_r.c: Likewise.
56163         * inet/getnetbyad.c: Likewise.
56164         * inet/getnetbyad_r.c: Likewise.
56165         * inet/getnetbynm.c: Likewise.
56166         * inet/getnetbynm_r.c: Likewise.
56167         * inet/getnetent.c: Likewise.
56168         * inet/getnetent_r.c: Likewise.
56169         * inet/getproto.c: Likewise.
56170         * inet/getproto_r.c: Likewise.
56171         * inet/getprtent.c: Likewise.
56172         * inet/getprtent_r.c: Likewise.
56173         * inet/getprtname.c: Likewise.
56174         * inet/getprtname_r.c: Likewise.
56175         * inet/getrpcbyname.c: Likewise.
56176         * inet/getrpcbyname_r.c: Likewise.
56177         * inet/getrpcbynumber.c: Likewise.
56178         * inet/getrpcbynumber_r.c: Likewise.
56179         * inet/getrpcent.c: Likewise.
56180         * inet/getrpcent_r.c: Likewise.
56181         * inet/getaliasent.c: Likewise.
56182         * inet/getaliasent_r.c: Likewise.
56183         * inet/getaliasname.c: Likewise.
56184         * inet/getaliasname_r.c: Likewise.
56185         * nscd/getgrgid_r.c: Likewise.
56186         * nscd/getgrnam_r.c: Likewise.
56187         * nscd/gethstbyad_r.c: Likewise.
56188         * nscd/gethstbynm3_r.c: Likewise.
56189         * nscd/getpwnam_r.c: Likewise.
56190         * nscd/getpwuid_r.c: Likewise.
56191         * nscd/getsrvbynm_r.c: Likewise.
56192         * nscd/getsrvbypt_r.c: Likewise.
56193         * nscd/gai.c: Likewise.
56195         * configure.in (build_nscd): New substituted variable, set
56196         by --disable-build-nscd and defaults to $use_nscd.
56197         * configure: Regenerated.
56198         * config.make.in (build-nscd): New substituted variable.
56199         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56200         Change conditional to require [$(build-nscd) = yes] as well.
56201         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56203         [BZ# 13696]
56204         * configure.in (use_nscd): New substituted variable, set by
56205         --disable-nscd.  If enabled, define USE_NSCD.
56206         * configure: Regenerated.
56207         * config.h.in: Add USE_NSCD.
56208         * config.make.in (use-nscd): New substituted variable.
56209         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56210         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56211         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56212         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56213         (CFLAGS-getgrnam_r.c): Likewise.
56214         (CFLAGS-initgroups.c): Likewise.
56215         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56216         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56217         Variables removed.
56218         * inet/getnetgrent_r.c
56219         (nscd_setnetgrent): New function, broken out of ...
56220         (setnetgrent): ... here.  Call it.
56221         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56222         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56223         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56224         * nscd/Makefile (routines, aux): Move definitions after include of
56225         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56226         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56227         Conditionalize on [USE_NSCD].
56228         (is_nscd, nscd_init_cb): Likewise.
56229         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56230         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56231         * nss/nss_db/db-init.c: Likewise.
56232         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56233         [USE_NSCD].
56234         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56235         (make_request): Use it.
56236         (cache_valid_p): New function.
56237         (__check_pf): Use it.
56238         * NEWS: Add item for --disable-nscd.
56240 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56242         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56243         to support sed >= 4.2.1-20-ga9bf076.
56244         * configure: Regenerated.
56246 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56248         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56249         Conditionalize whole body on [IREL].
56251 2012-08-22  Jeff Law <law@redhat.com>
56253         [BZ #14505]
56254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56255         if the family is PF_UNSPEC.
56257 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56259         * Makerules (lib-version): Rename from V.
56260         (install-lib-nosubdir): Change V to lib-version.
56262 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56264         [BZ #14252]
56265         * powerpc32/power6/wcschr.c: New file.
56266         * powerpc32/power6/wcscpy.c: New file.
56267         * powerpc32/power6/wcsrchr.c: New file.
56268         * powerpc64/power6/wcschr.c: New file.
56269         * powerpc64/power6/wcscpy.c: New file.
56270         * powerpc64/power6/wcsrchr.c: New file.
56272 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56274         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56275         (two_way_short_needle): Use it.
56276         * string/strstr.c (AVAILABLE1_USES_J): Define.
56277         * string/strcasestr.c: Likewise.
56279         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56280         array references.
56281         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56283         [BZ #11607]
56284         * NEWS: Add an entry.
56285         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56286         define their defaults.
56287         (two_way_short_needle): Detect end-of-string on-the-fly.
56288         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56289         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56290         * string/bug-strcasestr1.c: New test.
56291         * string/Makefile: Run it.
56293 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56295         [BZ #11607]
56296         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56297         the first character.
56299 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56301         * csu/elf-init.c (__libc_csu_irel): Function removed.
56302         * csu/libc-start.c (apply_irel): New function.
56303         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56305 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56307         * sysdeps/unix/sysv/linux/kernel-features.h
56308         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56309         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56310         <kernel-features.h>.
56311         [__NR_fadvise64_64]: Make code unconditional.
56312         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56313         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56314         !__NR_fadvise64_64)]: Likewise.
56315         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56316         !__NR_fadvise64_64))]: Likewise.
56317         [__NR_fadvise64]: Make code unconditional.
56318         [!__NR_fadvise64]: Remove conditional code.
56319         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56320         <kernel-features.h>.
56321         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56322         unconditional.
56323         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56324         conditional code.
56325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56326         not include <kernel-features.h>.
56327         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56328         unconditional.
56329         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56330         conditional code.
56331         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56332         include <kernel-features.h>.
56333         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56334         unconditional.
56335         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56336         conditional code.
56338 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56340         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56341         slight instruction rearrangements per scrollpipe analysis.
56342         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56344 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56346         * manual/syslog.texi (syslog; vsyslog, closelog):
56347         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56348         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56350         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56351         DSOCAPS to match condition on defining it.
56353 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56355         * sysdeps/unix/sysv/linux/kernel-features.h
56356         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56358         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56359         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56361         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56362         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56364         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56365         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56367         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56368         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56370         * sysdeps/unix/sysv/linux/kernel-features.h
56371         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56372         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56373         unconditional.
56374         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56375         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56376         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56377         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56378         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56379         Make code unconditional.
56380         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56381         (__mmap64) [!__NR_mmap2]: Likewise.
56382         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56383         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56384         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56385         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56386         [__NR_mmap2]: Make code unconditional.
56387         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56388         (__mmap64) [!__NR_mmap2]: Likewise.
56390 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56392         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56394 2012-08-18  Andreas Jaeger  <aj@suse.de>
56396         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56398 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56400         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56401         * include/unistd.h (__have_sock_cloexec): Likewise.
56402         (__have_pipe2): Likewise.
56403         (__have_dup3): Likewise.
56405 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56407         [BZ #9685]
56408         * include/unistd.h (__have_pipe2): Change define into an extern int.
56409         (__have_dup3): Likewise.
56410         * socket/have_sock_cloexec.c: Include fcntl.h.
56411         (__have_pipe2): New variable.
56412         (__have_dup3): Likewise.
56414 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56416         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56418 2012-08-17  Marek Polacek  <polacek@redhat.com>
56420         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56421         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56423 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56425         * configure.in: Add AC_SUBST for sysheaders.
56426         * configure: Regenerated.
56427         * config.make.in (sysheaders): New substituted variable.
56429         * sysdeps/unix/mkfifo.c: Moved ...
56430         * sysdeps/posix/mkfifo.c: ... here.
56431         * sysdeps/unix/mkfifoat.c: Moved ...
56432         * sysdeps/posix/mkfifoat.c: ... here.
56434         * sysdeps/unix/utime.c: Moved ...
56435         * sysdeps/posix/utime.c: ... here.
56437         * sysdeps/unix/time.c: Moved ...
56438         * sysdeps/posix/time.c: ... here.
56439         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56440         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56442         * sysdeps/unix/nice.c: Moved ...
56443         * sysdeps/posix/nice.c: ... here.
56445         * sysdeps/unix/alarm.c: Moved ...
56446         * sysdeps/posix/alarm.c: ... here.
56448         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56450 2012-08-17  Jeff Law <law@redhat.com>
56452         * intl/Makefile (codeset_mo): New variable.
56453         ($(codeset_mo)): New target.
56454         (tst-codeset.out): Depend on that.  Remove explicit rule.
56455         (tst-gettext3.out, tst-gettext5.out): Likewise.
56456         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56457         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56458         * intl/tst-codeset.sh: Remove.
56459         * intl/tst-gettext3.sh: Likewise.
56460         * intl/tst-gettext5.sh: Likewise.
56462 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56464         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56465         * sysdeps/unix/syscalls.list: ... here.
56467         * sysdeps/posix/getaddrinfo.c
56468         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56469         (gaiconf_init, gaiconf_reload): Use them.
56470         [!_STATBUF_ST_NSEC]
56471         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56472         Define using time_t rather than struct timespec.
56474         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56475         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56476         Macros removed.
56477         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56478         [!NO_THREADS].
56479         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56480         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56481         Likewise.
56483         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56484         __libc_cleanup_push argument.
56486         * bits/param.h: New file.
56487         * misc/sys/param.h: New file.
56488         * include/sys/param.h: New file.
56489         * misc/Makefile (headers): Add bits/param.h.
56490         * sysdeps/generic/sys/param.h: File removed.
56491         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56492         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56493         * sysdeps/mach/hurd/bits/param.h: New file.
56494         * sysdeps/mach/hurd/sys/param.h: File removed.
56496         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56497         last change.
56499         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56500         [_IO_MTSAFE_IO].
56501         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56502         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56503         New macros.
56505         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56506         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56507         rather than -D_IO_MTSAFE_IO conditionally.
56508         * stdio-common/Makefile (CPPFLAGS): Likewise.
56509         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56510         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56511         Use $(libio-mtsafe).
56512         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56513         of -D_IO_MTSAFE_IO.
56514         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56515         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56516         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56517         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56518         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56519         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56520         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56521         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56522         (CFLAGS-fread_u_chk.c): Likewise.
56523         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56524         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56525         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56526         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56527         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56528         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56529         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56530         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56531         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56533         * libio/Makefile: Test [$(libc-reentrant) = yes]
56534         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56536         * Makeconfig
56537         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56538         * sysdeps/pthread/configure: File removed.
56539         * sysdeps/pthread/Makeconfig: New file.
56540         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56541         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56543 2012-08-16  Gary Benson  <gbenson@redhat.com>
56545         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56546         unmapping the first object in a namespace.
56548 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56550         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56551         (__internal_setnetgrent): ... this.  Add internal_function to
56552         definition.  Add libc_hidden_def.
56553         (setnetgrent): Update caller.
56554         (internal_endnetgrent): Renamed to ...
56555         (__internal_endnetgrent): ... this.  Add internal_function to
56556         definition.  Add libc_hidden_def.
56557         (endnetgrent): Update caller.
56558         (internal_getnetgrent_r): Renamed to ...
56559         (__internal_getnetgrent_r): ... this.  Add internal_function to
56560         definition.  Add libc_hidden_def.
56561         (__getnetgrent_r): Update caller.
56562         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56564 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56566         * stdlib/longlong.h: Update from GCC.
56568 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56570         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56571         on _QL, which is set by umul_ppmm but never used.
56572         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56573         variables, which are set by GMP macros but never used.
56574         * stdio-common/_itowa.c (_itowa): Likewise.
56575         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56576         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56578 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56580         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56581         struct La_sh_regs is not constant.
56582         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56583         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56584         and struct La_sparc64_regs are not constant.
56586 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56588         * sysdeps/unix/sysv/linux/kernel-features.h
56589         (__ASSUME_POSIX_TIMERS): Remove.
56590         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56591         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56592         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56593         Make code unconditional.
56594         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56595         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56596         Make code unconditional.
56597         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56598         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56599         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56600         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56601         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56602         Make code unconditional.
56603         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56604         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56605         (__libc_missing_posix_timers): Remove.
56607 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56609         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56610         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56612         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56614         * elf/dl-sym.c: Include <stdlib.h>.
56616         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56617         constants, which avoids warnings in 32-bit builds.
56619         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56620         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56622         * misc/lseek.c: File moved to ...
56623         * io/lseek.c: ... here.
56625         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56627         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56628         shifting LEN more than 31 bits at once.
56630 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56632         [BZ #14195]
56633         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56634         segmentation fault for a case of two empty input strings.
56635         * string/test-strncasecmp.c (check1): Renamed to...
56636         (bz12205): ...this.
56637         (bz14195): Add new testcase for two empty input strings and N > 0.
56638         (test_main): Call new testcase, adapt for renamed function.
56640 2012-08-15  Andreas Jaeger  <aj@suse.de>
56642         [BZ #14090]
56643         * crypt/md5test2.c: New test, based on test supplied by Serge
56644         Belyshev <belyshev@depni.sinp.msu.ru>.
56645         * crypt/Makefile (xtests): Add md5test-giant..
56646         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56648 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56650         [BZ #14090]
56651         * crypt/md5.c (md5_process_block): Don't assume the buffer
56652         length is less than 2**32.
56653         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56654         length is less than 2**64.
56656 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56658         * string/str-two-way.h: Include <sys/param.h>.
56659         (MAX): Macro removed.
56661         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56662         Move #define and #undef of memmove to just before and after
56663         including <string.h>.
56665         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56666         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56667         and after including <string.h>.  Move declarations of
56668         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56669         to before #include "string/memmove.c".
56671         * include/dirent.h: Declare __getdirentries.
56673         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56674         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56676 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56678         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56679         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56680         * sysdeps/i386/configure: Regenerated.
56681         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56682         STABS_CURRENT_FILE, and STABS_FUN.
56683         (END): Remove call to STABS_FUN_END.
56684         (STABS_CURRENT_FILE1): Delete.
56685         (STABS_CURRENT_FILE): Likewise.
56686         (STABS_FUN): Likewise.
56687         (STABS_FUN_END): Likewise.
56688         (STABS_FUN2): Likewise.
56689         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56690         * sysdeps/x86_64/configure: Regenerated.
56692 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56694         * elf/dl-open.c: Include <atomic.h>.
56695         * elf/dl-lookup.c: Likewise.
56697 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56699         * sysdeps/unix/sysv/linux/kernel-features.h
56700         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56701         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56702         unconditionally.
56703         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56704         unconditionally.
56705         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56706         condition on __ASSUME_CLONE_THREAD_FLAGS.
56708 2012-08-14  Andreas Jaeger  <aj@suse.de>
56710         * sysdeps/i386/fpu/libm-test-ulps: Update.
56712 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56714         * include/atomic.h (atomic_exchange_and_add): Split into ...
56715         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56716         New atomic macros.
56718 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56722 2012-08-13  Jeff Law <law@redhat.com>
56724         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56725         null byte in the output string.
56727 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56729         * sysdeps/unix/sysv/linux/kernel-features.h
56730         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56731         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56732         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56733         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56734         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56735         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56736         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56738 2012-08-09  Jeff Law <law@redhat.com>
56740         [BZ #13939]
56741         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56742         When avoid_arena is set, don't retry in the that arena.  Pick the
56743         next one, whatever it might be.
56744         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56745         (arena_lock): Pass in new parameter to arena_get2.
56746         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56747         arena_get2.
56748         (__libc_malloc): Unify retrying after main arena failure with
56749         __libc_memalign version.
56750         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56752 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56754         [BZ #14166]
56755         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56756         to __redirect_strstr.
56757         (__strstr_sse42): Use typeof __redirect_strstr.
56758         (__strstr_ia32): Likewise.
56759         (__libc_strstr): New prototype.
56760         (strstr): Renamed to ...
56761         (__libc_strstr): This.
56762         (strstr): New strong alias of __libc_strstr.
56763         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56764         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56765         __redirect_time.
56766         Include <time.h>.
56767         (__libc_time): New prototype.
56768         (time_ifunc): Replace time with __libc_time.
56769         (time): New strong alias and hidden definition of __libc_time.
56770         (__GI_time): Remove strong alias.
56771         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56772         Include <stddef.h>.
56773         (memmove): Redefined to __redirect_memmove.
56774         (__memmove_sse2): Use typeof __redirect_memmove.
56775         (__memmove_ssse3): Likewise.
56776         (__memmove_ssse3_back): Likewise.
56777         (__libc_memmove): New prototype.
56778         (memmove): Renamed to ...
56779         (__libc_memmove): This.
56780         (memmove): New strong alias of __libc_memmove.
56782 2012-08-08  Mark Salter  <msalter@redhat.com>
56784         * elf/elf.h
56785         (R_MN10300_TLS_GD): Define.
56786         (R_MN10300_TLS_LD): Likewise.
56787         (R_MN10300_TLS_LDO): Likewise.
56788         (R_MN10300_TLS_GOTIE): Likewise.
56789         (R_MN10300_TLS_IE): Likewise.
56790         (R_MN10300_TLS_LE): Likewise.
56791         (R_MN10300_TLS_DTPMOD): Likewise.
56792         (R_MN10300_TLS_DTPOFF): Likewise.
56793         (R_MN10300_TLS_TPOFF): Likewise.
56794         (R_MN10300_SYM_DIFF): Likewise.
56795         (R_MN10300_ALIGN): Likewise.
56796         (R_MN10300_NUM): Update.
56798 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56800         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56801         Remove.
56803 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56805         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56807         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56808         sysdeps/unix -> sysdeps/posix move.
56809         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56811 2012-08-07      Allan McRae     <allan@archlinux.org>
56813         [BZ #14303]
56814         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56815         (SUNOS_CPP): Likewise.
56816         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56817         not found.
56818         (open_input): Call CPP using execvp.
56820 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56822         * sysdeps/unix/sysv/linux/kernel-features.h
56823         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56824         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56825         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56826         (__ASSUME_WAITID_SYSCALL): Likewise.
56827         * sysdeps/unix/sysv/linux/dl-execstack.c
56828         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56829         code unconditional.
56830         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56831         conditional code.
56832         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56833         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56834         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56835         code.
56836         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56837         unconditional.
56838         [__ASSUME_WAITID_SYSCALL]: Likewise.
56839         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56841 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56843         * sysdeps/unix/closedir.c: Renamed to ...
56844         * sysdeps/posix/closedir.c: ... here.
56845         * sysdeps/unix/dirfd.c: Renamed to ...
56846         * sysdeps/posix/dirfd.c: ... here.
56847         * sysdeps/unix/dirstream.h: Renamed to ...
56848         * sysdeps/posix/dirstream.h: ... here.
56849         * sysdeps/unix/fdopendir.c: Renamed to ...
56850         * sysdeps/posix/fdopendir.c: ... here.
56851         * sysdeps/unix/opendir.c: Renamed to ...
56852         * sysdeps/posix/opendir.c: ... here.
56853         * sysdeps/unix/readdir.c: Renamed to ...
56854         * sysdeps/posix/readdir.c: ... here.
56855         * sysdeps/unix/readdir_r.c: Renamed to ...
56856         * sysdeps/posix/readdir_r.c: ... here.
56857         * sysdeps/unix/rewinddir.c: Renamed to ...
56858         * sysdeps/posix/rewinddir.c: ... here.
56859         * sysdeps/unix/seekdir.c: Renamed to ...
56860         * sysdeps/posix/seekdir.c: ... here.
56861         * sysdeps/unix/telldir.c: Renamed to ...
56862         * sysdeps/posix/telldir.c: ... here.
56863         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56864         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56865         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56866         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56868         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56869         * bits/fcntl.h: ... here.
56871         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56872         not 0.
56873         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56874         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56875         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56876         (struct flock): Move l_start, l_len to the beginning.
56877         Use __pid_t for l_pid.
56878         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56879         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56880         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56881         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56882         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56883         [__USE_LARGEFILE64] (struct flock64): New type.
56884         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56886         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56887         * bits/dirent.h: ... here.
56889         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56890         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56892 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56894         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56895         Change from 2.6.0 to 2.6.16.
56896         * sysdeps/unix/sysv/linux/configure: Regenerated.
56897         * sysdeps/unix/sysv/linux/kernel-features.h
56898         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56899         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56900         version.
56901         (__ASSUME_UTIMES): Likewise.
56902         (__ASSUME_CLONE_STOPPED): Remove.
56903         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56904         architectures, not kernel version.
56905         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56906         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56907         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56908         (__ASSUME_WAITID_SYSCALL): Likewise.
56909         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56910         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56911         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56912         refer to older versions.
56914 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56916         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56917         Define alphasort64 as an alias.
56918         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56919         Define versionsort64 as an alias.
56920         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56921         Define scandir64 as an alias.
56922         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56923         Define scandirat64 as an alias.
56924         * dirent/alphasort64.c (alphasort64):
56925         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56926         * dirent/versionsort64.c: Likewise.
56927         * dirent/scandir64.c: Likewise.
56928         * dirent/scandirat64.c: Likewise.
56929         * sysdeps/wordsize-64/alphasort.c: File removed.
56930         * sysdeps/wordsize-64/alphasort64.c: File removed.
56931         * sysdeps/wordsize-64/scandir.c: File removed.
56932         * sysdeps/wordsize-64/scandir64.c: File removed.
56933         * sysdeps/wordsize-64/scandirat.c: File removed.
56934         * sysdeps/wordsize-64/scandirat64.c: File removed.
56935         * sysdeps/wordsize-64/versionsort.c: File removed.
56936         * sysdeps/wordsize-64/versionsort64.c: File removed.
56937         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56938         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56939         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56940         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56941         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56942         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56943         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56944         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56946         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56947         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56948         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56950         [defined __arch64__ || defined __sparcv9]
56951         (__INO_T_MATCHES_INO64_T): New macro.
56952         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56953         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56954         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56955         * sysdeps/unix/sysv/linux/bits/dirent.h
56956         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56957         (_DIRENT_MATCHES_DIRENT64): New macro.
56959         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56960         Define lockf64 as an alias.
56961         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56962         Define fseeko64 as an alias.
56963         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56964         Define ftello64 as an alias.
56965         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56966         Define _IO_fgetpos64 and fgetpos64 as aliases.
56967         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56968         Define _IO_fsetpos64 and fsetpos64 as aliases.
56969         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56970         Conditionalize body on this.
56971         * libio/fseeko64.c: Likewise.
56972         * libio/ftello64.c: Likewise.
56973         * libio/iofgetpos64.c: Likewise.
56974         * libio/iofsetpos64.c: Likewise.
56975         * sysdeps/wordsize-64/lockf.c: File removed.
56976         * sysdeps/wordsize-64/lockf64.c: File removed.
56977         * sysdeps/wordsize-64/fseeko.c: File removed.
56978         * sysdeps/wordsize-64/fseeko64.c: File removed.
56979         * sysdeps/wordsize-64/ftello.c: File removed.
56980         * sysdeps/wordsize-64/ftello64.c: File removed.
56981         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56982         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56983         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56984         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56985         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56986         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56987         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56988         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56989         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56990         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56991         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56992         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56993         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56994         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56996         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56997         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56998         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56999         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57000         [defined __arch64__ || defined __sparcv9]
57001         (__OFF_T_MATCHES_OFF64_T): New macro.
57002         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57003         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57004         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57005         (__OFF_T_MATCHES_OFF64_T): New macro.
57007 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57009         * stdlib/secure-getenv.c (__secure_getenv): Replace
57010         GLIBC_2_16 with GLIBC_2_17.
57012 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57014         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57015         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57017 2012-08-03  David S. Miller  <davem@davemloft.net>
57019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57021 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57024         Remove.
57025         (__ASSUME_CORRECT_SI_PID): Likewise.
57026         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57027         (__ASSUME_TMPFS_NAME): Likewise.
57028         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57029         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57030         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57031         (HAVE_AUX_SECURE): Make definition unconditional.
57032         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57033         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57035 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57037         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57038         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57039         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57040         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57041         __eloop_threshold instead of SYMLOOP_MAX.
57043         * sysdeps/generic/eloop-threshold.h: New file.
57044         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57045         of MAXSYMLINKS.
57046         * elf/chroot_canon.c (chroot_canon): Likewise.
57048 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57050         [BZ #13717]
57051         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57052         Change to 2.6.0 everywhere.
57053         * sysdeps/unix/sysv/linux/configure: Regenerated.
57054         * sysdeps/unix/sysv/linux/kernel-features.h
57055         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57056         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57057         kernel versions.
57058         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57059         (__ASSUME_FUTEX_REQUEUE): Remove.
57060         (__ASSUME_STATFS64): Define unconditionally.
57061         (__ASSUME_AT_SECURE): Likewise.
57062         (__ASSUME_CORRECT_SI_PID): Likewise.
57063         (__ASSUME_TGKILL): Define without depending on kernel version for
57064         i386.
57065         (__ASSUME_UTIMES): Likewise.
57066         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57067         kernel version.
57068         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57069         (__ASSUME_TMPFS_NAME): Likewise.
57070         * README: Update reference to Linux kernel versions.
57072 2012-08-02  Marek Polacek  <polacek@redhat.com>
57074         [BZ# 14150]
57075         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57076         libc_cv_asm_type_prefix with %.
57077         * configure: Regenerated.
57078         * include/libc-symbols.h: Remove comment about
57079         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57080         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57081         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57082         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57083         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57084         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57085         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57086         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57087         * elf/tst-unique2mod1.c: Likewise.
57088         * elf/tst-unique1mod2.c: Likewise.
57089         * elf/tst-unique1mod1.c: Likewise.
57090         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57091         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57092         Replace ASM_TYPE_DIRECTIVE with .type.
57093         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57094         * sysdeps/i386/sysdep.h: Likewise.
57095         * sysdeps/x86_64/sysdep.h: Likewise.
57096         * sysdeps/sh/sysdep.h: Likewise.
57097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57098         Do not define ASM_TYPE_DIRECTIVE.
57099         * sysdeps/powerpc/sysdep.h: Likewise.
57100         * sysdeps/powerpc/powerpc32/sysdep.h:
57101         Replace ASM_TYPE_DIRECTIVE with .type.
57102         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57103         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57104         * sysdeps/i386/fpu/e_powf.S: Likewise.
57105         * sysdeps/i386/fpu/e_expl.S: Likewise.
57106         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57107         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57108         * sysdeps/i386/fpu/e_pow.S: Likewise.
57109         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57110         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57111         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57112         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57113         * sysdeps/i386/fpu/e_log2.S: Likewise.
57114         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57115         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57116         * sysdeps/i386/fpu/e_powl.S: Likewise.
57117         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57118         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57119         * sysdeps/i386/fpu/e_logl.S: Likewise.
57120         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57121         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57122         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57123         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57124         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57125         * sysdeps/i386/fpu/e_log.S: Likewise.
57126         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57127         * sysdeps/i386/fpu/e_logf.S: Likewise.
57128         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57129         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57130         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57131         * sysdeps/i386/fpu/e_log10.S: Likewise.
57132         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57133         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57134         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57135         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57136         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57137         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57138         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57139         * sysdeps/i386/i686/strtok.S: Likewise.
57140         * sysdeps/i386/i386-mcount.S: Likewise.
57141         * sysdeps/i386/strtok.S: Likewise.
57142         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57143         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57144         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57145         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57146         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57147         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57148         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57149         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57150         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57151         * sysdeps/x86_64/_mcount.S: Likewise.
57152         * sysdeps/x86_64/strtok.S: Likewise.
57153         * sysdeps/sh/_mcount.S: Likewise.
57155 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57157         * libio/iofopen.c: Include <fcntl.h>.
57158         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57159         (_IO_fopen64, fopen64): Define as aliases.
57160         * libio/iofopen64.c: Include <fcntl.h>.
57161         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57162         Conditionalize body on this.
57163         * sysdeps/wordsize-64/iofopen.c: File removed.
57164         * sysdeps/wordsize-64/iofopen64.c: File removed.
57166 2012-08-01  Marek Polacek  <polacek@redhat.com>
57168         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57169         Use dlfcn directly instead of a variable.
57170         (binfmt-subdir): Do not define.
57171         (dlfcn): Likewise.
57173 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57175         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57176         Remove all definitions.
57177         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57178         <kernel-features.h>.
57179         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57180         (miss_F_GETOWN_EX): Remove all definitions.
57181         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57182         macro definition.
57183         [!__ASSUME_FCNTL64]: Remove conditional code.
57184         [__ASSUME_FCNTL64]: Make code unconditional.
57185         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57186         <kernel-features.h>.
57187         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57188         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57189         (lockf64) [__NR_fcntl64]: Make code unconditional.
57190         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57192         * sysdeps/unix/sysv/linux/kernel-features.h
57193         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57194         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57195         Make code unconditional.
57196         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57197         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57199         [__NR_vfork]: Make code unconditional.
57200         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57201         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57203         [__NR_vfork]: Make code unconditional.
57204         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57205         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57207 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57209         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57210         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57212         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57213         Define mkstemp64 as an alias.
57214         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57215         Define mkstemps64 as an alias.
57216         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57217         Define mkostemp64 as an alias.
57218         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57219         Define mkostemps64 as an alias.
57220         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57221         Conditionalize body on this.
57222         * misc/mkostemp64.c: Likewise.
57223         * misc/mkostemps64.c: Likewise.
57224         * misc/mkstemps64.c: Likewise.
57225         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57226         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57227         * sysdeps/wordsize-64/mkostemp.c: File removed.
57228         * sysdeps/wordsize-64/mkstemp.c: File removed.
57229         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57230         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57231         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57232         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57234         [BZ #14138]
57235         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57236         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57237         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57238         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57240         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57241         compat_symbol macros from <shlib-compat.h> rather than the underlying
57242         default_symbol_version and symbol_version macros, so that DEFAULT
57243         lines in shlib-versions are respected.
57244         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57246 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57248         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57249         Declare with warn_unused_result.
57250         (setgid, setregid, setegid, setresgid): Likewise.
57251         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57252         Likewise.
57253         * WUR-REPORT: Remove set*id functions.
57255 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57257         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57259 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57261         [BZ #10191]
57262         * include/sys/socket.h (__libc_accept, __libc_accept4):
57263         Add attribute_hidden.
57264         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57266         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57267         use of PTR_MANGLE.
57268         * inet/getnetgrent_r.c (setup): Likewise.
57270         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57272 2012-07-31  David S. Miller  <davem@davemloft.net>
57274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57276 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57278         [BZ #13629]
57279         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57280         value between 1.0 and 2.0 and smaller part has absolute value less
57281         than 1.0.
57282         * math/s_clog10.c (__clog10): Likewise.
57283         * math/s_clog10f.c (__clog10f): Likewise.
57284         * math/s_clog10l.c (__clog10l): Likewise.
57285         * math/s_clogf.c (__clogf): Likewise.
57286         * math/s_clogl.c (__clogl): Likewise.
57287         * math/libm-test.inc (clog_test): Add more tests.
57288         (clog10_test): Likewise.
57289         * sysdeps/i386/fpu/libm-test-ulps: Update.
57290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57292 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57294         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57295         Exit with zero in case no suitable GID is found, and write a
57296         message to standard error.
57298 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57300         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57301         rather than to 1.
57302         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57303         (MAXPATHLEN): Removed.
57304         (NOGROUP, NODEV): New macros.
57305         (setbit, clrbit, isset, isclr): New macros.
57306         (howmany, roundup, powerof2): New macros.
57307         (DEV_BSIZE): New macro.
57309         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57310         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57312         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57313         definition on [!__NO_LONG_DOUBLE_MATH].
57315         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57316         PTR_MANGLE and PTR_DEMANGLE.
57318         * socket/accept4.c (accept4): Rename to __libc_accept4.
57319         Define accept4 as a weak alias.
57321         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57322         on [_DIRENT_HAVE_D_TYPE].
57323         * io/ftw.c (ftw_dir): Likewise.
57325         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57327         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57329         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57330         Use the BSD numbers rather than the arbitrary ones we had.
57331         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57332         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57333         (SIGXCPU, SIGXFSZ): New macros.
57334         (_NSIG): Now 32.
57336         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57337         initializer on [_LIBC_REENTRANT].
57339         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57340         definitions inside [_POSIX_MAPPED_FILES].
57342         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57344         * dirent/opendir.c: Include <fcntl.h>.
57346         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57347         (__libc_getspecific): Likewise.
57348         (__libc_key_create): Likewise.
57350         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57351         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57352         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57353         (tmpfile64): Define as alias.
57354         * sysdeps/wordsize-64/tmpfile.c: File removed.
57355         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57356         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57357         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57359         * stdio-common/vfscanf.c: Include <stdbool.h>.
57360         * nss/makedb.c: Likewise.
57361         * stdio-common/_i18n_number.h: Likewise.
57362         * argp/argp-help.c: Likewise.
57363         * posix/wordexp.c: Likewise.
57364         * sysdeps/posix/spawni.c: Likewise.
57365         * nss/nss_files/files-initgroups.c: Likewise.
57366         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57367         * nss/nss_files/files-initgroups.c: Likewise.
57368         * nss/nss_db/db-netgrp.c: Likewise.
57369         * nss/nss_db/db-initgroups.c: Likewise.
57370         * io/fchmodat.c: Include <sys/stat.h>.
57372         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57373         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57375         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57376         [HAVE_MMAP].
57378         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57379         Add multiple inclusion protection.
57381 2012-07-27  David S. Miller  <davem@davemloft.net>
57383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57385 2012-07-27  Gary Benson  <gbenson@redhat.com>
57387         [BZ #14298]
57388         * elf/rtld.c: Include <stap-probe.h>.
57389         (dl_main): Added static probes "init_start" and "init_complete".
57390         * elf/dl-load.c: Include <stap-probe.h>.
57391         (lose): Take new parameter "nsid".
57392         Added static probe "map_failed".
57393         (_dl_map_object_from_fd): Pass namespace id to lose.
57394         Added static probe "map_start".
57395         (open_verify): Pass namespace id to lose.
57396         * elf/dl-open.c: Include <stap-probe.h>.
57397         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57398         and "reloc_complete".
57399         * elf/dl-close.c: Include <stap-probe.h>.
57400         (_dl_close_worker): Added static probes "unmap_start" and
57401         "unmap_complete".
57402         * elf/rtld-debugger-interface.txt: New file documenting the above.
57404 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57406         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57407         rather than a string variable.
57408         * sunrpc/rpc_main.c (h_output): Likewise.
57409         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57411 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57413         * inet/check_native.c: New file.
57415 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57417         [BZ #13629]
57418         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57419         if larger part has absolute value 1.0.
57420         * math/s_clog10.c (__clog10): Likewise.
57421         * math/s_clog10f.c (__clog10f): Likewise.
57422         * math/s_clog10l.c (__clog10l): Likewise.
57423         * math/s_clogf.c (__clogf): Likewise.
57424         * math/s_clogl.c (__clogl): Likewise.
57425         * math/libm-test.inc (clog_test): Add more tests.
57426         (clog10_test): Likewise.
57427         * sysdeps/i386/fpu/libm-test-ulps: Update.
57428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57430         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57431         (pltexit): Likewise.
57432         (La_regs): Likewise.
57433         (La_retval): Likewise.
57434         (int_retval): Likewise.
57435         Update #error for removed macros to refer only to definitions in
57436         tst-audit.h.
57437         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57438         macro.
57439         (pltexit): Likewise.
57440         (La_regs): Likewise.
57441         (La_retval): Likewise.
57442         (int_retval): Likewise.
57443         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57444         macro.
57445         (pltexit): Likewise.
57446         (La_regs): Likewise.
57447         (La_retval): Likewise.
57448         (int_retval): Likewise.
57449         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57450         macro.
57451         (pltexit): Likewise.
57452         (La_regs): Likewise.
57453         (La_retval): Likewise.
57454         (int_retval): Likewise.
57455         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57456         macro.
57457         (pltexit): Likewise.
57458         (La_regs): Likewise.
57459         (La_retval): Likewise.
57460         (int_retval): Likewise.
57461         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57462         macro.
57463         (pltexit): Likewise.
57464         (La_regs): Likewise.
57465         (La_retval): Likewise.
57466         (int_retval): Likewise.
57467         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57468         macro.
57469         (pltexit): Likewise.
57470         (La_regs): Likewise.
57471         (La_retval): Likewise.
57472         (int_retval): Likewise.
57473         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57474         macro definitions in tst-audit.h.
57475         * sysdeps/i386/tst-audit.h: New file.
57476         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57477         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57478         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57479         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57480         * sysdeps/sh/tst-audit.h: Likewise.
57481         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57482         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57483         * sysdeps/x86_64/tst-audit.h: Likewise.
57485 2012-07-26  Andreas Jaeger  <aj@suse.de>
57487         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57488         ptrace.
57490         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57491         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57492         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57493         PTRACE_O_MASK.
57494         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57495         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57496         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57498         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57499         value.
57501         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57502         _sigsys.
57503         (si_call_addr, si_syscall, si_arch): Define new macro.
57504         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57505         _sigsys.
57506         (si_call_addr, si_syscall, si_arch): Define new marcro.
57507         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57508         _sigsys.
57509         (si_call_addr, si_syscall, si_arch): Define new macro.
57510         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57511         _sigsys.
57512         (si_call_addr, si_syscall, si_arch): Define new macro.
57514 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57516         [BZ #13717]
57517         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57518         Change to 2.4.21 where previously 2.4.1.
57519         * sysdeps/unix/sysv/linux/configure: Regenerated.
57520         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57521         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57522         Linux kernel version.
57523         (__ASSUME_STD_AUXV): Remove.
57524         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57525         kernel version.
57526         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57527         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57528         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57529         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57530         (__ASSUME_NETLINK_SUPPORT): Likewise.
57531         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57532         (__no_netlink_support): Remove conditional definition.
57533         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57534         Remove.
57535         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57536         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57537         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57538         (if_nameindex_ioctl): Remove.
57539         (if_nameindex_netlink): Do not handle __no_netlink_support.
57540         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57541         code.
57542         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57543         Remove conditional code.
57544         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57545         code.
57546         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57547         unconditional.
57548         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57549         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57550         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57551         Remove.
57552         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57553         [!__ASSUME_STD_AUXV]: Remove conditional code.
57554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57555         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57556         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57558         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57559         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57560         code.
57561         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57563         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57564         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57565         conditional code.
57566         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57568         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57569         code.
57570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57571         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57572         conditional code.
57573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57574         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57575         code unconditional.
57576         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57577         conditional code.
57578         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57579         unconditional.
57580         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57581         conditional code.
57582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57583         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57584         unconditional.
57585         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57586         conditional code.
57587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57588         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57589         code unconditional.
57590         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57591         conditional code.
57592         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57593         unconditional.
57594         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57595         conditional code.
57596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57597         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57598         code unconditional.
57599         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57600         conditional code.
57601         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57602         unconditional.
57603         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57604         conditional code.
57606 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57608         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57609         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57610         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57611         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57612         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57613         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57614         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57615         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57616         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57617         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57618         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57619         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57620         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57621         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57622         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57623         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57624         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57625         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57626         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57627         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57628         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57629         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57630         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57632 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57634         * Versions.def: Add GLIBC_2.17.
57635         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57636         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57637         Introduce __libc_secure_getenv.
57638         * stdlib/Versions (2.17): Add secure_getenv
57639         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57640         * stdlib/secure-getenv.c: Rename __secure_getenv to
57641         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57642         symbol __secure_getenv for GLIBC_2.0.
57643         * stdlib/tst-secure-getenv.c: New.
57644         * stdlib/Makefile (tests): Add testcase.
57645         * manual/startup.texi (Environment Access): Document
57646         secure_getenv.
57647         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57648         __libc_secure_getenv.
57649         * inet/ruserpass.c (ruserpass): Likewise.
57650         * malloc/mtrace.c (mtrace): Likewise.
57651         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57652         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57653         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57654         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57655         HAVE_SECURE_GETENV.
57656         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57657         __secure_getenv to __libc_secure_getenv.
57658         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57660         Likewise.
57661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57662         Likewise.
57663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57665         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57671 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57673         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57674         (struct La_i86_retval): Likewise.
57675         (struct La_x86_64_regs): Likewise.
57676         (struct La_x86_64_retval): Likewise.
57677         (struct La_x32_regs): Likewise.
57678         (struct La_x32_retval): Likewise.
57679         (struct La_ppc32_regs): Likewise.
57680         (struct La_ppc32_retval): Likewise.
57681         (struct La_ppc64_regs): Likewise.
57682         (struct La_ppc64_retval): Likewise.
57683         (struct La_sh_regs): Likewise.
57684         (struct La_sh_retval): Likewise.
57685         (struct La_s390_32_regs): Likewise.
57686         (struct La_s390_32_retval): Likewise.
57687         (struct La_s390_64_regs): Likewise.
57688         (struct La_s390_64_retval): Likewise.
57689         (struct La_sparc32_regs): Likewise.
57690         (struct La_sparc32_retval): Likewise.
57691         (struct La_sparc64_regs): Likewise.
57692         (struct La_sparc64_retval): Likewise.
57693         (struct audit_ifaces): Remove architecture-specific pltenter and
57694         pltexit members.
57695         * sysdeps/i386/ldsodefs.h: New file.
57696         * sysdeps/powerpc/ldsodefs.h: Likewise.
57697         * sysdeps/s390/ldsodefs.h: Likewise.
57698         * sysdeps/sh/ldsodefs.h: Likewise.
57699         * sysdeps/sparc/ldsodefs.h: Likewise.
57700         * sysdeps/x86_64/ldsodefs.h: Likewise.
57702 2012-07-25  Marek Polacek  <polacek@redhat.com>
57704         [BZ #6808]
57705         * math/libm-test.inc (yn_test): Add another test.
57706         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57707         to ERANGE when the result is +-Inf.
57708         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57709         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57710         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57711         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57713 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57715         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57716         equal to 0.
57717         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57718         clock_t.
57719         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57721 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57723         * configure.in <sysdeps resolving>: Correct printing
57724         Implies_before.
57725         * configure: Regenerate.
57727 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57729         * math/w_ilogb.c: Include <limits.h>.
57730         * math/w_ilogbl.c: Likewise.
57732 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57734         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57735         va_copy.  Document allowing for unavailable va_copy only as
57736         pre-C99 compatibility.
57737         * manual/string.texi (Copying and Concatenation): Use va_copy
57738         instead of __va_copy in concat example.
57740 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57742         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57743         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57744         it if not null.
57746         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57747         with O_NOLINK passed to __file_name_lookup.
57749         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57750         with O_NOLINK passed to __file_name_lookup.
57752         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57753         negative N or less than NGIDS.
57755         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57756         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57757         enough.  Use memcpy instead of strncpy.
57759 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57761         * elf/Makefile (check-data): Remove.
57762         (localplt.data): New vpath directive.
57763         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57764         instead of $(check-data).
57765         * scripts/data/localplt-generic.data: Move to ...
57766         * sysdeps/generic/localplt.data: ... here.
57767         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57768         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57769         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57771         ... here.
57772         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57774         ... here.
57775         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57777         ... here.
57778         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57780         ... here.
57781         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57782         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57783         ... here.
57784         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57786         ... here.
57788 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57790         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57791         PPC32 and PPC64 files.
57792         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57793         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57795 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57797         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57798         __makecontext_ret to ...
57799         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57800         ... here and call exit if uc_link is NULL.  New file.
57801         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57802         __makecontext_ret.S.
57803         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57804         __makecontext_ret to ...
57805         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57806         ... here and call exit if uc_link is NULL.  New file.
57807         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57808         __makecontext_ret.S.
57810 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57812         * elf/elf.h (R_390_IRELATIVE): New definition.
57813         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57814         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57815         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57816         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57817         (elf_machine_lazy_rel): Likewise.
57818         * sysdeps/s390/dl-irel.h: New file.
57819         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57820         * sysdeps/s390/s390-64/memset.S: New asm code.
57821         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57822         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57823         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57824         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57825         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57826         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57827         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57828         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57829         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57830         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57831         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57832         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57833         * sysdeps/s390/s390-32/memset.S: New asm code.
57834         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57836 2012-07-17  Marek Polacek  <polacek@redhat.com>
57838         [BZ #14349]
57839         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57840         * sysdeps/s390/s390-64/configure.in: Likewise.
57841         * sysdeps/sparc/configure.in: Likewise.
57842         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57843         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57844         * sysdeps/i386/configure.in: Likewise.
57845         * sysdeps/x86_64/configure.in: Likewise.
57846         * sysdeps/sh/configure.in: Likewise.
57847         * sysdeps/s390/s390-32/configure: Regenerated.
57848         * sysdeps/s390/s390-64/configure: Likewise.
57849         * sysdeps/x86_64/configure: Likewise.
57850         * sysdeps/sh/configure: Likewise.
57851         * sysdeps/powerpc/powerpc64/configure: Likewise.
57852         * sysdeps/powerpc/powerpc32/configure: Likewise.
57853         * sysdeps/sparc/configure: Likwise.
57854         * sysdeps/i386/configure: Likewise.
57856         * elf/dl-open.c: Comment fixes.
57858 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57860         * Makefile [CXX] (check-data): Remove.
57861         [CXX] (c++-types.data): New vpath directive.
57862         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57863         vpath.  Do not allow for C++ type data being missing.
57864         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57865         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57866         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57867         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57868         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57869         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57870         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57872         ... here.
57873         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57875         ... here.
57876         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57878         ... here.
57879         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57881         ... here.
57882         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57884         ... here.
57885         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57887         ... here.
57888         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57890         ... here.
57891         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57894         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57895         definitions to architecture-specific files.
57896         (TLS_IE): Likewise.
57897         (TLS_LD): Likewise.
57898         (TLS_GD): Likewise.
57899         * sysdeps/i386/tls-macros.h: New file.
57900         * sysdeps/powerpc/tls-macros.h: Likewise.
57901         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57902         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57903         * sysdeps/sh/tls-macros.h: Likewise.
57904         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57905         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57906         * sysdeps/x86_64/tls-macros.h: Likewise.
57908 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57910         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57911         zero value for regular exit case.
57913         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57914         (__start_context): Preserve zero value for regular exit case.
57916 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57917             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57919         * manual/setjmp.texi (setcontext): Clarify normal process
57920         termination when uc_link is the null pointer.
57921         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57922         exit call.
57924 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57926         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57927         preprocessor.  Test for each exception mask separately.
57929 2012-07-16  Andreas Jaeger  <aj@suse.de>
57931         * po/ru.po: Update from translation team.
57933 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57935         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57936         equal to 0.
57937         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57938         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57939         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57940         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57941         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57943 2012-07-13  Andreas Jaeger  <aj@suse.de>
57945         * po/fr.po: Update from translation team.
57947 2012-07-12  Marek Polacek  <polacek@redhat.com>
57949         [BZ #14173]
57950         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57951         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57952         loop condition.
57954 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57956         [BZ #13717]
57957         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57958         Change to 2.4.1 where previously 2.4.0.
57959         * sysdeps/unix/sysv/linux/configure: Regenerated.
57960         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57961         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57962         version.
57963         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57964         (__ASSUME_AT_CLKTCK): Remove.
57965         (__ASSUME_AT_PAGESIZE): Likewise.
57966         (__ASSUME_AT_XID): Likewise.
57967         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57968         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57969         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57970         unconditionally.
57971         (HAVE_AUX_PAGESIZE): Likewise.
57972         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57973         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57974         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57976 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57978         [BZ #14307]
57979         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57980         the temporary buffer used to invoke __gethostbyname2_r,
57981         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57982         host_data / struct gaih_addrtuple.
57983         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57984         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57985         header file nss/nsswitch.h.
57986         * nss/nsswitch.h (global scope): Add definition of implementation
57987         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57988         resolv/nss_dns/dns-host.c).
57990 2012-07-11  Andreas Jaeger  <aj@suse.de>
57992         * po/fr.po: Update from translation team.
57994         * po/sv.po: Update from translation team
57995         * po/fr.po: Another update from translation team.
57997 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57999         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58000         for subnormals or multiply small sinh result by itself.
58001         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58004 2012-07-11  David S. Miller  <davem@davemloft.net>
58006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58008 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58010         [BZ #14347]
58011         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58012         (INTERNAL_MARK): Shift it here.
58014 2012-07-10  Marek Polacek  <polacek@redhat.com>
58016         [BZ #14151]
58017         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58018         libc_cv_asm_global_directive with .globl.
58019         * configure: Regenerated.
58020         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58021         with .globl.
58022         * sysdeps/i386/configure: Regenerated.
58023         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58024         with .globl.
58025         * sysdeps/x86_64/configure: Regenerated.
58026         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58027         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58028         * elf/tst-unique2mod2.c: Likewise.
58029         * elf/tst-unique2mod1.c: Likewise.
58030         * elf/tst-unique1mod2.c: Likewise.
58031         * elf/tst-unique1mod1.c: Likewise.
58032         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58033         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58034         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58035         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58036         * sysdeps/mach/sysdep.h: Likewise.
58037         * sysdeps/i386/sysdep.h: Likewise.
58038         * sysdeps/i386/i386-mcount.S: Likewise.
58039         * sysdeps/x86_64/_mcount.S: Likewise.
58040         * sysdeps/x86_64/sysdep.h: Likewise.
58041         * sysdeps/sh/_mcount.S: Likewise.
58042         * sysdeps/sh/sysdep.h: Likewise.
58043         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58044         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58045         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58046         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58047         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58048         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58049         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58050         * locale/localeinfo.h: Likewise.
58051         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58052         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58054 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58056         [BZ #14336]
58057         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58058         system".
58059         * manual/message.texi (The Uniforum approach): Likewise.
58060         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58061         (glibc iconv Implementation): Likewise.
58063 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58065         [BZ #14337]
58066         * math/s_clog.c (__clog): Avoid scaling a value down where that
58067         could result in underflow.
58068         * math/s_clog10.c (__clog10): Likewise.
58069         * math/s_clog10f.c (__clog10f): Likewise.
58070         * math/s_clog10l.c (__clog10l): Likewise.
58071         * math/s_clogf.c (__clogf): Likewise.
58072         * math/s_clogl.c (__clogl): Likewise.
58073         * math/libm-test.inc (clog_test): Add more tests.
58074         (clog10_test): Likewise.
58075         * sysdeps/i386/fpu/libm-test-ulps: Update.
58076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58078 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58080         [BZ #14283]
58081         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58082         by 7 not 8 to examine high bit of fractional part.
58084         [BZ #14042]
58085         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58086         for call to __mcount_internal.
58087         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58088         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58089         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58091 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58093         [BZ #14154]
58094         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58095         approximation for values within 0x1p-13f of an odd multiple of
58096         pi/4.
58097         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58098         exception.  Add more tests.
58099         * sysdeps/i386/fpu/libm-test-ulps: Update.
58101         [BZ #6778]
58102         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58103         inputs and return -1 for them.  Do not check for +Inf in case not
58104         reachable for +Inf.
58105         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58106         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58107         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58108         and return -1 for them.  Do not check for +Inf in case not
58109         reachable for +Inf.
58110         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58111         define.
58112         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58113         and return -1 for them.  Do not check for +Inf in case not
58114         reachable for +Inf.
58115         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58116         spurious underflow.
58117         * sysdeps/i386/fpu/libm-test-ulps: Update.
58118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58120 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58122         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58124 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58126         [BZ #14157]
58127         [BZ #14331]
58128         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58129         could result in spurious underflow.  Scale down values above
58130         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58131         * math/s_csqrtf.c (__csqrtf): Likewise.
58132         * math/s_csqrtl.c (__csqrtl): Likewise.
58133         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58134         spurious underflow.
58135         * sysdeps/i386/fpu/libm-test-ulps: Update.
58136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58138 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58140         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58141         xopen-msg.sed.
58142         * catgets/xopen-msg.awk: New file.
58143         * catgets/xopen-msg.sed: Removed.
58145         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58146         po2text.sed.
58147         * intl/po2test.awk: New file.
58148         * intl/po2test.sed: Removed.
58150 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58152         [BZ #14328]
58153         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58154         or multiply small sinh result by itself.
58155         * math/s_ctanf.c (__ctanf): Likewise.
58156         * math/s_ctanh.c (__ctanh): Likewise.
58157         * math/s_ctanhf.c (__ctanhf): Likewise.
58158         * math/s_ctanhl.c (__ctanhl): Likewise.
58159         * math/s_ctanl.c (__ctanl): Likewise.
58160         * math/libm-test.inc (ctan_test_tonearest): New function.
58161         (ctan_test_towardzero): Likewise.
58162         (ctan_test_downward): Likewise.
58163         (ctan_test_upward): Likewise.
58164         (ctanh_test_tonearest): Likewise.
58165         (ctanh_test_towardzero): Likewise.
58166         (ctanh_test_downward): Likewise.
58167         (ctanh_test_upward): Likewise.
58168         (main): Call these new functions.
58169         * sysdeps/i386/fpu/libm-test-ulps: Update.
58170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58172 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58174         * .gitignore: Delete /ports entry.
58176 2012-07-03  Andreas Jaeger  <aj@suse.de>
58178         * po/bg.po: Update from translation team.
58179         * po/cs.po: Likewise.
58180         * po/de.po: Likewise.
58181         * po/hr.po: Likewise.
58182         * po/nl.pl: Likewise.
58183         * po/pl.po: Likewise.
58184         * po/vi.po: Likewise.
58186 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58188         * Makeconfig [!+link] (+link-before-libc): New variable.
58189         [!+link] (+link-after-libc): Likewise.
58190         [!+link] (+link-tests): Likewise.
58191         [!+link] (+link): Define in terms of $(+link-before-libc) and
58192         $(+link-after-libc).
58193         [!+link-static] (+link-static-before-libc): New variable.
58194         [!+link-static] (+link-static-after-libc): Likewise.
58195         [!+link-static] (+link-static-tests): Likewise.
58196         [!+link-static] (+link-static): Define in terms of
58197         $(+link-static-before-libc) and $(+link-static-after-libc).
58198         [build-shared] (link-libc-before-gnulib): New variable.
58199         [build-shared] (link-libc-tests): Likewise.
58200         [build-shared] (link-libc): Define in terms of
58201         $(link-libc-before-gnulib).
58202         [!build-shared] (link-libc-tests): New variable.
58203         (link-libc-static-tests): New variable.
58204         [!gnulib] (gnulib-arch): New variable.
58205         [!gnulib] (gnulib-tests): Likewise.
58206         [!gnulib] (static-gnulib-arch): Likewise.
58207         [!gnulib] (static-gnulib-tests): Likewise.
58208         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58209         Define with "=" instead of ":=".
58210         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58211         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58212         * Rules (binaries-all-notests): New variable.
58213         (binaries-all-tests): Likewise.
58214         (binaries-static-notests): Likewise.
58215         (binaries-static-tests): Likewise.
58216         (binaries-all): Define using $(binaries-all-notests) and
58217         $(binaries-all-tests).
58218         (binaries-static): Define using $(binaries-static-notests) and
58219         $(binaries-static-tests).
58220         (binaries-shared-tests): New variable.
58221         (binaries-shared-notests): Likewise.
58222         (binaries-shared): Remove variable.
58223         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58224         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58225         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58226         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58227         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58228         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58229         * elf/Makefile (sln-modules): New variable.
58230         (extra-objs): Add $(sln-modules:=.o).
58231         (ldconfig-modules): Add static-stubs.
58232         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58233         * elf/static-stubs.c: New file.
58235         [BZ #14283]
58236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58237         by 7 not 8 to examine high bit of fractional part.  Use volatile
58238         variables when splitting into final array of floats if
58239         __FLT_EVAL_METHOD__ != 0.
58240         * math/libm-test.inc (cos_test): Add another test.
58241         (sin_test): Likewise.
58242         * sysdeps/i386/fpu/libm-test-ulps: Update.
58244         [BZ #14273]
58245         * math/libm-test.inc (cosh_test): Add more tests.
58247         * version.h (RELEASE): Set to "development".
58248         (VERSION): Set to "2.16.90".
58250 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58252         * NEWS: Update copyright. Remove last-updated date.
58253         Mention math library bug fixes and timezone data changes.
58254         * README: Mention GNU/Hurd, x32, and HPPA support status.
58256 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58258         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58260 2012-06-27  Andreas Jaeger  <aj@suse.de>
58262         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58264 2012-06-25  Andreas Jaeger  <aj@suse.de>
58266         * sysdeps/s390/fpu/libm-test-ulps: Update.
58268 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58269             Thomas Schwinge  <thomas@codesourcery.com>
58271         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58272         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58274         fanotify_mark.
58276 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58278         * sysdeps/mach/start.c: Remove file.
58279         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58280         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58281         * sysdeps/sh/init-first.c: Likewise.
58283         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58284         registers for frame unwinding purposes, add CFI directives.
58285         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58286         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58287         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58288         Likewise.
58290         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58291         __fortify_fail returning.
58292         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58294         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58295         sysdeps/sh/____longjmp_chk.S.
58296         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58297         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58298         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58299         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58301         * sysdeps/sh/abort-instr.h: New file.
58302         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58303         process in case exit returns.
58305         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58306         initialize the GOT register before use.
58308         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58309         calculation of ARGC > 4.
58311         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58312         meaningful names to some local labels.
58314 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58315             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58317         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58318         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58319         (__arch_compare_and_exchange_val_16_acq): Likewise.
58320         (__arch_compare_and_exchange_val_32_acq): Likewise.
58321         (atomic_exchange_and_add): Fix gUSA sequence.
58322         (atomic_add): Likewise.
58323         (atomic_add_negative): Likewise.
58324         (atomic_add_zero): Likewise.
58325         (atomic_bit_test_set): Likewise.
58327 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58329         [BZ #13579]
58330         * include/link.h (struct link_map): Add l_free_initfini.
58331         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58332         l_initfini.
58333         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58334         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58335         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58336         set.
58338 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58340         * configure.in: Use AC_LANG_SOURCE.
58341         * configure: Regenerate.
58343 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58345         * configure.in (libc_cv_localstatedir): New substituted variable.
58346         * configure: Regenerated.
58347         * config.make.in (localstatedir): New variable, substituted from
58348         libc_cv_localstatedir.
58349         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58350         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58351         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58352         * sysdeps/gnu/configure: Regenerated.
58354 2012-06-21  Jeff Law  <law@redhat.com>
58356         [BZ #14277]
58357         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58358         free.  Simplify list management for _LIBC case.
58360 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58362         [BZ #14273]
58363         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58364         Clear sign bit of 64-bit integer value before comparing against
58365         overflow value.
58367         * sysdeps/mach/configure: Regenerated.
58369 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58371         [BZ #14278]
58372         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58374 2012-06-21  Jeff Law  <law@redhat.com>
58376         [BZ #13882]
58377         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58378         uint16_t for elements in the "seen" array to avoid char overflows.
58379         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58380         * elf/dl-open.c (dl_open_worker): Likewise.
58382 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58384         * scripts/list-sources.sh: Scan PORTS for translations.
58385         * po/libc.pot: Regenerated.
58387 2012-06-21  Andreas Jaeger  <aj@suse.de>
58389         [BZ #12194]
58390         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58391         warning.
58392         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58393         * bits/byteswap-16.h (__bswap_16): Likewise.
58394         * bits/byteswap.h (__bswap_constant_16): Likewise.
58396 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58398         [BZ #14117]
58399         * sysdeps/i386/fpu_control.h: Removed.
58400         * sysdeps/x86_64/fpu_control.h: Moved to ...
58401         * sysdeps/x86/fpu_control.h: Here.
58403         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58404         (_FPU_SETCW): Likewise.
58406 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58408         [BZ #14117]
58409         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58410         * sysdeps/x86/fpu/bits/mathinline.h: This.
58411         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58413         [BZ #14050]
58414         [BZ #14117]
58415         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58416         functions if __x86_64__ is defined.
58418 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58420         * string/endian.h: Add !__ASSEMBLER__ condition for including
58421         conversion interfaces.
58423 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58425         [BZ #14241]
58426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58427         of ABS(x) in calculating zero to negative powers other than odd
58428         integers.
58429         * math/libm-test.inc (pow_test): Add more tests.
58431 2012-06-15  Andreas Jaeger  <aj@suse.de>
58433         * manual/contrib.texi (Contributors): Update entry of Liubov
58434         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58435         Machado Filho.
58437 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58439         * string/string.h: Add __wur to GNU version of strerror_r.
58441 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58443         [BZ #14229]
58444         * string/Makefile (tests): Add tst-strtok_r.
58445         * string/tst-strtok_r.c: New file.
58446         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58447         RAX_LP/RDX_LP on SAVE_PTR.
58449 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58451         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58453 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58455         * libm_test.inc (csqrt_test): Allow more spurious underflow
58456         exceptions.
58457         (j0_test): Likewise.
58458         (j1_test): Likewise.
58459         (y0_test): Likewise.
58460         (y1_test): Likewise.
58462 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58464         * po/Makefile (libc.pot): Use UTF-8 charset.
58466 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58468         [BZ #14210]
58469         Suppress sign-conversion warning from FD_SET.
58470         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58471         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58472         not unsigned long int.
58473         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58475 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58477         [BZ #14050]
58478         [BZ #14117]
58479         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58480         __extern_always_inline instead of __extern_inline.
58481         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58482         (__signbit): Likewise.
58483         (__signbitl): Support C++ namespace.
58484         (lrintf): New inline function.
58485         (lrint): Likewise.
58486         (llrintf): Likewise.
58487         (llrint): Likewise.
58488         (fmaxf): Likewise.
58489         (fmax): Likewise.
58490         (fminf): Likewise.
58491         (fmin): Likewise.
58492         (rint): Likewise.
58493         (rintf): Likewise.
58494         (ceil): Likewise.
58495         (ceilf): Likewise.
58496         (floor): Likewise.
58497         (floorf): Likewise.
58498         (nearbyint): Likewise.
58499         (nearbyintf): Likewise.
58501 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58503         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58504         non-default versions.
58506 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58508         [BZ #14218]
58509         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58511 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58513         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58514         (FE_UPWARD, FE_DOWNWARD): Don't define.
58515         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58516         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58518         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58519         reading it.
58520         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58521         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58523 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58525         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58526         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58527         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58528         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58530 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58532         [BZ #14117]
58533         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58534         * sysdeps/i386/fpu/Implies: New file.
58535         * sysdeps/x86_64/fpu/Implies: Likewise.
58536         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58537         * sysdeps/x86/fpu/bits/fenv.h: This.
58539         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58540         __SSE_MATH__.
58542 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58544         [BZ #14134]
58545         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58546         character 0xffff that matches the last element of the
58547         conversion table.
58549 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58551         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58552         fmodl commit.
58554 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58556         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58557         values higher than 25.6283.
58559 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58561         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58562         subnormal exponent extraction and add some __builtin_expect.
58563         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58564         Fix for subnormal mantissa calculation.
58566 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58568         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58569         cpu2 is -1 and errno is not ENOSYS.
58571 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58573         [BZ #14117]
58574         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58575         * sysdeps/x86/bits/string.h: This.
58576         * sysdeps/x86_64/bits/string.h: Removed.
58578         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58579         if not compiling for x86-64, but compiling for >= i486.
58581         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58582         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58584         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58585         New macro from Linux kernel 3.4.0.
58586         (FP_XSTATE_MAGIC2): Likewise.
58587         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58588         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58589         (struct _fpx_sw_bytes): New struct.
58590         (struct _xsave_hdr): Likewise.
58591         (struct _ymmh_state): Likewise.
58592         (struct _xstate): Likewise.
58594         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58595         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58596         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58597         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58598         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58599         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58601         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58602         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58603         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58604         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58605         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58606         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58608 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58610         [BZ #13743]
58611         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58612         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58613         (sysdep_headers): Include sys/platform/ppc.h.
58614         * sysdeps/powerpc/test-gettimebase.c: Test for
58615         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58616         * manual/Makefile (appendices): Include platform.texi.
58617         * manual/contrib.texi (Contributors): Update @node pointers.
58618         * manual/maint.texi (Maintenance): Likewise.
58619         (Platform): New node.
58620         * manual/platform.texi: New file.  Document the new features.
58622 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58623             Jakub Jelinek  <jakub@redhat.com>
58625         [BZ #14188]
58626         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58627         where __builtin_expect is unavailable.
58629 2012-06-03  David S. Miller  <davem@davemloft.net>
58631         * stdlib/longlong.h: Updated from GCC.
58633 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58635         [BZ #14042]
58636         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58637         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58638         __mcount_internal.
58639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58640         (GLIBC_2.16): Likewise.
58642 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58644         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58646 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58649         (default-abi): New variable.
58650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58651         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58652         variable.
58653         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58654         Likewise.
58655         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58656         Likewise.
58657         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58658         Likewise.
58660         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58661         definition.  Document in comment.
58663 2012-06-01  David S. Miller  <davem@davemloft.net>
58665         * stdlib/longlong.h: Updated from GCC.
58667 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58669         [BZ #14117]
58670         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58671         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58672         sys/debugreg.h sys/io.h here.
58673         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58674         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58675         sys/io.h.
58676         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58677         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58678         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58679         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58680         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58681         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58683         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58684         Define only if __x86_64__ is defined.
58686 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58688         [BZ #14048]
58689         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58690         Use int64_t for variable i.
58691         * math/libm-test.inc (fmod_test): Add more tests.
58693         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58694         z computation is not scheduled after fetestexcept.
58695         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58696         Use math_force_eval instead of asm to ensure calculation scheduled
58697         before exception test.
58698         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58699         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58701 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58704         computation is not scheduled after fetestexcept.
58706 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58708         [BZ #14117]
58709         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58710         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58712 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58714         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58715         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58717 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58719         [BZ #14117]
58720         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58721         <bits/wordsize.h>.
58722         (__WCHAR_MIN): Support __WORDSIZE == 64.
58723         (__WCHAR_MAX): Likewise.
58725         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58726         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58728         [BZ #14183]
58729         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58730         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58732         [BZ #14117]
58733         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58734         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58736         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58737         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58739         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58740         Defined to 1 if __x86_64__ isn't defined.
58741         (_STAT_VER_LINUX_OLD): New.
58742         (st_atime): Remove duplicate.
58743         (st_mtime): Likewise.
58744         (st_ctime): Likewise.
58746 2012-05-31  David S. Miller  <davem@davemloft.net>
58748         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58749         entries.
58751 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58753         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58754         gen-libm-test.pl.
58756         [BZ #14132]
58757         * elf/dl-reloc.c: Include <_itoa.h>.
58758         (_dl_reloc_bad_type): Remove use of INTUSE.
58759         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58760         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58761         * stdio-common/psiginfo.c (psiginfo): Likewise.
58762         * stdio-common/psignal.c (psignal): Likewise.
58763         * string/strsignal.c (strsignal): Likewise.
58764         * include/signal.h (_sys_siglist): Declare hidden proto.
58765         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58766         INTVARDEF with libc_hidden_data_def.
58767         * stdio-common/itoa-udigits.c: Likewise.
58768         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58769         (_itoa_lower_digits_internal): Remove declaration.
58770         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58771         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58772         (_sys_sigabbrev_internal): Remove aliases.
58773         (_sys_siglist): Define hidden alias.
58775 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58778         bits/sysctl.h.
58780 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58782         [BZ #14117]
58783         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58784         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58786         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58787         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58788         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58789         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58790         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58791         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58793         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58794         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58795         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58797         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58798         with __addr.
58799         (insw): Likewise.
58800         (insl): Likewise.
58801         (outsb): Likewise.
58802         (outsw): Likewise.
58803         (outsl): Likewise.
58805         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58806         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58807         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58809         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58810         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58811         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58812         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58813         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58814         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58816         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58817         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58819         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58820         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58822         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58823         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58824         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58826         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58827         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58828         to ...
58829         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58831         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58832         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58833         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58835         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58836         for x86-64.
58837         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58839 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58841         * math/math.h (M_El): Use two more decimal places.
58842         (M_LOG2El): Likewise.
58843         (M_LOG10El): Likewise.
58844         (M_LN2l): Likewise.
58845         (M_LN10l): Likewise.
58846         (M_PIl): Likewise.
58847         (M_PI_2l): Likewise.
58848         (M_PI_4l): Likewise.
58849         (M_1_PIl): Likewise.
58850         (M_2_PIl): Likewise.
58851         (M_2_SQRTPIl): Likewise.
58852         (M_SQRT2l): Likewise.
58853         (M_SQRT1_2l): Likewise.
58855 2012-05-31  David S. Miller  <davem@davemloft.net>
58857         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58858         values between float registers.
58859         * sysdeps/sparc/sparc64/memset.S: Likewise.
58860         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58862 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58864         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58865         -D_FORTIFY_SOURCE=1.
58866         (CPPFLAGS-tst-longjmp_chk.c): Define.
58867         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58868         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58869         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58870         CFLAGS-tst-wchar-h.c.
58872 2012-05-31  Marek Polacek  <polacek@redhat.com>
58874         [BZ #14132]
58875         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58876         __endmntent_internal): Remove declaration.
58877         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58878         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58879         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58881 2012-05-30  David S. Miller  <davem@davemloft.net>
58883         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58884         (___Q_simulate_exceptions): Use real FP ops rather than writing
58885         into the %fsr.
58886         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58887         Likewise.
58889 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58891         [BZ #14117]
58892         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58893         * sysdeps/x86/bits/xtitypes.h: This.
58895         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58896         * sysdeps/x86/bits/wordsize.h: This.
58898         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58899         * sysdeps/x86/bits/huge_vall.h: This.
58901         * sysdeps/i386/bits/select.h: Removed.
58902         * sysdeps/x86_64/bits/select.h: Renamed to ...
58903         * sysdeps/x86/bits/select.h: This.
58905         * sysdeps/i386/bits/setjmp.h: Removed.
58906         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58907         * sysdeps/x86/bits/setjmp.h: This.
58909         * sysdeps/i386/bits/mathdef.h: Removed.
58910         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58911         * sysdeps/x86/bits/mathdef.h: This.
58913 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58915         [BZ #14132]
58916         * include/sys/socket.h (__connect_internal)
58917         (__libc_sa_len_internal): Remove declaration.
58918         (__connect, __libc_sa_len): Declare hidden_proto.
58919         (SA_LEN): Remove use of INTUSE.
58920         * socket/connect.c: Add libc_hidden_def.
58921         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58922         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58923         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58924         alias.
58925         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58926         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58927         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58928         of adding _internal alias.
58930 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58932         [BZ #14117]
58933         * sysdeps/i386/bits/link.h: Removed.
58934         * sysdeps/i386/bits/linkmap.h: Likewise.
58935         * sysdeps/x86_64/bits/link.h: Renamed to ...
58936         * sysdeps/x86/bits/link.h: This.
58937         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58938         * sysdeps/x86/bits/linkmap.h: This.
58940         * sysdeps/i386/bits/endian.h: Removed.
58941         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58942         * sysdeps/x86/bits/endian.h: This.
58944         * sysdeps/i386/bits/byteswap.h: Removed.
58945         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58946         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58947         * sysdeps/x86/bits/byteswap.h: This.
58948         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58949         * sysdeps/x86/bits/byteswap-16.h: This.
58950         * sysdeps/i386/Implies: Add x86.
58951         * sysdeps/x86_64/Implies: Likewise.
58953 2012-05-30  David S. Miller  <davem@davemloft.net>
58955         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58956         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58957         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58958         (FP_TRAPPING_EXCEPTIONS): Define.
58959         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58960         (FP_TRAPPING_EXCEPTIONS): Define.
58961         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58962         subnormals only when inexact has been signalled or underflow
58963         exceptions are enabled.
58964         (_FP_PACK_CANONICAL): Likewise.
58966 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58968         [BZ #14183]
58969         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58970         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58972 2012-05-30  Richard Henderson  <rth@twiddle.net>
58974         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58975         with #ifndef NOT_IN_libc.
58977         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58978         marked to avoid plt entry.
58980 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58982         [BZ #14112]
58983         * Makeconfig (default-abi): New macro.
58984         (abi-includes): Likewise.
58985         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58986         $(abi-$(default-abi)-lib-soname) for soname if defined.
58987         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58988         abi-variants.
58989         * Makefile (installed-stubs): Likewise.
58990         * include/stubs-biarch.h: Removed.
58991         * scripts/lib-names.awk: Only handle one library at a time.
58992         * scripts/soversions.awk: Remove WORDSIZE support.
58993         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58994         entries.
58995         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58996         Removed.
58997         (syscall-list-default-condition): Likewise.
58998         (syscall-list-default-condition): Likewise.
58999         (syscall-list-includes): Likewise.
59000         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59001         syscall-list-* with abi-*.  Handle undefined abi-variants.
59002         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59003         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59004         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59005         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59006         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59007         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59008         Removed.
59009         (syscall-list-32-options): Likewise.
59010         (syscall-list-32-condition): Likewise.
59011         (syscall-list-64-options): Likewise.
59012         (syscall-list-64-condition): Likewise.
59013         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59014         macro.
59015         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59016         Renamed to ...
59017         (abi-*): This.
59018         (abi-64-ld-soname): New macro.
59019         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59020         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59021         Renamed to ...
59022         (abi-*): This.
59023         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59024         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59026 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59028         * sysdeps/unix/sysv/linux/kernel-features.h
59029         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59030         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59031         include <kernel-features.h>.
59032         [!__NR_ftruncate64]: Remove conditional code.
59033         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59034         [__NR_ftruncate64]: Make code unconditional.
59035         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59036         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59037         include <kernel-features.h>.
59038         [!__NR_ftruncate64]: Remove conditional code.
59039         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59040         [__NR_ftruncate64]: Make code unconditional.
59041         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59043         include <kernel-features.h>.
59044         [!__NR_ftruncate64]: Remove conditional code.
59045         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59046         [__NR_ftruncate64]: Make code unconditional.
59047         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59049         include <kernel-features.h>.
59050         [!__NR_ftruncate64]: Remove conditional code.
59051         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59052         [__NR_ftruncate64]: Make code unconditional.
59053         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59055         * configure.in (libc_cv_fpie): Weaken to a compile test using
59056         LIBC_TRY_CC_OPTION.
59057         * configure: Regenerated.
59059 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59065         Refreshed.
59066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59072         Refreshed.
59074 2012-05-27  David S. Miller  <davem@davemloft.net>
59076         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59077         (___Q_zero): New.
59078         (__Q_simulate_exceptions): Return void.  Change to simulate
59079         exceptions by writing into the %fsr.
59080         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59081         (__Qp_handle_exceptions): Likewise.
59082         (numbers): Delete.
59083         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59084         __Qp_handle_exceptions.
59085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59086         __Qp_handle_exceptions.
59087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59088         as unused and give dummy FP_RND_NEAREST initializer.
59089         (FP_INHIBIT_RESULTS): Define.
59090         (___Q_simulate_exceptions): Update declaration.
59091         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59092         formatting.
59093         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59094         as unused and give dummy FP_RND_NEAREST initializer.
59095         (__Qp_handle_exceptions): Update declaration.
59096         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59097         formatting.
59099 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59101         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59102         the temporary FPU control word.
59103         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59104         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59105         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59106         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59107         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59108         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59109         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59110         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59111         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59112         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59113         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59115 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59117         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59118         fields.
59120 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59122         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59123         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59124         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59125         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59126         Likewise.
59127         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59128         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59129         Likewise.
59131 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59133         * po/h.po: Update from translation team.
59135 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59137         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59139         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59140         handling of denormals.
59141         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59142         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59143         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59144         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59145         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59146         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59147         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59148         Likewise.
59150 2012-05-26  Marek Polacek  <polacek@redhat.com>
59152         [BZ #14152]
59153         * math/libm-test.inc (fma_test): Don't always expect underflow
59154         exception.
59156 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59158         [BZ #12416]
59159         * elf/tst-execstack.c: Include stackinfo.h.
59160         (do_test): Adjust test case to ensure that pthread_getattr_np
59161         behaviour remains the same after marking stack executable.
59163 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59165         * sysdeps/unix/sysv/linux/kernel-features.h
59166         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59167         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59168         kernel-features.h.
59169         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59170         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59171         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59172         kernel-features.h.
59173         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59174         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59176 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59178         * configure.in: Define the default includes to being none.
59179         * configure: Regenerated.
59181 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59183         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59184         * sysdeps/x86_64/setjmp.S: Likewise.
59185         * sysdeps/i386/bsd-setjmp.S: Likewise.
59186         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59187         * sysdeps/i386/setjmp.S: Likewise.
59188         * sysdeps/i386/__longjmp.S: Likewise.
59189         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59190         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59192         * include/stap-probe.h: New file.
59193         * configure.in: Handle --enable-systemtap.
59194         * configure: Regenerated.
59195         * config.h.in (USE_STAP_PROBE): New #undef.
59196         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59197         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59198         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59200 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59202         [BZ #13717]
59203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59204         to 2.4.0 where earlier.
59205         * sysdeps/unix/sysv/linux/configure: Regenerated.
59206         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59207         <kernel-features.h>.
59208         [__ASSUME_32BITUIDS]: Make code unconditional.
59209         [!__ASSUME_32BITUIDS]: Remove conditional code.
59210         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59211         <kernel-features.h>.
59212         [__ASSUME_32BITUIDS]: Make code unconditional.
59213         [!__ASSUME_32BITUIDS]: Remove conditional code.
59214         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59215         [__ASSUME_32BITUIDS]: Make code unconditional.
59216         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59217         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59218         <kernel-features.h>.
59219         [__ASSUME_32BITUIDS]: Make code unconditional.
59220         [!__ASSUME_32BITUIDS]: Remove conditional code.
59221         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59222         <kernel-features.h>.
59223         [__ASSUME_32BITUIDS]: Make code unconditional.
59224         [!__ASSUME_32BITUIDS]: Remove conditional code.
59225         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59226         <kernel-features.h>.
59227         [__ASSUME_32BITUIDS]: Make code unconditional.
59228         [!__ASSUME_32BITUIDS]: Remove conditional code.
59229         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59230         <kernel-features.h>.
59231         [__ASSUME_32BITUIDS]: Make code unconditional.
59232         [!__ASSUME_32BITUIDS]: Remove conditional code.
59233         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59234         <kernel-features.h>.
59235         [__ASSUME_32BITUIDS]: Make code unconditional.
59236         [!__ASSUME_32BITUIDS]: Remove conditional code.
59237         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59238         <kernel-features.h>.
59239         [__ASSUME_32BITUIDS]: Make code unconditional.
59240         [!__ASSUME_32BITUIDS]: Remove conditional code.
59241         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59242         <kernel-features.h>.
59243         [__ASSUME_32BITUIDS]: Make code unconditional.
59244         [!__ASSUME_32BITUIDS]: Remove conditional code.
59245         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59246         <kernel-features.h>.
59247         [__ASSUME_32BITUIDS]: Make code unconditional.
59248         [!__ASSUME_32BITUIDS]: Remove conditional code.
59249         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59250         <kernel-features.h>.
59251         [__ASSUME_32BITUIDS]: Make code unconditional.
59252         [!__ASSUME_32BITUIDS]: Remove conditional code.
59253         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59254         <kernel-features.h>.
59255         [__ASSUME_32BITUIDS]: Make code unconditional.
59256         [!__ASSUME_32BITUIDS]: Remove conditional code.
59257         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59258         <kernel-features.h>.
59259         [__NR_setresgid] (__setresgid): Do not declare.
59260         [__ASSUME_32BITUIDS]: Make code unconditional.
59261         [!__ASSUME_32BITUIDS]: Remove conditional code.
59262         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59263         <kernel-features.h>.
59264         [__NR_setresuid] (__setresuid): Do not declare.
59265         [__ASSUME_32BITUIDS]: Make code unconditional.
59266         [!__ASSUME_32BITUIDS]: Remove conditional code.
59267         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59268         <kernel-features.h>.
59269         [__ASSUME_32BITUIDS]: Make code unconditional.
59270         [!__ASSUME_32BITUIDS]: Remove conditional code.
59271         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59272         <kernel-features.h>.
59273         [__ASSUME_32BITUIDS]: Make code unconditional.
59274         [!__ASSUME_32BITUIDS]: Remove conditional code.
59275         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59276         <kernel-features.h>.
59277         [__ASSUME_32BITUIDS]: Make code unconditional.
59278         [!__ASSUME_32BITUIDS]: Remove conditional code.
59279         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59280         <kernel-features.h>.
59281         [__ASSUME_32BITUIDS]: Make code unconditional.
59282         [!__ASSUME_32BITUIDS]: Remove conditional code.
59283         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59284         <kernel-features.h>.
59285         [__ASSUME_32BITUIDS]: Make code unconditional.
59286         [!__ASSUME_32BITUIDS]: Remove conditional code.
59287         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59288         <kernel-features.h>.
59289         [__ASSUME_32BITUIDS]: Make code unconditional.
59290         [!__ASSUME_32BITUIDS]: Remove conditional code.
59291         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59292         <kernel-features.h>.
59293         [__ASSUME_32BITUIDS]: Make code unconditional.
59294         [!__ASSUME_32BITUIDS]: Remove conditional code.
59295         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59296         <kernel-features.h>.
59297         [__ASSUME_32BITUIDS]: Make code unconditional.
59298         [!__ASSUME_32BITUIDS]: Remove conditional code.
59299         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59300         <kernel-features.h>.
59301         [__ASSUME_32BITUIDS]: Make code unconditional.
59302         [!__ASSUME_32BITUIDS]: Remove conditional code.
59303         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59304         <kernel-features.h>.
59305         [__ASSUME_32BITUIDS]: Make code unconditional.
59306         [!__ASSUME_32BITUIDS]: Remove conditional code.
59307         * sysdeps/unix/sysv/linux/kernel-features.h
59308         (__ASSUME_SETRESUID_SYSCALL): Remove.
59309         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59310         (__ASSUME_32BITUIDS): Likewise.
59311         (__ASSUME_LDT_WORKS): Likewise.
59312         (__ASSUME_O_DIRECTORY): Likewise.
59313         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59314         architecture but not kernel version.
59315         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59316         (__ASSUME_MMAP2_SYSCALL): Likewise.
59317         (__ASSUME_STAT64_SYSCALL): Likewise.
59318         (__ASSUME_IPC64): Likewise.
59319         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59320         <kernel-features.h>.
59321         [__ASSUME_32BITUIDS]: Make code unconditional.
59322         [!__ASSUME_32BITUIDS]: Remove conditional code.
59323         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59324         <kernel-features.h>.
59325         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59326         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59327         132096]: Remove conditional code.
59328         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59329         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59330         <kernel-features.h>.
59331         [__ASSUME_32BITUIDS]: Make code unconditional.
59332         [!__ASSUME_32BITUIDS]: Remove conditional code.
59333         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59334         <kernel-features.h>.
59335         [__ASSUME_32BITUIDS]: Make code unconditional.
59336         [!__ASSUME_32BITUIDS]: Remove conditional code.
59337         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59338         <kernel-features.h>.
59339         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59340         unconditional.
59341         (__setresgid): Do not declare.
59342         [__ASSUME_32BITUIDS]: Make code unconditional.
59343         [!__ASSUME_32BITUIDS]: Remove conditional code.
59344         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59345         <kernel-features.h>.
59346         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59347         unconditional.
59348         (__setresuid): Do not declare.
59349         [__ASSUME_32BITUIDS]: Make code unconditional.
59350         [!__ASSUME_32BITUIDS]: Remove conditional code.
59351         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59352         <kernel-features.h>.
59353         [__ASSUME_32BITUIDS]: Make code unconditional.
59354         [!__ASSUME_32BITUIDS]: Remove conditional code.
59355         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59356         <kernel-features.h>.
59357         [__ASSUME_32BITUIDS]: Make code unconditional.
59358         [!__ASSUME_32BITUIDS]: Remove conditional code.
59360 2012-05-25  Richard Henderson  <rth@twiddle.net>
59362         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59363         dl_hwcap to ifunc resolver.
59364         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59365         elf_ifunc_invoke.
59366         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59367         dl_hwcap to ifunc resolver.
59368         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59370 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59372         [BZ #14153]
59373         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59374         for |x| <= 2**-26, not 2**-57.
59375         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59376         exception.
59378 2012-05-24  Jeff Law  <law@redhat.com>
59380         * stdio-common/Makefile (tests): Add bug25.
59381         * stdio-common/bug25.c: New test.
59383 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59385         [BZ #13576]
59386         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59387         multiple of MALLOC_ALIGNMENT in size.
59388         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59390 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59392         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59393         Require >= 256.
59394         (FILENAME_MAX): Use macro-int-constant.
59395         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59396         (_IOFBF): Use macro-int-constant.
59397         (_IOLBF): Likewise.
59398         (_IONBF): Likewise.
59399         (SEEK_CUR): Likewise.
59400         (SEEK_END): Likewise.
59401         (SEEK_SET): Likewise.
59402         (TMP_MAX): Likewise.
59403         (EOF): Use macro-int-constant.  Require < 0.
59404         (NULL): Use macro-constant.  Require == 0.
59405         (stdin): Require type to be FILE *.
59406         (stdout): Likewise.
59407         (stderr): Likewise.
59408         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59409         macro-int-constant.
59410         (EXIT_SUCCESS): Likewise.
59411         (NULL): Use macro-constant.  Require == 0.
59412         (RAND_MAX): Use macro-int-constant.
59413         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59414         [C99-based standards] (strtof): Require function.
59415         [C99-based standards] (strtold): Likewise.
59416         [C99-based standards] (strtoll): Likewise.
59417         [C99-based standards] (strtoull): Likewise.
59418         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59419         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59420         [ISO || ISO99 || ISO11] (math.h): Likewise.
59421         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59422         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59423         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59425 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59427         [BZ #14132]
59428         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59429         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59430         * intl/dgettext.c (DCGETTEXT): Likewise.
59431         * intl/gettext.c (DCGETTEXT): Likewise.
59432         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59433         * posix/regex_internal.h (gettext): Likewise.
59434         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59435         Remove declaration.
59436         * include/argz.h (__argz_count_internal)
59437         (__argz_stringify_internal): Remove declaration.
59438         (__argz_count, __argz_stringify): Declare hidden proto.
59439         * intl/dcgettext.c: Remove use of INTDEF.
59440         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59441         * string/argz-stringify.c: Likewise.
59442         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59443         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59444         Declare hidden proto.
59445         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59446         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59447         Declare hidden proto.
59448         * include/stdio.h (__asprintf_internal): Don't declare.
59449         (__asprintf): Don't define as macro.  Declare hidden proto.
59450         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59451         (__fsetlocking): Declare hidden proto.
59452         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59453         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59454         hidden proto.
59455         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59456         (_IO_setlinebuf): Remove use of INTUSE.
59457         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59458         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59459         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59460         Remove declaration.
59461         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59462         (_IO_do_flush): Remove use of INTUSE.
59463         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59464         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59465         (_IO_adjust_column, _IO_least_wmarker)
59466         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59467         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59468         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59469         (_IO_default_doallocate, _IO_wdefault_doallocate)
59470         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59471         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59472         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59473         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59474         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59475         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59476         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59477         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59478         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59479         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59480         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59481         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59482         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59483         proto.
59484         (_IO_flush_all_internal, _IO_adjust_column_internal)
59485         (_IO_default_uflow_internal, _IO_default_finish_internal)
59486         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59487         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59488         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59489         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59490         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59491         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59492         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59493         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59494         (_IO_file_close_internal, _IO_file_close_it_internal)
59495         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59496         (_IO_file_init_internal, _IO_file_attach_internal)
59497         (_IO_file_fopen_internal, _IO_file_read_internal)
59498         (_IO_file_sync_internal, _IO_file_seek_internal)
59499         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59500         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59501         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59502         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59503         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59504         (_IO_list_all_internal, _IO_link_in_internal)
59505         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59506         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59507         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59508         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59509         (_IO_do_write_internal, _IO_padn_internal)
59510         (_IO_getline_info_internal, _IO_getline_internal)
59511         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59512         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59513         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59514         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59515         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59516         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59517         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59518         with libc_hidden_ver, remove use of INTUSE.
59519         * libio/genops.c: Likewise.
59520         * libio/freopen.c: Likewise.
59521         * libio/freopen64.c: Likewise.
59522         * libio/iofclose.c: Likewise.
59523         * libio/iofdopen.c: Likewise.
59524         * libio/iofflush.c: Likewise.
59525         * libio/iofflush_u.c: Likewise.
59526         * libio/iofgets.c: Likewise.
59527         * libio/iofgets_u.c: Likewise.
59528         * libio/iofopen.c: Likewise.
59529         * libio/iofopncook.c: Likewise.
59530         * libio/iofread.c: Likewise.
59531         * libio/iofread_u.c: Likewise.
59532         * libio/ioftell.c: Likewise.
59533         * libio/iofwrite.c: Likewise.
59534         * libio/iogetline.c: Likewise.
59535         * libio/iogets.c: Likewise.
59536         * libio/iogetwline.c: Likewise.
59537         * libio/iopadn.c: Likewise.
59538         * libio/iopopen.c: Likewise.
59539         * libio/ioseekoff.c: Likewise.
59540         * libio/ioseekpos.c: Likewise.
59541         * libio/iosetbuffer.c: Likewise.
59542         * libio/iosetvbuf.c: Likewise.
59543         * libio/ioungetc.c: Likewise.
59544         * libio/ioungetwc.c: Likewise.
59545         * libio/iovdprintf.c: Likewise.
59546         * libio/iovsprintf.c: Likewise.
59547         * libio/iovsscanf.c: Likewise.
59548         * libio/memstream.c: Likewise.
59549         * libio/obprintf.c: Likewise.
59550         * libio/oldfileops.c: Likewise.
59551         * libio/oldiofclose.c: Likewise.
59552         * libio/oldiofdopen.c: Likewise.
59553         * libio/oldiofopen.c: Likewise.
59554         * libio/oldiopopen.c: Likewise.
59555         * libio/oldstdfiles.c: Likewise.
59556         * libio/putc.c: Likewise.
59557         * libio/setbuf.c: Likewise.
59558         * libio/setlinebuf.c: Likewise.
59559         * libio/stdfiles.c: Likewise.
59560         * libio/strops.c: Likewise.
59561         * libio/vasprintf.c: Likewise.
59562         * libio/vscanf.c: Likewise.
59563         * libio/vsnprintf.c: Likewise.
59564         * libio/vswprintf.c: Likewise.
59565         * libio/wfiledoalloc.c: Likewise.
59566         * libio/wfileops.c: Likewise.
59567         * libio/wgenops.c: Likewise.
59568         * libio/wmemstream.c: Likewise.
59569         * libio/wstrops.c: Likewise.
59570         * libio/__fpurge.c: Likewise.
59571         * libio/__fsetlocking.c: Likewise.
59572         * assert/assert.c: Likewise.
59573         * debug/fgets_chk.c: Likewise.
59574         * debug/fgets_u_chk.c: Likewise.
59575         * debug/fread_chk.c: Likewise.
59576         * debug/fread_u_chk.c: Likewise.
59577         * debug/gets_chk.c: Likewise.
59578         * debug/obprintf_chk.c: Likewise.
59579         * debug/vasprintf_chk.c: Likewise.
59580         * debug/vdprintf_chk.c: Likewise.
59581         * debug/vsnprintf_chk.c: Likewise.
59582         * debug/vsprintf_chk.c: Likewise.
59583         * malloc/mtrace.c: Likewise.
59584         * misc/error.c: Likewise.
59585         * misc/syslog.c: Likewise.
59586         * stdio-common/asprintf.c: Likewise.
59587         * stdio-common/fxprintf.c: Likewise.
59588         * stdio-common/getw.c: Likewise.
59589         * stdio-common/isoc99_fscanf.c: Likewise.
59590         * stdio-common/isoc99_scanf.c: Likewise.
59591         * stdio-common/isoc99_vfscanf.c: Likewise.
59592         * stdio-common/isoc99_vscanf.c: Likewise.
59593         * stdio-common/isoc99_vsscanf.c: Likewise.
59594         * stdio-common/printf-prs.c: Likewise.
59595         * stdio-common/printf_fp.c: Likewise.
59596         * stdio-common/printf_fphex.c: Likewise.
59597         * stdio-common/printf_size.c: Likewise.
59598         * stdio-common/putw.c: Likewise.
59599         * stdio-common/scanf.c: Likewise.
59600         * stdio-common/sprintf.c: Likewise.
59601         * stdio-common/tmpfile.c: Likewise.
59602         * stdio-common/vfprintf.c: Likewise.
59603         * stdio-common/vfscanf.c: Likewise.
59604         * stdlib/strfmon_l.c: Likewise.
59605         * sunrpc/openchild.c: Likewise.
59606         * sunrpc/xdr_stdio.c: Likewise.
59607         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59608         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59610 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59612         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59614         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59615         in the third column, to generate for the shared library an IFUNC
59616         that uses _dl_vdso_vsym.
59617         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59618         * Makeconfig (object-suffixes-noshared): New variable.
59620         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59621         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59622         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59623         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59625         [BZ #14132]
59626         * include/sys/time.h (__gettimeofday): Remove macro.
59627         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59628         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59629         Remove INTDEF.
59630         (__gettimeofday): Add libc_hidden_def.
59631         (gettimeofday): Add libc_hidden_weak.
59632         * sysdeps/mach/gettimeofday.c: Likewise.
59633         * sysdeps/posix/gettimeofday.c: Likewise.
59634         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59635         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59637         (__gettimeofday_internal): Remove strong_alias.
59638         (__gettimeofday): Add libc_hidden_def.
59639         (gettimeofday): Add libc_hidden_weak.
59640         * sysdeps/unix/syscalls.list (gettimeofday):
59641         Remove __gettimeofday_internal alias.
59643 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59644             H.J. Lu  <hongjiu.lu@intel.com>
59646         [BZ #12495]
59647         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59648         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59649         (largebin_index_32_big): New.
59650         (largebin_index): Use it for 16-byte alignment.
59651         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59652         correction with front_misalign.
59654 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59658         Likewise.
59659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59660         Likewise.
59661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59662         Likewise.
59663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59664         Likewise.
59665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59666         Likewise.
59667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59668         Likewise.
59669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59670         Likewise.
59671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59672         Likewise.
59673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59674         Likewise.
59675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59676         Likewise.
59677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59678         Likewise.
59679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59680         Likewise.
59682         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59683         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59685 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59687         [BZ #10846]
59688         [BZ #14036]
59689         * math/libm-test.inc (exp_test): Add test from bug 14036.
59690         (pow_test): Add test from bug 10846.
59692         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59693         and other flags.
59694         (special_function): Do not include flags in test name.
59695         (parse_args): Likewise.
59696         * sysdeps/i386/fpu/libm-test-ulps: Update.
59697         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59698         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59699         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59702         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59703         exceptions.
59704         * math/libm-test.inc ("Philosophy"): Update comment about
59705         exception testing.
59706         (UNDERFLOW_EXCEPTION): New macro.
59707         (UNDERFLOW_EXCEPTION_OK): Likewise.
59708         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59709         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59710         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59711         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59712         (INVALID_EXCEPTION_OK): Update value.
59713         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59714         (OVERFLOW_EXCEPTION_OK): Likewise.
59715         (IGNORE_ZERO_INF_SIGN): Likewise.
59716         (test_exceptions): Handle underflow exceptions.
59717         (acos_test): Update for underflow exception expectations.
59718         (cexp_test): Likewise.
59719         (clog_test): Likewise.
59720         (clog10_test): Likewise.
59721         (csqrt_test): Likewise.
59722         (ctan_test): Likewise.
59723         (ctanh_test): Likewise.
59724         (exp_test): Likewise.
59725         (exp10_test): Likewise.
59726         (exp2_test): Likewise.
59727         (expm1_test): Likewise.
59728         (fma_test): Likewise.
59729         (j0_test): Likewise.
59730         (jn_test): Likewise.
59731         (nexttoward_test): Likewise.
59732         (pow_test): Likewise.
59733         (scalbn_test): Likewise.
59734         (scalbln_test): Likewise.
59735         (tan_test): Likewise.
59736         (y1_test): Likewise.
59737         * sysdeps/i386/fpu/libm-test-ulps: Update.
59738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59740 2012-05-23  David S. Miller  <davem@davemloft.net>
59742         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59743         (__libc_sigaction): Remove unused local variables.
59745 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59747         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59749 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59751         mktime: avoid signed integer overflow
59752         * time/mktime.c (__mktime_internal): Do not mishandle the case
59753         where diff == INT_MIN.
59755         mktime: simplify computation of average
59756         * time/mktime.c (ranged_convert): Use new time_t_avg function
59757         instead of rolling our own (probably-slower) code.
59759         mktime: do not assume signed right shift propagates sign bit
59760         * time/mktime.c (isdst_differ): New static function.
59761         (__mktime_internal): No need to normalize tm_isdst now.
59762         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59763         tm_isdst values.
59765         mktime: merge another wrapv change from gnulib
59766         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59767         from some compilers.
59769         mktime: remove incorrect attempt at unusual arithmetics
59770         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59771         The code didn't really work on such machines anyway.
59772         (TYPE_MINIMUM): Assume two's complement.
59773         (twos_complement_arithmetic): Verify that long_int and time_t
59774         are two's complement (or unsigned, in the latter case).
59776         mktime: check signed shifts on long_int and time_t, too
59777         * time/mktime.c (SHR): Check that shifts work as desired
59778         on the types long_int and time_t too, as SHR is used on
59779         such types.
59781         mktime: do not assume 'long' is wide enough
59782         * time/mktime.c (verify): Move decl up.
59783         (long_int): New type.
59784         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59785         to remove assumption in the code that 'long' is wide enough to
59786         store year values.  This assumption is not true on x32 and on
59787         some non-glibc platforms.
59789         mktime: merge wrapv change from gnulib
59790         * time/mktime.c (WRAPV): New macro.
59791         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59792         (guess_time_tm, __mktime_internal): Do not assume that signed
59793         integer overflow wraps around; modern compilers generate code
59794         where this assumption is no longer valid.
59796 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59798         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59799         Replace "jmp L(pseudo_end)" with "ret".
59800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59801         Likewise.
59803 2012-05-23  Andreas Jaeger  <aj@suse.de>
59805         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59806         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59808 2012-05-23  Andreas Jaeger  <aj@suse.de>
59809             Maximilian Attems  <max@stro.at>
59811         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59812         New macros.
59814 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59816         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59817         code so that pseudo_end is just ret and the stack pointer is
59818         correct also for static library in error case.
59820 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59822         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59823         move to syscalls.list.
59824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59829         * manual/install.texi (Running make install): Do not mention Linux
59830         kernel version for which pt_chown is not needed.
59831         (Linux): Do not mention problems with nscd with 2.0 kernels.
59832         * INSTALL: Regenerated.
59834 2012-05-23  Andreas Jaeger  <aj@suse.de>
59836         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59837         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59838         macro.
59839         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59840         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59841         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59842         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59843         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59844         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59845         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59846         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59847         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59848         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59849         * sysdeps/unix/sysv/linux/bits/in.h
59850         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59852 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59854         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59855         (PREPARE_VERSION): Just use assert instead, it will be elided
59856         under [NDEBUG] anyway.
59858 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59860         * sysdeps/unix/sysv/linux/Makefile: Include
59861         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59862         (sysdep_routines): Remove sysctl.
59863         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59864         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59865         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59866         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59867         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59869 2012-05-22  Andreas Jaeger  <aj@suse.de>
59871         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59872         that pseudo_end is just ret and the stack pointer is correct also
59873         for static library in error case.
59875 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59877         [BZ #14122]
59878         * nss/nsswitch.c (defconfig_entries): New variable.
59879         (__nss_database_lookup): Don't leak defconfig entries.
59880         (nss_parse_service_list): Don't leak on error paths.
59881         (free_database_entries): New function.
59882         (free_defconfig): New function.
59883         (free_mem): Move common code to free_database_entries.
59885 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59887         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59888         Add arch_prctl.
59889         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59891         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59892         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59894         New macro.
59895         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59896         (INTERNAL_SYSCALL_TYPES): Likewise.
59897         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59898         (LOAD_REGS_TYPES_[1-6]): Likewise.
59899         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59900         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59902 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59904         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59905         copysignl for GLIBC_2_0.
59906         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59907         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59909         logbl for GLIBC_2_0.
59910         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59911         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59913 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59915         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59916         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59918         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59919         Use "neg %eax".
59921         * time/mktime.c: Update copyright years.
59923 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59925         mktime: merge comment-quoting-style change from gnulib
59926         * time/mktime.c: Quote 'like this' in comments.
59927         The GNU coding standards suggest that we no longer quote `like this',
59928         as "`" and "'" are typically rendered asymmetrically nowadays.
59929         The typical gnulib style is to quote 'like this' when quoting
59930         code, and "like this" when quoting English.
59932         * time/mktime.c (compile-command): Add "-I.".
59934         mktime: merge mktime-internal.h change from gnulib
59935         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59937         mktime: merge time_r change from gnulib
59938         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59940         mktime: merge DEBUG change from gnulib
59941         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59942         case system <time.h> has a #define.
59944         mktime: merge <sys/types.h> change from gnulib
59945         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59946         since <time.t> is now guaranteed to define time_t.
59948         mktime: merge HAVE_CONFIG_H change from gnulib
59949         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59951 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59954         Use "neg %eax".
59956         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59957         __rlim_t cast.
59958         (struct rusage): Use anonymous union to pad each field to
59959         __syscall_slong_t.
59961 2012-05-21  David S. Miller  <davem@davemloft.net>
59963         * Makefules (o-iterator): Remove .s cases.
59964         (compile-command.s): Delete.
59965         (COMPILE.s): Delete.
59966         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59968 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59970         * configure.in (libc_cv_predef_stack_protector): Only consider
59971         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59972         * configure: Regenerated.
59974 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59976         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59977         New macro.  Use R*LP on int and pointer.
59978         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59979         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59980         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59981         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59983         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59984         [__WORDSIZE_TIME64_COMPAT32] instead of
59985         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59986         (struct utmp): Likewise.
59987         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59988         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59989         Renamed to ...
59990         (__WORDSIZE_TIME64_COMPAT32): This.
59991         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59992         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59993         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59994         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59995         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59996         (__WORDSIZE_TIME64_COMPAT32): New macro.
59998 2012-05-21  Andreas Jaeger  <aj@suse.de>
60000         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60001         only if [SHARED]. Add prototype for __wcschr_ia32.
60003 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60005         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60006         of %rbp unmolested in the jmp_buf while mangling the low bits.
60007         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60008         unmolested high bits of %rbp while demangling the low bits.
60009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60011 2012-05-21  Andreas Jaeger  <aj@suse.de>
60013         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60014         * sunrpc/svc_simple.c: Use it for registerrpc.
60015         * sunrpc/xcrypt.c: Use it for passwd2des.
60017         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60019 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60021         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60022         Don't define if [__SYSCALL_WORDSIZE != 32].
60023         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60024         New macro.
60026 2012-05-21  Bruno Haible  <bruno@clisp.org>
60027             Andreas Jaeger  <aj@suse.de>
60029         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60030         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60031         inptr and inend for must_buffer_ch.
60032         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60033         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60034         * stdio-common/Makefile (tests): Remove bug15.
60035         (bug15-ENV): Remove macro.
60036         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60037         anymore.
60039 2012-05-19  Andreas Jaeger  <aj@suse.de>
60040             Roland McGrath  <roland@hack.frob.com>
60042         * manual/contrib.texi: Completely rewritten. It contains now an
60043         alphabetical list of contributors and their contributions.
60045 2012-05-21  Richard Henderson  <rth@twiddle.net>
60047         * misc/getauxval.c (__getauxval): Use unsigned long int.
60048         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60049         (getauxval): Use unsigned long int.
60051 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60053         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60055 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60057         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60058         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60059         __alignof__ (long double).
60061 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60065 2012-05-20  Richard Henderson  <rth@twiddle.net>
60067         * misc/getauxval.c: New file.
60068         * misc/sys/auxv.h: New file.
60069         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60070         (routines): Add getauxval.
60071         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60072         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60073         * elf/dl-sysdep.c (_dl_auxv): Remove.
60074         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60075         * elf/dl-support.c (_dl_auxv): New variable.
60076         (_dl_aux_init): Initialize it.
60077         * manual/startup.texi (Auxiliary Vector): New node.
60078         * sysdeps/generic/bits/hwcap.h: New file.
60079         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60080         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60081         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60082         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60083         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60084         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60086         Update.
60087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60096 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60100 2012-05-19  David S. Miller  <davem@davemloft.net>
60102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60104 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60106         [BZ #14123]
60107         * math/s_ccosh.c: Include <float.h>
60108         (__ccosh): Avoid internal overflow calculating sinh and cosh
60109         values before multiplying by sin and cos values.
60110         * math/s_ccoshf.c: Likewise.
60111         * math/s_ccoshl.c: Likewise.
60112         * math/s_csin.c: Likewise.
60113         * math/s_csinf.c: Likewise.
60114         * math/s_csinl.c: Likewise.
60115         * math/s_csinh.c: Likewise.
60116         * math/s_csinhf.c: Likewise.
60117         * math/s_csinhl.c: Likewise.
60118         * math/libm-test.inc (ccos_test): Add more tests.
60119         (ccosh_test): Likewise.
60120         (csin_test): Likewise.
60121         (csinh_test): Likewise.
60122         * sysdeps/i386/fpu/libm-test-ulps: Update.
60123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60125 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60127         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60128         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60130         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60132 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60134         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60135         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60136         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60137         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60138         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60139         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60140         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60141         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60142         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60143         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60144         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60145         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60146         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60147         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60148         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60149         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60150         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60151         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60152         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60153         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60154         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60155         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60156         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60157         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60158         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60159         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60160         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60161         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60162         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60163         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60164         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60166 2012-05-18  Andreas Jaeger  <aj@suse.de>
60168         * csu/.gitignore: Delete.
60170 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60172         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60173         (timex): Use __syscall_slong_t.
60175 2012-05-18  Andreas Jaeger  <aj@suse.de>
60176             Carlos O'Donell  <carlos_odonell@mentor.com>
60178         * manual/install.texi (Configuring and compiling): Update
60179         description about files modified in the source directory.
60180         * INSTALL: Regenerated.
60182 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60184         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60185         value.  Use "or" to set return value to -1.
60186         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60187         negate return value.
60189 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60191         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60192         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60193         failure if the compiler has Graphite support disabled.
60194         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60195         Likewise.
60196         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60197         (CFLAGS-memmove.c): Likewise.
60198         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60199         Likewise.
60201 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60203         * sysdeps/x86_64/x32/_itoa.h: New file.
60205         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60206         getdents system call only if kernel and user dirents have the
60207         same d_ino and d_off.
60209         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60210         LLONG_MAX != LONG_MAX.
60211         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60212         (_fitoa_word): Likewise.
60214         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60215         years.
60216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60217         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60218         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60220         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60221         include <bits/wordsize.h>.  Check __x86_64__ instead of
60222         __WORDSIZE.
60223         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60224         if __x86_64__ is defined.  Use anonymous union on fpstate.
60226         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60227         anonymous union.
60229 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60231         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60232         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60233         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60234         Refer to _rtld_local_ro instead of _rtld_global_ro.
60235         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60236         Likewise.
60237         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60238         Likewise.
60239         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60240         Likewise.
60241         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60242         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60243         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60245         [BZ #10882]
60246         * sysdeps/powerpc/powerpc32/dl-machine.c
60247         (__elf_machine_runtime_setup) [PROF]: Don't reference
60248         _dl_prof_resolve.
60250 2012-05-18  Andreas Jaeger  <aj@suse.de>
60252         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60253         function only available for GCCs before 3.4 since GCC 3.4
60254         introduced a builtin.
60255         (lrint): Likewise.
60256         (llrintf): Likewise.
60257         (llrint): Likewise.
60258         (fmaxf): Likewise.
60259         (fmax): Likewise.
60260         (fminf): Likewise.
60261         (fmin): Likewise.
60262         (rint): Likewise.
60263         (rintf): Likewise.
60264         (nearbyint): Likewise.
60265         (nearbyintf): Likewise.
60266         (ceil): Likewise.
60267         (ceilf): Likewise.
60268         (floor): Likewise.
60269         (floorf): Likewise.
60271 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60273         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60274         on both fields and cast pointer to __syscall_ulong_t.
60276         * bits/types.h (__fsword_t): New type.
60277         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60278         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60280         (__FSWORD_T_TYPE): Likewise.
60281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60282         (__FSWORD_T_TYPE): Likewise.
60283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60284         (__FSWORD_T_TYPE): Likewise.
60285         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60286         (__FSWORD_T_TYPE): Likewise.
60287         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60288         __SWORD_TYPE with __fsword_t.
60289         (statfs64): Likewise.
60291 2012-05-17  David S. Miller  <davem@davemloft.net>
60293         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60295 2012-05-17  Andreas Jaeger  <aj@suse.de>
60297         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60298         warning.
60300 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60302         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60304 2012-05-17  Andreas Jaeger  <aj@suse.de>
60306         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60307         when it is used.
60309 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60311         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60313 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60315         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60316         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60318 2012-05-17  Andreas Jaeger  <aj@suse.de>
60319             Carlos O'Donell  <carlos_odonell@mentor.com>
60321         [BZ #14059]
60322         * sysdeps/x86_64/multiarch/init-arch.h
60323         (bit_YMM_Usable): Rename to...
60324         (bit_AVX_Usable): ... this.
60325         (bit_FMA4_Usable): New macro.
60326         (bit_XMM_state): New macro.
60327         (bit_YMM_state): New macro.
60328         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60329         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60330         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60331         (CPUID_OSXSAVE): New macro.
60332         (CPUID_AVX): New macro.
60333         (CPUID_FMA4): New macro.
60334         (index_YMM_Usable): Rename to...
60335         (index_AVX_Usable): ... this.
60336         (HAS_AVX): Use HAS_ARCH_FEATURE.
60337         (HAS_FMA4): Likewise.
60338         (HAS_YMM_USABLE): Remove.
60339         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60340         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60341         are present.
60342         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60343         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60344         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60345         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60346         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60348 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60350         * math/libm-test.c: Support platforms without multiple rounding modes.
60351         * math/bug-nextafter.c: Support platforms without FP exceptions.
60352         * math/bug-nexttoward.c: Likewise.
60353         * math/test-fenv.c: Likewise.
60354         * math/test-misc.c: Likewise.
60355         * stdlib/bug-getcontext.c: Likewise.
60357 2012-05-17  Andreas Jaeger  <aj@suse.de>
60359         * manual/examples/search.c (critter_cmp): Change signature to
60360         avoid warnings.
60361         * manual/string.texi (Collation Functions): Likewise.
60363 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60365         * bits/types.h: Fold copyright years.
60366         * bits/typesizes.h: Likewise.
60367         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60368         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60371         * time/time.h: Likewise.
60373 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60375         [BZ #208]
60376         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60377         in instead of returning them.  Return void.
60378         (__libc_mallinfo): Accumulate over all arenas.
60379         (__malloc_stats): Adjust for change in int_mallinfo interface.
60381 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60383         [BZ #10375]
60384         * configure.in (NM): Add AC_CHECK_TOOL for it.
60385         (libc_extra_cflags): New substituted variable.
60386         Check for -fstack-protector being used implicitly.
60387         * configure: Regenerated.
60388         * config.make.in (config-extra-cflags): New variable,
60389         gets @libc_extra_cflags@.
60390         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60392         [BZ #10375]
60393         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60394         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60395         * configure: Regenerated.
60396         * config.make.in (CPPUNDEFS): New substituted variable.
60397         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60398         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60399         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60401 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60403         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60404         (mq_attr): Use __syscall_slong_t.
60406 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60408         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60409         Check __x86_64__ instead of __WORDSIZE.
60410         (_STAT_VER_LINUX): Likewise.
60411         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60412         __syscall_ulong_t and __syscall_slong_t.
60413         (stat64): Likewise.
60415 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60417         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60419 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60421         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60423 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60425         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60426         __syscall_ulong_t.
60428         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60429         include <bits/wordsize.h>.  Check __x86_64__ instead of
60430         __WORDSIZE.
60431         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60432         defined.
60433         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60435         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60436         include <bits/wordsize.h>.  Check __x86_64__ instead of
60437         __WORDSIZE.
60438         (user_regs_struct): Use "__extension__ unsigned long long"
60439         instead of "unsigned long" if __x86_64__ is defined.
60440         (user): Likewise.  Pad after pointer field if __ILP32__ is
60441         defined.
60443 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60445         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60446         versions 5 to 9.
60447         * configure: Regenerated.
60448         * manual/install.texi (texinfo): Increase version requirement to
60449         4.5 or later.
60450         * INSTALL: Regenerated.
60452         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60454 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60456         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60458         * sysdeps/x86_64/x32/ffs.c: New file.
60460         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60461         __syscall_ulong_t.
60462         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60463         defined.  Use __syscall_ulong_t.
60464         (shminfo): Use __syscall_ulong_t.
60465         (shm_info): Likewise.
60467         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60468         __syscall_ulong_t.
60470         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60471         <bits/wordsize.h>.
60472         (msgqnum_t): Use __syscall_ulong_t.
60473         (msglen_t): Likewise.
60474         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60475         __syscall_ulong_t.
60477         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60478         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60480         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60482         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60483         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60485         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60486         __syscall_slong_t.
60488         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60489         include <bits/wordsize.h>.  Check __x86_64__ instead of
60490         __WORDSIZE.
60492         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60493         "unsigned long long int" if __x86_64__ is defined.
60494         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60496         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60497         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60498         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60500         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60501         <stdint.h>.
60502         (GET_PC): Cast to uintptr_t first.
60503         (GET_FRAME): Likewise.
60504         (GET_STACK): Likewise.
60506         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60507         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60508         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60509         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60510         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60511         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60512         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60513         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60514         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60515         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60516         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60517         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60518         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60519         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60520         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60521         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60522         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60523         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60524         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60525         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60526         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60527         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60528         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60529         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60530         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60531         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60532         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60533         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60534         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60536 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60538         * Makerules (+depfiles): Also collect depfiles from .oS in
60539         $(extra-objs).
60540         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60541         .oS, $(libnldbl-routines)).
60543         * Makerules (native-compile-mkdep-flags): Define.
60544         * sunrpc/Makefile (extra-objs): Add $(addprefix
60545         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60546         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60547         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60548         calling $(make-target-directory).
60550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60552         * bits/types.h (__snseconds_t): Removed.
60553         * time/time.h (struct timespec): Replace __snseconds_t with
60554         __syscall_slong_t.
60555         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60556         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60557         Likewise.
60558         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60559         (__SNSECONDS_T_TYPE): Likewise.
60560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60561         (__SNSECONDS_T_TYPE): Likewise.
60562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60563         (__SNSECONDS_T_TYPE): Likewise.
60565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60567         * sysdeps/mach/hurd/bits/typesizes.h
60568         (__SYSCALL_SLONG_TYPE): New macro.
60569         (__SYSCALL_ULONG_TYPE): Likewise.
60571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60573         * bits/types.h (__syscall_slong_t): New type.
60574         (__syscall_ulong_t): Likewise.
60576         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60577         (__SYSCALL_ULONG_TYPE): Likewise.
60578         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60579         (__SYSCALL_SLONG_TYPE): Likewise.
60580         (__SYSCALL_ULONG_TYPE): Likewise.
60581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60582         (__SYSCALL_SLONG_TYPE): Likewise.
60583         (__SYSCALL_ULONG_TYPE): Likewise.
60584         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60585         (__SYSCALL_SLONG_TYPE): Likewise.
60586         (__SYSCALL_ULONG_TYPE): Likewise.
60588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60590         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60591         Add sigaltstack-offsets.sym.
60592         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60593         <sigaltstack-offsets.h>.
60594         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60595         longjmp_msg pointer.
60596         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60597         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60598         signal stack.
60599         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60601 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60603         * elf/stackguard-macros.h: Remove file.
60604         * sysdeps/generic/stackguard-macros.h: New file.
60605         * sysdeps/i386/stackguard-macros.h: Likewise.
60606         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60607         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60608         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60609         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60610         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60611         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60612         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60613         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60614         <elf/stackguard-macros.h>.
60616         [BZ #14109]
60617         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60618         __aligned__ in attribute.
60619         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60620         (gregset_t): Likewise.
60622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60624         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60625         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60626         * sysdeps/x86_64/x32/Implies-after: New file.
60628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60630         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60631         and access return value for _dl_profile_fixup.  Use R10_LP to
60632         load frame size.
60634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60636         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60640         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60641         * sysdeps/x86_64/x32/sysdep.h: New file.
60643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60645         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60646         * sysdeps/x86_64/setjmp.S: Likewise.
60648 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60650         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60651         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60652         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60653         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60654         remove unused global constant.
60656 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60658         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60659         include of <not-cancel.h>.
60661 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60663         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60665 2012-05-15  Jeff Law  <law@redhat.com>
60666             Andreas Jaeger  <aj@suse.de>
60668         [BZ #13594]
60669         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60670         out from...
60671         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60672         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60673         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60674         code changing __hst_map_handle.map.
60676 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60678         * configure.in (sysnames): Look for Implies-before and Implies-after
60679         files.
60680         * configure: Regenerated.
60682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60684         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60685         8-byte data alignment with LP_SIZE alignment.
60687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60689         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60690         into R10_LP.
60692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60694         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60698         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60699         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60700         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60701         Likewise.
60702         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60706         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60707         (stackinfo_sub_sp): Likewise.
60709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60711         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60712         RAX_LP.
60714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60716         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60717         into R*_LP.
60719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60721         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60722         sizes into R*_LP.
60724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60726         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60730         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60731         into R11_LP and load __x86_64_shared_cache_size_half into
60732         R8_LP.
60734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60736         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60737         R8_LP.
60739 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60742         logb for POWER7.
60743         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60744         logbf for POWER7.
60745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60746         logbl for POWER7.
60747         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60748         powerpc32/power7/fpu/s_logb.c via #include.
60749         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60750         powerpc32/power7/fpu/s_logbf.c via #include.
60751         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60752         powerpc32/power7/fpu/s_logbl.c via #include.
60754 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60756         * README.libm: Remove file.
60758 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60760         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60761         count for x32.  Use R*_LP and omit operand-size suffix.
60763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60765         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60766         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60767         * sysdeps/x86_64/x32/shlib-versions: New file.
60769 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60771         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60772         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60773         Use _dl_fatal_printf instead.
60775 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60777         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60778         set if not set by the user.  Do not allow for being unset.
60779         * sysdeps/unix/sysv/linux/configure: Regenerated.
60781 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60783         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60784         the `q' suffix from lea and replace .quad with ASM_ADDR.
60786 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60789         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60790         instead of $17.
60791         (PTR_DEMANGLE): Likewise.
60793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60795         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60796         (LP_OP): Likewise.
60797         (ASM_ADDR): Likewise.
60798         (RAX_LP): Likewise.
60799         (RBP_LP): Likewise.
60800         (RBX_LP): Likewise.
60801         (RCX_LP): Likewise.
60802         (RDI_LP): Likewise.
60803         (RSI_LP): Likewise.
60804         (RSP_LP): Likewise.
60805         (R8_LP): Likewise.
60806         (R9_LP): Likewise.
60807         (R10_LP): Likewise.
60808         (R10_LP): Likewise.
60809         (R11_LP): Likewise.
60810         (R12_LP): Likewise.
60811         (R13_LP): Likewise.
60812         (R14_LP): Likewise.
60813         (R15_LP): Likewise.
60815 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60817         * sysdeps/x86_64/x32/dl-machine.h: New file.
60819 2012-05-14  Andreas Jaeger  <aj@suse.de>
60821         * manual/Makefile (subdir): Remove export of subdir.
60822         (all): Remove target.
60823         (.PHONY): Remove all from list.
60824         (mkinstalldirs): Remove.
60825         (.PHONY): Remove installdirs from list.
60826         ($(inst_infodir)/libc.info): Use make-target-directory.
60827         (installdirs): Remove.
60828         (subdir_%): Remove.
60829         (glibc-targets): Remove.
60830         (lib): Remove.
60831         (stubs): Remove.
60832         ($(objpfx)stubs ../po/manual.pot): Remove.
60833         ($(objpfx)stamp%): Remove.
60834         (make-target-directory): Remove.
60835         (subdir_install): Remove.
60836         (routines): Remove.
60837         (aux): Remove.
60838         (sources): Remove.
60839         (objects): Remove.
60840         (headers): Remove.
60842         [BZ #13750]
60843         * manual/.gitignore: Remove, it's not needed anymore.
60844         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60845         all files in it.
60846         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60847         directory.
60848         (texis): Renamed to $(objpfx)texis.
60849         (texis-path): New, contains path to generated files.
60850         (chapters.%): Use texis-path for complete path, add extra argument
60851         libc-texinfo.sh.
60852         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60853         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60854         (summary,texi, stamp-summary): Use complete path of
60855         files. Generate files in build dir.
60856         (dir-add.texi): Build in build dir.
60857         (libm-err.texi,stamp-libm-err): Likewise.
60858         (version.texi, stamp-version): Likewise.
60859         (.%c.texi): Likewise.
60860         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60861         (mostlyclean): Remove target.
60862         (realclean): Remove target.
60863         (generated): Add new variable with contents from mostlyclean and
60864         realclean, remove entries duplicated in common-mostlyclean, add
60865         stamp-libm-err and stamp-version.
60866         (generated-dirs): Add libc directory.
60867         ($(inst_infodir)/libc.info): Install files from build dir.
60869         * manual/install.texi (Configuring and compiling): Adjust since
60870         the info files are not part of the tar ball anymore.
60872 2012-05-14  Andreas Jaeger  <aj@suse.de>
60874         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60875         variable.
60877 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60879         [BZ #13717]
60880         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60881         to 2.2.0 where earlier.
60882         * sysdeps/unix/sysv/linux/configure: Regenerated.
60883         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60884         Remove conditional code.
60885         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60886         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60887         Remove conditional code.
60888         [!__NR_lchown]: Likewise.
60889         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60890         [__NR_lchown]: Likewise.
60891         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60892         comment referencing __ASSUME_LCHOWN_SYSCALL.
60893         * sysdeps/unix/sysv/linux/i386/sigaction.c
60894         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60895         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60896         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60897         Remove conditional code.
60898         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60899         (__protocol_available): Remove #if 0 code.
60900         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60901         conditional code.
60902         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60903         * sysdeps/unix/sysv/linux/kernel-features.h
60904         (__ASSUME_GETCWD_SYSCALL): Don't define.
60905         (__ASSUME_REALTIME_SIGNALS): Likewise.
60906         (__ASSUME_PREAD_SYSCALL): Likewise.
60907         (__ASSUME_PWRITE_SYSCALL): Likewise.
60908         (__ASSUME_POLL_SYSCALL): Likewise.
60909         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60910         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60911         non-SPARC.
60912         (__ASSUME_SIOCGIFNAME): Don't define.
60913         (__ASSUME_MSG_NOSIGNAL): Likewise.
60914         (__ASSUME_SENDFILE): Define unconditionally.
60915         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60916         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60917         conditional code.
60918         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60919         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60920         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60921         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60922         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60923         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60924         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60926         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60927         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60929         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60930         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60932         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60933         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60935         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60936         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60938         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60941         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60944         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60949         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60950         Remove conditional code.
60951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60952         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60953         Remove conditional code.
60954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60955         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60956         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60957         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60958         Remove conditional code.
60959         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60960         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60961         Remove conditional code.
60962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60963         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60964         Remove conditional code.
60965         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60966         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60967         Remove conditional code.
60968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60969         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60970         Remove conditional code.
60971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60972         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60973         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60975         * sysdeps/unix/sysv/linux/sigaction.c
60976         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60977         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60978         * sysdeps/unix/sysv/linux/sigpending.c
60979         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60980         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60981         * sysdeps/unix/sysv/linux/sigprocmask.c
60982         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60983         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60984         * sysdeps/unix/sysv/linux/sigsuspend.c
60985         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60986         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60987         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60988         (__libc_missing_rt_sigs): Remove.
60989         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60990         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60991         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60992         Remove conditional code.
60993         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60994         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60995         return 1.
60996         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60997         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60998         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60999         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61001 2012-05-14  Andreas Jaeger  <aj@suse.de>
61003         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61004         it's not used in glibc.
61005         (__coshm1): Likewise.
61006         (__acosh1p): Likewise.
61007         (__sgn): Likewise.
61009         * manual/string.texi (Copying and Concatenation): Add missing
61010         variable in concat example.
61011         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61013 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61015         [BZ #14103]
61016         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61017         __builtin_clzl with __builtin_clzll.
61019 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61021         [BZ #14104]
61022         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61023         libc_freeres_ptr.
61025 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61027         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61028         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61029         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61030         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61032 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61034         * NEWS: Update ia64 info.
61036 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61038         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61039         used as bcopy.
61041 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61043         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61044         * sysdeps/unix/syscalls.list (dup3): Likewise.
61045         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61046         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61048 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61050         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61051         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61053 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61055         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61056         thread pointer.
61057         (TLS_IE): Use mov/add instead of movq/addq to load thread
61058         pointer.
61059         (TLS_GD_PREFIX): New.
61060         (TLS_GD): Use it.
61062 2012-05-11  David S. Miller  <davem@davemloft.net>
61064         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61065         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61066         (_FPU_SETCW): Likewise.
61068 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61070         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61071         is 32-byte aligned.
61073 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61075         [BZ #11837]
61076         * iconvdata/gb18030.c: Update tables.
61077         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61078         characters specially.
61079         (BODY for TO_LOOP): Add encoding of missing ranges.
61081 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61083         [BZ #13673]
61084         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61085         * sysdeps/mach/hurd/dup3.c: Likewise.
61086         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61087         * sysdeps/powerpc/memmove.c:: Likewise.
61089 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61092         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61094 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61096         * elf/elf.h (R_X86_64_RELATIVE64): New.
61097         (R_X86_64_NUM): Updated.
61098         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61099         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61100         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61101         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61102         tst-quad1pie tst-quad2pie
61103         (modules-names): Add tst-quadmod1 tst-quadmod2.
61104         ($(objpfx)tst-quad1): New dependency.
61105         ($(objpfx)tst-quad2): Likewise.
61106         ($(objpfx)tst-quad1pie): Likewise.
61107         ($(objpfx)tst-quad2pie): Likewise.
61108         * sysdeps/x86_64/tst-quad1.c: New file.
61109         * sysdeps/x86_64/tst-quad1pie.c: New file.
61110         * sysdeps/x86_64/tst-quad2.c: Likewise.
61111         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61112         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61113         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61114         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61115         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61117 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61119         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61120         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61121         * streams/stropts.h (t_scalar_t): Define type.
61123         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61124         (_PATH_PRESERVE): Set to "/var/lib".
61125         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61127         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61128         instead of int.
61130         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61131         if __dir_mkfile succeeded.
61133         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61134         checking for _hurd_dtablesize.  Unlock it right after having
61135         finished _hurd_dtable allocation.
61137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61139         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61140         * sysdeps/mach/hurd/configure: Regenerated.
61141         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61142         special-casing to...
61143         * sysdeps/gnu/configure.in: ... this new file.
61144         * sysdeps/unix/sysv/linux/configure: Regenerated.
61145         * sysdeps/gnu/configure: New generated file.
61147         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61148         for Linux: use nsec instead of usec, as well as:
61149         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61150         members of type struct timespec.
61151         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61152         New macros.
61153         (struct stat64): Likewise.
61154         (_STATBUF_ST_NSEC): New macro.
61155         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61157         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61158         __strtoul_internal rather than strtoul.
61160 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61162         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61163         and reject them.
61165 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61167         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61168         which preserves existing values.
61169         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61171 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61173         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61174         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61175         greater than FD_SETSIZE.
61177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61179         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61180         allocated, call __vm_protect to finish enabling the existing space, and
61181         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61182         allocate the remainder.
61184 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61186         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61187         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61189 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61191         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61192         sysdeps/mach/hurd/readlink.c.
61194         * posix/tst-sysconf.c (posix_options): Only use
61195         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61196         _POSIX_SYNCHRONIZED_IO when they are defined
61197         * sysdeps/mach/hurd/bits/posix_opt.h:
61198         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61199         (_XOPEN_REALTIME): Undefine macro.
61200         (_XOPEN_REALTIME_THREADS): Undefine macro.
61201         (_XOPEN_SHM): Undefine macro.
61202         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61203         macro to -1.
61204         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61205         macro to -1.
61206         (_POSIX_ASYNC_IO): Undefine macro.
61207         (_POSIX_PRIORITIZED_IO): Undefine macro.
61208         (_POSIX_SPIN_LOCKS): Define macro to -1.
61210         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61211         SA_NODEFER, SA_RESETHAND.
61212         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61213         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61214         F_DUPFD_CLOEXEC.
61216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61218         * elf/Makefile (pldd-modules): Define unconditionally.
61220 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61222         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61224 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61226         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61227         Return ENOENT when name is empty.
61228         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61232         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61234         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61238         Fix mlock in all cases except non-readable pages.
61239         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61240         instead of VM_PROT_ALL as parameter to __vm_wire function.
61242         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61243         (__mkdir): When path is `/', just fail with EEXIST.
61244         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61248         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61249         <sys/uio.h> (for writev).
61250         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61251         and <sys/param.h> (for MIN).
61253 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61255         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61256         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61257         if interrupted.
61259 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61261         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61262         Depend on against $(link-rpcuserlibs).
61264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61266         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61267         (__libc_stack_end): Do not use attribute_relro.
61268         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61269         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61270         to libthread-provided value.
61271         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61272         attribute_relro.
61274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61276         [BZ #3748]
61277         * bits/libc-lock.h (__libc_once_get): New macro.
61278         * sysdeps/mach/bits/libc-lock.h: Likewise.
61279         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61281         instead of using implementation details.
61283         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61284         * libio/freopen.c: Likewise.
61285         * libio/freopen64.c: Likewise.
61286         * misc/syslog.c: Likewise.
61287         * nscd/connections.c: Likewise.
61288         * nscd/netgroupcache.c: Likewise.
61289         * sysdeps/posix/getcwd.c: Likewise.
61291 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61293         * math/w_ilogbf.c: Add #include <limits.h>.
61295 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61297         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61298         path instead of returning without unlocking.
61300         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61301         immediate-write ioctls.
61302         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61304 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61306         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61307         __builtin_frame_address instead of making assumptions about the
61308         location of the return address relative to DATA.  Force early load of
61309         the return address.
61310         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61311         __builtin_frame_address.
61313         dup3 for GNU Hurd.
61314         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61315         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61316         implement dup3 and do some further code clean-ups.
61317         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61318         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61320 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61322         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61324         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61325         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61326         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61327         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61328         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61329         d->port.lock.
61331         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61332         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61333         when handler == SIG_ERR, not when handler != SIG_ERR.
61335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61337         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61338         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61339         definitions.
61341         accept4 for GNU Hurd.
61342         * include/sys/socket.h (__libc_accept4): New prototype.
61343         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61344         to implement __libc_accept4.
61345         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61346         __libc_accept4.
61347         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61349         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61350         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61351         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61352         signal-defines.sym.
61354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61356         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61358 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61360         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61361         assertion on O_CLOEXEC flag.
61362         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61363         * hurd/intern-fd.c: Likewise.
61364         * hurd/port2fd.c: Likewise.
61366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61368         [BZ #3906]
61369         * bits/in.h (IPV6_PKTINFO): Define new macro.
61370         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61372 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61374         [BZ #13954]
61375         [BZ #13955]
61376         [BZ #13956]
61377         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61378         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61379         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61380         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61381         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61382         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61383         * math/libm-test.inc (logb_test) : Additional logb tests.
61385 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61386             Andreas Jaeger  <aj@suse.de>
61388         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61389         * configure: Regenerated.
61390         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61391         * config.make.in (link-obsolete-rpc): New substituted variable.
61392         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61393         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61394         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61395         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61396         so that libc.a contains the symbols.
61397         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61398         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61399         * sunrpc/auth_none.c: Likewise.
61400         * sunrpc/auth_unix.c: Likewise.
61401         * sunrpc/authdes_prot.c: Likewise.
61402         * sunrpc/authuxprot.c: Likewise.
61403         * sunrpc/clnt_gen.c: Likewise.
61404         * sunrpc/clnt_perr.c: Likewise.
61405         * sunrpc/clnt_raw.c: Likewise.
61406         * sunrpc/clnt_simp.c: Likewise.
61407         * sunrpc/clnt_tcp.c: Likewise.
61408         * sunrpc/clnt_udp.c: Likewise.
61409         * sunrpc/clnt_unix.c: Likewise.
61410         * sunrpc/des_crypt.c: Likewise.
61411         * sunrpc/des_soft.c: Likewise.
61412         * sunrpc/get_myaddr.c: Likewise.
61413         * sunrpc/key_call.c: Likewise.
61414         * sunrpc/key_prot.c: Likewise.
61415         * sunrpc/netname.c: Likewise.
61416         * sunrpc/pm_getmaps.c: Likewise.
61417         * sunrpc/pm_getport.c: Likewise.
61418         * sunrpc/pmap_clnt.c: Likewise.
61419         * sunrpc/pmap_prot.c: Likewise.
61420         * sunrpc/pmap_prot2.c: Likewise.
61421         * sunrpc/pmap_rmt.c: Likewise.
61422         * sunrpc/publickey.c: Likewise.
61423         * sunrpc/rpc_cmsg.c: Likewise.
61424         * sunrpc/rpc_common.c: Likewise.
61425         * sunrpc/rpc_dtable.c: Likewise.
61426         * sunrpc/rpc_prot.c: Likewise.
61427         * sunrpc/rpc_thread.c: Likewise.
61428         * sunrpc/rtime.c: Likewise.
61429         * sunrpc/svc.c: Likewise.
61430         * sunrpc/svc_auth.c: Likewise.
61431         * sunrpc/svc_raw.c: Likewise.
61432         * sunrpc/svc_run.c: Likewise.
61433         * sunrpc/svc_tcp.c: Likewise.
61434         * sunrpc/svc_udp.c: Likewise.
61435         * sunrpc/svc_unix.c: Likewise.
61436         * sunrpc/svcauth_des.c: Likewise.
61437         * sunrpc/xcrypt.c: Likewise.
61438         * sunrpc/xdr.c: Likewise.
61439         * sunrpc/xdr_array.c: Likewise.
61440         * sunrpc/xdr_float.c: Likewise.
61441         * sunrpc/xdr_intXX_t.c: Likewise.
61442         * sunrpc/xdr_mem.c: Likewise.
61443         * sunrpc/xdr_rec.c: Likewise.
61444         * sunrpc/xdr_ref.c: Likewise.
61445         * sunrpc/xdr_sizeof.c: Likewise.
61446         * sunrpc/xdr_stdio.c: Likewise.
61448 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61450         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61451         change.  Update copyright years.
61453 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61455         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61457 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61458             Joseph Myers  <joseph@codesourcery.com>
61459             Paul Pluzhnikov  <ppluzhnikov@google.com>
61461         [BZ #14012]
61462         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61463         requiring rpcgen.
61464         [cross-compiling] (extra-libs): Likewise.
61465         [cross-compiling] (extra-libs-others): Likewise.
61466         [cross-compiling] (librpcsvc-routines): Likewise.
61467         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61468         [cross-compiling] (omit-deps): Likewise.
61469         (sunrpc-CPPFLAGS): New variable.
61470         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61471         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61472         (cross-rpcgen-objs): New variable.
61473         (extra-objs): Append $(cross-rpcgen-objs).
61474         ($(cross-rpcgen-objs)): New rule.
61475         ($(objpfx)cross-rpcgen): Likewise.
61476         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61477         comment.
61478         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61479         ($(objpfx)x%.stmp): Likewise.
61480         * sunrpc/proto.h [IS_IN_build] (_): Define.
61481         [IS_IN_build] (_libc_intl_domainname): Likewise.
61483 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61485         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61486         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61487         and R_X86_64_TPOFF64.
61489 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61491         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61492         sysdeps/unix/sysv/syscalls.list.
61493         (stime): Likewise.
61494         (utime): Likewise.
61495         * sysdeps/unix/sysv/syscalls.list: Remove file.
61497 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61499         [BZ #3440]
61500         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61501         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61502         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61503         (__LC_IDENTIFICATION): Make these macros useful in #if
61504         expressions, as required by C99.
61506 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61508         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61509         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61510         after this.
61512 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61514         * stdlib/longlong.h: Updated from GCC.
61516 2012-05-09  Andreas Jaeger  <aj@suse.de>
61518         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61519         default is first entry.
61520         (run_mode): Set type.
61521         (main): Remove informal message about syslog.
61522         (options): Fix typo.
61524         [BZ #14053]
61525         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61526         to asm.
61527         (lrint): Likewise.
61528         (llrintf): Likewise.
61529         (llrint): Likewise.
61530         (rint): Likewise.
61531         (rintf): Likewise.
61532         (nearbyint): Likewise.
61533         (nearbyintf): Likewise.
61535 2012-05-09  Andreas Jaeger  <aj@suse.de>
61536             Pedro Alves  <palves@redhat.com>
61538         * nscd/nscd.c (run_mode): Use enum.
61539         (main): Cleanup coding style issue.
61541 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61542             Andreas Jaeger  <aj@suse.de>
61544         * nscd/nscd.c (go_background): Replaced with...
61545         (run_mode): ... this.
61546         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61547         (options): Add -F --foreground.
61548         (main): Implement it.
61549         (parse_opt): Parse it.
61551 2012-05-09  Andreas Jaeger  <aj@suse.de>
61553         [BZ #14083]
61554         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61555         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61556         -Wconversion warning.
61557         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61558         Likewise.
61560 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61562         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61563         == 0.
61564         (LC_ALL): Use macro-int-constant.
61565         (LC_COLLATE): Likewise.
61566         (LC_CTYPE): Likewise.
61567         (LC_MESSAGES): Likewise.
61568         (LC_MONETARY): Likewise.
61569         (LC_NUMERIC): Likewise.
61570         (LC_TIME): Likewise.
61571         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61572         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61573         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61574         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61575         Specify type.
61576         [C99-based standards] (float_t): Expect type.
61577         [C99-based standards] (double_t): Expect type.
61578         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61579         type.
61580         [C99-based standards] (HUGE_VALL): Likewise.
61581         [C99-based standards] (INFINITY): Likewise.
61582         [C99-based standards] (NAN): Likewise.
61583         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61584         [C99-based standards] (FP_NAN): Likewise.
61585         [C99-based standards] (FP_NORMAL): Likewise.
61586         [C99-based standards] (FP_SUBNORMAL): Likewise.
61587         [C99-based standards] (FP_ZERO): Likewise.
61588         [C99-based standards] (FP_FAST_FMA): Use
61589         optional-macro-int-constant.  Specify type.  Require == 1.
61590         [C99-based standards] (FP_FAST_FMAF): Likewise.
61591         [C99-based standards] (FP_FAST_FMAL): Likewise.
61592         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61593         [C99-based standards] (FP_ILOGBNAN): Likewise.
61594         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61595         Specify type.
61596         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61597         [C99-based standards] (math_errhandling): Specify type.
61598         [ISO99 || ISO11] (signgam): Do not allow.
61599         [non-C99-based standards] (copysignf): Do not allow.
61600         [non-C99-based standards] (exp2f): Likewise.
61601         [non-C99-based standards] (log2f): Likewise.
61602         [non-C99-based standards] (modff): Allow.
61603         [non-C99-based standards] (erff): Do not allow.
61604         [non-C99-based standards] (erfcf): Likewise.
61605         [non-C99-based standards] (gammaf): Likewise.
61606         [non-C99-based standards] (hypotf): Likewise.
61607         [non-C99-based standards] (j0f): Likewise.
61608         [non-C99-based standards] (j1f): Likewise.
61609         [non-C99-based standards] (jnf): Likewise.
61610         [non-C99-based standards] (lgammaf): Likewise.
61611         [non-C99-based standards] (tgammaf): Likewise.
61612         [non-C99-based standards] (y0f): Likewise.
61613         [non-C99-based standards] (y1f): Likewise.
61614         [non-C99-based standards] (ynf): Likewise.
61615         [non-C99-based standards] (isnanf): Likewise.
61616         [non-C99-based standards] (acoshf): Likewise.
61617         [non-C99-based standards] (asinhf): Likewise.
61618         [non-C99-based standards] (atanhf): Likewise.
61619         [non-C99-based standards] (cbrtf): Likewise.
61620         [non-C99-based standards] (expm1f): Likewise.
61621         [non-C99-based standards] (ilogbf): Likewise.
61622         [non-C99-based standards] (log1pf): Likewise.
61623         [non-C99-based standards] (logbf): Likewise.
61624         [non-C99-based standards] (nextafterf): Likewise.
61625         [non-C99-based standards] (remainderf): Likewise.
61626         [non-C99-based standards] (rintf): Likewise.
61627         [non-C99-based standards] (scalbf): Likewise.
61628         [non-C99-based standards] (copysignl): Likewise.
61629         [non-C99-based standards] (exp2l): Likewise.
61630         [non-C99-based standards] (log2l): Likewise.
61631         [non-C99-based standards] (modfl): Allow.
61632         [non-C99-based standards] (erfl): Do not allow.
61633         [non-C99-based standards] (erfcl): Likewise.
61634         [non-C99-based standards] (gammal): Likewise.
61635         [non-C99-based standards] (hypotl): Likewise.
61636         [non-C99-based standards] (j0l): Likewise.
61637         [non-C99-based standards] (j1l): Likewise.
61638         [non-C99-based standards] (jnl): Likewise.
61639         [non-C99-based standards] (lgammal): Likewise.
61640         [non-C99-based standards] (tgammal): Likewise.
61641         [non-C99-based standards] (y0l): Likewise.
61642         [non-C99-based standards] (y1l): Likewise.
61643         [non-C99-based standards] (ynl): Likewise.
61644         [non-C99-based standards] (isnanl): Likewise.
61645         [non-C99-based standards] (acoshl): Likewise.
61646         [non-C99-based standards] (asinhl): Likewise.
61647         [non-C99-based standards] (atanhl): Likewise.
61648         [non-C99-based standards] (cbrtl): Likewise.
61649         [non-C99-based standards] (expm1l): Likewise.
61650         [non-C99-based standards] (ilogbl): Likewise.
61651         [non-C99-based standards] (log1pl): Likewise.
61652         [non-C99-based standards] (logbl): Likewise.
61653         [non-C99-based standards] (nextafterl): Likewise.
61654         [non-C99-based standards] (remainderl): Likewise.
61655         [non-C99-based standards] (rintl): Likewise.
61656         [non-C99-based standards] (scalbl): Likewise.
61657         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61658         [non-C99-based standards] (FP_*): Do not allow.
61659         [C99-based standards] (FP_*): Change to
61660         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61661         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61662         allow.
61663         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61664         (SIG_ERR): Likewise.
61665         [X/Open-based standards] (SIG_HOLD): Likewise.
61666         (SIG_IGN): Likewise.
61667         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61668         positive value.
61669         (SIGFPE): Likewise.
61670         (SIGILL): Likewise.
61671         (SIGINT): Likewise.
61672         (SIGSEGV): Likewise.
61673         (SIGTER): Likewise.
61674         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61675         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61676         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61677         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61678         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61679         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61680         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61681         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61682         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61683         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61684         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61685         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61686         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61687         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61688         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61689         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61690         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61691         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61692         [X/Open-based standards] (SIGTRAP): Likewise.
61693         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61694         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61695         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61696         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61697         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61698         allow.
61700 2012-05-08  Ian Wienand  <ianw@vmware.com>
61702         [BZ #14080]
61703         * time/tzset.c (__tzset_parse_tz): Update default rules for
61704         daylight time changes in the Energy Policy Act of 2005.
61706 2012-05-09  Andreas Jaeger  <aj@suse.de>
61708         [BZ #13983]
61709         * elf/ldconfig.c (parse_conf): Change string to make clear that
61710         ldconfig only issued a warning if ld.so.conf does not exist.
61712 2012-05-08  David S. Miller  <davem@davemloft.net>
61714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61715         movxtod instead of popping the value on the stack.
61717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61719 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61721         * config.h.in: Add HAVE_ARM_PCS_VFP.
61723 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61725         [BZ #13979]
61726         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61727         checking but the checks are disabled for any reason.
61729 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61731         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61732         and ELF64_R_TYPE with ELFW(R_TYPE).
61734 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61736         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61737         (ulimit): Likewise.
61739         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61740         (settimeofday): Likewise.
61742 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61744         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61745         a struct th_u2 inside the union, and move tu_block/tu_code into
61746         a new th_u3 union of tu_block/tu_code inside of that.  Move
61747         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61748         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61749         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61750         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61751         (th_stuff): Change to th_u1.tu_stuff.
61752         (th_data): Define.
61753         (th_msg): Change to th_u1.th_u2.tu_data.
61755 2012-05-07  David S. Miller  <davem@davemloft.net>
61757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61759         [BZ #14074]
61760         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61761         (SETUP_PIC_REG): Use it.
61762         (SETUP_PIC_REG_LEAF): Use it.
61764 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61766         [BZ #13885]
61767         [BZ #13923]
61768         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61769         USE_AS_EXPM1L.
61770         (EXPL_FINITE): Likewise.
61771         (FLDLOG): Likewise.
61772         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61773         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61774         e_expl.S.
61775         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61776         USE_AS_EXPM1L.
61777         (EXPL_FINITE): Likewise.
61778         (FLDLOG): Likewise.
61779         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61780         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61781         e_expl.S.
61782         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61783         test of -max_value argument for long double.
61784         * sysdeps/i386/fpu/libm-test-ulps: Update.
61785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61787 2012-05-06  David S. Miller  <davem@davemloft.net>
61789         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61790         quad soft-float symbols whose references which are compiler
61791         generated.
61792         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61794 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61796         [BZ #13884]
61797         [BZ #13914]
61798         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61799         USE_AS_EXP10L.
61800         (EXPL_FINITE): Likewise.
61801         (FLDLOG): Likewise.
61802         (c0): Likewise.
61803         (c1): Likewise.
61804         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61805         Adjust comments for base varying.
61806         (__expl_finite): Change alias to EXPL_FINITE.
61807         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61808         e_expl.S.
61809         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61810         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61811         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61812         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61813         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61814         USE_AS_EXP10L.
61815         (EXPL_FINITE): Likewise.
61816         (FLDLOG): Likewise.
61817         (c0): Likewise.
61818         (c1): Likewise.
61819         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61820         Adjust comments for base varying.
61821         (__expl_finite): Change alias to EXPL_FINITE.
61822         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61823         tests for bugs.
61824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61826         [BZ #14064]
61827         * math/libm-test.inc (check_float_internal): Correct ulp
61828         calculation for subnormal expected results.
61830 2012-05-06  Andreas Jaeger  <aj@suse.de>
61832         * Makeconfig (+math-flags): New, set to -frounding-math.
61833         (+cflags): Add +math-flags so that all of glibc gets compiled with
61834         it.
61836         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61838 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61840         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61841         Disable one test.
61843         [BZ #13787]
61844         [BZ #13922]
61845         [BZ #14036]
61846         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61847         (__ieee754_expl): Allow for and saturate large arguments.
61848         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61849         (u_threshold): Likewise.
61850         (__exp): Call __ieee754_exp before checking for overflow and
61851         underflow.
61852         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61853         (u_threshold): Likewise.
61854         (__expf): Call __ieee754_expf before checking for overflow and
61855         underflow.
61856         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61857         (u_threshold): Likewise.
61858         (__expl): Call __ieee754_expl before checking for overflow and
61859         underflow.
61860         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61861         (__ieee754_expl): Allow for and saturate large arguments.
61862         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61863         missing overflow exception on overflow.
61864         (expm1_test): Do not allow missing overflow exception on overflow.
61866         * sysdeps/i386/fpu/e_expl.c: Move to ...
61867         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61868         rather than using inline asm.
61869         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61870         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61871         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61873         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61874         (nice): Likewise.
61875         (poll): Likewise.
61876         (signal): Likewise.
61877         (time): Likewise.
61878         (times): Likewise.
61880 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61882         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61883         sysdeps/unix/common/syscalls.list.
61884         (fchmod): Likewise.
61885         (fchown): Likewise.
61886         (ftruncate): Likewise.
61887         (getrusage): Likewise.
61888         (gettimeofday): Likewise.
61889         (setpgid): Likewise.
61890         (setregid): Likewise.
61891         (setreuid): Likewise.
61892         (sigaction): Likewise.
61893         (truncate): Likewise.
61894         (vhangup): Likewise.
61895         * sysdeps/unix/common/syscalls.list: Remove file.
61896         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61897         * sysdeps/unix/sysv/linux/Implies: Likewise.
61899 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61901         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61903         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61904         Moved to ...
61905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61906         Here.
61907         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61908         to ...
61909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61910         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61911         to ...
61912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61913         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61914         to ...
61915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61916         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61917         to ...
61918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61919         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61920         to ...
61921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61922         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61923         to ...
61924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61925         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61926         to ...
61927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61928         Here.
61929         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61930         to ...
61931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61932         Here.
61933         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61934         to ...
61935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61936         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61937         Moved to ...
61938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61939         Here.
61940         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61941         to ...
61942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61944 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61946         * sysdeps/unix/common/bits/dirent.h: Remove file.
61947         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61949         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61950         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61951         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61952         * sysdeps/unix/bsd/isatty.c: Likewise.
61953         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61954         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61955         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61957 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61959         [BZ #13563]
61960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61961         long double comparison inaccuracies.
61962         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61965 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61967         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61968         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61970 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61972         [BZ #14049]
61973         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61974         nonzero digits before rounding a hex value.
61975         * stdlib/tst-strtod.c (tests): Add another test.
61977 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61979         * sysdeps/s390/fpu/libm-test-ulps: Update.
61981 2012-05-03  Andreas Jaeger  <aj@suse.de>
61983         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61984         does not get optimized out.
61985         (malloc_opt_barrier): New.
61987 2012-05-03  Andreas Jaeger  <aj@suse.de>
61988             Roland McGrath  <roland@hack.frob.com>
61990         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61991         intermediate file deletion.
61992         (generated): Add .symlist files.
61994 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61996         [BZ #13775]
61997         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61998         Redirect under this condition.
61999         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62000         [__USE_GNU] (__dprintf_chk): Not under this condition.
62001         [__USE_GNU] (__vdprintf_chk): Likewise.
62002         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62003         under this condition.
62004         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62005         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62006         [__USE_XOPEN2K8] (vdprintf): Likewise.
62007         [__USE_GNU] (__dprintf_chk): Not under this condition.
62008         [__USE_GNU] (__vdprintf_chk): Likewise.
62009         [__USE_GNU] (dprintf): Likewise.
62010         [__USE_GNU] (vdprintf): Likewise.
62012 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62014         * elf/Makefile (common-generated): Set this instead of generated for
62015         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62016         $(all-built-dso)-derived lists.
62018 2012-05-03  Andreas Jaeger  <aj@suse.de>
62020         * sysdeps/i386/fpu/libm-test-ulps: Update.
62022         * FAQ: Removed.
62023         * FAQ.in: Likewise.
62024         * scripts/gen-FAQ.pl: Likewise.
62025         * manual/install.texi (Installation): Point to online location of
62026         FAQ.
62027         * Makefile (files-for-dist): Remove FAQ.
62028         (FAQ): Remove.
62030 2012-05-02  Allan McRae  <allan@archlinux.org>
62032         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62033         (LDFLAGS-reldepmod5.so): Likewise.
62034         (LDFLAGS-reldep6mod1.so): Likewise.
62035         (LDFLAGS-reldep6mod4.so): Likewise.
62036         (LDFLAGS-reldep8mod3.so): Likewise.
62037         (LDFLAGS-unload4mod1.so): Likewise.
62038         (LDFLAGS-unload4mod2.so): Likewise.
62039         (LDFLAGS-tst-initorder): Likewise.
62040         (LDFLAGS-tst-initordera2.so): Likewise.
62041         (LDFLAGS-tst-initordera3.so): Likewise.
62042         (LDFLAGS-tst-initordera4.so): Likewise.
62043         (LDFLAGS-tst-initorderb2.so): Likewise.
62044         (LDFLAGS-noload): Likewise.
62045         (LDFLAGS-next): Likewise.
62046         (LDFLAGS-order2mod1.so): Likewise.
62047         (LDFLAGS-order2mod2.so): Likewise.
62048         (LDFLAGS-tst-initorder2): Likewise.
62049         (LDFLAGS-tst-initorder2a.so): Likewise.
62050         (LDFLAGS-tst-initorder2b.so): Likewise.
62051         (LDFLAGS-tst-initorder2c.so): Likewise.
62052         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62054 2012-05-02  David S. Miller  <davem@davemloft.net>
62056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62058 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62060         [BZ #14055]
62061         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62063 2012-05-02  Andreas Jaeger  <aj@suse.de>
62065         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62066         since we manipulate rounding mode.
62067         (CPPFLAGS-test-idouble.c): Likewise.
62068         (CPPFLAGS-test-ifloat.c): Likewise.
62069         (CFLAGS-test-ldouble.c): Likewise.
62070         (CFLAGS-test-double.c): Likewise.
62071         (CFLAGS-test-float.c): Likewise.
62072         (CFLAGS-test-misc.c): Likewise.
62073         (CFLAGS-test-test-fenv.c): Likewise.
62075 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62077         [BZ #2550]
62078         [BZ #2570]
62079         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62080         comparisons to determine direction to adjust input.
62082 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62084         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62085         output to the target.
62087         * scripts/localplt.awk: New file.
62088         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62089         (check-localplt-CFLAGS): Variable removed.
62090         ($(all-built-dso:=.jmprel)): New static pattern rule.
62091         (generated): Add those targets.
62092         (localplt-built-dso): New variable.
62093         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62095         * elf/check-localplt.c: File removed.
62097         * scripts/check-execstack.awk: New file.
62098         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62099         (check-execstack-CFLAGS): Variable removed.
62100         ($(objpfx)check-execstack.h): Target removed.
62101         ($(objpfx)execstack-default): New target.
62102         (generated): Add that instead of check-execstack.h.
62103         ($(all-built-dso:=.phdr)): New static pattern rule.
62104         (generated): Add those targets.
62105         * elf/check-execstack.c: File removed.
62107         * scripts/check-textrel.awk: New file.
62108         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62109         (check-textrel-CFLAGS): Variable removed.
62110         (all-built-dso): Use := to define.o
62111         ($(all-built-dso:=.dyn)): New static pattern rule.
62112         (generated): Add those targets.
62113         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62114         * config.make.in (READELF): New substituted variable.
62115         * elf/check-textrel.c: File removed.
62117 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62119         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62120         allow.
62121         * conform/data/ctype.h-data [C99-based standards] (isblank):
62122         Expect function.
62123         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62124         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62125         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62126         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62127         Specify type.  Require positive value.
62128         (EILSEQ): Likewise.
62129         (ERANGE): Likewise.
62130         [ISO || POSIX] (EILSEQ): Do not expect.
62131         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62132         Specify type.  Require positive value.
62133         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62134         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62135         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62136         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62137         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62138         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62139         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62140         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62141         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62142         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62143         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62144         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62145         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62146         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62147         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62148         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62149         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62150         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62151         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62152         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62153         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62154         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62155         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62156         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62157         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62158         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62159         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62160         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62161         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62162         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62163         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62164         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62165         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62166         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62167         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62168         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62169         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62170         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62171         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62172         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62173         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62174         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62175         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62176         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62177         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62178         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62179         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62180         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62181         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62182         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62183         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62184         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62185         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62186         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62187         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62188         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62189         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62190         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62191         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62192         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62193         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62194         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62195         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62196         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62197         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62198         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62199         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62200         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62201         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62202         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62203         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62204         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62205         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62206         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62207         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62208         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62209         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62210         Require >= 2.
62211         (FLT_ROUNDS): Expect as macro, not constant.
62212         (FLT_MANT_DIG): Use macro-int-constant.
62213         (DBL_MANT_DIG): Likewise.
62214         (LDBL_MANT_DIG): Likewise.
62215         (FLT_DIG): Likewise.
62216         (DBL_DIG): Likewise.
62217         (LDBL_DIG): Likewise.
62218         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62219         (DBL_MIN_EXP): Likewise.
62220         (LDBL_MIN_EXP): Likewise.
62221         (FLT_MAX_EXP): Use macro-int-constant.
62222         (DBL_MAX_EXP): Likewise.
62223         (LDBL_MAX_EXP): Likewise.
62224         (FLT_MAX_10_EXP): Likewise.
62225         (DBL_MAX_10_EXP): Likewise.
62226         (LDBL_MAX_10_EXP): Likewise.
62227         (FLT_MAX): Use macro-constant.
62228         (DBL_MAX): Likewise.
62229         (LDBL_MAX): Likewise.
62230         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62231         (DBL_EPSILON): Likewise.
62232         (LDBL_EPSILON): Likewise.
62233         (FLT_MIN): Likewise.
62234         (DBL_MIN): Likewise.
62235         (LDBL_MIN): Likewise.
62236         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62237         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62238         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62239         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62240         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62241         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62242         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62243         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62244         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62245         [ISO11] (FLT_TRUE_MIN): Likewise.
62246         [ISO11] (LDBL_TRUE_MIN): Likewise.
62247         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62248         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62249         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62250         (SCHAR_MAX): Likewise.
62251         (UCHAR_MAX): Likewise.
62252         (CHAR_MIN): Likewise.
62253         (CHAR_MAX): Likewise.
62254         (MB_LEN_MAX): Use macro-int-constant.
62255         (SHRT_MIN): Use macro-int-constant.  Specify type.
62256         (SHRT_MAX): Likewise.
62257         (USHRT_MAX): Likewise.
62258         (INT_MAX): Likewise.
62259         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62260         bound negative.
62261         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62262         bound with "U".
62263         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62264         bound with "L".
62265         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62266         bound negative.  Suffix upper bound with "L".
62267         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62268         bound with "UL".
62269         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62270         Specify type.
62271         [C99-based standards] (LLONG_MAX): Likewise.
62272         [C99-based standards] (ULLONG_MAX): Likewise.
62273         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62274         == 0.
62275         [ISO11] (max_align_t): Require type.
62276         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62278         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62279         from $CFLAGS, without defining away __attribute__ calls.
62280         (checknamespace): Use $CFLAGS_namespace.
62282         * conform/conformtest.pl (@keywords): Only include C99 keywords
62283         for standards based on C99 or C11.
62285         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62286         Disable tests.
62287         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62288         UNIX98]: Likewise.
62290         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62291         usability of symbols in #if.
62293         * conform/conformtest.pl: If macro or constant types start
62294         "promoted:", expect the symbol to be of the following type
62295         promoted by the integer promotions.
62297         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62298         in one place.  Also handle "macro-constant".
62300         * conform/conformtest.pl: Only accept expected macro values with
62301         "==".  Parse all "macro" lines in one place.
62302         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62304         * conform/conformtest.pl: Handle braced types on "constant" lines
62305         instead of handling "typed-constant".
62306         * conform/data/signal.h-data: Use "constant" instead of
62307         "typed-constant".
62309         * conform/conformtest.pl: Handle "optional-" at start of lines in
62310         one place rather than duplicating several cases.  Handle each
62311         format of "macro" line with initial "optional-".
62313         * conform/conformtest.pl: Only accept expected constant or
62314         optional-constant values with "==".  Parse all "constant" lines in
62315         one place.  Parse all "optional-constant" lines in one place.
62316         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62317         * conform/data/fmtmsg.h-data: Likewise.
62318         * conform/data/netinet/in.h-data: Likewise.
62319         * conform/data/tar.h-data: Likewise.
62320         * conform/data/limits.h-data: Use "==" form on "constant" and
62321         "optional-constant" lines.
62323         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62324         Use -std=c99 for XOPEN2K.
62325         (@knownproblems): Remove.
62326         (newtoken): Don't check %isknown.
62328         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62329         Do not expect macro.
62330         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62331         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62332         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62333         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62334         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62335         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62336         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62337         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62338         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62339         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62340         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62341         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62342         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62343         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62344         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62345         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62346         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62347         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62348         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62349         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62350         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62351         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62352         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62353         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62354         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62355         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62356         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62357         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62358         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62359         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62360         [XPG3] (acosh): Likewise.
62361         [XPG3] (asinh): Likewise.
62362         [XPG3] (atanh): Likewise.
62363         [XPG3] (cbrt): Likewise.
62364         [XPG3] (expm1): Likewise.
62365         [XPG3] (ilogb): Likewise.
62366         [XPG3] (log1p): Likewise.
62367         [XPG3] (logb): Likewise.
62368         [XPG3] (nextafter): Likewise.
62369         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62370         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62371         [XPG3] (remainder): Likewise.
62372         [XPG3] (rint): Likewise.
62373         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62374         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62375         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62376         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62377         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62378         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62379         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62380         [UNIX98 || XOPEN2K] (scalb): Expect.
62381         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62382         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62383         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62384         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62385         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62386         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62387         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62388         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62389         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62390         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62391         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62392         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62393         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62394         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62395         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62396         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62397         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62398         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62399         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62400         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62401         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62402         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62403         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62404         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62405         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62406         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62407         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62408         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62409         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62410         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62411         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62412         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62413         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62414         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62415         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62416         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62417         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62418         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62419         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62420         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62421         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62422         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62423         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62424         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62425         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62426         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62427         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62428         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62429         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62430         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62431         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62432         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62433         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62434         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62435         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62436         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62437         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62438         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62439         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62440         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62441         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62442         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62443         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62444         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62445         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62446         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62447         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62448         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62449         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62450         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62451         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62452         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62453         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62454         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62455         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62456         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62457         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62458         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62459         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62460         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62461         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62462         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62463         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62464         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62465         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62466         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62467         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62468         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62469         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62470         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62471         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62472         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62473         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62474         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62475         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62476         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62477         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62478         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62479         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62480         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62481         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62482         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62483         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62484         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62485         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62486         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62487         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62488         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62489         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62490         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62491         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62492         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62493         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62494         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62495         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62496         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62497         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62498         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62499         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62500         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62501         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62502         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62503         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62504         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62505         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62506         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62507         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62508         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62509         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62510         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62511         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62512         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62513         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62514         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62515         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62516         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62517         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62519         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62520         _XOPEN_SOURCE_EXTENDED for XPG4.
62522         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62524         * Makeconfig (localtime): Remove variable.
62525         (inst_localtime-file): Likewise.
62527 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62530         Update.
62531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62532         Update.
62533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62534         Update.
62535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62536         Update.
62537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62538         Update.
62539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62540         Update.
62541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62542         Update.
62543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62544         Update.
62545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62546         Update.
62548 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62550         [BZ #2550]
62551         [BZ #2570]
62552         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62553         comparisons to determine direction to adjust input.
62554         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62555         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62556         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62557         Likewise.
62558         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62559         Likewise.
62560         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62561         Likewise.
62562         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62563         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62564         Likewise.
62565         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62566         Likewise.
62567         * math/libm-test.inc (nexttoward_test): Add more tests.
62569 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62571         [BZ #14040]
62572         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62573         in version GLIBC_2.1, not GLIBC_2.0.
62574         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62575         Likewise.
62577 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62579         [BZ #13942]
62580         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62581         (1 - x) * (1 + x).
62582         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62583         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62584         * math/libm-test.inc (acos_test): Add more tests.
62585         (asin_test): Likewise.
62586         * sysdeps/i386/fpu/libm-test-ulps: Update.
62587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62589         [BZ #14034]
62590         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62591         of square root.
62592         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62593         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62594         * math/libm-test.inc (acos_test_tonearest): New function.
62595         (acos_test_towardzero): Likewise.
62596         (acos_test_downward): Likewise.
62597         (acos_test_upward): Likewise.
62598         (asin_test_tonearest): Likewise.
62599         (asin_test_towardzero): Likewise.
62600         (asin_test_downward): Likewise.
62601         (asin_test_upward): Likewise.
62602         (main): Call the new functions.
62603         * sysdeps/i386/fpu/libm-test-ulps: Update.
62604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62606         [BZ #13884]
62607         [BZ #13924]
62608         * math/e_exp10.c: Include <float.h>.
62609         (__ieee754_exp10): Handle underflow here rather than multiplying
62610         large negative argument by M_LN10.
62611         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62612         of __ieee754_expf.
62613         * math/e_exp10l.c: Include <float.h>.
62614         (__ieee754_exp10l): Handle underflow here rather than multiplying
62615         large negative argument by M_LN10l.
62616         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62617         spurious overflow exception on underflow.
62619 2012-04-29  Marek Polacek  <polacek@redhat.com>
62621         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62622         (__fortify_function): New macro.
62623         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62624         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62625         __extern_always_inline.
62626         * libio/bits/stdio2.h: Likewise.
62627         * libio/bits/stdio.h: Likewise.
62628         * string/string.h: Likewise.
62629         * string/bits/string3.h: Likewise.
62630         * include/stdio.h: Likewise.
62631         * stdlib/bits/stdlib.h: Likewise.
62632         * stdlib/stdlib.h: Likewise.
62633         * rt/bits/mqueue2.h: Likewise.
62634         * rt/mqueue.h: Likewise.
62635         * posix/bits/unistd.h: Likewise.
62636         * posix/unistd.h: Likewise.
62637         * io/bits/poll2.h: Likewise.
62638         * io/bits/fcntl2.h: Likewise.
62639         * io/fcntl.h: Likewise.
62640         * io/sys/poll.h: Likewise.
62641         * misc/bits/syslog.h: Likewise.
62642         * misc/bits/syslog-ldbl.h: Likewise.
62643         * misc/sys/syslog.h: Likewise.
62644         * socket/bits/socket2.h: Likewise.
62645         * socket/sys/socket.h: Likewise.
62646         * debug/tst-chk1.c: Likewise.
62647         * wcsmbs/bits/wchar2.h: Likewise.
62648         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62649         * wcsmbs/wchar.h: Likewise.
62651 2012-04-29  Andreas Jaeger  <aj@suse.de>
62653         * Makerules (tests): Remove enable-check-abi protection.
62654         (check-abi-warn): Remove.
62655         (check-abi-%): Remove check-abi-warn usage.
62657         * configure.in: Remove check-abi configure option.
62658         * configure: Regenerated.
62659         * config.make.in (enable-check-abi): Remove.
62661 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62663         [BZ #14033]
62664         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62665         double functions to double *_finite functions.
62667         [BZ #13941]
62668         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62669         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62670         LDBL_MIN_EXP.
62671         * stdio-common/Makefile (tests): Add tst-sprintf3.
62672         * stdio-common/tst-sprintf3.c: New file.
62674         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62675         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62677 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62679         * conform/conformtest.pl: Remove duplicate typed-constant
62680         handling.
62682 2012-04-28  David S. Miller  <davem@davemloft.net>
62684         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62685         (check-abi-%): Remove AWK script prerequisite and explicit
62686         abilist directory.
62687         (check-abi): Rewrite to just diff the symlist with the abilist.
62688         (config-tls, config-abi-config): Delete, no longer used.
62689         (update-abi-%): Remove AWK script and explicit abilist directory.
62690         (update-abi): Rewrite to simply compare and conditionally copy the
62691         symlist and the sysdep abilist file.  Remove update-abi-config
62692         checks.
62693         * abilist/ld.abilist: Remove.
62694         * abilist/libBrokenLocale.abilist: Remove.
62695         * abilist/libanl.abilist: Remove.
62696         * abilist/libcrypt.abilist: Remove.
62697         * abilist/libdl.abilist: Remove.
62698         * abilist/librt.abilist: Remove.
62699         * abilist/libthread_db.abilist: Remove.
62700         * abilist/libutil.abilist: Remove.
62701         * scripts/extract-abilist.awk: Remove.
62702         * scripts/merge-abilist.awk: Remove.
62703         * sysdeps/generic/libcidn.abilist: New file.
62704         * sysdeps/generic/libnss_compat.abilist: New file.
62705         * sysdeps/generic/libnss_db.abilist: New file.
62706         * sysdeps/generic/libnss_dns.abilist: New file.
62707         * sysdeps/generic/libnss_files.abilist: New file.
62708         * sysdeps/generic/libnss_hesiod.abilist: New file.
62709         * sysdeps/generic/libnss_nis.abilist: New file.
62710         * sysdeps/generic/libnss_nisplus.abilist: New file.
62711         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62712         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62713         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62714         file.
62715         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62716         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62717         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62718         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62719         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62720         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62721         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62722         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62723         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62724         file.
62725         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62726         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62727         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62728         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62729         file.
62730         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62731         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62732         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62733         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62734         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62735         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62736         file.
62737         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62738         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62739         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62740         file.
62741         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62743         New file.
62744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62745         New file.
62746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62747         New file.
62748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62749         New file.
62750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62751         New file.
62752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62753         New file.
62754         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62755         New file.
62756         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62757         New file.
62758         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62759         New file.
62760         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62761         New file.
62762         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62763         New file.
62764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62765         New file.
62766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62767         New file.
62768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62769         file.
62770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62771         New file.
62772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62773         New file.
62774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62775         file.
62776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62777         New file.
62778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62779         New file.
62780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62781         file.
62782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62783         New file.
62784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62785         New file.
62786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62787         New file.
62788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62789         New file.
62790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62791         New file.
62792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62793         New file.
62794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62796         file.
62797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62798         New file.
62799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62800         file.
62801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62802         file.
62803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62804         file.
62805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62806         file.
62807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62808         file.
62809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62810         New file.
62811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62812         file.
62813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62814         file.
62815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62816         New file.
62817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62818         file.
62819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62821         file.
62822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62823         New file.
62824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62825         file.
62826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62827         file.
62828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62829         file.
62830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62831         file.
62832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62833         file.
62834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62835         New file.
62836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62837         file.
62838         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62839         file.
62840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62841         New file.
62842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62843         file.
62844         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62845         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62846         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62847         file.
62848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62849         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62850         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62852         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62853         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62854         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62855         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62856         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62857         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62860         file.
62861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62862         New file.
62863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62864         file.
62865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62866         file.
62867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62868         file.
62869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62870         file.
62871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62872         file.
62873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62874         New file.
62875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62876         New file.
62877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62878         file.
62879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62880         New file.
62881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62882         file.
62883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62885         file.
62886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62887         New file.
62888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62889         file.
62890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62891         file.
62892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62893         file.
62894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62895         file.
62896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62897         file.
62898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62899         New file.
62900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62901         New file.
62902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62903         file.
62904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62905         New file.
62906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62907         file.
62909 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62911         * conform/conformtest.pl: Fix typo in handling typed-constant from
62912         allow-header.
62914 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62916         * README: Cut down references to pre-2.6 Linux kernels and
62917         Linuxthreads.  Update lists of configurations in libc and ports
62918         and sort alphabetically.  Say "or newer" with Linux kernel version
62919         requirements.
62921         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62923 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62925         [BZ #887]
62926         * math/libm-test.inc (logb_test_downward): New test to expose
62927         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62928         rounding mode.
62930 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62932         [BZ #14027]
62933         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62934         to be done.
62935         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62936         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62938 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62940         * sysdeps/unix/i386/brk.S: Remove file.
62941         * sysdeps/unix/i386/dl-brk.S: Likewise.
62942         * sysdeps/unix/i386/pipe.S: Likewise.
62943         * sysdeps/unix/i386/sigreturn.S: Likewise.
62944         * sysdeps/unix/i386/syscall.S: Likewise.
62945         * sysdeps/unix/i386/vfork.S: Likewise.
62946         * sysdeps/unix/i386/wait.S: Likewise.
62948         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62949         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62951         * configure.in (arm*-none*): Do not allow without
62952         --enable-hacker-mode.
62953         (netbsd*): Remove case setting base_os.
62954         (386bsd*): Likewise.
62955         (freebsd*): Likewise.
62956         (bsdi*): Likewise.
62957         (osf*): Likewise.
62958         (sunos*): Likewise.
62959         (ultrix*): Likewise.
62960         (newsos*): Likewise.
62961         (dynix*): Likewise.
62962         (*bsd*): Likewise.
62963         (sysv*): Likewise.
62964         (isc*): Likewise.
62965         (esix*): Likewise.
62966         (sco*): Likewise.
62967         (minix*): Likewise.
62968         (irix4*): Likewise.
62969         (irix6*): Likewise.
62970         (solaris[2-9]*): Likewise.
62971         (none): Likewise.
62972         * configure: Regenerated.
62974 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62976         [BZ #11521]
62977         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62978         overflow or cancellation in calculating denominator.
62979         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62980         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62981         down expression to avoid unexpected rounding in newer GCCs.
62982         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62984 2012-04-26  David S. Miller  <davem@davemloft.net>
62986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62987         long-double compat symbols.
62988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63002 2012-04-25  David S. Miller  <davem@davemloft.net>
63004         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63005         HWCAP_* values only after the memory barriers have been defined.
63006         (atomic_full_barrier): Define.
63007         (atomic_read_barrier): Define.
63008         (atomic_write_barrier): Define.
63010 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63012         * shlib-versions: Add libgcc_s version information.
63013         * sysdeps/generic/libgcc_s.h: Remove.
63014         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63015         libgcc_s.h.
63016         * sysdeps/gnu/unwind-resume.c: Likewise.
63017         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63019 2012-04-25  David S. Miller  <davem@davemloft.net>
63021         * sysdeps/unix/sparc/brk.S: Delete.
63022         * sysdeps/unix/sparc/dl-brk.S: Delete.
63023         * sysdeps/unix/sparc/pipe.S: Delete.
63024         * sysdeps/unix/sparc/sysdep.S: Delete.
63025         * sysdeps/unix/sparc/sysdep.h: Delete.
63026         * sysdeps/unix/sparc/vfork.S: Delete.
63027         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63028         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63029         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63030         (ret_ERRVAL, r0, r1, MOVE): Define.
63031         (JUMPTARGET): Remove.
63032         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63033         sysdeps/unix/sparc/sysdep.h
63034         (ENTRY, END): Remove.
63035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63037 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63039         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63040         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63041         -DIS_IN_build.
63043         * timezone/README: Update upstream location and email address for
63044         tzcode and tzdata.
63045         * timezone/zdump.c: Update from tzcode 2012b.
63046         * timezone/zic.c: Likewise.
63048         * configure.in (libc_cv_as_needed): Remove test.
63049         * configure: Regenerated.
63050         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63051         conditional definition.
63052         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63053         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63054         * config.make.in (have-as-needed): Remove variable.
63056 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63057             Paul Pluzhnikov  <ppluzhnikov@google.com>
63059         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63060         strings correctly.
63062 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63064         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63065         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63066         * sysdeps/sh/strlen.S: Likewise.
63068 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63070         * sysdeps/unix/fork.S: Remove file.
63071         * sysdeps/unix/i386/fork.S: Likewise.
63072         * sysdeps/unix/sparc/fork.S: Likewise.
63074         * sysdeps/unix/system.c: Remove file.
63075         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63077         * sysdeps/unix/getegid.S: Remove file.
63078         * sysdeps/unix/geteuid.S: Likewise.
63080 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63082         * scripts/check-localplt.awk: New file.
63083         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63084         of diff.
63085         * scripts/data/localplt-generic.data: Add a comment.
63087         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63088         NODE when __dir_mkfile failed.
63089         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63090         Reported by Ludovic Courtès <ludo@gnu.org>.
63092 2012-04-24  Andreas Jaeger  <aj@suse.de>
63094         * Makerules (common-clean): Also remove gen-as-const-headers
63095         files.
63097 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63099         * Makerules (native-compile): Do not change working directory for
63100         build.  Use $(OUTPUT_OPTION) in command.
63101         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63103 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63105         [BZ #13886]
63106         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63107         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63108         * math/libm-test.inc (floor_test): Add more tests.
63109         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63111 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63113         * sysdeps/unix/getdents.c: Remove file.
63114         * sysdeps/unix/sysv/getdents.c: Likewise.
63115         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63117         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63118         sysdeps/unix/mman/syscalls.list.
63119         (mmap): Likewise.
63120         (mprotect): Likewise.
63121         (msync): Likewise.
63122         (munmap): Likewise.
63123         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63124         * sysdeps/unix/mman/syscalls.list: Remove.
63125         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63127         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63128         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63129         * configure: Regenerated.
63130         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63131         $(libgcc_s_suffix).
63132         * config.make.in (libgcc_s_suffix): Remove variable.
63134 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63136         * sysdeps/unix/sysv/gethostname.c: Move to ...
63137         * sysdeps/posix/gethostname.c: ... here.
63139         * sysdeps/unix/execve.S: Remove file.
63141         * sysdeps/unix/_exit.S: Remove file.
63143 2012-04-23  Andreas Jaeger  <aj@suse.de>
63145         [BZ #13739]
63146         * manual/Makefile: Remove make dist support, there's no
63147         need for a stand-alone documentation tar ball.
63148         (TEXI2DVI): Define always, it's not in Makeconfig.
63149         (dist): Removed.
63150         (tar-it): Removed.
63151         (edition): Removed.
63152         (glibc-doc-$(edition).tar): Removed
63153         (%.Z): Removed.
63154         (%.gz): Removed.
63155         (%.uu): Removed.
63156         (ETAGS): Remove, it's in Makeconfig.
63157         (move-if-change): Remove, it's in Makeconfig.
63159 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63161         [BZ #13970]
63162         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63163         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63164         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63165         (strtod_l, strtof_l, strtold_l): Remove __wur.
63166         It is not necessarily an error to ignore strtol's return value.
63167         One can reliably look at the stored endptr to decide whether
63168         the number had valid syntax.
63170 2012-04-21  Andreas Jaeger  <aj@suse.de>
63172         [BZ #13739]
63173         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63175 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63177         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63178         * sysdeps/unix/sysv/Versions: Remove file.
63180 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63182         [BZ #13927]
63183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63185 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63187         [BZ #7064]
63188         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63189         version from __vm86.
63191 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63193         * sysdeps/unix/common/lxstat.c: Remove file.
63194         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63196         * sysdeps/unix/sysv/Makefile: Remove file.
63198         * sysdeps/unix/sysv/direct.h: Remove file.
63200         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63201         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63202         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63203         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63204         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63205         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63206         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63208         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63210         * sysdeps/unix/xmknod.c: Remove file.
63211         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63213         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63215         * sysdeps/unix/sysv/i386/time.S: Remove file.
63217         * sysdeps/unix/fxstat.c: Remove file.
63218         * sysdeps/unix/xstat.c: Likewise.
63219         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63221         * sysdeps/unix/sysv/sigaction.c: Remove file.
63223         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63224         (sysdep_headers): Remove variable.
63225         [termio.h not in sysdep_headers] (generated): Likewise.
63226         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63227         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63228         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63229         * sysdeps/unix/sysv/tcflow.c: Likewise.
63230         * sysdeps/unix/sysv/tcflush.c: Likewise.
63231         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63232         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63233         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63234         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63235         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63237         * sysdeps/unix/siglist.c: Remove file.
63239         * sysdeps/unix/getppid.S: Remove file.
63241         * sysdeps/unix/mkdir.c: Remove file.
63242         * sysdeps/unix/rmdir.c: Likewise.
63244 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63246         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63247         ERR_MAX value.
63248         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63249         errlist-compat value.
63251 2012-04-18  David S. Miller  <davem@davemloft.net>
63253         * sysdeps/generic/memcopy.h (reg_char): Delete.
63254         * debug/strcat_chk.c: Use char, not reg_char.
63255         * debug/strcpy_chk.c: Likewise.
63256         * debug/strncat_chk.c: Likewise.
63257         * debug/strncpy_chk.c: Likewise.
63258         * string/memchr.c: Likewise.
63259         * string/memrchr.c: Likewise.
63260         * string/rawmemchr.c: Likewise.
63261         * string/strcat.c: Likewise.
63262         * string/strchr.c: Likewise.
63263         * string/strchrnul.c: Likewise.
63264         * string/strcmp.c: Likewise.
63265         * string/strcpy.c: Likewise.
63266         * string/strncat.c: Likewise.
63267         * string/strncmp.c: Likewise.
63268         * string/strncpy.c: Likewise.
63270 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63272         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63273         __builtin_memcopy is called when src and dest ranges are known to not
63274         overlap.
63276 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63278         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63279         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63280         fwd_align_merge macro call.
63281         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63282         bwd_align_merge macro call.
63283         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63285 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63287         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63288         bwd_align_merge macros.
63289         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63290         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63291         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63293 2012-04-18  David S. Miller  <davem@davemloft.net>
63295         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63297 2012-04-18  Andreas Jaeger  <aj@suse.de>
63299         [BZ# 6794]
63300         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63301         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63302         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63304         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63305         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63306         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63308         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63309         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63310         Adjust for changed ldbl-128 files.
63312         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63313         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63314         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63316 2012-04-17  David S. Miller  <davem@davemloft.net>
63318         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63320 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63322         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63323         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63324         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63325         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63326         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63327         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63329 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63331         [BZ #6794]
63332         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63333         * math/libm-test.inc: Add ilogb errno and exception tests.
63334         * math/w_ilogb.c: New file: ilogb wrapper.
63335         * math/w_ilogbf.c: New file: ilogbf wrapper.
63336         * math/w_ilogbl.c: New file: ilogbl wrapper.
63337         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63338         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63339         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63340         exception being thrown with 0.0 as argument.
63341         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63342         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63343         exception being thrown with 0.0 as argument.
63344         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63345         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63346         exception being thrown with 0.0 as argument.
63347         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63348         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63349         exception being thrown with 0.0 as argument.
63350         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63351         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63352         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63353         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63354         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63355         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63356         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63357         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63358         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63360 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63362         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63363         with altivec.
63365 2012-04-16  Marek Polacek  <polacek@redhat.com>
63367         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63369 2012-04-16  Marek Polacek  <polacek@redhat.com>
63371         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63372         operands of fdivp instruction.
63374 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63376         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63377         * elf/tst-auditmod3b.c: Likewise.
63378         * elf/tst-auditmod4b.c: Likewise.
63379         * elf/tst-auditmod5b.c: Likewise.
63380         * elf/tst-auditmod6b.c: Likewise.
63381         * elf/tst-auditmod6c.c: Likewise.
63382         * elf/tst-auditmod7b.c: Likewise.
63383         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63384         * sysdeps/x86_64/preconfigure.in: Likewise.
63385         * sysdeps/x86_64/preconfigure: Regenerated.
63387 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63389         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63390         __ILP32__.
63392 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63394         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63395         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63397 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63399         [BZ #13973]
63400         * locale/iso-639.def: Fix gl language name. Spotted by
63401         Yaron Shahrabani.
63403 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63405         [BZ #2074]
63406         * libio/libio.h (__io_write_fn): Update comment.
63408 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63410         [BZ #2074]
63411         * stdio.texi (Hook Functions): The user provided writer function
63412         is not allowed to return -1.
63414 2012-04-11  David S. Miller  <davem@davemloft.net>
63416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63418 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63420         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63421         Add a leading slash to rtkaio.
63423 2012-04-11  Jim Meyering  <meyering@redhat.com>
63425         [BZ #11959]
63426         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63427         It is not necessarily an error to ignore fwrite's return
63428         value.  One can reliably use ferror to test for errors after
63429         the fact.
63431 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63433         * bits/types.h (__snseconds_t): New type.
63434         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63436         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63438         (__SNSECONDS_T_TYPE): Likewise.
63439         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63440         (__SNSECONDS_T_TYPE): Likewise.
63441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63442         (__SNSECONDS_T_TYPE): Likewise.
63444 2012-04-10  Andreas Jaeger  <aj@suse.de>
63446         [BZ #2636]
63447         * manual/time.texi (Processor Time): Return type of times is
63448         elapsed real time since an arbitrary point in the past.
63449         (CPU Time): Move CLK_TCK from here...
63450         (Processor Time): ...to here.  Correct description.
63451         * manual/conf.texi (Constants for Sysconf): Correct description of
63452         _SC_CLK_TCK.
63454 2012-04-10  David S. Miller  <davem@davemloft.net>
63456         [BZ #13967]
63457         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63458         where the is a gap between DT_REL(A) and DT_JMPREL.
63460 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63462         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63463         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63464         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63466 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63468         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63469         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63470         (dl_main): Handle --inhibit-cache.
63471         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63472         _dl_inhibit_cache.
63473         * elf/dl-load.c (_dl_map_object): Use it.
63474         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63476 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63478         [BZ #13872]
63479         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63480         (__ieee754_powl): Saturate large exponents rather than testing for
63481         overflow of y*log2(x).
63482         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63483         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63484         exceptions.
63486         [BZ #11521]
63487         * math/s_ctan.c: Include <float.h>.
63488         (__ctan): Avoid internal overflow or cancellation in calculating
63489         denominator.
63490         * math/s_ctanf.c: Likewise.
63491         * math/s_ctanl.c: Likewise.
63492         * math/s_ctanh.c: Likewise.
63493         * math/s_ctanhf.c: Likewise.
63494         * math/s_ctanhl.c: Likewise.
63495         * math/libm-test.inc (ctan_test): Add more tests.
63496         (ctanh_test): Likewise.
63497         * sysdeps/i386/fpu/libm-test-ulps: Update.
63498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63500 2012-04-09  Andreas Jaeger  <aj@suse.de>
63502         [BZ #6894]
63503         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63504         is an optional BSD extension.
63506         [BZ #10254]
63507         * manual/stdio.texi (Opening Streams): Document additional fopen
63508         parameters.
63510 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63512         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63513         %eax without telling the compiler.
63515 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63517         [BZ # 13963]
63518         * manual/install.texi: Use sourceware.org.
63520 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63522         [BZ #13873]
63523         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63524         (__ieee754_pow): Generate overflow and underflow using huge*huge
63525         and tiny*tiny rather than just returning constant infinity or zero
63526         for large exponents.
63527         * math/libm-test.inc (pow_test): Require overflow exceptions for
63528         applicable cases of large exponents.
63530         [BZ #706]
63531         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63532         (__ieee754_pow): Use iterative multiplication algorithm only for
63533         integer exponents with absolute value below 1024.  Check for odd
63534         integer exponents when using algorithm for real exponents.
63535         * math/libm-test.inc (pow_test): Add more tests.
63536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63538 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63540         [BZ #13705]
63541         * math/libm-test.inc (exp_test): Do not allow overflow exception
63542         on underflow test.
63544 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63546         [BZ #13705]
63547         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63548         instead of __kernel_standard_f.
63550 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63552         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63553         * sysdeps/x86_64/memset_chk.S: Likewise.
63555 2012-04-08  Andreas Jaeger  <aj@suse.de>
63557         [BZ #10153]
63558         * manual/startup.texi (Environment Access): Describe return value
63559         for putenv and setenv.
63561         [BZ #6895]
63562         * manual/filesys.texi (Directory Entries): Add description for
63563         DT_LNK.
63565         [BZ #6890]
63566         * manual/filesys.texi (Directory Entries): Clarify that it's file
63567         system not operating system in the description of DT_UNKNOWN.
63569         [BZ #6578]
63570         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63572 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63574         [BZ #6649]
63575         * manual/llio.texi (Opening and Closing Files): Add cross
63576         reference to explain mode argument.
63578 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63580         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63581         * sysdeps/x86_64/memset_chk.S: Likewise.
63583 2012-04-07  David S. Miller  <davem@davemloft.net>
63585         * elf/elf.h (R_SPARC_WDISP10): Define.
63586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63587         R_SPARC_SIZE32.
63588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63589         R_SPARC_SIZE64 and R_SPARC_H34.
63591 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63593         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63594         conditions and remove no longer applicable assertion.
63596 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63598         * bits/byteswap.h: Include <features.h>.
63599         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63600         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63602 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63604         * bits/byteswap.h (__bswap_16): Removed.
63605         Include <bits/byteswap-16.h> to get __bswap_16.
63606         * sysdeps/i386/bits/byteswap.h: Likewise.
63607         * sysdeps/s390/bits/byteswap.h: Likewise.
63608         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63609         * bits/byteswap-16.h: New file.
63610         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63611         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63612         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63613         * string/Makefile (headers): Add bits/byteswap-16.h.
63615 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63617         [BZ #13895]
63618         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63619         extra indirection.
63620         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63621         * nss/tst-nss-static.c: New.
63623 2012-04-06  Robert Millan  <rmh@gnu.org>
63625         [BZ #6486]
63626         * manual/llio.texi (File Position Primitive): lseek
63627         refers to WHENCE when it really means OFFSET.
63629 2012-04-06  Andreas Jaeger  <aj@suse.de>
63631         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63632         strncmp declarations.
63634         * abilist/libc.abilist: Add __poll and __ppoll.
63636 2012-04-05  David S. Miller  <davem@davemloft.net>
63638         * scripts/check-local-headers.sh: Accept a host triplet in the
63639         path matched by the exclude regexp.
63641         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63642         definition.
63643         * sysdeps/powerpc/powerpc32/dl-machine.h
63644         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63645         * sysdeps/s390/s390-32/dl-machine.h
63646         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63647         * sysdeps/sparc/sparc32/dl-machine.h
63648         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63649         * sysdeps/sparc/sparc64/dl-machine.h
63650         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63652         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63653         lazy binding.
63654         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63655         undefined symbol errors.
63657         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63658         DT_NEEDED entries.
63660 2012-04-05  Michael Matz  <matz@suse.de>
63662         [BZ #13592]
63663         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63665 2012-04-05  Andreas Jaeger  <aj@suse.de>
63667         [BZ #13908]
63668         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63669         comment.
63671 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63673         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63674         which ROUND is no valid rounding mode.
63676 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63678         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63679         read again.
63680         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63682 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63684         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63685         an exception using FPU order intentionally.
63687 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63689         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63690         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63691         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63692         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63694 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63696         [BZ #12340]
63697         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63698         EINVAL when BUFLEN is too smal.
63700 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63702         [BZ #13553]
63703         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63704         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63706 2012-04-03  Andreas Jaeger  <aj@suse.de>
63708         [BZ #13938]
63709         * manual/setjmp.texi (System V contexts): Fix sentence.
63711         [BZ #13926]
63712         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63713         New macro for this case.
63714         [!__GNUC__] (__bswap_64): New inline function for this case.
63715         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63716         * bits/byteswap.h: Likewise.
63717         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63718         ull, guard with __GLIBC_HAVE_LONG_LONG.
63720         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63721         __GLIBC_HAVE_LONG_LONG.
63723         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63724         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63726 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63728         [BZ #13691]
63729         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63730         inptr and inend, rather than using last_ch.
63732 2012-04-02  David S. Miller  <davem@davemloft.net>
63734         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63735         * stdio-common/printf-parse.h (read_int): Change return type to
63736         'int', return -1 on INT_MAX overflow.
63737         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63738         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63739         overflows INT_MAX.  Check for overflow of in-format-string precision
63740         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63741         SIZE_MAX not INT_MAX for integer overflow test.
63742         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63743         skip the construct in the format string but do not record anything.
63744         * stdio-common/bug22.c: Adjust to test both width/prevision
63745         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63746         explicitly for proper errno values.
63748 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63750         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63751         CHAR_MAX.
63752         * string/test-strcmp.c [! WIDE]: Likewise.
63753         * time/tst-mktime2.c: Likewise for INT_MAX.
63754         * string/test-string.h: #include <sys/param.h> for MIN.
63756         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63757         * sysdeps/i386/init-first.c (init): Likewise.
63758         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63759         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63760         * sysdeps/sh/init-first.c (init): Likewise.
63762 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63764         * po/ru.po: Update from translation team.
63765         * po/vi.po: Likewise.
63767 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63769         * resolv/nss_dns/dns-host.c: Merge copyright years.
63771 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63773         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63774         Optimize memcpy with prefetch if
63775         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63776         src, dst pointers have unequal 16 byte alignments.
63778 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63780         [BZ #13928]
63781         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63782         from a CNAME entry and return the minimum ttl for the query.
63783         (gaih_getanswer_slice): Likewise.
63785 2012-03-30  Jeff Law  <law@redhat.com>
63787         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63788         due to long keys.
63789         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63790         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63792         * resolv/nss_dns/dns-host.c: Update copyright year.
63794 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63796         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63797         requests to save a system call.  Fix check that all bytes are sent.
63799         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63800         comments for sendmmsg.
63802 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63804         [BZ #13691]
63805         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63806         with only 1 character between 0x0041 and 0x01b0.
63807         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63808         * wcsmbs/tst-mbsnrtowcs.c: New file.
63810 2012-03-29  David S. Miller  <davem@davemloft.net>
63812         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63813         small copies by hand.
63815 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63817         [BZ #13761]
63818         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63819         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63820         group memberships.
63822 2012-03-28  David S. Miller  <davem@davemloft.net>
63824         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63825         that branches into memcpy.
63826         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63827         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63828         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63829         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63831         bits.
63832         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63833         implementation too.
63834         * sysdeps/sparc/mempcpy.S: New file.
63836         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63837         the IFUNC routine in the libc case.
63838         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63840         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63841         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63842         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63843         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63844         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63845         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63846         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63847         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63849         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63850         loop to 256 bytes instead of 64 bytes and fix test signedness.
63852         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63853         * sysdeps/sparc/sparc32/Makefile: rather than here...
63854         * sysdeps/sparc/sparc64/Makefile: and here.
63856 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63858         * malloc/mallocbug.c: Avoid warnings about unused variables.
63860 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63862         [BZ #13760]
63863         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63864         in the right place. Discard and retry query if response is
63865         larger than input buffer size.
63867 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63869         [BZ #369]
63870         [BZ #2678]
63871         [BZ #3866]
63872         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63873         x for large integer exponent.
63874         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63875         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63876         sign of result as needed afterwards.
63877         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63878         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63879         result for underflowing pow the same as for overflow.
63880         (__kernel_standard_l): Handle powl overflow and underflow here
63881         rather than calling __kernel_standard.
63882         * math/libm-test.inc (pow_test): Add more tests.
63884         [BZ #3868]
63885         [BZ #13879]
63886         [BZ #13910]
63887         [BZ #13911]
63888         [BZ #13912]
63889         [BZ #13913]
63890         [BZ #13915]
63891         [BZ #13916]
63892         [BZ #13917]
63893         [BZ #13918]
63894         [BZ #13919]
63895         [BZ #13920]
63896         [BZ #13921]
63897         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63898         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63899         (__kernel_standard_l): New function.
63900         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63901         __kernel_standard.
63902         * math/w_acosl.c (__acosl): Likewise.
63903         * math/w_asinl.c (__asinl): Likewise.
63904         * math/w_atan2l.c (__atan2l): Likewise.
63905         * math/w_atanhl.c (__atanhl): Likewise.
63906         * math/w_coshl.c (__coshl): Likewise.
63907         * math/w_exp10l.c (__exp10l): Likewise.
63908         * math/w_exp2l.c (__exp2l): Likewise.
63909         * math/w_fmodl.c (__fmodl): Likewise.
63910         * math/w_hypotl.c (__hypotl): Likewise.
63911         * math/w_j0l.c (__j0l, __y0l): Likewise.
63912         * math/w_j1l.c (__j1l, __y1l): Likewise.
63913         * math/w_jnl.c (__jnl, __ynl): Likewise.
63914         * math/w_lgammal.c (__lgammal): Likewise.
63915         * math/w_log10l.c (__log10l): Likewise.
63916         * math/w_log2l.c (__log2l): Likewise.
63917         * math/w_logl.c (__logl): Likewise.
63918         * math/w_powl.c (__powl): Likewise.
63919         * math/w_remainderl.c (__remainderl): Likewise.
63920         * math/w_scalbl.c (sysv_scalbl): Likewise.
63921         * math/w_sinhl.c (__sinhl): Likewise.
63922         * math/w_sqrtl.c (__sqrtl): Likewise.
63923         * math/w_tgammal.c (__tgammal): Likewise.
63924         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63925         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63926         * math/libm-test.inc (acos_test): Add more tests.
63927         (acosh_test): Likewise.
63928         (asin_test): Likewise.
63929         (atanh_test): Likewise.
63930         (exp_test): Likewise.
63931         (exp10_test): Likewise.
63932         (exp2_test): Likewise.
63933         (expm1_test): Likewise.
63934         (lgamma_test): Likewise.
63935         (log_test): Likewise.
63936         (log10_test): Likewise.
63937         (log1p_test): Likewise.
63938         (log2_test): Likewise.
63939         (pow_test): Do not allow some spurious overflow exceptions.
63940         (sqrt_test): Add more tests.
63941         (tgamma_test): Likewise.
63942         (y0_test): Likewise.
63943         (y1_test): Likewise.
63944         (yn_test): Likewise.
63946 2012-03-27  Anton Blanchard  <anton@samba.org>
63948         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63949         MAP_HUGETLB.
63950         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63951         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63952         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63954 2012-03-27  David S. Miller  <davem@davemloft.net>
63956         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63958         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63959         have-as-vis3 check.
63961 2012-03-27  Andreas Jaeger  <aj@suse.de>
63963         * sysdeps/x86_64/elf/configure.in: Moved to ...
63964         * sysdeps/x86_64/configure.in: ... here.
63965         * sysdeps/x86_64/elf/start.S: Moved to ...
63966         * sysdeps/x86_64/start.S: ... here.
63967         * sysdeps/x86_64/elf/configure: Delete.
63969         * sysdeps/x86_64/configure.in: Merge contents from
63970         sysdeps/i386/configure.in (without i686 check).
63972         * sysdeps/i386/elf/Versions: Merge into ...
63973         * sysdeps/i386/Versions: ... this.
63974         * sysdeps/i386/elf/Versions: Delete file.
63975         * sysdeps/i386/elf/start.S: Moved to ...
63976         * sysdeps/i386/start.S: ...here.
63977         * sysdeps/i386/elf/configure.in: Merge into...
63978         * sysdeps/i386/configure.in: ...here.
63979         * sysdeps/i386/elf/configure.in: Delete file.
63980         * sysdeps/i386/elf/configure: Delete file.
63982         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63983         * debug/backtracesyms.c: ... here.
63984         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63985         * debug/backtracesymsfd.c: ... here.
63986         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63987         * sysdeps/generic/ifunc-sel.h: ... here.
63989         * sysdeps/unix/i386/start.c: Delete file.
63990         * sysdeps/unix/sparc/start.c: Delete file.
63991         * sysdeps/unix/start.c: Delete file.
63993         * sysdeps/sh/elf/configure.in: Moved to ...
63994         * sysdeps/sh/configure.in: ... here.
63995         * sysdeps/sh/elf/start.S: Moved to ...
63996         * sysdeps/sh/start.S: ... here.
63997         * sysdeps/sh/elf/configure: Delete file.
63999         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64000         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64001         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64002         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64003         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64004         * sysdeps/powerpc/powerpc64/start.S: here.
64005         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64006         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64007         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64008         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64009         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64011         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64012         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64013         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64014         * sysdeps/powerpc/powerpc32/start.S: ... here.
64015         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64016         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64017         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64019         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64020         * sysdeps/powerpc/ifunc-sel.h: ... here.
64021         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64022         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64024         * sysdeps/sparc/elf/configure.in: Moved to ...
64025         * sysdeps/sparc/configure.in: ... here.
64026         * sysdeps/sparc/elf/configure: Delete file.
64027         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64028         * sysdeps/sparc/sparc32/start.S: ... here.
64029         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64030         * sysdeps/sparc/sparc64/start.S: ... here.
64031         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64032         * sysdeps/sparc/sparc32/Makefile: ... this.
64033         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64034         * sysdeps/sparc/sparc64/Makefile: ... this.
64036         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64037         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64038         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64039         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64040         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64041         * sysdeps/s390/s390-32/setjmp.S: ... here.
64042         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64043         * sysdeps/s390/s390-32/configure.in: ... here.
64044         * sysdeps/s390/s390-32/elf/configure: Delete file.
64045         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64046         * sysdeps/s390/s390-32/start.S: ... here.
64048         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64049         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64050         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64051         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64052         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64053         * sysdeps/s390/s390-64/setjmp.S: ... here.
64054         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64055         * sysdeps/s390/s390-64/configure.in: ... here
64056         * sysdeps/s390/s390-64/elf/configure: Delete file.
64057         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64058         * sysdeps/s390/s390-64/start.S: ... here.
64059         * sysdeps/s390/s390-64/elf/configure: Delete.
64061         * configure.in: Remove support for elf directories in sysdeps.
64063         * configure: Regenerated.
64064         * sysdeps/i386/configure: Regenerated.
64065         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64066         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64067         * sysdeps/s390/s390-32/configure: Regenerated.
64068         * sysdeps/s390/s390-64/configure: Regenerated.
64069         * sysdeps/sh/configure: Regenerated.
64070         * sysdeps/sparc/configure: Regenerated.
64071         * sysdeps/x86_64/configure: Regenerated.
64073 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64077         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64078         denormal result into account.
64080 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64082         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64083         Reported by Allan McRae <allan@archlinux.org>.
64085 2012-03-23  Jeff Law  <law@redhat.com>
64087         * nss/getnssent.c (__nss_getent): Fix typo.
64089 2012-03-23  David S. Miller  <davem@davemloft.net>
64091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64093 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64095         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64096         to pad to uint64_t for each field.
64097         (dl_tls_index): Replace unsigned long with uint64_t.
64099 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64100         Paul Pluzhnikov  <ppluzhnikov@google.com>
64102         [BZ #6528]
64103         * grp/Makefile (otherlibs): Don't set it.
64104         * inet/Makefile (otherlibs): Likewise.
64105         * login/Makefile (otherlibs): Likewise.
64106         * nscd/Makefile (otherlibs): Likewise.
64107         * posix/Makefile (otherlibs): Likewise.
64108         * pwd/Makefile (otherlibs): Likewise.
64109         * rt/Makefile (otherlibs): Likewise.
64110         * sunrpc/Makefile (otherlibs): Likewise.
64111         * nss/Makefile (otherlibs): Likewise.
64112         Add libnss_files to routines and static-only-routines.
64113         ($(objpfx)getent): Remove rule.
64114         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64115         static-only-routines.
64117 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64119         [BZ #13892]
64120         * math/s_cexp.c: Include <float.h>.
64121         (__cexp): Handle exp result overflowing not necessarily
64122         overflowing both real and imaginary parts of result.
64123         * math/s_cexpf.c: Likewise.
64124         * math/s_cexpl.c: Likewise.
64125         * math/libm-test.inc (cexp_test): Add more tests.
64126         * sysdeps/i386/fpu/libm-test-ulps: Update.
64127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64129 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64131         * include/link.h (ELFW): New macro.
64132         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64133         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64135 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64137         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64138         with uint64_t.
64140 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64142         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64143         declaration.
64144         (struct La_x32_retval): Likewise.
64146 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64148         * sysdeps/x86_64/preconfigure.in: New file.
64149         * sysdeps/x86_64/preconfigure: New generated file.
64151 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64153         [BZ #13824]
64154         * math/e_exp2l.c: Include <float.h>.
64155         (__ieee754_exp2l): Handle overflow and underflow cases
64156         separately.  Only pass fractional part of argument to
64157         __ieee754_expl.
64158         * math/libm-test.inc (exp2_test): Add more tests.
64160         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64161         negating x to take absolute value.
64162         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64163         Likewise.
64164         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64165         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64166         Likewise.
64167         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64168         computing low part if x was negated.
64169         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64171 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64173         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64174         la_x32_gnu_pltexit.
64175         (pltexit): Cast int_retval to ptrdiff_t.
64176         * elf/tst-auditmod3b.c: Likewise.
64177         * elf/tst-auditmod4b.c: Likewise.
64178         * elf/tst-auditmod5b.c: Likewise.
64179         * elf/tst-auditmod6b.c: Likewise.
64180         * elf/tst-auditmod6c.c: Likewise.
64181         * elf/tst-auditmod7b.c: Likewise.
64183         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64184         and x32_gnu_pltexit.
64186         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64187         __ELF_NATIVE_CLASS.
64188         (La_x32_regs): New macro.
64189         (La_x32_retval): Likewise.
64190         (la_x32_gnu_pltenter): New function prototype.
64191         (la_x32_gnu_pltexit): Likewise.
64193 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64196         exponent.
64198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64200         * configure.in (libc_cv_cc_nofma): Check for option to disable
64201         generation of FMA instructions.
64202         * configure: Regenerate.
64203         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64204         * sysdeps/ieee754/dbl-64/Makefile: New file.
64205         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64206         Remove brandred-fma4.
64207         (CFLAGS-brandred-fma4.c): Remove.
64208         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64209         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64210         define.
64211         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64212         define.
64214 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64216         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64217         LLONG_MAX != LONG_MAX.
64218         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64219         (_fitoa_word): Likewise.
64220         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64221         LLONG_MAX != LONG_MAX.
64222         * stdio-common/_itowa.h: Include <_itoa.h>.
64223         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64224         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64225         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64226         only if not defined.
64227         (_ITOA_WORD_TYPE): Likewise.
64228         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64229         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64231 2012-03-21  David S. Miller  <davem@davemloft.net>
64233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64235 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64237         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64238         of x86_64 when setting libc_cv_slibdir, libdir and
64239         libc_cv_localedir.
64240         * sysdeps/unix/sysv/linux/configure: Regenerated.
64242 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64244         * manual/lang.texi (Old Varargs): Remove section.
64245         (How Variadic): Update menu.
64246         (va_start): Do not mention varargs.h.
64248 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64249             Joseph Myers  <joseph@codesourcery.com>
64251         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64252         link test.
64253         * configure: Regenerated.
64255 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64257         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64258         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64259         conformtest.pl
64261 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64263         * NOTES: Remove.
64264         * Makefile (files-for-dist): Remove NOTES.
64265         (NOTES): Remove rule.
64266         * README: Don't refer to NOTES.
64267         * manual/creature.texi: Don't include macros.texi.
64268         * manual/intro.texi (creature.texi): Remove comment referring to
64269         NOTES.
64271         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64272         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64273         * configure: Regenerated.
64274         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64275         LIBC_TRY_CC_OPTION.
64276         (libc_cv_as_i686): Likewise.
64277         (libc_cv_cc_avx): Likewise.
64278         (libc_cv_cc_sse2avx): Likewise.
64279         (libc_cv_cc_fma4): Likewise.
64280         (libc_cv_cc_novzeroupper): Likewise.
64281         * sysdeps/i386/configure: Regenerated.
64283         [BZ #13883]
64284         * sysdeps/i386/fpu/s_cexp.S: Remove.
64285         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64286         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64287         * math/libm-test.inc (cexp_test): Add more tests.
64288         * sysdeps/i386/fpu/libm-test-ulps: Update.
64289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64291 2012-03-21  Allan McRae  <allan@archlinux.org>
64293         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64295 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64297         [BZ #13871]
64298         * math/w_exp2.c: Do not include <float.h>.
64299         (o_threshold, u_threshold): Remove.
64300         (__exp2): Calculate result before checking finiteness and calling
64301         __kernel_standard.
64302         * math/w_exp2f.c: Likewise.
64303         * math/w_exp2l.c: Likewise.
64304         * math/libm-test.inc (exp2_test): Require overflow exception for
64305         1e6 input.
64307         [BZ #3866]
64308         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64309         range of signed 64-bit integers before using fistpll.  Remove
64310         checks for whether integers fit in mantissa bits.
64311         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64312         the range of signed 32-bit integers before using fistpl.  Remove
64313         checks for whether integers fit in mantissa bits.
64314         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64315         (__ieee754_powl): Test for y outside the range of signed 64-bit
64316         integers before using fistpll.  Reduce 64-bit values to 63-bit
64317         ones as needed.
64318         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64319         divide-by-zero is raised for zero to large negative powers.
64320         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64321         (__ieee754_powl): Test for y outside the range of signed 64-bit
64322         integers before using fistpll.  Reduce 64-bit values to 63-bit
64323         ones as needed.
64324         * math/libm-test.inc (pow_test): Add more tests.
64326 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64328         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64329         <stdio-common/_itoa.h>.
64330         * debug/segfault.c: Likewise.
64331         * elf/dl-cache.c: Likewise.
64332         * elf/dl-minimal.c: Likewise.
64333         * elf/dl-misc.c: Likewise.
64334         * elf/dl-sysdep.c: Likewise.
64335         * elf/dl-version.c: Likewise.
64336         * elf/rtld.c: Likewise.
64337         * hurd/hurdsock.c: Likewise.
64338         * hurd/lookup-retry.c: Likewise.
64339         * malloc/malloc.c: Likewise.
64340         * malloc/mtrace.c: Likewise.
64341         * nscd/nscd_getgr_r.c: Likewise.
64342         * nscd/nscd_getpw_r.c: Likewise.
64343         * nscd/nscd_getserv_r.c: Likewise.
64344         * posix/getopt_init.c: Likewise.
64345         * posix/wordexp.c: Likewise.
64346         * stdio-common/_itoa.c: Likewise.
64347         * stdio-common/printf_fphex.c: Likewise.
64348         * stdio-common/vfprintf.c: Likewise.
64349         * string/_strerror.c: Likewise.
64350         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64351         * sysdeps/i386/i686/hp-timing.h: Likewise.
64352         * sysdeps/mach/_strerror.c: Likewise.
64353         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64354         * sysdeps/mach/hurd/sethostid.c: Likewise.
64355         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64356         * sysdeps/mach/xpg-strerror.c: Likewise.
64357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64358         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64359         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64360         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64361         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64362         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64363         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64364         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64365         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64366         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64367         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64368         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64369         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64370         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64371         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64372         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64373         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64374         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64375         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64376         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64377         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64379         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64381         * stdio-common/_itoa.h: Moved to ...
64382         * sysdeps/generic/_itoa.h: Here.
64384         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64386         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64387         instead of "_itoa.h" and "_itowa.h".
64388         * stdio-common/vfprintf.: Likewise.
64390 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64392         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64393         <bits/wordsize.h>.
64394         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64395         (__signbit): Likwise.
64396         (llrintf): Likwise.
64397         (llrint): Likwise.
64399 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64401         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64402         __WORDSIZE != 64.
64404 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64406         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64407         OVERFLOW_EXCEPTION_OK.
64408         * math/libm-test.inc ("Philosophy"): Update comment about
64409         exception testing.
64410         (OVERFLOW_EXCEPTION): Define.
64411         (OVERFLOW_EXCEPTION_OK): Likewise.
64412         (INVALID_EXCEPTION_OK): Renumber.
64413         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64414         (IGNORE_ZERO_INF_SIGN): Likewise.
64415         (test_exceptions): Handle FE_OVERFLOW.
64416         (exp10_test): Expect overflow exceptions.
64417         (exp2_test): Likewise.
64418         (expm1_test): Likewise.
64419         (nextafter_test): Likewise.
64420         (pow_test): Likewise.
64421         (scalbn_test): Likewise.
64422         (scalbln_test): Likewise.
64424 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64426         * sysdeps/x86_64/bits/atomic.h
64427         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64428         64bit integer.
64429         (atomic_exchange_acq): Likewise.
64430         (__arch_exchange_and_add_body): Likewise.
64431         (__arch_add_body): Likewise.
64432         (atomic_add_negative): Likewise.
64433         (atomic_add_zero): Likewise.
64435 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64437         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64438         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64440 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64442         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64443         Check __x86_64__ instead of __WORDSIZE.
64445 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64447         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64449 2012-03-19  David S. Miller  <davem@davemloft.net>
64451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64453         * sysdeps/sparc/fpu/fenv_private.h: New file.
64454         * sysdeps/sparc/fpu/math_private.h: Use it.
64455         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64456         Remove.
64457         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64458         (libc_feholdexcept_setroundl): Remove.
64459         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64460         Remove.
64461         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64462         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64464 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64466         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64467         int64_t instead of long int.
64468         (INSERT_WORDS64): Likwise.
64470 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64472         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64473         _Unwind_GetCFA return to _Unwind_Ptr first.
64475 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64477         [BZ #13629]
64478         * math/s_clog.c: Include <float.h>.
64479         (__clog): Scale large or subnormal inputs.
64480         * math/s_clogf.c: Likewise.
64481         * math/s_clogl.c: Likewise.
64482         * math/s_clog10.c: Include <float.h>.
64483         (M_LOG10_2): Define.
64484         (__clog10): Scale large or subnormal inputs.
64485         * math/s_clog10f.c: Likewise.
64486         * math/s_clog10l.c: Likewise.
64487         * math/libm-test.inc (clog_test): Add more tests.
64488         (clog10_test): Likewise.
64489         * sysdeps/i386/fpu/libm-test-ulps: Update.
64490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64492         [BZ #11451]
64493         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64494         x and y.
64495         * math/libm-test.inc (atan2_test): Add another test.
64497         * Makerules (common-objdir-compile): Remove.
64498         * sysdeps/unix/Makefile (config-generated): Do not add
64499         $(unix-generated) to variable.
64500         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64501         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64502         Remove rule.
64503         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64504         Likewise.
64505         [generic bits/local_lim.h] (before-compile): Do not append to
64506         variable.
64507         [generic bits/local_lim.h] (common-generated): Likewise.
64508         [generic sys/param.h] (before-compile): Do not append to variable.
64509         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64510         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64511         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64512         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64513         include.
64514         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64515         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64516         [generic sys/param.h] ($(addprefix
64517         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64518         [generic sys/param.h] (common-generated): Do not append to
64519         variable.
64520         [generic sys/param.h] (sysdep_headers): Likewise.
64521         [generic bits/errno.h] (before-compile): Do not append to
64522         variable.
64523         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64524         rule.
64525         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64526         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64527         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64528         [generic bits/errno.h] (common-generated): Do not append to
64529         variable.
64530         [generic bits/ioctls.h] (before-compile): Do not append to
64531         variable.
64532         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64533         rule.
64534         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64535         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64536         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64537         rule.
64538         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64539         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64540         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64541         [generic bits/ioctls.h] (common-generated): Do not append to
64542         variable.
64543         [generic sys/syscall.h] (syscall.h): Remove variable.
64544         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64545         rule.
64546         [generic sys/syscall.h] (before-compile): Do not append to
64547         variable.
64548         [generic sys/syscall.h] (common-generated): Likewise.
64549         * sysdeps/unix/errnos-tmpl.c: Remove file.
64550         * sysdeps/unix/errnos.awk: Likewise.
64551         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64552         * sysdeps/unix/ioctls.awk: Likewise.
64553         * sysdeps/unix/mk-local_lim.c: Likewise.
64554         * sysdeps/unix/snarf-ioctls: Likewise.
64556 2012-03-19  Richard Henderson  <rth@twiddle.net>
64558         * sysdeps/i386/fpu/fenv_private.h: New file.
64559         * sysdeps/i386/fpu/math_private.h: Use it.
64560         (math_opt_barrier, math_force_eval): Remove.
64561         (libc_feholdexcept_setround_53bit): Remove.
64562         (libc_feupdateenv_53bit): Remove.
64563         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64564         (math_opt_barrier, math_force_eval): Remove.
64565         (libc_feholdexcept): Remove.
64566         (libc_feholdexcept_setround): Remove.
64567         (libc_fetestexcept, libc_fesetenv): Remove.
64568         (libc_feupdateenv_test): Remove.
64569         (libc_feupdateenv, libc_feholdsetround): Remove.
64570         (libc_feresetround): Remove.
64572         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64573         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64575         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64576         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64577         (libc_feupdateenv_testl): New.
64578         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64579         (libc_feupdateenv_testf): New.
64580         (libc_feupdateenv): Use libc_feupdateenv_test.
64581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64582         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64584         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64585         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64586         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64587         (libc_feresetround_noex): New.
64588         (libc_feresetround_noexf): New.
64589         (libc_feresetround_noexl): New.
64590         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64591         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64592         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64593         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64594         SET_RESTORE_ROUND.
64595         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64597         (__cos): Likewise.
64598         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64599         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64600         SET_RESTORE_ROUND_NOEX.
64601         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64602         SET_RESTORE_ROUND_NOEXF.
64603         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64604         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64605         (libc_feholdsetroundf): New.
64606         (libc_feresetround, libc_feresetroundf): New.
64608         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64609         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64610         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64612         * sysdeps/generic/math_private.h: Include <fenv.h>.
64613         (default_libc_feholdexcept): New.
64614         (default_libc_feholdexcept_setround): New.
64615         (default_libc_fesetenv, default_libc_feupdateenv): New.
64616         (libc_feholdexcept): Only define if undefined.
64617         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64618         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64619         (libc_feholdexcept_setroundl): Likewise.
64620         (libc_feholdexcept_setround_53bit): Likewise.
64621         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64622         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64623         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64624         (libc_feupdateenv_53bit): Likewise.
64625         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64626         (libc_feholdexcept): Convert from macro to inline function.
64627         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64628         (libc_fesetenv, libc_feupdateenv): Likewise.
64630         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64631         not previously defined.
64632         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64633         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64634         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64635         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64636         * sysdeps/ieee754/flt-32/math_private.h: New file.
64637         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64638         math_private.h below SET_FLOAT_WORD.
64639         (__isnan, __isinf_ns, __finite): Remove.
64640         (__isnanf, __isinf_nsf, __finitef): Remove.
64642 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64646 2012-03-17  David S. Miller  <davem@davemloft.net>
64648         [BZ #6471]
64649         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64650         for 2.16.
64652 2012-03-16  David S. Miller  <davem@davemloft.net>
64654         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64655         warnings.
64657         [BZ #6471]
64658         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64659         properly.
64660         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64661         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64662         sysdep_routines when subdir is sysvipc.
64663         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64664         __getshmlba helper.
64666         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64668 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64670         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64671         [__LP64__].
64673 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64675         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64676         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64677         (__lround): Renamed to ...
64678         (__llround): This.  Replace long int with long long int.
64679         Define lround functions as aliases of llround functions.
64680         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64682 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64684         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64685         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64686         adresses to uintptr_t.  Replace "long int" and "unsigned long
64687         int" with "greg_t" on va_arg.
64689 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64691         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64692         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64694         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64695         Move e_machine check before EI_CLASS check.  Handle x32
64696         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64697         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64698         SKIP_EM_IA_64 and include
64699         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64701         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64702         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64703         (add_system_dir): New macro.
64705         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64706         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64708 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64710         [BZ #2551]
64711         [BZ #2552]
64712         [BZ #2553]
64713         [BZ #2554]
64714         [BZ #2562]
64715         [BZ #2563]
64716         [BZ #2565]
64717         [BZ #2566]
64718         [BZ #2576]
64719         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64720         (y0): Likewise.
64721         * math/w_j0f.c (j0f): Likewise.
64722         (y0f): Likewise.
64723         * math/w_j0l.c (__j0l): Likewise.
64724         (__y0l): Likewise.
64725         * math/w_j1.c (j1): Likewise.
64726         (y1): Likewise.
64727         * math/w_j1f.c (j1f): Likewise.
64728         (y1f): Likewise.
64729         * math/w_j1l.c (__j1l): Likewise.
64730         (__y1l): Likewise.
64731         * math/w_jn.c (jn): Likewise.
64732         (yn): Likewise.
64733         * math/w_jnf.c (jnf): Likewise.
64734         (ynf): Likewise.
64735         * math/w_jnl.c (__jnl): Likewise.
64736         (__ynl): Likewise.
64737         * math/libm-test.inc (j0_test): Add more tests.
64738         (j1_test): Likewise.
64739         (jn_test): Likewise.  Add trailing semicolon to existing test.
64740         (y0_test): Likewise.
64741         (y1_test): Likewise.
64742         * sysdeps/i386/fpu/libm-test-ulps: Update.
64743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64745         [BZ #13851]
64746         [BZ #13854]
64747         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64748         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64749         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64750         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64751         (__tanl): Set errno for infinite argument.
64752         * sysdeps/i386/fpu/mptan.c: Remove.
64753         * sysdeps/i386/fpu/s_tan.S: Likewise.
64754         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64755         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64756         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64757         * math/libm-test.inc (tan_test): Add more tests and enable more
64758         tests for double and long double.
64759         * sysdeps/i386/fpu/libm-test-ulps: Update.
64760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64762 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64764         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64765         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64767 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64769         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64770         * configure.in: Use it for both main tree and add-ons.
64771         * configure: Regenerated.
64773 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64775         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64777 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64779         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64780         in comment.
64782         [BZ #13851]
64783         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64784         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64785         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64786         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64787         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64788         infinite argument.
64789         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64790         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64791         != 0 for prec == 2.
64792         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64793         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64794         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64795         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64796         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64797         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64798         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64799         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64800         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64801         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64802         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64803         * math/libm-test.inc (cos_test): Add more tests and enable more
64804         tests for long double.
64805         (sin_test): Likewise.
64806         (sincos_test): Likewise.
64807         * sysdeps/i386/fpu/libm-test-ulps: Update.
64808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64810 2012-03-16  David S. Miller  <davem@davemloft.net>
64812         * sysdeps/sparc/fpu/math_private.h: New file.
64814 2012-03-15  David S. Miller  <davem@davemloft.net>
64816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64817         file.
64818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64820         file.
64821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64826         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64827         sysdep routines.
64828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64830         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64831         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64833         * sysdeps/sparc/sparc-ifunc.h: New file.
64834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64835         sparc-ifunc.h
64836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64838         Likewise.
64839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64840         Likewise.
64841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64845         Likewise.
64846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64851         Likewise.
64852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64853         Likewise.
64854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64859         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64860         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64861         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64862         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64863         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64868         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64869         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64870         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64872         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64873         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64874         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64875         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64876         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64877         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64879 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64881         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64882         scaling.
64883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64885 2012-03-15  Andreas Jaeger  <aj@suse.de>
64887         [BZ #13852]
64888         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64889         ieee754/flt-32 implementation for sin, cos and sincos.
64890         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64891         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64892         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64893         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64894         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64895         ieee754/flt-32 implementation for tan.
64897         * math/libm-test.inc (cos_test): Enable some large input tests for
64898         float as well
64899         (sin_test): Likewise.
64900         (sincos_test): Likewise.
64901         (tan_test): Add tests for large input.
64903         * sysdeps/i386/fpu/libm-test-ulps: Update.
64905 2012-03-15  Andreas Jaeger  <aj@suse.de>
64907         [BZ #13658]
64908         * math/libm-test.inc (cos_test): Add more test cases.
64909         (sin_test): Likewise.
64910         (sincos_test): Likewise.
64912 2012-03-15  Andreas Jaeger  <aj@suse.de>
64914         [BZ #13837]
64915         * math/libm-test.inc (cos_test): Add a test case for large input
64916         value.
64917         (sin_test): Likewise.
64918         (sincos_test): Likewise.
64920 2012-03-15  Andreas Jaeger  <aj@suse.de>
64921             Joseph Myers  <joseph@codesourcery.com>
64923         [BZ #13658]
64924         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64925         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64926         * sysdeps/i386/fpu/branred.c: Likewise.
64927         * sysdeps/i386/fpu/dosincos.c: Likewise.
64928         * sysdeps/i386/fpu/mpa.c: Likewise.
64929         * sysdeps/i386/fpu/s_cos.S: Likewise.
64930         * sysdeps/i386/fpu/s_sin.S: Likewise.
64931         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64932         * sysdeps/i386/fpu/sincos32.c: Likewise.
64934         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64935         Define.
64936         (libc_feupdateenv_53bit): Define.
64937         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64938         Define.
64939         (libc_feupdateenv_53bit): Define.
64941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64942         53 bit (without extend i386 double precision).
64944         * math/libm-test.inc (sincos_test): Add tests for large input.
64945         (sin): Likewise.
64946         (cos): Likewise.
64948         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64950 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64954 2012-03-15  David S. Miller  <davem@davemloft.net>
64956         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64957         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64958         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64959         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64972         file.
64973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64975         file.
64976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64978         file.
64979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64981         file.
64982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64983         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64984         fmin/fmax sysdep routines.
64985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64987 2012-03-14  David S. Miller  <davem@davemloft.net>
64989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64990         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64993         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64994         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64995         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64996         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65002         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65003         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65007         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65009         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65010         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65011         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65012         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65013         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65014         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65015         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65016         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65017         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65018         routines.
65019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65020         file.
65021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65023         file.
65024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65026         file.
65027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65029         file.
65030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65032         file.
65033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65035         file.
65036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65037         file.
65038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65039         file.
65040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65041         file.
65042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65043         New file.
65044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65045         file.
65046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65047         file.
65048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65050         file.
65051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65053         file.
65054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65056         file.
65057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65059         VIS3 routines.
65061         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65062         New file.
65064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65066         * sysdeps/sparc/configure.in: New file.
65067         * sysdeps/sparc/configure: Generate.
65068         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65069         * configure: Regenerate.
65070         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65071         * config.make.in (have-as-vis3): New.
65072         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65073         available use -Av9d instead of -Av9a.
65074         * sysdeps/sparc/sparc64/Makefile: Likewise.
65075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65077         New file.
65078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65079         file.
65080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65081         New file.
65082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65083         file.
65084         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65085         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65086         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65087         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65090         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65091         fzeros/fnegs to load 0x80000000 into a float register instead of
65092         using the stack.
65093         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65095 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65098         bits/syscall.h.
65099         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65100         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65101         ($(inst_includedir)/bits/syscall.h): Remove rule.
65102         ($(objpfx)bits/syscall.d): Include instead of
65103         $(objpfx)syscall-list.d.
65104         (generated): Change syscall-list.h and syscall-list.d to
65105         bits/syscall.h and bits/syscall.d.
65107 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65109         [BZ #13846]
65110         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65112 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65114         [BZ #13841]
65115         * math/s_csqrt.c: Include <float.h>.
65116         (__csqrt): Scale large or subnormal inputs.
65117         * math/s_csqrtf.c: Likewise.
65118         * math/s_csqrtl.c: Likewise.
65119         * math/libm-test.inc (csqrt_test): Add more tests.
65120         * sysdeps/i386/fpu/libm-test-ulps: Update.
65121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65123         [BZ #13840]
65124         * math/libm-test.inc (hypot_test): Add more tests.
65126 2012-03-13  David S. Miller  <davem@davemloft.net>
65128         [BZ #13840]
65129         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65130         double-precision for the calculation instead of scaling.
65132 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65134         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65135         manipulate bits before adding and subtracting TWO52[sx].
65136         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65137         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65138         Likewise.
65139         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65141 2012-03-13  David S. Miller  <davem@davemloft.net>
65143         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65144         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65146         rtld-global-offsets.h
65147         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65149         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65150         large parameters.
65152         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65154         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65155         'err' in the ifdef scope in which it is actually used.
65157         * nss/nss_db/db-init.c: Include string.h
65159 2012-03-12  David S. Miller  <davem@davemloft.net>
65161         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65162         masking out of the most significant byte of random value used.
65163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65164         Fix coding style in previous change.
65166         * sysdeps/unix/sysv/linux/kernel-features.h
65167         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65168         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65169         expression.
65170         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65171         later.
65173 2012-03-11  David S. Miller  <davem@davemloft.net>
65175         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65176         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65177         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65178         for 'resultvar' otherwise things get truncated on 64-bit.
65180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65181         Fix masking out of the most significant byte of random value used.
65183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65185 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65189 2012-03-09  David S. Miller  <davem@davemloft.net>
65191         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65192         variables with appropriate CPP guards.
65193         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65194         from the frame pointer, not the stack pointer.  Correct layout
65195         comments.  Fix test on resulting framesize and the management of
65196         the outregs buffer for pltexit.  Preserve floating point return
65197         values across _dl_call_pltexit call.
65198         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65199         framesize and the management of the outregs buffer for pltexit.
65200         Preserve floating point return values across _dl_call_pltexit
65201         call.
65202         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65203         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65204         (la_sparc64_gnu_pltexit): New functions.
65205         (print_exit): Fix format string for return register value.
65207 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65209         * sunrpc/Makefile (others): Add rpcgen.
65210         ($(objpfx)rpcgen): Remove special build rule and dependency on
65211         libc.
65212         * sunrpc/rpcgen.c: New file.
65214 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65216         [BZ #13673]
65217         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65218         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65219         * sysdeps/i386/crti.S: Likewise.
65220         * sysdeps/i386/crtn.S: Likewise.
65221         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65222         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65223         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65224         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65225         * sysdeps/sh/crti.S: Likewise.
65226         * sysdeps/sh/crtn.S: Likewise.
65227         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65229         [BZ #13673]
65230         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65231         with URL.
65232         * locale/programs/locfile-kw.gperf: Likewise.
65233         * locale/programs/charmap-kw.h: Regenerated.
65234         * locale/programs/locfile-kw.h: Likewise.
65236         [BZ #13673]
65237         * intl/plural.y: Replace FSF snail mail address with URL.
65238         * intl/plural.c: Regenerated.
65240 2012-03-09  Richard Henderson  <rth@twiddle.net>
65242         * include/math_private.h: Remove file.
65243         * math/math_private.h: Move file ...
65244         * sysdeps/generic/math_private.h: ... here.
65246         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65247         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65248         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65250         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65251         and <math_private.h>.
65252         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65253         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65254         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65255         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65256         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65257         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65258         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65260         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65261         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65262         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65263         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65264         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65265         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65266         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65267         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65268         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65269         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65270         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65271         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65272         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65273         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65274         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65276         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65277         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65278         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65281         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65282         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65283         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65284         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65285         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65286         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65288         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65289         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65290         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65291         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65292         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65293         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65294         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65295         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65296         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65297         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65298         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65299         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65300         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65301         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65302         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65303         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65304         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65305         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65306         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65307         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65308         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65309         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65310         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65311         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65312         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65313         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65314         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65315         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65316         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65317         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65318         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65319         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65320         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65321         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65322         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65323         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65324         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65325         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65326         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65327         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65328         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65329         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65330         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65331         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65332         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65333         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65334         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65335         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65336         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65338         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65339         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65340         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65341         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65342         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65343         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65344         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65345         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65346         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65347         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65348         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65349         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65350         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65351         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65352         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65353         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65354         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65355         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65356         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65357         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65358         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65359         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65360         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65361         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65362         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65363         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65364         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65365         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65366         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65367         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65368         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65369         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65370         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65371         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65372         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65373         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65374         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65375         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65376         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65377         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65378         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65379         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65380         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65381         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65382         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65383         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65384         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65385         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65386         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65387         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65388         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65389         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65390         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65391         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65392         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65393         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65394         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65395         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65396         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65397         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65398         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65399         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65400         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65401         * sysdeps/ieee754/k_standard.c: Likewise.
65402         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65403         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65404         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65405         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65406         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65407         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65408         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65409         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65410         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65411         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65412         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65413         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65414         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65415         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65416         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65417         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65418         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65419         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65420         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65421         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65422         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65423         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65424         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65425         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65426         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65427         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65428         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65429         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65430         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65431         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65432         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65433         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65434         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65435         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65436         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65437         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65438         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65439         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65440         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65441         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65442         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65443         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65444         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65445         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65446         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65447         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65448         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65450         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65451         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65452         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65453         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65454         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65455         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65456         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65457         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65458         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65460         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65461         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65462         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65463         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65464         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65465         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65466         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65467         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65468         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65469         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65470         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65471         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65473         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65474         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65475         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65476         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65477         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65478         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65479         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65480         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65481         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65482         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65483         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65484         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65485         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65486         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65487         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65488         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65489         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65490         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65492         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65493         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65494         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65495         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65496         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65497         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65498         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65499         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65500         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65501         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65503         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65504         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65505         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65506         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65507         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65508         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65509         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65510         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65512         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65513         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65515         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65516         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65517         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65518         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65520         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65521         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65522         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65524         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65525         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65528         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65529         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65530         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65531         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65532         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65533         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65534         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65536         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65538         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65539         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65540         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65541         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65542         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65543         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65544         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65545         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65546         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65547         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65548         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65549         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65551         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65552         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65553         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65554         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65555         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65556         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65557         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65558         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65559         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65560         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65561         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65562         * sysdeps/ieee754/s_lib_version.c: Likewise.
65563         * sysdeps/ieee754/s_matherr.c: Likewise.
65564         * sysdeps/ieee754/s_signgam.c: Likewise.
65565         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65566         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65567         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65568         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65569         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65570         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65571         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65572         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65573         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65574         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65575         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65576         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65577         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65578         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65579         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65580         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65581         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65582         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65583         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65587 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65589         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65590         * sunrpc/rpc_main.c: Likewise.
65591         * sunrpc/rpc_svcout.c: Likewise.
65593 2012-03-09  David S. Miller  <davem@davemloft.net>
65595         * include/math_private.h: New file.
65597 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65599         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65600         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65601         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65602         from <bits/socket_type.h>.
65603         (enum __socket_type): Don't define here.
65604         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65606         bits/socket_type.h.
65608         [BZ #13566]
65609         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65610         checking __USE_GNU.
65612         * Makerules ($(inst_includedir)/%.h): New rule.
65613         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65614         (install-others): Remove variable setting.
65615         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65617 2012-03-08  Richard Henderson  <rth@twiddle.net>
65619         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65620         from macro to inline function; merge with the
65621         !__LIBC_INTERNAL_MATH_INLINES version.
65622         (__ieee754_sqrtf): Likewise.
65624         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65625         to inline function.
65626         (__rintf, __floor, __floorf): Likewise.
65628         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65629         macro to inline function.
65630         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65632         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65633         not <math/math_private.h>.
65635 2012-03-08  David S. Miller  <davem@davemloft.net>
65637         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65638         copyright year.
65639         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65641 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65643         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65644         normalization.
65645         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65646         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65648 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65650         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65651         be defined individually, they must be defined as a block.  Define
65652         S for printing a string instead of hidint the different by using a
65653         macro for adding the 'l'.
65654         * stdio-common/tst-fphex-wide.c: Adjust.
65656 2012-03-07  Marek Polacek  <polacek@redhat.com>
65658         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65660 2012-03-08  Marek Polacek  <polacek@redhat.com>
65662         [BZ #13806]
65663         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65664         * stdio-common/tst-fphex.c: Define a few macros to make the
65665         test reusable.  Use them.
65666         * stdio-common/tst-fphex-wide.c: New file.
65668 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65670         [BZ #6911]
65671         * manual/macros.texi (gnusystems): New macro.
65672         (nongnusystems): Likewise.
65673         (gnulinuxhurdsystems): Likewise.
65674         (gnuhurdsystems): Likewise..
65675         (gnulinuxsystems): Likewise.
65676         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65677         variants of the GNU system, not "GNU system".
65678         * manual/conf.texi: Likewise.
65679         * manual/errno.texi: Likewise.  Update example of errno macro
65680         expansion.
65681         * manual/filesys.texi: Likewise.
65682         (getumask): Document as specific to GNU/Hurd.
65683         * manual/install.texi: Likewise.  Reword some references to
65684         GNU/Linux.
65685         * manual/intro.texi: Likewise.
65686         * manual/io.texi: Likewise.
65687         (File Name Portability): Detail which constraints are inapplicable
65688         to all GNU systems and which are only inapplicable to GNU/Hurd.
65689         * manual/job.texi: Likewise.
65690         * manual/llio.texi: Likewise.
65691         (O_NOCTTY): Document as present on GNU/Linux.
65692         * manual/maint.texi: Likewise.
65693         * manual/memory.texi: Likewise.
65694         * manual/pattern.texi: Likewise.
65695         * manual/pipe.texi: Likewise.
65696         * manual/process.texi: Likewise.
65697         * manual/resource.texi: Likewise.
65698         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65699         child on GNU/Hurd.
65700         * manual/setjmp.texi: Likewise.
65701         * manual/signal.texi: Likewise.
65702         * manual/startup.texi: Likewise.
65703         * manual/stdio.texi: Likewise.
65704         * manual/terminal.texi: Likewise.
65705         (ONLCR): Document as POSIX.
65706         (OXTABS): Document availability on GNU/Linux as XTABS.
65707         (ONOEOT): Document availability separately from other bits.
65708         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65709         * manual/time.texi: Likewise.
65710         * manual/users.texi: Likewise.
65711         * INSTALL: Regenerated.
65712         * sysdeps/gnu/errlist.c: Regenerated.
65714         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65715         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65716         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65717         puts.
65718         * configure: Regenerated.
65720 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65722         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65723         default includes instead of AC_HEADER_CHECK.
65724         * sysdeps/i386/configure: Regenerated.
65726         [BZ #10716]
65727         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65728         * math/s_cacoshf.c (__cacoshf): Likewise.
65729         * math/s_cacoshl.c (__cacoshl): Likewise.
65730         * math/s_casinh.c (__casinh): Set signs of result from argument.
65731         * math/s_casinhf.c (__casinhf): Likewise.
65732         * math/s_casinhl.c (__casinhl): Likewise.
65733         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65734         (casinh_test): Add more tests.
65735         * sysdeps/i386/fpu/libm-test-ulps: Update.
65736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65738 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65740         * po/zh_TW.po: Update from translation team.
65742         * login/Makefile (distribute): Remove variable.
65743         * catgets/Makefile: Likewise.
65744         * mach/Makefile: Likewise.
65745         * malloc/Makefile: Likewise.
65746         * misc/Makefile: Likewise.
65747         * iconv/Makefile: Likewise.
65748         * nscd/Makefile: Likewise.
65749         * hurd/Makefile: Likewise.
65750         * manual/Makefile: Likewise.
65751         * locale/Makefile: Likewise.
65752         * intl/Makefile: Likewise.
65753         * conform/Makefile: Likewise.
65754         * nss/Makefile: Likewise.
65755         * time/Makefile: Likewise.
65756         * soft-fp/Makefile: Likewise.
65757         * dirent/Makefile: Likewise.
65758         * gmon/Makefile: Likewise.
65759         * po/Makefile: Likewise.
65760         * rt/Makefile: Likewise.
65761         * socket/Makefile: Likewise.
65762         * math/Makefile: Likewise.
65763         * signal/Makefile: Likewise.
65764         * debug/Makefile: Likewise.
65765         * elf/Makefile: Likewise.
65766         * timezone/Makefile: Likewise.
65767         * stdlib/Makefile: Likewise.
65768         * iconvdata/Makefile: Likewise.
65769         * sunrpc/Makefile: Likewise.
65770         * io/Makefile: Likewise.
65771         * argp/Makefile: Likewise.
65772         * inet/Makefile: Likewise.
65773         * hesiod/Makefile: Likewise.
65774         * grp/Makefile: Likewise.
65775         * csu/Makefile: Likewise.
65776         * wctype/Makefile: Likewise.
65777         * crypt/Makefile: Likewise.
65778         * libio/Makefile: Likewise.
65779         * string/Makefile: Likewise.
65780         * nis/Makefile: Likewise.
65781         * resolv/Makefile: Likewise.
65782         * stdio-common/Makefile: Likewise.
65783         * wcsmbs/Makefile: Likewise.
65784         * dlfcn/Makefile: Likewise.
65785         * posix/Makefile: Likewise.
65787         [BZ #6959]
65788         * timezone/Makefile: Don't install timezone files, just the programs
65789         and scripts.
65791 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65793         * nss/databases.def: Add missing gshadow entry.
65795         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65797 2012-03-06  Marek Polacek  <polacek@redhat.com>
65799         [BZ #13726]
65800         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65801         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65802         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65803         * stdio-common/tst-long-dbl-fphex.c: New file.
65805 2012-03-06  David S. Miller  <davem@davemloft.net>
65807         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65808         (set_obp_int): New function.
65809         (get_obp_int): New function.
65810         (__get_clockfreq_via_dev_openprom): Likewise.
65811         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65812         Avoid unused variable warnings on 'val' and use builtin_expect.
65813         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65814         __builtin_expect.
65815         (INLINE_CLONE_SYSCALL): Likewise.
65817 2012-03-05  David S. Miller  <davem@davemloft.net>
65819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65821 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65825         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65826         only for |x| >= 40.
65827         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65829 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65831         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65832         Replace gettimeofday with __vdso_gettimeofday.
65834         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65835         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65836         __vdso_clock_gettime and __vdso_getcpu.
65838         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65839         time with __vdso_time.
65841 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65843         * manual/lang.texi (size_t): Note types to which size_t may be
65844         equivalent with the GNU C Library, but do not describe when
65845         differences between them are significant.
65847 2012-03-05  Andreas Jaeger  <aj@suse.de>
65849         * sysdeps/i386/fpu/libm-test-ulps: Update.
65851 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65853         [BZ #3976]
65854         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65855         (__ieee754_pow): Save and restore rounding mode and use
65856         round-to-nearest for main computations.
65857         * math/libm-test.inc (pow_test_tonearest): New function.
65858         (pow_test_towardzero): Likewise.
65859         (pow_test_downward): Likewise.
65860         (pow_test_upward): Likewise.
65861         (main): Call the new functions.
65862         * sysdeps/i386/fpu/libm-test-ulps: Update.
65863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65865         [BZ #3976]
65866         * math/libm-test.inc (cosh_test_tonearest): New function.
65867         (cosh_test_towardzero): Likewise.
65868         (cosh_test_downward): Likewise.
65869         (cosh_test_upward): Likewise.
65870         (sinh_test_tonearest): Likewise.
65871         (sinh_test_towardzero): Likewise.
65872         (sinh_test_downward): Likewise.
65873         (sinh_test_upward): Likewise.
65874         (main): Call the new functions.
65875         * sysdeps/i386/fpu/libm-test-ulps: Update.
65876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65878 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65880         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65881         default stack guard is set in last bytes.
65882         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65884 2012-03-05  Kees Cook  <keescook@chromium.org>
65886         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65888         [BZ #13656]
65889         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65890         possibly allocate from heap instead of stack.
65891         * stdio-common/bug-vfprintf-nargs.c: New file.
65892         * stdio-common/Makefile (tests): Add nargs overflow test.
65894 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65898 2012-03-03  Marek Polacek  <polacek@redhat.com>
65900         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65901         * math/math_private.h: Likewise.
65902         * stdlib/tst-strtod.c: Likewise.
65903         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65904         * sysdeps/x86_64/bits/atomic.h: Likewise.
65906 2012-03-02  David S. Miller  <davem@davemloft.net>
65908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65912         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65913         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65914         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65915         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65917 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65919         [BZ #13792]
65920         * manual/examples/README: New file, says the example source files
65921         can be used under GPL>=2.
65922         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65923         line containing just "*/".
65924         * manual/examples/add.c: Add copyright header (GPL>=2).
65925         * manual/examples/argp-ex1.c: Likewise.
65926         * manual/examples/argp-ex2.c: Likewise.
65927         * manual/examples/argp-ex3.c: Likewise.
65928         * manual/examples/argp-ex4.c: Likewise.
65929         * manual/examples/atexit.c: Likewise.
65930         * manual/examples/db.c: Likewise.
65931         * manual/examples/dir.c: Likewise.
65932         * manual/examples/dir2.c: Likewise.
65933         * manual/examples/execinfo.c: Likewise.
65934         * manual/examples/filecli.c: Likewise.
65935         * manual/examples/filesrv.c: Likewise.
65936         * manual/examples/fmtmsgexpl.c: Likewise.
65937         * manual/examples/genpass.c: Likewise.
65938         * manual/examples/inetcli.c: Likewise.
65939         * manual/examples/inetsrv.c: Likewise.
65940         * manual/examples/isockad.c: Likewise.
65941         * manual/examples/longopt.c: Likewise.
65942         * manual/examples/memopen.c: Likewise.
65943         * manual/examples/memstrm.c: Likewise.
65944         * manual/examples/mkfsock.c: Likewise.
65945         * manual/examples/mkisock.c: Likewise.
65946         * manual/examples/mygetpass.c: Likewise.
65947         * manual/examples/pipe.c: Likewise.
65948         * manual/examples/popen.c: Likewise.
65949         * manual/examples/rprintf.c: Likewise.
65950         * manual/examples/search.c: Likewise.
65951         * manual/examples/select.c: Likewise.
65952         * manual/examples/setjmp.c: Likewise.
65953         * manual/examples/sigh1.c: Likewise.
65954         * manual/examples/sigusr.c: Likewise.
65955         * manual/examples/stpcpy.c: Likewise.
65956         * manual/examples/strdupa.c: Likewise.
65957         * manual/examples/strftim.c: Likewise.
65958         * manual/examples/strncat.c: Likewise.
65959         * manual/examples/subopt.c: Likewise.
65960         * manual/examples/swapcontext.c: Likewise.
65961         * manual/examples/termios.c: Likewise.
65962         * manual/examples/testopt.c: Likewise.
65963         * manual/examples/testpass.c: Likewise.
65964         * manual/examples/timeval_subtract.c: Likewise.
65966         [BZ #13792]
65967         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65968         function to ...
65969         * manual/timeval_subtract.c.texi: ... here, new file.
65971 2012-03-02  David S. Miller  <davem@davemloft.net>
65973         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65975 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65977         [BZ #3976]
65978         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65979         (__sin): Save and restore rounding mode and use round-to-nearest
65980         for all computations.
65981         (__cos): Save and restore rounding mode and use round-to-nearest
65982         for all computations.
65983         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65984         <fenv.h>.
65985         (tan): Save and restore rounding mode and use round-to-nearest for
65986         all computations.
65987         * math/libm-test.inc (cos_test_tonearest): New function.
65988         (cos_test_towardzero): Likewise.
65989         (cos_test_downward): Likewise.
65990         (cos_test_upward): Likewise.
65991         (sin_test_tonearest): Likewise.
65992         (sin_test_towardzero): Likewise.
65993         (sin_test_downward): Likewise.
65994         (sin_test_upward): Likewise.
65995         (tan_test_tonearest): Likewise.
65996         (tan_test_towardzero): Likewise.
65997         (tan_test_downward): Likewise.
65998         (tan_test_upward): Likewise.
65999         (main): Call the new functions.
66000         * sysdeps/i386/fpu/libm-test-ulps: Update.
66001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66003         [BZ #10135]
66004         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66005         small n, then large n, before computing and testing k+n.
66006         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66007         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66008         Likewise.
66009         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66010         Likewise.
66011         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66012         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66013         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66014         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66015         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66016         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66017         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66018         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66019         * math/libm-test.inc (scalbn_test): Add more tests.
66020         (scalbln_test): Likewise.
66022         * manual/filesys.texi (mode_t): Describe constraints on size and
66023         signedness, not exact equivalence to a particular type.
66024         (ino_t): Likewise.
66025         (ino64_t): Likewise.
66026         (dev_t): Likewise.
66027         (nlink_t): Likewise.
66028         (blkcnt_t): Likewise.
66029         (blkcnt64_t): Likewise.
66030         * manual/llio.texi (off_t): Likewise.
66032         [BZ #3976]
66033         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66034         (__ieee754_exp): Save and restore rounding mode and use
66035         round-to-nearest for all computations.
66036         * math/libm-test.inc (exp_test_tonearest): New function.
66037         (exp_test_towardzero): Likewise.
66038         (exp_test_downward): Likewise.
66039         (exp_test_upward): Likewise.
66040         (main): Call the new functions.
66041         * sysdeps/i386/fpu/libm-test-ulps: Update.
66042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66044 2012-03-01  Chris Demetriou  <cgd@google.com>
66046         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66047         have predictable order.
66049 2012-03-01  David S. Miller  <davem@davemloft.net>
66051         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66053         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66054         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66055         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66056         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66058         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66059         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66060         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66062         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66063         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66064         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66065         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66066         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66070         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66071         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66072         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66074         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66075         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66076         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66077         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66078         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66079         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66080         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66081         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66082         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66083         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66084         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66085         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66087         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66088         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66089         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66090         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66091         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66092         * sysdeps/sparc/elf/configure: Regenerated.
66094 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66096         * configure.in (AS, LD): Require binutils 2.20 or later.
66097         * configure: Regenerated.
66098         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66099         as required minimum version.
66100         * INSTALL: Regenerated.
66102         [BZ #2541]
66103         [BZ #4108]
66104         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66105         before squaring exponent.
66106         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66107         bottom long double and 27 bits of top long double before squaring
66108         exponent.
66109         * math/libm-test.inc (erfc_test): Add more tests.
66110         * sysdeps/i386/fpu/libm-test-ulps: Update.
66111         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66114 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66116         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66117         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66118         containing bit-fields.
66119         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66120         * soft-fp/single.h (_FP_UNION_S): Likewise.
66121         * soft-fp/double.h (_FP_UNION_D): Likewise.
66123 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66125         [BZ #13786]
66126         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66127         not include ../strcmp.S.
66128         [USE_AS_STRNCASECMP_L]: Likewise.
66129         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66130         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66131         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66132         (__strncasecmp_l_ia32): Define as alias to
66133         __strncasecmp_l_nonascii.
66135         [BZ #5794]
66136         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66137         * sysdeps/i386/fpu/libm-test-ulps: Update.
66138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66140         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66143 2012-02-29  Jeff Law  <law@redhat.com>
66145         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66146         out of bounds read.
66148 2012-02-29  Marek Polacek  <polacek@redhat.com>
66150         [BZ #13706]
66151         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66152         * elf/Makefile: Add rules to run tst-unused-dep.out.
66154 2012-02-28  David S. Miller  <davem@davemloft.net>
66156         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66157         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66158         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66159         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66160         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66161         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66163 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66165         * math/libm-test.inc (llround_test): Move one test from
66166         lround_test.  Use TEST_f_L in moved test.
66167         (lround_test): Move misplaced test to llround_test.  Add testcase
66168         from bug 2561.
66170 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66172         * sysdeps/x86_64/fpu/e_expf.S: New file.
66173         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66175 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66177         [BZ #13637]
66178         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66179         of remain_len that may cause incomplete multi-byte character and
66180         false match.
66181         * posix/bug-regex33.c: New file.
66182         * posix/Makefile (tests): Add bug-regex33.
66184 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66186         * manual/macros.texi: New file.
66187         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66188         * manual/libc.texinfo: Include macros.texi.
66189         * manual/creatute.texi: Likewise.
66190         * manual/install.texi: Likewise.
66191         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66192         @glibcadj{} in references to the GNU C Library.
66193         * manual/charset.texi: Likewise.
66194         * manual/conf.texi: Likewise.
66195         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66196         when not using those macros.
66197         * manual/creature.texi: Likewise.
66198         * manual/crypt.texi: Likewise.
66199         * manual/errno.texi: Likewise.
66200         * manual/filesys.texi: Likewise.
66201         * manual/header.texi: Likewise.
66202         * manual/install.texi: Likewise.
66203         * manual/intro.texi: Likewise.
66204         * manual/io.texi: Likewise.
66205         * manual/job.texi: Likewise.
66206         * manual/lang.texi: Likewise.
66207         * manual/libc.texiinfo: Likewise.
66208         * manual/llio.texi: Likewise.
66209         * manual/locale.texi: Likewise.
66210         * manual/maint.texi: Likewise.
66211         * manual/math.texi: Likewise.
66212         * manual/memory.texi: Likewise.
66213         * manual/message.texi: Likewise.
66214         * manual/nss.texi: Likewise.
66215         * manual/pattern.texi: Likewise.
66216         * manual/process.texi: Likewise.
66217         * manual/resource.texi: Likewise.
66218         * manual/search.texi: Likewise.
66219         * manual/setjmp.texi: Likewise.
66220         * manual/signal.texi: Likewise.
66221         * manual/socket.texi: Likewise.
66222         * manual/startup.texi: Likewise.
66223         * manual/stdio.texi: Likewise.
66224         * manual/string.texi: Likewise.
66225         * manual/sysinfo.texi: Likewise.
66226         * manual/syslog.texi: Likewise.
66227         * manual/terminal.texi: Likewise.
66228         * manual/time.texi: Likewise.
66229         * manual/users.texi: Likewise.
66230         * INSTALL: Regenerated.
66231         * NOTES: Regenerated.
66232         * sysdeps/gnu/errlist.c: Regenerated.
66234 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66236         * include/dirent.h: Include <dirstream.h> before
66237         <dirent/dirent.h>.
66239 2012-02-28  David S. Miller  <davem@davemloft.net>
66241         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66242         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66243         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66244         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66246 2012-02-27  David S. Miller  <davem@davemloft.net>
66248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66250         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66251         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66254         frame pointer instead of stack pointer relative arg slot.
66255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66256         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66257         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66259 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66261         [BZ #3992]
66262         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66264 2012-02-27  David S. Miller  <davem@davemloft.net>
66266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66270         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66271         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66272         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66273         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66275 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66277         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66278         later.  Allow versions 5-9.
66279         * configure: Regenerated.
66280         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66281         required minimum version and 4.6 as recommended version.  Do not
66282         mention bugs in GCC 2.7 and 2.8.
66283         * INSTALL: Regenerated.
66285 2012-02-27  David S. Miller  <davem@davemloft.net>
66287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66291         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66292         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66293         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66294         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66296         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66297         manipulate bits before adding and subtracting TWO112[sx].
66298         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66300 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66302         [BZ #13775]
66303         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66304         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66305         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66306         being in POSIX, because they are in 1003.1-2008.
66308         * rt/tst-aio.c: Include <fcntl.h>.
66309         * rt/tst-aio7.c: Likewise.
66310         * rt/tst-aio64.c: Likewise.
66312         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66314 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66316         * manual/install.texi (--with-headers): Describe headers as
66317         interface headers, not private headers.
66318         (Specific advice for GNU/Linux systems): Describe use of headers
66319         from "make headers_install", not private headers from older
66320         kernels.
66321         * INSTALL: Regenerated.
66322         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66323         Change to 2.6.19.
66324         * sysdeps/unix/sysv/linux/configure: Regenerated.
66326         * manual/llio.texi (fclean): Remove documentation.
66328         * manual/Makefile (libc-texi-generated): New variable.  Include
66329         version.texi.
66330         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66331         $(libc-texi-generated), not duplicated list of files.
66332         (version.texi, stamp-version): New rules.
66333         (realclean): Remove $(libc-texi-generated), not individual files
66334         from that list.  Do not remove dir-add.texinfo.
66335         * manual/libc.texinfo: Comment out uses of edition numbers and
66336         references to printed manual.  Remove last-updated dates.
66337         (EDITION): Comment out.
66338         (ISBN): Likewise.
66339         (VERSION, UPDATED): Remove.
66340         (version.texi): Include.
66342 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66344         * sysdeps/posix/spawni.c: Include <signal.h>.
66345         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66346         * sysdeps/pthread/aio_fsync.c: Likewise.
66348 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66350         * conform/Makefile (tests): Run only when not cross-compiling and
66351         when fast-check is not defined.
66353         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66354         * conform/data/limits.h-data: Fixes for POSIX2008.
66355         * conform/run-conformtest.sh: Run all tests.
66356         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66357         headers.
66358         * include/bits/dlfcn.h: Likewise.
66359         * include/langinfo.h: Likewise.
66360         * include/monetary.h: Likewise.
66361         * include/sys/poll.h: Likewise.
66363         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66364         for __USE_GNU.
66365         * posix/spawn.h: Define __need_sigset_t.
66366         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66367         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66368         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66369         to get sigevent_t only.
66370         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66371         only for __USE_GNU.
66372         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66373         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66374         process_vm_writev only for __USE_GNU.
66375         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66377         * conform/Makefile: For now ignore errors from run-conformtest.
66378         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66379         POSIX to avoid namespace pollution.  Don't prepend headers.
66380         * conform/data/aio.h-data: Fixes for POSIX testing.
66381         * conform/data/fcntl.h-data: Likewise.
66382         * conform/data/glob.h-data: Likewise.
66383         * conform/data/grp.h-data: Likewise.
66384         * conform/data/pthread.h-data: Likewise.
66385         * conform/data/pwd.h-data: Likewise.
66386         * conform/data/signal.h-data: Likewise.
66387         * conform/data/spawn.h-data: Likewise.
66388         * conform/data/stdio.h-data: Likewise.
66389         * conform/data/stdlib.h-data: Likewise.
66390         * conform/data/stropts.h-data: Likewise.
66391         * conform/data/sys/mman.h-data: Likewise.
66392         * conform/data/sys/stat.h-data: Likewise.
66393         * conform/data/sys/types.h-data: Likewise.
66394         * conform/data/sys/wait.h-data: Likewise.
66395         * conform/data/time.h-data: Likewise.
66396         * conform/data/unistd.h-data: Likewise.
66397         * conform/data/utime.h-data: Likewise.
66399         * io/sys/stat.h: fchmod was always in POSIX.
66400         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66401         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66402         * rt/aio.h: Define __need_timespec before including <time.h>.
66403         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66404         struct.  Add forward declaration of pthread_attr_t and use it in
66405         sigevent.
66406         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66407         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66408         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66409         always remove CLK_TCK definition.
66411 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66413         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66415 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66417         * conform/run-conformtest.sh: New file.
66418         * conform/Makefile: Run run-conformtest for tests.
66419         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66420         support.
66422         * conform/data/uchar.h-data: New file.
66423         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66424         * conform/data/arpa/inet.h-data: Likewise.
66425         * conform/data/assert.h-data: Likewise.
66426         * conform/data/complex.h-data: Likewise.
66427         * conform/data/cpio.h-data: Likewise.
66428         * conform/data/ctype.h-data: Likewise.
66429         * conform/data/dirent.h-data: Likewise.
66430         * conform/data/dlfcn.h-data: Likewise.
66431         * conform/data/errno.h-data: Likewise.
66432         * conform/data/fcntl.h-data: Likewise.
66433         * conform/data/float.h-data: Likewise.
66434         * conform/data/fmtmsg.h-data: Likewise.
66435         * conform/data/fnmatch.h-data: Likewise.
66436         * conform/data/ftw.h-data: Likewise.
66437         * conform/data/glob.h-data: Likewise.
66438         * conform/data/grp.h-data: Likewise.
66439         * conform/data/iconv.h-data: Likewise.
66440         * conform/data/inttypes.h-data: Likewise.
66441         * conform/data/langinfo.h-data: Likewise.
66442         * conform/data/libgen.h-data: Likewise.
66443         * conform/data/limits.h-data: Likewise.
66444         * conform/data/locale.h-data: Likewise.
66445         * conform/data/math.h-data: Likewise.
66446         * conform/data/monetary.h-data: Likewise.
66447         * conform/data/mqueue.h-data: Likewise.
66448         * conform/data/ndbm.h-data: Likewise.
66449         * conform/data/net/if.h-data: Likewise.
66450         * conform/data/netdb.h-data: Likewise.
66451         * conform/data/netinet/in.h-data: Likewise.
66452         * conform/data/nl_types.h-data: Likewise.
66453         * conform/data/poll.h-data: Likewise.
66454         * conform/data/pthread.h-data: Likewise.
66455         * conform/data/pwd.h-data: Likewise.
66456         * conform/data/regex.h-data: Likewise.
66457         * conform/data/sched.h-data: Likewise.
66458         * conform/data/search.h-data: Likewise.
66459         * conform/data/semaphore.h-data: Likewise.
66460         * conform/data/setjmp.h-data: Likewise.
66461         * conform/data/signal.h-data: Likewise.
66462         * conform/data/spawn.h-data: Likewise.
66463         * conform/data/stdarg.h-data: Likewise.
66464         * conform/data/stdio.h-data: Likewise.
66465         * conform/data/stdlib.h-data: Likewise.
66466         * conform/data/string.h-data: Likewise.
66467         * conform/data/strings.h-data: Likewise.
66468         * conform/data/stropts.h-data: Likewise.
66469         * conform/data/sys/ipc.h-data: Likewise.
66470         * conform/data/sys/mman.h-data: Likewise.
66471         * conform/data/sys/msg.h-data: Likewise.
66472         * conform/data/sys/resource.h-data: Likewise.
66473         * conform/data/sys/select.h-data: Likewise.
66474         * conform/data/sys/sem.h-data: Likewise.
66475         * conform/data/sys/shm.h-data: Likewise.
66476         * conform/data/sys/socket.h-data: Likewise.
66477         * conform/data/sys/stat.h-data: Likewise.
66478         * conform/data/sys/statvfs.h-data: Likewise.
66479         * conform/data/sys/time.h-data: Likewise.
66480         * conform/data/sys/timeb.h-data: Likewise.
66481         * conform/data/sys/times.h-data: Likewise.
66482         * conform/data/sys/types.h-data: Likewise.
66483         * conform/data/sys/uio.h-data: Likewise.
66484         * conform/data/sys/un.h-data: Likewise.
66485         * conform/data/sys/utsname.h-data: Likewise.
66486         * conform/data/sys/wait.h-data: Likewise.
66487         * conform/data/syslog.h-data: Likewise.
66488         * conform/data/tar.h-data: Likewise.
66489         * conform/data/termios.h-data: Likewise.
66490         * conform/data/utime.h-data: Likewise.
66491         * conform/data/utmpx.h-data: Likewise.
66492         * conform/data/varargs.h-data: Likewise.
66493         * conform/data/wchar.h-data: Likewise.
66494         * conform/data/wctype.h-data: Likewise.
66495         * conform/data/wordexp.h-data: Likewise.
66497         * include/stropts.h: New file.
66498         * include/uchar.h: New file.
66499         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66500         * include/assert.h: Likewise.
66501         * include/ctype.h: Likewise.
66502         * include/dirent.h: Likewise.
66503         * include/dlfcn.h: Likewise.
66504         * include/fcntl.h: Likewise.
66505         * include/fnmatch.h: Likewise.
66506         * include/glob.h: Likewise.
66507         * include/grp.h: Likewise.
66508         * include/libio.h: Likewise.
66509         * include/locale.h: Likewise.
66510         * include/math.h: Likewise.
66511         * include/net/if.h: Likewise.
66512         * include/netdb.h: Likewise.
66513         * include/netinet/in.h: Likewise.
66514         * include/pthread.h: Likewise.
66515         * include/pwd.h: Likewise.
66516         * include/regex.h: Likewise.
66517         * include/sched.h: Likewise.
66518         * include/search.h: Likewise.
66519         * include/setjmp.h: Likewise.
66520         * include/signal.h: Likewise.
66521         * include/stdio.h: Likewise.
66522         * include/stdlib.h: Likewise.
66523         * include/string.h: Likewise.
66524         * include/sys/cdefs.h: Likewise.
66525         * include/sys/mman.h: Likewise.
66526         * include/sys/msg.h: Likewise.
66527         * include/sys/resource.h: Likewise.
66528         * include/sys/select.h: Likewise.
66529         * include/sys/socket.h: Likewise.
66530         * include/sys/stat.h: Likewise.
66531         * include/sys/statvfs.h: Likewise.
66532         * include/sys/time.h: Likewise.
66533         * include/sys/times.h: Likewise.
66534         * include/sys/uio.h: Likewise.
66535         * include/sys/utsname.h: Likewise.
66536         * include/sys/wait.h: Likewise.
66537         * include/termios.h: Likewise.
66538         * include/time.h: Likewise.
66539         * include/ulimit.h: Likewise.
66540         * include/unistd.h: Likewise.
66541         * include/utime.h: Likewise.
66542         * include/wchar.h: Likewise.
66543         * include/wctype.h: Likewise.
66544         * include/wordexp.h: Likewise.
66546         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66548         * time/time.h: TIME_UTC must be a macro.
66549         Make timespec_get available for ISO C11 only as well.
66551 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66553         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66554         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66556 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66558         * configure.in: Use -o not -a in test for unsupported multi-arch.
66560 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66562         * manual/texinfo.tex: Update to version 2012-01-19.16.
66564 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66566         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66568 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66570         [BZ #13738]
66571         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66572         * manual/fdl-1.3.texi: New file.
66573         * manual/fdl-1.1.texi: File removed.
66575         [BZ #13738]
66576         * manual/libc.texinfo (FDL_VERSION): New @set.
66577         Use it for mention of FDL in cover text.
66578         (Documentation License): Use it in @include file name.
66580 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66581             Roland McGrath  <roland@hack.frob.com>
66583         [BZ #5461]
66584         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66585         (not LONG_LONG_MAX and LONG_LONG_MIN.
66586         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66587         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66588         name.
66589         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66591 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66593         [BZ #2547]
66594         [BZ #11365]
66595         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66596         manipulate bits before adding and subtracting TWO23[sx].
66597         * math/libm-test.inc (nearbyint_test): Add more tests.
66599 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66601         [BZ #2548]
66602         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66603         bits before adding and subtracting TWO23[sx].
66604         * math/libm-test.inc (rint_test): Add more tests.
66605         (rint_test_tonearest): Likewise.
66606         (rint_test_towardzero): Likewise.
66607         (rint_test_downward): Likewise.
66608         (rint_test_upward: Likewise.
66610 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66612         [BZ #10110]
66613         * include/stdc-predef.h: New file.  Extracted from features.h.
66614         * include/features.h: Include stdc-predef.h.
66615         * Makefile (headers): Add stdc-predef.h.
66616         * CONFORMANCE (Compiler limitations): Update.
66618 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66620         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66622 2012-02-21  David S. Miller  <davem@davemloft.net>
66624         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66625         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66627 2012-02-20  David S. Miller  <davem@davemloft.net>
66629         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66630         using a normal save/restore sequence, rather than allocating a
66631         dummy stack frame just to store a frame pointer and restore.
66632         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66634 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66636         * manual/install.texi: Fix stray word in line-wrapped comment.
66638 2012-02-20  David S. Miller  <davem@davemloft.net>
66640         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66641         both binutils and gcc support GOTDATA.
66643         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66644         "rd %pc" in the PIC register setup sequences.
66646         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66647         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66648         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66649         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66650         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66651         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66652         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66653         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66655         (SYSCALL_ERROR_HANDLER): Likewise.
66656         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66657         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66658         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66659         (SYSCALL_ERROR_HANDLER): Likewise.
66661         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66662         (HAVE_GCC_GOTDATA): New.
66663         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66664         relocation support in both binutils and gcc.
66665         * sysdeps/sparc/elf/configure: Regenerate.
66667         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66668         * sysdeps/sparc/sparc32/elf/configure: Delete.
66669         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66670         * sysdeps/sparc/sparc64/elf/configure: Delete.
66671         * sysdeps/sparc/elf/configure.in: New file.
66672         * sysdeps/sparc/elf/configure: Generate.
66674         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66675         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66676         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66677         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66678         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66680 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66682         * manual/install.texi: Do not mention specific glibc version
66683         numbers.
66684         * manual/libc.texinfo (VERSION, UPDATED): Update.
66685         (@copying): Use @copyright{} and range of years.
66687 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66689         [BZ #13695]
66690         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66691         [crti.S not in sysdirs] (generated): Do not append.
66692         [crti.S not in sysdirs] (omit-deps): Likewise.
66693         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66694         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66695         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66696         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66697         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66698         Likewise.
66699         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66700         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66701         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66702         * csu/defs.awk: Remove file.
66703         * sysdeps/generic/initfini.c: Likewise.
66704         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66705         variable.
66706         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66707         Likewise.
66709 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66711         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66712         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66713         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66714         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66715         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66716         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66717         <bits/epoll.h>.
66718         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66719         (__EPOLL_PACKED): Define to empty if not defined by
66720         <bits/epoll.h>.
66721         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66722         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66723         bits/epoll.h.
66725 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66727         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66728         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66729         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66730         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66731         <bits/timerfd.h>.
66732         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66734         bits/timerfd.h.
66736 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66738         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66739         in C locale.
66740         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66741         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66742         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66745 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66747         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66748         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66750 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66752         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66753         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66754         defined.
66755         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66756         Likewise.
66757         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66758         entry for 2.16.
66760 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66762         * math/w_acos.c: Use non-signaling floating-point comparisons.
66763         * math/w_acosf.c: Likewise.
66764         * math/w_acosh.c: Likewise.
66765         * math/w_acoshf.c: Likewise.
66766         * math/w_acoshl.c: Likewise.
66767         * math/w_acosl.c: Likewise.
66768         * math/w_asin.c: Likewise.
66769         * math/w_asinf.c: Likewise.
66770         * math/w_asinl.c: Likewise.
66771         * math/w_atanh.c: Likewise.
66772         * math/w_atanhf.c: Likewise.
66773         * math/w_atanhl.c: Likewise.
66774         * math/w_exp2.c: Likewise.
66775         * math/w_exp2f.c: Likewise.
66776         * math/w_exp2l.c: Likewise.
66777         * math/w_j0.c: Likewise.
66778         * math/w_j0f.c: Likewise.
66779         * math/w_j0l.c: Likewise.
66780         * math/w_j1.c: Likewise.
66781         * math/w_j1f.c: Likewise.
66782         * math/w_j1l.c: Likewise.
66783         * math/w_jn.c: Likewise.
66784         * math/w_jnf.c: Likewise.
66785         * math/w_log.c: Likewise.
66786         * math/w_log10.c: Likewise.
66787         * math/w_log10f.c: Likewise.
66788         * math/w_log10l.c: Likewise.
66789         * math/w_log2.c: Likewise.
66790         * math/w_log2f.c: Likewise.
66791         * math/w_log2l.c: Likewise.
66792         * math/w_logf.c: Likewise.
66793         * math/w_logl.c: Likewise.
66794         * math/w_sqrt.c: Likewise.
66795         * math/w_sqrtf.c: Likewise.
66796         * math/w_sqrtl.c: Likewise.
66797         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66798         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66799         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66800         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66801         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66803 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66805         [BZ #9739]
66806         * manual/string.texi (strnlen): Use correct parameter name in
66807         equivalent expression.
66809 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66811         [BZ #11174]
66812         * manual/users.texi (seteuid): Consistently use neweuid for
66813         argument name.
66815 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66817         [BZ #13704]
66818         * manual/nss.texi (Services in the NSS configuration): Correct
66819         list of services in example configuration file.
66821 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66823         [BZ #11322]
66824         * manual/arith.texi: Remove statements about negative zero
66825         behaving identically to zero.
66827 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66829         [BZ #5993]
66830         * manual/install.texi: Do not document upgrading from libc5.
66832 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66834         [BZ #4596]
66835         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66837 2012-02-18  David S. Miller  <davem@davemloft.net>
66839         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66840         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66841         %o7 across the call.
66842         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66843         instead.
66844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66845         SETUP_PIC_REG_LEAF.
66846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66847         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66848         * sysdeps/sparc/crtn.S: Likewise.
66850 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66852         * aout/Makefile: Remove.
66854 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66856         [BZ #13058]
66857         * manual/examples/argp-ex1.c (main): Format definition in GNU
66858         style.
66859         * manual/examples/argp-ex2.c (main): Likewise.
66860         * manual/examples/argp-ex3.c (main): Likewise.
66861         * manual/examples/argp-ex4.c (main): Likewise.
66862         * manual/examples/longopt.c (main): Use new-style prototype
66863         definition.
66864         * manual/examples/strncat.c (main): Specify return type and use
66865         (void) for arguments.
66866         * manual/examples/subopt.c (main): Use char **argv argument.
66868 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66870         [BZ #5077]
66871         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66872         rounding modes.
66874 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66876         [BZ #6907]
66877         * manual/string.texi (strchr): Change when strchrnul is
66878         recommended.
66880 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66882         [BZ #174]
66883         * manual/locale.texi (setlocale): Document LOCPATH.
66885 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66887         [BZ #10210]
66888         * manual/process.texi (execle): Move @dots{} before last argument.
66890 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66892         [BZ #12047]
66893         * manual/charset.texi (Generic Charset Conversion): Fix typo
66894         (LC_TYPE -> LC_CTYPE).
66896 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66898         [BZ #5805]
66899         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66900         (scalbnf): Likewise.
66901         (scalbnl): Likewise.
66902         (scalbln): Likewise.
66903         (scalblnf): Likewise.
66904         (scalblnl): Likewise.
66905         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66906         (vwarnx): Likewise.
66907         (verr): Likewise.
66908         (verrx): Likewise.
66909         * manual/filesys.texi (telldir): Use braces around return type.
66910         * manual/llio.texi (mmap): Add space after comma.
66911         (mmap64): Likewise.
66912         * manual/math.texi (jn): Use @var{} on parameter names.
66913         (jnf): Likewise.
66914         (jnl): Likewise.
66915         (yn): Likewise.
66916         (ynf): Likewise.
66917         (ynl): Likewise.
66918         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66919         line.
66920         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66921         "...".
66922         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66923         (sched_get_priority_max): Likewise.
66924         * manual/signal.texi (sigvec): Add space after comma.
66925         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66926         names.
66927         (if_indextoname): Likewise.
66928         (if_freenameindex): Likewise.
66929         (sendto): Use ',' instead of '.' in prototype.
66930         * manual/startup.texi (syscall): Use @dots{} instead of literal
66931         "...".
66932         * manual/stdio.texi (__fpending): Separate initial words of
66933         paragraph from @deftypefun line.
66934         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66935         "...".
66936         (vsyslog): Use @var{} on parameter names.
66937         * manual/terminal.texi (stty): Use @var{} on parameter names.
66938         * manual/users.texi (getutmp): Use @var{} on parameter names.
66939         (getutmpx): Likewise.
66941 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66943         [BZ #6884]
66944         * manual/stdio.texi (fopen): Fix typos in description of
66945         ",ccs=STRING".
66947 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66949         [BZ #4026]
66950         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66951         get clock_id definition.
66953 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66955         [BZ #4822]
66956         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66957         (madvise): Cast every argument to void on its own.
66959 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66961         [BZ #9902]
66962         * manual/startup.texi (Exit Status): Fix typo.
66964 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66966         [BZ #10140]
66967         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66968         * manual/examples/argp-ex2.c: Likewise.
66969         * manual/examples/argp-ex3.c: Likewise.
66971 2012-02-16  Richard Henderson  <rth@redhat.com>
66973         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66974         * sysdeps/s390/s390-32/initfini.c: Remove.
66975         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66976         * sysdeps/s390/s390-64/initfini.c: Remove.
66978 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66980         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66981         compiler output for sysdeps/generic/initfini.c.
66982         * sysdeps/sh/elf/initfini.c: Remove file.
66984 2012-02-16  David S. Miller  <davem@davemloft.net>
66986         [BZ #11494]
66987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66989         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66990         * sysdeps/sparc/crti.S: New file.
66991         * sysdeps/sparc/crtn.S: New file.
66992         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66993         * sysdeps/sparc/sparc64/Makefile: Likewise.
66995 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66997         [BZ #3335]
66998         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67000 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67002         [BZ #4822]
67003         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67005         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67006         (write, read, close): Likewise.
67007         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67009 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67011         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67012         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67013         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67014         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67015         <bits/signalfd.h>.
67016         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67018         bits/signalfd.h.
67020 2012-02-14  Marek Polacek  <polacek@redhat.com>
67022         * sysdeps/x86_64/crti.S: New file.
67023         * sysdeps/x86_64/crtn.S: New file.
67024         * sysdeps/x86_64/elf/initfini.c: Remove file.
67026 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67028         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67029         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67030         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67031         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67032         <bits/inotify.h>.
67033         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67035         bits/inotify.h.
67037 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67039         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67040         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67041         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67042         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67043         <bits/eventfd.h>.
67044         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67046         bits/eventfd.h.
67048 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67050         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67051         __feraiseexcept instead of feraiseexcept.
67053         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67054         nanosleep invocations.
67055         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67056         strings, and add error checking for a nanosleep invocations.
67058 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67060         Replace FSF snail mail address with URLs, as per GNU coding standards.
67061         Most of the snail mail addresses were wrong anyway, and omitting
67062         them makes the source code easier to maintain.  Almost all of the
67063         changes are to license notices and to locale LC_IDENTIFICATION
67064         addresses, except for this one:
67065         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67066         not its snail mail address.
67068 2012-02-09  Richard Henderson  <rth@twiddle.net>
67070         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67071         of kernel-features.h.
67073         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67075 2012-02-08  Marek Polacek  <polacek@redhat.com>
67077         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67078         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67079         * sysdeps/gnu/_G_config.h: Likewise.
67080         * sysdeps/generic/_G_config.h: Likewise.
67082 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67084         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67085         tests.
67086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67088         * sysdeps/powerpc/powerpc32/crti.S: New file.
67089         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67090         * sysdeps/powerpc/powerpc64/crti.S: New file.
67091         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67093         * Makeconfig (have-initfini): Don't set.
67094         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67095         * configure.in (nopic_initfini): Don't substitute.
67096         * config.h.in (HAVE_INITFINI): Don't #undef.
67097         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67098         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67100 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67102         Support crti.S and crtn.S provided directly by architectures.
67103         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67104         [crti.S in sysdirs] (omit-deps): Likewise.
67105         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67106         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67107         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67108         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67109         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67110         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67111         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67112         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67113         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67114         compiler output for sysdeps/generic/initfini.c.
67115         * sysdeps/i386/elf/Makefile: Remove file.
67116         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67118 2012-02-07  Marek Polacek  <polacek@redhat.com>
67120         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67121         * sysdeps/gnu/_G_config.h: Likewise.
67122         * sysdeps/mach/hurd/_G_config.h: Likewise.
67124 2012-02-07  Marek Polacek  <polacek@redhat.com>
67126         * math/Makefile (tests): Add tst-CMPLX2.
67127         * math/tst-CMPLX2.c: New file.
67129 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67131         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67133         * math/libm-test.inc (jn_test): Add missing L suffix.
67135 2012-02-06  Marek Polacek  <polacek@redhat.com>
67137         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67138         * sysdeps/i386/fpu/e_powf.S: Likewise.
67139         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67140         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67141         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67142         * sysdeps/i386/fpu/e_pow.S: Likewise.
67143         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67144         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67145         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67146         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67147         * sysdeps/i386/fpu/e_log2.S: Likewise.
67148         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67149         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67150         * sysdeps/i386/fpu/e_powl.S: Likewise.
67151         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67152         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67153         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67154         * sysdeps/i386/fpu/e_logl.S: Likewise.
67155         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67156         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67157         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67158         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67159         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67160         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67161         * sysdeps/i386/fpu/e_log.S: Likewise.
67162         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67163         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67164         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67165         * sysdeps/i386/fpu/e_logf.S: Likewise.
67166         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67167         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67168         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67169         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67170         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67171         * sysdeps/i386/fpu/e_log10.S: Likewise.
67172         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67173         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67174         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67175         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67176         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67177         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67178         * sysdeps/i386/asm-syntax.h: Likewise.
67179         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67180         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67181         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67182         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67183         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67184         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67185         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67186         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67187         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67188         * sysdeps/powerpc/sysdep.h: Likewise.
67189         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67190         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67192 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67194         [BZ #411]
67195         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67197 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67199         * sysdeps/i386/sysdep.h: Include <features.h>.
67200         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67201         version.
67203 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67205         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67206         Define.
67207         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67208         LOAD_PIC_REG_STR.
67210 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67212         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67213         (SETUP_PIC_REG): Use GET_PC_THUNK.
67214         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67215         macro.
67217 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67219         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67220         for non-PIC compilation.
67221         (SETUP_PIC_REG): Add .p2align directive.
67222         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67223         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67224         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67225         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67226         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67227         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67228         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67229         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67230         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67231         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67232         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67233         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67234         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67235         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67236         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67237         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67238         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67239         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67240         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67241         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67242         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67243         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67244         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67245         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67246         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67248         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67250         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67251         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67252         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67253         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67254         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67255         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67256         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67257         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67258         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67259         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67260         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67261         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67262         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67264 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67266         * math/tst-CMPLX.c: Include <stdio.h>.
67268 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67270         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67271         float.
67272         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67273         * sysdeps/sparc/bits/mathdef.h: Likewise.
67275 2012-01-31  Marek Polacek  <polacek@redhat.com>
67277         * libio/libio.h: Don't define _PARAMS.
67278         * locale/programs/config.h: Don't define PARAMS.
67279         * stdlib/strtol_l.c: Likewise.
67280         (__strtol_l): Remove PARAMS from the prototype.
67282 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67284         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67285         names.  Just use the correct names.  Remove unnecessary wrapper
67286         functions.
67287         * malloc/arena.c: Likewise.
67288         * malloc/hooks.c: Likewise.
67290         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67291         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67292         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67294 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67296         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67297         into tail calls.
67298         (update_get_addr): New function.
67299         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67300         GET_ADDR_MODULE parameter.
67302 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67304         * crypt/cert.c: Remove __STDC__ conditionals.
67305         * crypt/crypt-entry.c: Likewise.
67306         * crypt/crypt_util.c: Likewise.
67307         * libio/filedoalloc.c: Likewise.
67308         * libio/fileops.c: Likewise.
67309         * libio/genops.c: Likewise.
67310         * libio/iofclose.c: Likewise.
67311         * libio/iofdopen.c: Likewise.
67312         * libio/iofopen.c: Likewise.
67313         * libio/iofopen64.c: Likewise.
67314         * libio/iogetdelim.c: Likewise.
67315         * libio/iopopen.c: Likewise.
67316         * libio/obprintf.c: Likewise.
67317         * libio/oldfileops.c: Likewise.
67318         * libio/oldiofclose.c: Likewise.
67319         * libio/oldiofdopen.c: Likewise.
67320         * libio/oldiofopen.c: Likewise.
67321         * libio/oldiopopen.c: Likewise.
67322         * libio/wfiledoalloc.c: Likewise.
67323         * libio/wgenops.c: Likewise.
67324         * locale/programs/xmalloc.c: Likewise.
67325         * misc/syslog.c: Likewise.
67326         * stdio-common/xbug.c: Likewise.
67327         * string/memchr.c: Likewise.
67328         * string/memcmp.c: Likewise.
67329         * string/memrchr.c: Likewise.
67330         * string/rawmemchr.c: Likewise.
67331         * sysdeps/posix/getcwd.c: Likewise.
67332         * time/strftime_l.c: Likewise.
67334 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67336         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67337         * config.make.in (config-cflags-sse2avx): Define.
67338         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67339         Fix typo.
67341 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67343         * scripts/config.guess: Update from upstream config git repository.
67344         * scripts/config.sub: Likewise.
67346 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67348         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67349         (EM_NUM): Update.
67350         (R_TILEPRO_*, R_TILEGX_*): New macros.
67352         * scripts/firstversions.awk: Fix bug in version range handling.
67354         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67356         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67358         * include/sys/epoll.h: New file.
67359         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67360         libc_hidden_def.
67362 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67364         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67365         Avoid unnecessary __WORDSIZE == 64 test.
67366         (fmaxf): Use VEX format if possible.
67367         (fmax): Likewise.
67368         (fminf): Likewise.
67369         (fmin): Likewise.
67371         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67372         * math/math_private.h: Remove libc_fegetround* and
67373         libc_fesetround*.
67374         * sysdeps/i386/configure.in: Check for -msse2avx.
67375         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67376         also if SSE2AVX is defined.
67377         Remove libc_fegetround* and libc_fesetround*.
67378         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67379         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67380         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67381         of HAS_YMM_USABLE.
67382         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67383         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67384         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67385         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67386         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67388         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67390 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67392         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67393         size is not set.
67394         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67396 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67398         [BZ #13618]
67399         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67400         relocation.
67401         * Makeconfig (libm): Define.
67402         * elf/Makefile: Add rules to build and run tst-relsort1.
67403         * elf/tst-relsort1.c: New file.
67404         * elf/tst-relsort1mod1.c: New file.
67405         * elf/tst-relsort1mod2.c: New file.
67407 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67409         * math/s_ldexp.c: Remove __STDC__ conditionals.
67410         * math/s_ldexpf.c: Likewise.
67411         * math/s_ldexpl.c: Likewise.
67412         * math/s_nextafter.c: Likewise.
67413         * math/s_nexttowardf.c: Likewise.
67414         * math/s_significand.c: Likewise.
67415         * math/s_significandf.c: Likewise.
67416         * math/s_significandl.c: Likewise.
67417         * math/w_jnl.c: Likewise.
67418         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67419         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67420         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67421         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67422         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67423         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67424         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67425         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67426         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67427         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67428         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67429         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67430         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67431         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67432         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67433         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67434         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67435         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67437         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67438         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67439         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67440         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67441         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67442         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67443         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67444         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67445         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67446         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67447         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67448         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67449         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67450         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67451         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67452         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67453         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67454         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67455         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67456         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67457         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67458         * sysdeps/ieee754/k_standard.c: Likewise.
67459         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67460         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67461         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67462         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67463         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67464         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67465         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67466         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67467         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67468         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67469         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67470         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67471         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67472         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67473         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67474         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67475         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67476         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67477         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67478         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67479         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67480         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67481         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67482         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67483         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67484         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67485         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67486         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67487         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67488         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67489         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67490         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67491         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67492         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67493         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67494         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67495         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67496         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67497         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67498         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67499         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67500         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67501         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67502         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67503         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67504         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67505         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67506         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67507         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67508         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67509         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67510         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67511         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67514         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67515         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67516         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67517         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67518         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67519         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67520         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67521         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67522         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67523         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67524         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67525         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67526         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67527         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67528         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67529         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67530         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67531         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67532         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67533         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67534         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67535         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67536         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67537         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67538         * sysdeps/ieee754/s_matherr.c: Likewise.
67539         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67540         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67541         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67544 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67546         * crypt/md5.h: Remove __STDC__ conditionals.
67547         * libio/libioP.h: Likewise.
67548         * locale/programs/config.h: Likewise.
67549         * sysdeps/generic/sysdep.h: Likewise.
67550         * sysdeps/i386/asm-syntax.h: Likewise.
67551         * sysdeps/s390/asm-syntax.h: Likewise.
67552         * sysdeps/unix/sysdep.h: Likewise.
67553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67556 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67558         * libio/libio.h: Remove __STDC__ conditionals.
67559         * malloc/obstack.h: Likewise.
67560         * math/complex.h: Likewise.
67561         * math/math.h: Likewise.
67562         * sysdeps/generic/_G_config.h: Likewise.
67563         * sysdeps/gnu/_G_config.h: Likewise.
67564         * sysdeps/mach/hurd/_G_config.h: Likewise.
67565         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67566         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67567         * sysdeps/sparc/bits/mathdef.h: Likewise.
67569 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67571         [BZ #13583]
67572         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67573         Clean up HAS_* macros.
67574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67575         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67576         possible.
67577         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67578         HAS_AVX.
67579         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67580         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67581         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67582         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67583         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67585 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67587         * elf/tst-unique3.cc (gets): Remove declaration.
67588         * elf/tst-unique3lib.cc (gets): Likewise.
67589         * elf/tst-unique3lib2.cc (gets): Likewise.
67590         * elf/tst-unique4.cc (gets): Likewise.
67592 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67594         * include/stdio.h: Add C++ protection.  Add gets declarations and
67595         definitions.
67596         * debug/tst-chk1.c: Don't declare gets here.
67597         * stdio-common/tst-gets.c: Likewise.
67599 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67601         * posix/glob: Remove directory.
67603 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67605         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67607 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67609         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67610         of the non-standard EPFNOSUPPORT.
67612 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67614         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67615         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67616         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67618 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67620         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67622 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67624         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67625         transient errors.
67626         * nscd/grpcache.c (cache_addgr): Likewise.
67627         * nscd/hstcache.c (cache_addhst): Likewise.
67628         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67629         * nscd/pwdcache.c (cache_addpw): Likewise.
67630         * nscd/servicescache.c (cache_addserv): Likewise.
67632 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67634         * malloc/malloc.c: Various cleanups.
67635         * malloc/hooks.c: Likewise.
67637         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67638         * stdlib/bug-fmtmsg1.c: New file.
67640         * stdlib/fmtmsg.c (init): Add missing unlock.
67641         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67643 2012-01-12  Marek Polacek  <polacek@redhat.com>
67645         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67646         and _GNU_SOURCE.
67648 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67650         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67651         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67652         macro to ensure uniqueness of label name.
67653         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67654         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67656 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67658         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67660         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67661         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67662         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67665 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67667         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67669         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67670         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67671         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67673         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67675         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67676         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67677         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67678         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67680         * math/bits/math-finite.h: Add ldexp support.
67682 2012-01-10  Marek Polacek  <polacek@redhat.com>
67684         * locale/programs/localedef.h (show_archive_content): Add noreturn
67685         attribute.
67687 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67689         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67691 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67693         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67695         * io/Makefile (headers): Add bits/poll2.h.
67697 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67700         typo #include statement.
67702 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67704         * include/sys/cdefs.h: Define __attribute_alloc_size.
67705         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67706         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67707         * elf/pldd.c: Likewise.
67708         * iconv/iconv_charmap.c: Likewise.
67709         * iconv/iconvconfig.c: Likewise.
67710         * iconv/strtab.c: Likewise.
67711         * locale/programs/locale.c: Likewise.
67712         * locale/programs/localedef.h: Likewise.
67713         * locale/programs/simple-hash.c: Likewise.
67714         * nscd/nscd.h: Likewise.
67715         * nss/makedb.c: Likewise.
67716         * sysdeps/generic/ldconfig.h: Likewise.
67717         * locale/programs/localedef.c: Remove xmalloc prototype.
67718         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67720 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67722         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67723         appropriate.
67725 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67727         * math/Makefile (tests): Add tst-CMPLX.
67728         * math/tst-CMPLX.c: New file.
67730         * math/complex.h (CMPLXL): Fix typo.
67732         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67733         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67734         GLIBC_2.16.
67735         * debug/tst-chk1.c: Add poll and ppoll tests.
67736         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67737         * include/sys/poll.h: Add hidden proto for ppoll.
67738         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67739         * sysdeps/mach/hurd/ppoll.c: Likewise.
67740         * io/ppoll.c: Likewise.
67741         * debug/poll_chk.c: New file.
67742         * debug/ppoll_chk.c: New file.
67743         * include/bits/poll2.h: New file.
67744         * io/bits/poll2.h: New file.
67746         [BZ #1350]
67747         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67749         * configure.in: static is always set to yes.  Remove.
67750         * config.make.in: Don't set build-static.
67751         * Makeconfig: Remove use of build-static.
67752         * dlfcn/Makefile: Likewise.
67753         * elf/Makefile: Likewise.
67754         * math/Makefile: Likewise.
67755         * misc/Makefile: Likewise.
67756         * nptl/Makefile: Likewise.
67757         * sysdeps/mach/hurd/Makefile: Likewise.
67759         * configure.in: PWD_P is not used anymore.
67760         * config.make.in: Remove PWD_P entry.
67762         * configure.in: Remove last remnants of RANLIB.
67763         No need to check for signed size_t anymore.
67764         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67765         and IA-64.
67766         Remove __builtin_expect test because we require at least gcc 3.4.
67767         * aclocal.m4: Likewise.
67769         * wcsmbs/mbrtoc16.c: Implement using towc function.
67770         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67771         * wcsmbs/wcsmbsload.c: Likewise.
67772         * iconv/gconv_simple.c: Likewise.
67773         * iconv/gconv_int.h: Likewise.
67774         * iconv/gconv_builtin.h: Likewise.
67775         * iconv/iconv_prog.c: Remove CHAR16 handling.
67777         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67779         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67781         * configure.in: Remove --with-elf and --enable-bounded options.
67782         Dont set base_machine for ia64.  More non-ELF conditions removed.
67783         Remove testing and setting of leading underscore information.
67784         * config.make.in (build-bounded): Set to no.
67785         * config.h.in: Remove NO_UNDERSCORES entry.
67786         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67787         them.
67788         * csu/start.c: Remove !NO_UNDERSCORE code.
67789         * locale/localeinfo.h: Likewise.
67790         * sysdeps/generic/machine-gmon.h: Likewise.
67791         * sysdeps/generic/sysdep.h: Likewise.
67792         * sysdeps/i386/sysdep.h: Likewise.
67793         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67794         * sysdeps/mach/sysdep.h: Likewise.
67795         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67796         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67797         * sysdeps/sh/sysdep.h: Likewise.
67798         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67799         * sysdeps/unix/i386/sysdep.S: Likewise.
67800         * sysdeps/unix/sparc/start.c: Likewise.
67801         * sysdeps/unix/sparc/sysdep.S: Likewise.
67802         * sysdeps/unix/sparc/sysdep.h: Likewise.
67803         * sysdeps/unix/start.c: Likewise.
67804         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67805         * sysdeps/x86_64/sysdep.h: Likewise.
67807 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67809         [BZ #13553]
67810         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67811         for non-gcc.
67812         * argp/argp-fmtstream.h: Use const instead __const.
67813         * argp/argp.h: Likewise.
67814         * assert/assert.h: Likewise.
67815         * bits/fenv.h: Likewise.
67816         * bits/sched.h: Likewise.
67817         * bits/sigset.h: Likewise.
67818         * bits/sigthread.h: Likewise.
67819         * catgets/nl_types.h: Likewise.
67820         * conform/data/pthread.h-data: Likewise.
67821         * crypt/crypt-private.h: Likewise.
67822         * crypt/crypt.h: Likewise.
67823         * crypt/crypt_util.c: Likewise.
67824         * ctype/ctype.h: Likewise.
67825         * debug/execinfo.h: Likewise.
67826         * debug/mbsnrtowcs_chk.c: Likewise.
67827         * debug/mbsrtowcs_chk.c: Likewise.
67828         * debug/wcsnrtombs_chk.c: Likewise.
67829         * debug/wcsrtombs_chk.c: Likewise.
67830         * debug/wcstombs_chk.c: Likewise.
67831         * dirent/dirent.h: Likewise.
67832         * dlfcn/dlfcn.h: Likewise.
67833         * elf/neededtest4.c: Likewise.
67834         * grp/grp.h: Likewise.
67835         * gshadow/gshadow.h: Likewise.
67836         * iconv/gconv.h: Likewise.
67837         * iconv/gconv_int.h: Likewise.
67838         * iconv/gconv_simple.c: Likewise.
67839         * iconv/iconv.h: Likewise.
67840         * iconv/loop.c: Likewise.
67841         * iconv/skeleton.c: Likewise.
67842         * include/aio.h: Likewise.
67843         * include/aliases.h: Likewise.
67844         * include/argz.h: Likewise.
67845         * include/arpa/inet.h: Likewise.
67846         * include/assert.h: Likewise.
67847         * include/dirent.h: Likewise.
67848         * include/dlfcn.h: Likewise.
67849         * include/execinfo.h: Likewise.
67850         * include/fcntl.h: Likewise.
67851         * include/fenv.h: Likewise.
67852         * include/glob.h: Likewise.
67853         * include/grp.h: Likewise.
67854         * include/libintl.h: Likewise.
67855         * include/mntent.h: Likewise.
67856         * include/netdb.h: Likewise.
67857         * include/pwd.h: Likewise.
67858         * include/rpc/netdb.h: Likewise.
67859         * include/sched.h: Likewise.
67860         * include/search.h: Likewise.
67861         * include/shadow.h: Likewise.
67862         * include/signal.h: Likewise.
67863         * include/stdio.h: Likewise.
67864         * include/stdlib.h: Likewise.
67865         * include/string.h: Likewise.
67866         * include/sys/socket.h: Likewise.
67867         * include/sys/stat.h: Likewise.
67868         * include/sys/statfs.h: Likewise.
67869         * include/sys/statvfs.h: Likewise.
67870         * include/sys/syslog.h: Likewise.
67871         * include/sys/time.h: Likewise.
67872         * include/sys/uio.h: Likewise.
67873         * include/time.h: Likewise.
67874         * include/unistd.h: Likewise.
67875         * include/utmp.h: Likewise.
67876         * include/wchar.h: Likewise.
67877         * include/wctype.h: Likewise.
67878         * inet/aliases.h: Likewise.
67879         * inet/arpa/inet.h: Likewise.
67880         * inet/netinet/ether.h: Likewise.
67881         * inet/netinet/in.h: Likewise.
67882         * intl/libintl.h: Likewise.
67883         * io/bits/fcntl2.h: Likewise.
67884         * io/fcntl.h: Likewise.
67885         * io/ftw.h: Likewise.
67886         * io/sys/poll.h: Likewise.
67887         * io/sys/stat.h: Likewise.
67888         * io/sys/statfs.h: Likewise.
67889         * io/sys/statvfs.h: Likewise.
67890         * io/utime.h: Likewise.
67891         * libio/bits/stdio.h: Likewise.
67892         * libio/bits/stdio2.h: Likewise.
67893         * libio/libio.h: Likewise.
67894         * libio/libioP.h: Likewise.
67895         * libio/stdio.h: Likewise.
67896         * locale/lc-ctype.c: Likewise.
67897         * locale/locale.h: Likewise.
67898         * login/utmp.h: Likewise.
67899         * malloc/arena.c: Likewise.
67900         * malloc/malloc.c: Likewise.
67901         * malloc/malloc.h: Likewise.
67902         * malloc/mcheck.c: Likewise.
67903         * malloc/mtrace.c: Likewise.
67904         * math/bits/mathcalls.h: Likewise.
67905         * math/fenv.h: Likewise.
67906         * math/math_private.h: Likewise.
67907         * misc/bits/error.h: Likewise.
67908         * misc/bits/syslog.h: Likewise.
67909         * misc/err.h: Likewise.
67910         * misc/error.h: Likewise.
67911         * misc/fstab.h: Likewise.
67912         * misc/mntent.h: Likewise.
67913         * misc/regexp.h: Likewise.
67914         * misc/search.h: Likewise.
67915         * misc/sgtty.h: Likewise.
67916         * misc/sys/mman.h: Likewise.
67917         * misc/sys/syslog.h: Likewise.
67918         * misc/sys/uio.h: Likewise.
67919         * misc/sys/xattr.h: Likewise.
67920         * misc/ttyent.h: Likewise.
67921         * nis/rpcsvc/ypclnt.h: Likewise.
67922         * nss/nss.h: Likewise.
67923         * posix/bits/unistd.h: Likewise.
67924         * posix/fnmatch.h: Likewise.
67925         * posix/glob.h: Likewise.
67926         * posix/sched.h: Likewise.
67927         * posix/spawn.h: Likewise.
67928         * posix/sys/wait.h: Likewise.
67929         * posix/unistd.h: Likewise.
67930         * posix/wordexp.h: Likewise.
67931         * pwd/pwd.h: Likewise.
67932         * resolv/netdb.h: Likewise.
67933         * resource/sys/resource.h: Likewise.
67934         * rt/aio.h: Likewise.
67935         * rt/bits/mqueue2.h: Likewise.
67936         * rt/mqueue.h: Likewise.
67937         * shadow/shadow.h: Likewise.
67938         * signal/signal.h: Likewise.
67939         * socket/send.c: Likewise.
67940         * socket/sendto.c: Likewise.
67941         * socket/sys/socket.h: Likewise.
67942         * stdio-common/printf.h: Likewise.
67943         * stdlib/bits/stdlib.h: Likewise.
67944         * stdlib/fmtmsg.h: Likewise.
67945         * stdlib/monetary.h: Likewise.
67946         * stdlib/stdlib.h: Likewise.
67947         * stdlib/ucontext.h: Likewise.
67948         * streams/stropts.h: Likewise.
67949         * string/argz.h: Likewise.
67950         * string/bits/string2.h: Likewise.
67951         * string/string.h: Likewise.
67952         * string/strings.h: Likewise.
67953         * sunrpc/rpc/auth.h: Likewise.
67954         * sunrpc/rpc/auth_des.h: Likewise.
67955         * sunrpc/rpc/clnt.h: Likewise.
67956         * sunrpc/rpc/netdb.h: Likewise.
67957         * sunrpc/rpc/pmap_clnt.h: Likewise.
67958         * sunrpc/rpc/xdr.h: Likewise.
67959         * sysdeps/generic/inttypes.h: Likewise.
67960         * sysdeps/generic/net/if.h: Likewise.
67961         * sysdeps/generic/sys/swap.h: Likewise.
67962         * sysdeps/gnu/net/if.h: Likewise.
67963         * sysdeps/gnu/utmpx.h: Likewise.
67964         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67965         * sysdeps/i386/i486/bits/string.h: Likewise.
67966         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67967         * sysdeps/s390/bits/string.h: Likewise.
67968         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67969         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67970         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67971         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67972         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67973         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67974         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67975         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67976         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67977         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67978         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67979         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67980         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67981         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67982         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67983         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67984         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67986         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67987         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67988         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67989         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67990         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67991         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67992         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67993         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67994         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67995         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67996         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67997         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67998         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67999         * sysvipc/sys/ipc.h: Likewise.
68000         * sysvipc/sys/msg.h: Likewise.
68001         * sysvipc/sys/sem.h: Likewise.
68002         * sysvipc/sys/shm.h: Likewise.
68003         * termios/termios.h: Likewise.
68004         * time/sys/time.h: Likewise.
68005         * time/time.h: Likewise.
68006         * wcsmbs/bits/wchar2.h: Likewise.
68007         * wcsmbs/uchar.h: Likewise.
68008         * wcsmbs/wchar.h: Likewise.
68009         * wctype/wctype.h: Likewise.
68011         [BZ #13551]
68012         * Makeconfig: Remove all but ELF support including AIX support.
68013         * Makerules: Likewise.
68014         * config.h.in: Likewise.
68015         * config.make.in: Likewise.
68016         * configure: Likewise.
68017         * configure.in: Likewise.
68018         * csu/Makefile: Likewise.
68019         * csu/version.c: Likewise.
68020         * debug/Makefile: Likewise.
68021         * dlfcn/Makefile: Likewise.
68022         * elf/Makefile: Likewise.
68023         * extra-lib.mk: Likewise.
68024         * iconv/Makefile: Likewise.
68025         * include/libc-symbols.h: Likewise.
68026         * include/shlib-compat.h: Likewise.
68027         * resolv/Makefile: Likewise.
68028         * resolv/res_libc.c: Likewise.
68029         * rt/Makefile: Likewise.
68030         * sysdeps/i386/asm-syntax.h: Likewise.
68031         * sysdeps/i386/sysdep.h: Likewise.
68032         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68033         * sysdeps/mach/sysdep.h: Likewise.
68034         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68035         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68036         * sysdeps/s390/asm-syntax.h: Likewise.
68037         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68038         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68039         * sysdeps/sh/sysdep.h: Likewise.
68040         * sysdeps/unix/sparc/sysdep.h: Likewise.
68041         * sysdeps/wordsize-32/divdi3.c: Likewise.
68042         * sysdeps/x86_64/sysdep.h: Likewise.
68044         * argp/Versions: Remove _argp_unlock_xxx.
68046         [BZ #13559]
68047         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68048         * abilist/libBrokenLocale.abilist: Likewise.
68049         * abilist/libanl.abilist: Likewise.
68050         * abilist/libc.abilist: Likewise.
68051         * abilist/libcrypt.abilist: Likewise.
68052         * abilist/libdl.abilist: Likewise.
68053         * abilist/libm.abilist: Likewise.
68054         * abilist/libnsl.abilist: Likewise.
68055         * abilist/libpthread.abilist: Likewise.
68056         * abilist/libresolv.abilist: Likewise.
68057         * abilist/librt.abilist: Likewise.
68058         * abilist/libthread_db.abilist: Likewise.
68059         * abilist/libutil.abilist: Likewise.
68060         * abilist/libnss_db.abilist: New file.
68062         * scripts/abilist.awk: Add support for indirect functions.
68064         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68066         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68068         * shlib-versions: Remove entries for ports architectures.
68070         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68071         files in ports.
68072         * elf/stackguard-macros.h: Remove support for IA-64.
68073         * elf/tst-auditmod1.c: Likewise.
68074         * sysdeps/generic/ldsodefs.h: Likewise.
68076         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68077         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68078         configure files.
68080         [BZ #13552]
68081         * configure.in: Remove --enable-omitfp support.
68082         * FAQ.in: Adjust.
68083         * config.make.in: Likewise.
68084         * Makeconfig: Likewise.
68085         * manual/install.texi: Likewise.
68087         In case anyone cares, the IA-64 architecture could move to ports.
68088         * sysdeps/ia64/*: Removed.
68089         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68090         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68092         [BZ #13555]
68093         * configure.in: Remove entries for unsupported architectures.
68095         [BZ #13533]
68096         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68097         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68098         routines.
68099         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68100         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68101         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68102         fall back to using wcrtomb.
68103         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68104         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68105         renaming.
68106         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68107         * wcsmbs/tst-c16c32-1.c: New file.
68109         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68110         local variable.
68112         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68114         * elf/tst-unique3.cc: Add explicit declaration of gets.
68115         * elf/tst-unique3lib.cc: Likewise.
68116         * elf/tst-unique3lib2.cc: Likewise.
68117         * elf/tst-unique4.cc: Likewise.
68119         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68121 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68123         [BZ #13566]
68124         * assert/assert.h (static_assert): Don't define for C++.
68125         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68126         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68128 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68130         * iconv/loop.c (single loop): Fix assertion in storing of
68131         remaining bytes.
68133         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68135 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68137         * posix/getconf.c: Update copyright year.
68138         * nss/getent.c: Likewise.
68139         * nss/makedb.c: Likewise.
68140         * iconv/iconvconfig.c: Likewise.
68141         * iconv/iconv_prog.c: Likewise.
68142         * elf/ldconfig.c: Likewise.
68143         * elf/pldd.c: Likewise.
68144         * elf/sotruss.ksh: Likewise.
68145         * catgets/gencat.c: Likewise.
68146         * csu/version.c: Likewise.
68147         * elf/ldd.bash.in: Likewise.
68148         * elf/sprof.c (print_version): Likewise.
68149         * locale/programs/locale.c: Likewise.
68150         * locale/programs/localedef.c: Likewise.
68151         * login/programs/pt_chown.c: Likewise.
68152         * nscd/nscd.c (print_version): Likewise.
68153         * debug/xtrace.sh: Likewise.
68154         * malloc/memusage.sh: Likewise.
68155         * malloc/mtrace.pl: Likewise.
68156         * debug/catchsegv.sh: Likewise.
68158 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68160         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68161         pure attribute.
68163 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68165         [BZ #13533]
68166         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68167         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68168         transformations.
68169         * iconv/gconv_int.h: Likewise.
68170         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68171         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68172         from libc for GLIBC_2.16.
68173         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68174         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68175         * wcsmbs/uchar.h: Really define mbstate_t.
68176         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68177         * wcsmbs/c16rtomb.c: New file.
68178         * wcsmbs/mbrtoc16.c: New file.
68179         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68180         for C/POSIX locale.
68181         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68182         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68184         * wcsmbs/wchar.h: Add missing __restrict.
68186 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68188         [BZ #13532]
68189         * time/Makefile (routines): Add timespec_get.
68190         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68191         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68192         timespec for ISO C11.
68193         * time/timespec_get.c: New file.
68194         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68195         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68197         [BZ #13531]
68198         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68199         * stdlib/stdlib.h: Declare aligned_alloc.
68200         * Versions.def: Add GLIBC_2.16 for libc.
68201         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68203         [BZ 13527]
68204         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68205         ISO C11.
68207         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68208         code.
68210         [BZ #13528]
68211         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68213         [BZ #13529]
68214         * assert/assert.h (static_assert): Define.
68216         * version.h: Update for 2.16 development version.
68218         [BZ #13526]
68219         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68220         _ISOC11_SOURCE.
68222         * version.h (RELEASE): Bump for 2.15 release.
68223         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68225         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68226         Patch by Marek Polacek <mpolacek@redhat.com>.
68228         * bits/byteswap.h: Protect long long constants with __extension__.
68229         * sysdeps/i386/bits/byteswap.h: Likewise.
68230         * sysdeps/ia64/bits/byteswap.h: Likewise.
68231         * sysdeps/s390/bits/byteswap.h: Likewise.
68232         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68234 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68236         [BZ #13540]
68237         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68238         destination buffer.
68239         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68241 2011-12-23  Marek Polacek  <polacek@redhat.com>
68243         * elf/dl-addr.c (determine_info): Add inline keyword.
68244         * elf/tst-auditmod4b.c (check_avx): Likewise.
68245         * elf/tst-auditmod6b.c (check_avx): Likewise.
68246         * elf/tst-auditmod6c.c (check_avx): Likewise.
68247         * elf/tst-auditmod7b.c (check_avx): Likewise.
68249 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68251         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68252         !__SSE_MATH__.
68254 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68256         [BZ #13540]
68257         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68258         processing for last bytes.
68260 2011-08-06  Bruno Haible  <bruno@clisp.org>
68262         [BZ #13061]
68263         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68264         U+0385, not to U+1FEE.
68266         [BZ #13062]
68267         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68268         entry for U+00A5 U+0301.
68270 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68272         [BZ #13166]
68273         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68274         buffer for the output is too small.
68276         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68277         optimization.
68279         [BZ #13185]
68280         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68281         SSE flags if possible.
68283 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68285         [BZ #13540]
68286         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68287         processing for last bytes.
68289 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68291         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68292         (syscall-list-default-options, syscall-list-default-condition)
68293         (syscall-list-includes): Define.
68294         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68295         list of ABIs and options and #if conditions for each ABI.  Do not
68296         handle common syscalls between ABIs specially.
68297         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68298         Remove.
68299         (syscall-list-variants, syscall-list-32bit-options)
68300         (syscall-list-32bit-condition, syscall-list-64bit-options)
68301         (syscall-list-64bit-condition): Define.
68302         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68303         (syscall-list-variants, syscall-list-32bit-options)
68304         (syscall-list-32bit-condition, syscall-list-64bit-options)
68305         (syscall-list-64bit-condition): Define.
68306         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68307         Remove.
68308         (syscall-list-variants, syscall-list-32bit-options)
68309         (syscall-list-32bit-condition, syscall-list-64bit-options)
68310         (syscall-list-64bit-condition): Define.
68311         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68312         Remove.
68313         (syscall-list-variants, syscall-list-32bit-options)
68314         (syscall-list-32bit-condition, syscall-list-64bit-options)
68315         (syscall-list-64bit-condition): Define.
68317 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68319         * locale/iso-639.def: Add brx entry.
68321         [BZ #13328]
68322         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68323         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68325         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68326         __feraiseexcept_renamed.
68328 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68330         [BZ #13538]
68331         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68332         EPOLLET with unsigned values.
68333         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68334         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68336         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68337         to large cancellation.
68338         * math/s_cacoshf.c: Likewise.
68339         * math/s_cacoshl.c: Likewise.
68341 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68343         [BZ #13305]
68344         [BZ #12786]
68345         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68346         * math/s_cacoshf.c: Likewise.
68347         * math/s_cacoshl.c: Likewise.
68349 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68351         [BZ #13439]
68352         * iconv/gconv.h: Define __GCONV_SWAP.
68353         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68354         * iconvdata/utf-16.c: Likewise.
68355         * iconvdata/utf-32.c: Likewise.
68357 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68359         [BZ #13524]
68360         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68361         numerator after shifting it by one limb.
68363 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68365         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68366         under [__USE_EXTERN_INLINES].
68368 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68370         [BZ #13446]
68371         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68373 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68375         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68376         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68377         optimized code.
68378         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68379         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68380         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68381         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68382         for strncasecmp/strncasecmp_l compilation.
68383         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68384         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68386 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68388         [BZ #13484]
68389         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68390         of __asm__.
68392 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68394         [BZ #13506]
68395         * time/tzfile.c (__tzfile_read): Check values from file header.
68397 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68399         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68400         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68401         * powerpc/powerpc32/dl-start.S: Likewise.
68402         * powerpc/powerpc32/elf/start.S: Likewise.
68403         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68404         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68405         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68406         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68407         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68408         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68409         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68410         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68411         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68412         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68413         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68414         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68415         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68416         * powerpc/powerpc32/memset.S: Likewise.
68417         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68418         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68419         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68420         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68421         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68422         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68423         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68424         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68425         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68426         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68427         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68428         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68429         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68431 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68433         * math/libm-test.inc: Added more nearbyint tests.
68434         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68435         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68436         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68439 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68441         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68442         FD_CLOEXEC.
68444 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68446         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68447         Add wcscpy-ssse3 wcscpy-c.
68448         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68449         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68450         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68451         * sysdeps/x86_64/wcschr.S: New file.
68452         * sysdeps/x86_64/wcsrchr.S: New file.
68453         * string/test-strcmp.c: Remove checking of wcscmp function for
68454         wrong alignments.
68455         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68456         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68457         wcsrchr-sse2 wcsrchr-c.
68458         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68459         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68460         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68461         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68462         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68463         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68464         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68465         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68466         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68467         * wcsmbc/wcschr.c (WCSCHR): New macro.
68469 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68471         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68472         * wcsmbs/test-wcsrchr.c: New file.
68473         * string/test-strrchr.c: Add wcsrchr support.
68474         (WIDE): New macro.
68475         * wcsmbs/test-wcscpy.c: New file.
68476         * string/test-strcpy.c: Add wcscpy support.
68477         (WIDE): New macro.
68479 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68481         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68482         the inner loop.
68484 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68486         [BZ #13472]
68487         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68489 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68491         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68492         Minor optimizations.
68494         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68495         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68496         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68498 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68500         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68501         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68502         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68503         for gcc to avoid warnings.
68504         * inet/Makefile (tests): Add tst-checks.
68505         * inet/tst-checks.c: New file.
68507         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68508         warning.
68510         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68511         __wmemcmp_sse2.
68513         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68514         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68516         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68518 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68520         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68521         problem.
68523         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68525 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68527         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68528         conditional on GCC version.
68529         (__arch_compare_and_exchange_val_8_acq)
68530         (__arch_compare_and_exchange_val_16_acq)
68531         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68532         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68533         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68535 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68537         * sysdeps/sh/backtrace.c: New file.
68539 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68541         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68542         parenthesis.
68544 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68546         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68547         falling back to utime.
68549 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68551         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68552         expectations for float.
68554 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68556         * locale/weight.h (findidx): Add parameter len.
68557         * locale/weightwc.h (findidx): Likewise.
68558         * posix/fnmatch_loop.c (FCT): Adjust caller.
68559         * posix/regcomp.c (build_equiv_class): Likewise.
68560         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68561         * posix/regexec.c (check_node_accept_bytes): Likewise.
68562         * string/strcoll_l.c (STRCOLL): Likewise.
68563         * string/strxfrm_l.c (STRXFRM): Likewise.
68565 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68567         * Makefile.in: Remove CVSOPT handling.
68568         * configure.in: Remove use of AC_REVISION.
68569         * iconvdata/Makefile (distribute): No need to filter out CVS.
68570         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68571         handling.
68573 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68576         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68577         [USE_AS_STRNCASECMP_L]: Likewise.
68578         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68579         NO_TLS_DIRECT_SEG_REFS.
68580         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68581         Fix argument offsets for non-PIC.
68582         [USE_AS_STRNCASECMP_L]: Likewise.
68583         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68584         NO_TLS_DIRECT_SEG_REFS.
68586 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68588         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68589         O_CLOEXEC.
68590         * locale/loadlocale.c (_nl_load_locale): Likewise.
68592 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68594         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68595         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68596         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68597         (SYSCALL_GETTIME): Set errno on error.
68599         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68600         count references to noai6ai_cached.
68602 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68604         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68606         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68607         FD_CLOEXEC for /proc/self/maps.
68609         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68610         FD_CLOEXEC for /proc/meminfo.
68612         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68613         gai.conf.
68615         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68616         FD_CLOEXEC for given file.
68618         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68620         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68621         FD_CLOEXEC for /etc/hosts.
68622         (_gethtent): Likewise.
68624         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68626         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68627         cancellation and set FD_CLOEXEC for /etc/netgroup.
68629         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68630         reading /etc/publickey.
68632         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68633         allow cancellation when reading /etc/group.
68635         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68636         cancellation.
68637         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68639         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68640         when using data file.
68642         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68644         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68645         (write_nis_obj): Use "c" and "e" in fopen.
68647         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68649         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68651         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68653         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68655         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68656         locale.alias.
68658         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68660         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68662         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68664         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68665         file parsing and set FD_CLOEXEC.
68667 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68669         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68671 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68673         * malloc/arena.c (arena_get2): Don't call reused_arena when
68674         _int_new_arena failed.
68676 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68678         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68679         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68680         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68681         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68682         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68683         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68684         to compile strcasecmp and strncasecmp.
68685         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68686         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68688         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68690 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68692         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68693         locale-defines.sym to gen-as-const-headers.
68694         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68695         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68696         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68697         to compile strcasecmp and strncasecmp.
68698         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68699         strcasecmp_l and strncasecmp_l.
68700         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68701         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68702         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68703         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68704         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68705         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68706         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68707         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68708         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68709         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68710         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68712 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68714         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68715         result of SYSDEP_GETTIME_CPU to retval.
68716         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68717         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68719         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68720         variable.
68722         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68723         mantissa words.
68724         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68726         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68727         from unused variable.
68729         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68730         DWARF definitions.
68731         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68732         for assembling.
68734         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68735         over namespaces.
68737         * sunrpc/rpc_prot.c (rejected): Fix case value.
68739         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68740         unsigned long long int to avoid warnings in shift.
68742         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68743         of use of trans.
68744         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68745         variable tmp.
68747         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68748         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68749         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68751         * nis/nis_table.c (nis_list): Use variable of correct type for
68752         result of __follow_path call.
68754 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68756         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68757         of math functions ceil, trunc, floor, round, and sqrt, when
68758         avaliable on the platform.
68759         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68760         name clash.
68761         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68762         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68763         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68765 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68767         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68768         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68770 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68772         * include/unistd.h: Fix __readlink return type.
68773         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68775 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68777         * stdlib/ucontext.h: Undo last change for makecontext.
68779 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68781         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68783         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68784         * setjmp/setjmp.h: Mark functions as non-leaf.
68785         * setjmp/bits/setjmp2.h: Likewise.
68786         * stdlib/ucontext.h: Likewise.
68788 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68790         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68791         (reused_arena): Don't check arena limit.
68792         (arena_get2): Atomically check arena limit.
68794 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68796         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68797         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68799         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68800         instructions.
68802 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68804         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68805         handler when locking.
68807         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68808         Fix size of allocated buffer.
68810 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68812         [BZ #10103]
68813         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68814         declarations for long double functions.
68815         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68817         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68819 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68821         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68822         installed.
68824         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68825         is disabled.
68827 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68829         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68831 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68833         * include/alloca.h (stackinfo_alloca_round): Define.
68834         (extend_alloca): Use it.
68835         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68836         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68837         here.
68839         * scripts/check-local-headers.sh: Ignore libaudit.h.
68841         * nscd/Makefile (extra-objs): Make recursively expanded.
68843 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68845         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68846         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68848         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68849         * posix/tst-rfc3484-2.c: Likewise.
68850         * posix/tst-rfc3484-3.c: Likewise.
68852         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68853         process_vm_writev.
68854         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68855         process_vm_writev.
68856         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68857         process_vm_writev from libc using GLIBC_2.15 version.
68859         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68861 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68863         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68864         stack usage.
68866 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68868         [BZ #13367]
68869         * nss/getent.c (initgroups_keys): Show error message in case no group
68870         names are given.
68872         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68873         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68874         __bump_nl_timestamp.
68875         * nscd/connections (nscd_init): When host database is served open
68876         netlink socket and request notification about configuration changes.
68877         (main_loop_poll): Track netlink file descriptor and bump timestamp
68878         in case data becomes available.
68879         (main_loop_epoll): Likewise.
68880         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68881         (database_pers_head): Add extra_data fileds.
68882         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68883         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68884         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68885         Adjust caller.
68886         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68887         in6ai data, call __free_in6ai.
68888         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68889         Add -DHAVE_NETLINK.
68890         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68891         interface information.  Reuse previous data if netlink timestamp
68892         is not changed.
68893         (__bump_nl_timestamp): New function.
68894         (__free_in6ai): New function.
68896 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68898         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68899         close_not_cancel_no_status here.
68900         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68902 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68904         [BZ #13276]
68905         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68906         return value.
68908         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68909         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68910         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68912 2011-07-03  Andreas Jaeger  <aj@suse.de>
68914         [BZ #10709]
68915         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68916         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68917         * math/libm-test.inc (sin_test): Add test case.
68919 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68921         [BZ #13337]
68922         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68923         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68925         * elf/chroot_canon.c (chroot_canon): Cleanups.
68927         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68929         [BZ #13335]
68930         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68931         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68933         * string/test-strchr.c: Make usable for strchrnul testing.
68934         * string/test-strchrnul.c: New file.
68935         * string/Makefile (strop-tests): Add strchrnul.
68937         * po/it.po: Update from translation team.
68938         * po/es.po: Likewise.
68940 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68942         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68943         the three constants needed as parameters.  Drop the others.
68944         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68945         __m128i_strloadu_tolower.
68946         Create and initialize variable zero and use it in all the places
68947         where _mm_setzero_si128 was used.
68949         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68950         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68951         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68952         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68953         anymore.
68954         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68955         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68956         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68957         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68958         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68959         __mpranred, __mptan.
68960         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68961         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68962         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68963         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68964         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68965         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68966         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68967         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68968         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68970 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68972         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68973         redefine if SHARED.
68974         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68976         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68977         wide char related routines to wcsmbs subdir.
68979 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68981         [BZ #13344]
68982         * misc/sys/cdefs.h (__THROWNL): Define.
68983         * posix/unistd.h: Use __THREADNL instead of __THREAD
68984         for memory synchronization functions.
68986 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68988         [BZ #13349]
68989         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68990         doesn't exist.
68991         * manual/stdio.texi (Obstack Streams): Node removed.
68993 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68995         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68996         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68997         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68999         * math/math_private.h (math_force_eval): Allow non-addressable
69000         arguments.
69001         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69003 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69006         file is not needed.
69008         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69009         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69010         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69011         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69012         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69013         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69014         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69015         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69016         Add AVX variants.
69017         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69018         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69019         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69020         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69021         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69022         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69023         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69024         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69025         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69026         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69027         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69028         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69029         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69030         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69031         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69032         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69033         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69034         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69035         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69037         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69038         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69040         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69041         place.  Use VEX encoding when compiling for AVX.
69043 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69045         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69046         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69048         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69050 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69052         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69053         useless if() expression.
69054         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69055         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69056         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69057         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69058         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69059         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69060         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69061         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69062         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69063         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69064         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69065         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69066         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69067         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69068         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69069         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69070         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69071         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69072         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69074         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69076 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69078         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69079         condition.
69080         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69082 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69084         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69085         .text section.  Avoid duplicate constants.
69086         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69088         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69090         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69093         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69094         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69095         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69096         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69097         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69098         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69099         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69100         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69101         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69102         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69103         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69106         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69107         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69108         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69109         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69110         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69111         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69112         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69113         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69114         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69115         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69116         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69117         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69118         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69119         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69120         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69121         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69122         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69123         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69124         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69125         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69126         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69127         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69128         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69129         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69130         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69132 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69134         * sysdeps/x86_64/dla.h: Move to ...
69135         * sysdeps/x86_64/fpu/dla.h: ...here.
69136         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69137         situations.  Use __builtin_fma only for gcc 4.6 and up.
69139         * config.make.in: Add have-mfma4 entry.
69140         * configure.in: Substitute libc_cv_cc_fma4.
69141         * math/Makefile (dbl-only-routines): Add sincostab.
69142         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69143         Use __sincostab not sincos.
69144         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69145         name is a macro.
69146         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69147         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69148         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69150         using __copysign.
69151         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69152         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69153         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69154         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69155         and __inv.
69156         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69157         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69158         __copysign.
69159         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69160         define aliases when function name is a macro.
69161         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69162         sysdeps/ieee754/dbl-64/sincos.tbl.
69163         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69164         fma4-enabled routines.
69165         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69166         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69167         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69168         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69169         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69170         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69171         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69172         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69173         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69174         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69175         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69176         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69177         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69178         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69179         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69180         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69181         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69182         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69183         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69184         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69185         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69186         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69187         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69188         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69189         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69190         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69191         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69192         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69193         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69194         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69196         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69197         rename.
69198         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69199         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69200         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69203         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69204         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69207 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69209         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69211 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69213         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69215         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69216         prediction.
69217         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69219         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69220         Remove unused variable magic_bits.
69221         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69223         * string/strnlen.c: Define and use STRNLEN macro.
69224         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69225         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69226         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69227         * wcsmbs/wcslen.c: Define and use WCSLEN.
69228         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69229         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69230         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69231         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69232         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69233         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69234         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69236 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69239         strnlen-sse2-no-bsf.
69240         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69241         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69242         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69243         Add strnlen support.
69244         (USE_AS_STRNLEN): New macro.
69245         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69246         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69247         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69248         * sysdeps/x86_64/wcslen.S: New file.
69250 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69252         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69253         XMM-moves are used for copying on small sizes.
69255 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69257         * wcsmbs/Makefile (strop-tests): Add wcschr.
69258         * wcsmbs/test-wcschr.c: New file.
69259         * string/test-strchr.c: Update.
69260         Add wcschr support.
69261         (WIDE): New macro.
69263 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69265         * wcsmbs/Makefile (strop-tests): Add wcslen.
69266         * wcsmbs/test-wcslen.c: New file.
69267         * string/test-strlen.c: Update.
69268         Add wcslen support.
69269         (WIDE): New macro.
69271 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69273         * po/it.po: Update from translation team.
69275 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69277         * sysdeps/x86_64/wcscmp.S: Update.
69278         Fix wrong comparison semantics.
69279         wcscmp shall use signed comparison not unsigned.
69280         Don't use substraction to avoid overflow bug.
69281         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69282         * wcsmbc/wcscmp.c: Likewise.
69283         * string/test-strcmp.c: Likewise.
69284         Add new tests to check cases with negative values.
69286 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69288         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69289         * sysdeps/x86_64/dla.h: ...here.  New file.
69290         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69291         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69292         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69293         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69294         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69297         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69300 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69302         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69303         __ynl_finite aliases.
69305 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69309         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69310         define DLA_FMA.
69311         [DLA_FMA] (EMULV): Use DLA_FMA.
69312         [DLA_FMA] (MUL12): Use EMULV.
69313         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69314         that are not needed.
69315         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69316         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69319         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69320         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69321         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69323 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69325         * math/s_nan.c: Undef __nan.
69326         * math/s_nanf.c: Undef __nanf.
69327         * math/s_nanl.c: Undef __nanl.
69328         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69329         "math_private.h".
69331 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69333         * math/s_catan.c: Add branch predictions.
69334         * math/s_catanf.c: Likewise.
69335         * math/s_catanh.c: Likewise.
69336         * math/s_catanhf.c: Likewise.
69337         * math/s_catanhl.c: Likewise.
69338         * math/s_catanl.c: Likewise.
69339         * math/s_cexp.c: Likewise.
69340         * math/s_cexpf.c: Likewise.
69341         * math/s_cexpl.c: Likewise.
69342         * math/s_clog.c: Likewise.
69343         * math/s_clog10.c: Likewise.
69344         * math/s_clog10f.c: Likewise.
69345         * math/s_clog10l.c: Likewise.
69346         * math/s_clogf.c: Likewise.
69347         * math/s_clogl.c: Likewise.
69348         * math/s_csqrt.c: Likewise.
69349         * math/s_csqrtf.c: Likewise.
69350         * math/s_csqrtl.c: Likewise.
69351         * math/s_ctanf.c: Likewise.
69352         * math/s_ctanh.c: Likewise.
69353         * math/s_ctanhf.c: Likewise.
69354         * math/s_ctanhl.c: Likewise.
69355         * math/s_ctanl.c: Likewise.
69357         * math/math_private.h: Define __nan, __nanf, __nanl.
69358         * math/s_cacosh.c: Include <math_private.h>.
69359         * math/s_cacoshl.c: Likewise.
69360         * math/s_casinh.c: Likewise.
69361         * math/s_casinhf.c: Likewise.
69362         * math/s_casinhl.c: Likewise.
69363         * math/s_ccos.c: Rely entire on ccosh.
69364         * math/s_ccosf.c: Rely entire on ccoshf.
69365         * math/s_ccosl.c: Rely entirely on ccoshl.
69366         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69367         Remove tests for FE_INVALID.
69368         * math/s_ccoshf.c: Likewise.
69369         * math/s_ccoshl.c: Likewise.
69370         * math/s_csin.c: Likewise.
69371         * math/s_csinf.c: Likewise.
69372         * math/s_csinh.c Likewise.
69373         * math/s_csinhf.c: Likewise.
69374         * math/s_csinhl.c: Likewise.
69375         * math/s_csinl.c: Likewise.
69376         * math/s_ctan.c: Likewise.
69377         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69378         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69379         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69381 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69384         compilation problems.
69386         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69387         __builtin_expect.
69389 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69391         * sysdeps/i386/configure.in: Test for -mfma4 option.
69392         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69393         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69394         COMMON_CPUID_INDEX_80000001.
69395         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69396         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69397         use it if FMA3 is not supported.
69398         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69400         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69401         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69403 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69405         [BZ #12892]
69406         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69407         it would create a cycle with a link time dependency.
69409 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69411         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69412         instruction.
69413         * string/Makefile (strop-tests): Add rawmemchr.
69414         * string/test-rawmemchr.c: New file.
69416         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69417         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69418         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69419         when compiling str{,n}casecmp and when AVX is available.  Hook up
69420         new optimized code in initializers.
69422 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69424         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69425         __feraiseexcept instead of feraiseexcept.
69427 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69429         * math/math_private.h: Define defaults for libc_fetestexcept and
69430         libc_feupdateenv.
69431         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69432         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69433         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69434         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69435         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69436         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69437         libc_fetestexcept and libc_feupdateenv.
69439         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69440         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69441         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69442         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69443         libc_feholdexcept_setround.
69445         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69446         Add s_nearbyint-c and s_nearbyintf-c.
69447         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69448         nearbyintf inlines.
69449         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69450         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69451         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69454         * math/math_private.h: Define defaults for libc_fegetround,
69455         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69456         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69457         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69458         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69459         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69460         standard functions.
69461         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69462         Remove comments and hacks for old compiler versions.
69463         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69464         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69465         libc_feholdexceptl.
69467 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69469         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69470         (__feraiseexcept_renamed): Add __NTH.
69471         (feraiseexcept): Add __NTH.  Rename local variables to fix
69472         namespace violations.
69474 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69476         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69478         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69480         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69481         recently added interfaces.
69482         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69484         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69485         about macro parameter expansion.
69487         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69488         __NO_MATH_INLINES is defined.  Cleanups.
69490         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69491         and __floorf is target has SSE4.1.
69492         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69493         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69494         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69495         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69497         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69498         name.
69499         (floorf): Likewise.
69501         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69503 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69505         * misc/sys/cdefs.h: Fix last change.
69507         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69508         database lookup.
69510 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69512         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69514         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69515         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69516         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69517         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69518         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69519         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69520         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69521         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69522         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69523         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69524         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69525         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69526         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69527         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69528         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69529         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69530         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69531         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69532         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69533         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69534         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69535         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69537         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69538         ceil, ceilf, floor, floorf.
69540         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69541         Perform IRELATIVE relocations last.
69543         * elf/do-rel.h: Add another parameter nrelative, replacing the
69544         local variable with the same name.  Change name of the function
69545         to end in Rel or Rela (uppercase).
69546         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69547         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69548         elf_dynamic_do_##reloc function.
69550 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69552         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69553         is sufficient, at least on modern CPUs.
69555         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69557         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69558         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69560         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69561         __expl_finite.
69562         * math/bits/math-finite.h: Add entries for exp.
69563         * math/e_expl.c: Add __*_finite alias.
69564         * sysdeps/i386/fpu/e_exp.S: Likewise.
69565         * sysdeps/i386/fpu/e_expf.S: Likewise.
69566         * sysdeps/i386/fpu/e_expl.c: Likewise.
69567         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69568         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69569         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69570         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69571         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69572         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69573         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69575         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69576         is sufficient, at least on modern CPUs.
69578         * ctype/ctype-info.c (__ctype_init): Define.
69579         * include/ctype.h (__ctype_init): Declare.
69580         (__ctype_b_loc): The variable is always initialized.
69581         (__ctype_toupper_loc): Likewise.
69582         (__ctype_tolower_loc): Likewise.
69583         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69584         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69586 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69588         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69590         * configure.in: Also look in $cxxmachine/include for C++ system
69591         headers.
69593 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69595         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69596         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69597         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69598         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69599         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69600         (USE_AS_WMEMCMP): New macro.
69601         Fixing indents.
69602         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69603         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69604         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69605         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69606         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69607         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69608         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69609         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69610         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69611         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69612         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69613         (USE_AS_WMEMCMP): New macro.
69614         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69615         * sysdeps/string/test-memcmp.c: Update.
69616         Fix simple_wmemcmp.
69617         Add new tests.
69618         * wcsmbs/wmemcmp.c: Update.
69619         (WMEMCMP): New macro.
69620         Fix overflow bug.
69622 2011-10-12  Andreas Jaeger  <aj@suse.de>
69624         [BZ #13268]
69625         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69627 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69629         * libio/iofwide.c (do_length): Avoid warning.
69631         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69633 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69635         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69637         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69638         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69639         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69640         * sysdeps/i386/i686/fpu/e_log.S: New file.
69641         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69642         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69644         * ctype/ctype.h: Add support for inlined isXXX functions when
69645         compiling C++ code.
69647 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69649         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69651         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69653 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69655         [BZ #13291]
69656         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69658 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69660         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69661         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69662         feraiseexcept.
69664         * sysdeps/x86_64/memrchr.S: Check for zero size.
69666         * string/stratcliff.c: Add memrchr tests.
69668 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69671         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69672         rawmemchr-sse2 rawmemchr-sse2-bsf.
69673         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69674         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69675         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69676         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69677         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69678         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69679         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69680         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69681         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69682         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69683         * string/memrchr.c (MEMRCHR): New macro.
69685 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69687         Add integration with gcc's -ffinite-math-only and optimize wrapper
69688         functions in libm.
69689         * Versions.def: Define GLIBC_2.15 version for libm.
69690         * math/Makefile (headers): Add bits/math-finite.h.
69691         * math/bits/math-finite.h: New file.
69692         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69693         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69694         * math/e_acoshl.c: Add __*_finite alias.
69695         * math/e_acosl.c: Likewise.
69696         * math/e_asinl.c: Likewise.
69697         * math/e_atan2l.c: Likewise.
69698         * math/e_atanhl.c: Likewise.
69699         * math/e_coshl.c: Likewise.
69700         * math/e_exp10.c: Likewise.
69701         * math/e_exp10f.c: Likewise.
69702         * math/e_exp10l.c: Likewise.
69703         * math/e_exp2l.c: Likewise.
69704         * math/e_fmodl.c: Likewise.
69705         * math/e_gammal_r.c: Likewise.
69706         * math/e_hypotl.c: Likewise.
69707         * math/e_j0l.c: Likewise.
69708         * math/e_j1l.c: Likewise.
69709         * math/e_jnl.c: Likewise.
69710         * math/e_lgammal_r.c: Likewise.
69711         * math/e_log10l.c: Likewise.
69712         * math/e_log2l.c: Likewise.
69713         * math/e_logl.c: Likewise.
69714         * math/e_powl.c: Likewise.
69715         * math/e_sinhl.c: Likewise.
69716         * math/e_sqrtl.c: Likewise.
69717         * math/e_scalb.c: Completely rewritten and optimized.
69718         * math/e_scalbf.c: Likewise.
69719         * math/e_scalbl.c: Likewise.
69720         * math/w_acos.c: Likewise.
69721         * math/w_acosf.c: Likewise.
69722         * math/w_acosl.c: Likewise.
69723         * math/w_acosh.c: Likewise.
69724         * math/w_acoshf.c: Likewise.
69725         * math/w_acoshl.c: Likewise.
69726         * math/w_asin.c: Likewise.
69727         * math/w_asinf.c: Likewise.
69728         * math/w_asinl.c: Likewise.
69729         * math/w_atan2.c: Likewise.
69730         * math/w_atan2f.c: Likewise.
69731         * math/w_atan2l.c: Likewise.
69732         * math/w_atanh.c: Likewise.
69733         * math/w_atanhf.c: Likewise.
69734         * math/w_atanhl.c: Likewise.
69735         * math/w_exp10.c: Likewise.
69736         * math/w_exp10f.c: Likewise.
69737         * math/w_exp10l.c: Likewise.
69738         * math/w_fmod.c: Likewise.
69739         * math/w_fmodf.c: Likewise.
69740         * math/w_fmodl.c: Likewise.
69741         * math/w_j0.c: Likewise.
69742         * math/w_j0f.c: Likewise.
69743         * math/w_j0l.c: Likewise.
69744         * math/w_j1.c: Likewise.
69745         * math/w_j1f.c: Likewise.
69746         * math/w_j1l.c: Likewise.
69747         * math/w_jn.c: Likewise.
69748         * math/w_jnf.c: Likewise.
69749         * math/w_log.c: Likewise.
69750         * math/w_logf.c: Likewise.
69751         * math/w_logl.c: Likewise.
69752         * math/w_log10.c: Likewise.
69753         * math/w_log10f.c: Likewise.
69754         * math/w_log10l.c: Likewise.
69755         * math/w_log2.c: Likewise.
69756         * math/w_log2f.c: Likewise.
69757         * math/w_log2l.c: Likewise.
69758         * math/w_pow.c: Likewise.
69759         * math/w_powf.c: Likewise.
69760         * math/w_powl.c: Likewise.
69761         * math/w_remainder.c: Likewise.
69762         * math/w_remainderf.c: Likewise.
69763         * math/w_remainderl.c: Likewise.
69764         * math/w_scalb.c: Likewise.
69765         * math/w_scalbf.c: Likewise.
69766         * math/w_scalbl.c: Likewise.
69767         * math/w_sqrt.c: Likewise.
69768         * math/w_sqrtf.c: Likewise.
69769         * math/w_sqrtl.c: Likewise.
69770         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69771         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69772         used.
69773         * math/math_private.h: Declare __kernel_standard_f.
69774         * math/w_cosh.c: Remove cruft and optimize a bit.
69775         * math/w_coshf.c: Likewise.
69776         * math/w_coshl.c: Likewise.
69777         * math/w_exp2.c: Likewise.
69778         * math/w_exp2f.c: Likewise.
69779         * math/w_exp2l.c: Likewise.
69780         * math/w_hypot.c: Likewise.
69781         * math/w_hypotf.c: Likewise.
69782         * math/w_hypotl.c: Likewise.
69783         * math/w_lgamma.c: Likewise.
69784         * math/w_lgamma_r.c: Likewise.
69785         * math/w_lgammaf.c: Likewise.
69786         * math/w_lgammaf_r.c: Likewise.
69787         * math/w_lgammal.c: Likewise.
69788         * math/w_lgammal_r.c: Likewise.
69789         * math/w_sinh.c: Likewise.
69790         * math/w_sinhf.c: Likewise.
69791         * math/w_sinhl.c: Likewise.
69792         * math/w_tgamma.c: Likewise.
69793         * math/w_tgammaf.c: Likewise.
69794         * math/w_tgammal.c: Likewise.
69795         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69796         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69797         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69798         Minor optimizations.  Pretty printing.  Remove cruft.
69799         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69800         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69801         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69802         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69803         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69804         * sysdeps/i386/fpu/e_asin.S: Likewise.
69805         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69806         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69807         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69808         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69809         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69810         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69811         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69812         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69813         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69814         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69815         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69816         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69817         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69818         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69819         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69820         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69821         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69822         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69823         * sysdeps/i386/fpu/e_log.S: Likewise.
69824         * sysdeps/i386/fpu/e_log10.S: Likewise.
69825         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69826         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69827         * sysdeps/i386/fpu/e_log2.S: Likewise.
69828         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69829         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69830         * sysdeps/i386/fpu/e_logf.S: Likewise.
69831         * sysdeps/i386/fpu/e_logl.S: Likewise.
69832         * sysdeps/i386/fpu/e_pow.S: Likewise.
69833         * sysdeps/i386/fpu/e_powf.S: Likewise.
69834         * sysdeps/i386/fpu/e_powl.S: Likewise.
69835         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69836         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69837         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69838         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69839         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69840         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69841         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69842         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69843         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69844         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69845         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69847         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69848         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69849         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69850         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69851         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69852         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69853         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69854         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69855         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69857         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69858         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69859         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69860         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69861         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69862         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69863         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69864         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69865         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69866         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69867         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69868         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69869         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69870         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69871         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69872         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69873         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69874         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69875         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69876         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69877         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69878         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69879         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69880         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69881         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69882         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69883         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69884         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69885         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69886         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69888         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69890         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69892         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69893         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69894         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69895         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69896         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69897         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69899         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69900         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69901         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69903         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69906         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69908         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69909         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69913         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69914         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69915         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69916         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69918         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69919         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69920         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69921         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69922         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69923         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69924         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69925         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69926         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69927         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69928         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69929         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69930         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69931         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69932         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69933         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69934         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69935         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69936         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69937         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69938         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69939         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69940         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69941         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69942         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69943         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69944         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69945         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69946         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69947         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69948         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69949         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69950         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69951         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69952         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69953         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69954         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69955         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69956         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69957         (__isnanf): Likewise.
69958         (__isinf_ns): Likewise.
69959         (__isinf_nsf): Likewise.
69960         (__finite): Likewise.
69961         (__finitef): Likewise.
69962         (__ieee754_sqrt): Define as macro.
69963         (__ieee754_sqrtf): Define as macro.
69964         (__ieee754_sqrtl): Define as macro.
69965         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69966         inlined copy.
69967         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69968         __FINITE_MATH_ONLY__ consistent.
69969         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69971 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69973         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69974         of rawmemchr.
69976         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69978 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69980         * po/ja.po: Update from translation team.
69982 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69984         * locale/programs/locarchive.c (prepare_address_space): New function.
69985         (create_archive, enlarge_archive, open_archive): Use it.
69987         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69988         inside [SHARED], where it is used.
69990         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69992         * nss/getent.c (netgroup_keys): Remove unused variable.
69993         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69995 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69997         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69998         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70000         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70001         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70002         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70003         * math/Makefile (libm-calls): Add s_isinf_ns.
70004         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70005         * math/multc3.c: Likewise.
70006         * math/s_casin.c: Likewise.
70007         * math/s_casinf.c: Likewise.
70008         * math/s_casinl.c: Likewise.
70009         * math/s_ccos.c: Likewise.
70010         * math/s_ccosf.c: Likewise.
70011         * math/s_ccosl.c: Likewise.
70012         * math/s_ctan.c: Likewise.
70013         * math/s_ctanf.c: Likewise.
70014         * math/s_ctanh.c: Likewise.
70015         * math/s_ctanhf.c: Likewise.
70016         * math/s_ctanhl.c: Likewise.
70017         * math/s_ctanl.c: Likewise.
70018         * math/w_fmod.c: Likewise.
70019         * math/w_fmodf.c: Likewise.
70020         * math/w_fmodl.c: Likewise.
70021         * math/w_remainder.c: Likewise.
70022         * math/w_remainderf.c: Likewise.
70023         * math/w_remainderl.c: Likewise.
70024         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70025         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70026         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70027         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70028         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70029         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70030         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70031         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70033         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70034         of the number.
70035         * stdio-common/printf_fphex.c: Likewise.
70036         * stdio-common/printf_size.c: Likewise.
70038         * math/e_exp10.c: Include math_private.h using <...> not "...".
70039         * math/e_exp10f.c: Likewise.
70040         * math/e_exp10l.c: Likewise.
70041         * math/e_exp2l.c: Likewise.
70042         * math/e_j0l.c: Likewise.
70043         * math/e_j1l.c: Likewise.
70044         * math/e_jnl.c: Likewise.
70045         * math/e_lgammal_r.c: Likewise.
70046         * math/e_rem_pio2l.c: Likewise.
70047         * math/e_scalb.c: Likewise.
70048         * math/e_scalbf.c: Likewise.
70049         * math/e_scalbl.c: Likewise.
70050         * math/k_cosl.c: Likewise.
70051         * math/k_sinl.c: Likewise.
70052         * math/k_tanl.c: Likewise.
70053         * math/s_cacoshf.c: Likewise.
70054         * math/s_catan.c: Likewise.
70055         * math/s_catanf.c: Likewise.
70056         * math/s_catanh.c: Likewise.
70057         * math/s_catanhf.c: Likewise.
70058         * math/s_catanhl.c: Likewise.
70059         * math/s_catanl.c: Likewise.
70060         * math/s_ccosh.c: Likewise.
70061         * math/s_ccoshf.c: Likewise.
70062         * math/s_ccoshl.c: Likewise.
70063         * math/s_cexp.c: Likewise.
70064         * math/s_cexpf.c: Likewise.
70065         * math/s_cexpl.c: Likewise.
70066         * math/s_clog.c: Likewise.
70067         * math/s_clog10.c: Likewise.
70068         * math/s_clog10f.c: Likewise.
70069         * math/s_clog10l.c: Likewise.
70070         * math/s_clogf.c: Likewise.
70071         * math/s_clogl.c: Likewise.
70072         * math/s_csin.c: Likewise.
70073         * math/s_csinf.c: Likewise.
70074         * math/s_csinh.c: Likewise.
70075         * math/s_csinhf.c: Likewise.
70076         * math/s_csinhl.c: Likewise.
70077         * math/s_csinl.c: Likewise.
70078         * math/s_csqrt.c: Likewise.
70079         * math/s_csqrtf.c: Likewise.
70080         * math/s_csqrtl.c: Likewise.
70081         * math/s_ctan.c: Likewise.
70082         * math/s_ctanf.c: Likewise.
70083         * math/s_ctanh.c: Likewise.
70084         * math/s_ctanhf.c: Likewise.
70085         * math/s_ctanhl.c: Likewise.
70086         * math/s_ctanl.c: Likewise.
70087         * math/s_ldexp.c: Likewise.
70088         * math/s_ldexpf.c: Likewise.
70089         * math/s_ldexpl.c: Likewise.
70090         * math/s_significand.c: Likewise.
70091         * math/s_significandf.c: Likewise.
70092         * math/s_significandl.c: Likewise.
70093         * math/w_acos.c: Likewise.
70094         * math/w_acosf.c: Likewise.
70095         * math/w_acosh.c: Likewise.
70096         * math/w_acoshf.c: Likewise.
70097         * math/w_acoshl.c: Likewise.
70098         * math/w_acosl.c: Likewise.
70099         * math/w_asin.c: Likewise.
70100         * math/w_asinf.c: Likewise.
70101         * math/w_asinl.c: Likewise.
70102         * math/w_atan2.c: Likewise.
70103         * math/w_atan2f.c: Likewise.
70104         * math/w_atan2l.c: Likewise.
70105         * math/w_atanh.c: Likewise.
70106         * math/w_atanhf.c: Likewise.
70107         * math/w_atanhl.c: Likewise.
70108         * math/w_cosh.c: Likewise.
70109         * math/w_coshf.c: Likewise.
70110         * math/w_coshl.c: Likewise.
70111         * math/w_dremf.c: Likewise.
70112         * math/w_exp10.c: Likewise.
70113         * math/w_exp10f.c: Likewise.
70114         * math/w_exp10l.c: Likewise.
70115         * math/w_exp2.c: Likewise.
70116         * math/w_exp2f.c: Likewise.
70117         * math/w_fmod.c: Likewise.
70118         * math/w_fmodf.c: Likewise.
70119         * math/w_fmodl.c: Likewise.
70120         * math/w_hypot.c: Likewise.
70121         * math/w_hypotf.c: Likewise.
70122         * math/w_hypotl.c: Likewise.
70123         * math/w_j0.c: Likewise.
70124         * math/w_j0f.c: Likewise.
70125         * math/w_j0l.c: Likewise.
70126         * math/w_j1.c: Likewise.
70127         * math/w_j1f.c: Likewise.
70128         * math/w_j1l.c: Likewise.
70129         * math/w_jn.c: Likewise.
70130         * math/w_jnf.c: Likewise.
70131         * math/w_jnl.c: Likewise.
70132         * math/w_lgamma.c: Likewise.
70133         * math/w_lgamma_r.c: Likewise.
70134         * math/w_lgammaf.c: Likewise.
70135         * math/w_lgammaf_r.c: Likewise.
70136         * math/w_lgammal.c: Likewise.
70137         * math/w_lgammal_r.c: Likewise.
70138         * math/w_log.c: Likewise.
70139         * math/w_log10.c: Likewise.
70140         * math/w_log10f.c: Likewise.
70141         * math/w_log10l.c: Likewise.
70142         * math/w_log2.c: Likewise.
70143         * math/w_log2f.c: Likewise.
70144         * math/w_log2l.c: Likewise.
70145         * math/w_logf.c: Likewise.
70146         * math/w_logl.c: Likewise.
70147         * math/w_pow.c: Likewise.
70148         * math/w_powf.c: Likewise.
70149         * math/w_powl.c: Likewise.
70150         * math/w_remainder.c: Likewise.
70151         * math/w_remainderf.c: Likewise.
70152         * math/w_remainderl.c: Likewise.
70153         * math/w_scalb.c: Likewise.
70154         * math/w_scalbf.c: Likewise.
70155         * math/w_scalbl.c: Likewise.
70156         * math/w_sinh.c: Likewise.
70157         * math/w_sinhf.c: Likewise.
70158         * math/w_sinhl.c: Likewise.
70159         * math/w_sqrt.c: Likewise.
70160         * math/w_sqrtf.c: Likewise.
70161         * math/w_sqrtl.c: Likewise.
70162         * math/w_tgamma.c: Likewise.
70163         * math/w_tgammaf.c: Likewise.
70164         * math/w_tgammal.c: Likewise.
70166         * po/ja.po: Update from translation team.
70168 2011-09-29  Andreas Jaeger  <aj@suse.de>
70170         [BZ #13179]
70171         * sunrpc/netname.c (netname2host): Fix logic.
70173         [BZ #6779]
70174         [BZ #6783]
70175         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70176         correctly.
70177         * math/w_remainder.c (__remainder): Likewise.
70178         * math/w_remainderf.c (__remainderf): Likewise.
70179         * math/libm-test.inc (remainder_test): Add test cases.
70181 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70183         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70184         sdiv_qrnnd.
70186 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70188         * string/test-memcmp.c: Avoid unncessary #defines.
70189         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70191 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70193         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70194         Use new sse2 version for core i3 - i7 as it's faster
70195         than sse42 version.
70196         (bit_Prefer_PMINUB_for_stringop): New.
70197         * sysdeps/x86_64/rawmemchr.S: Update.
70198         Replace with faster SSE2 version.
70199         * sysdeps/x86_64/memrchr.S: New file.
70200         * sysdeps/x86_64/memchr.S: Update.
70201         Replace with faster SSE2 version.
70203 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70205         * elf/dl-load.c (lose): Add cast to avoid warning.
70207 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70209         * po/ca.po: Update from translation team.
70211         * inet/getnetgrent_r.c: Hook up nscd.
70212         * nscd/Makefile (routines): Add nscd_netgroup.
70213         (nscd-modules): Add netgroupcache.
70214         (CFLAGS-netgroupcache.c): Define.
70215         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70216         (cache_search): Add const to second parameter.
70217         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70218         INNETGR.
70219         (dbs): Add netgrdb entry.
70220         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70221         (verify_persistent_db): Handle netgrdb.
70222         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70223         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70224         GETFDNETGR.
70225         (netgroup_response_header): Define.
70226         (innetgroup_response_header): Define.
70227         (datahead): Add netgroup_response_header and innetgroup_response_header
70228         elements.
70229         * nscd/nscd.conf: Add entries for netgroup cache.
70230         * nscd/nscd.h (dbtype): Add netgrdb.
70231         (_PATH_NSCD_NETGROUP_DB): Define.
70232         (netgroup_iov_disabled): Declare.
70233         (xmalloc, xcalloc, xrealloc): Move declarations here.
70234         (cache_search): Adjust prototype.
70235         Add netgroup-related prototypes.
70236         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70237         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70238         (__nscd_innetgr): Declare.
70239         * nscd/selinux.c (perms): Use access_vector_t as element type and
70240         add netgroup-related initializers.
70241         * nscd/netgroupcache.c: New file.
70242         * nscd/nscd_netgroup.c: New file.
70243         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70244         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70245         For four parameters use innetgr.
70246         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70247         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70248         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70249         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70251         * nscd/connections.c (register_traced_file): Don't register file
70252         for disabled databases.
70254 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70256         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70258         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70259         from tree and freeing node.
70261 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70263         * nss/nsswitch.c (__nss_database_lookup): Handle
70264         nss_parse_service_list out of memory case.
70266 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70268         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70269         out of memory case.
70271 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70273         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70274         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70275         pass it down.
70276         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70277         elf_machine_rela, elf_machine_lazy_rel.
70278         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70279         (ELF_DYNAMIC_DO_REL): Likewise.
70280         (ELF_DYNAMIC_DO_RELA): Likewise.
70281         (ELF_DYNAMIC_RELOCATE): Likewise.
70282         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70283         to ELF_DYNAMIC_DO_REL.
70284         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70285         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70286         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70287         elf_machine_rela.
70288         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70289         skip_ifunc, don't call ifunc function if non-zero.
70290         (elf_machine_rela): Likewise.
70291         (elf_machine_lazy_rel): Likewise.
70292         (elf_machine_lazy_rela): Likewise.
70293         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70294         (elf_machine_lazy_rel): Likewise.
70295         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70296         Likewise.
70297         (elf_machine_lazy_rel): Likewise.
70298         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70299         Likewise.
70300         (elf_machine_lazy_rel): Likewise.
70301         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70302         (elf_machine_lazy_rel): Likewise.
70303         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70304         (elf_machine_lazy_rel): Likewise.
70305         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70306         (elf_machine_lazy_rel): Likewise.
70307         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70308         (elf_machine_lazy_rel): Likewise.
70309         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70310         (elf_machine_lazy_rel): Likewise.
70311         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70312         (elf_machine_lazy_rel): Likewise.
70314 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70316         * nss/nss_files/files-init.c (_nss_files_init): Use static
70317         initialization for all the *_traced_file variables.
70319 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70321         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70323 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70325         [BZ #13226]
70326         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70328 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70330         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70331         Reread the line before reparsing it.
70333 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70335         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70337 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70338             Maxim Kuvyrkov  <maxim@codesourcery.com>
70339             Joseph Myers  <joseph@codesourcery.com>
70341         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70342         if needed for __stack_chk_guard.
70344 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70346         * sysdeps/posix/spawni.c (script_execute): Always define it.
70347         It will be optimized away if unused.
70348         (maybe_script_execute): New function.
70349         (__spawni): Call it.
70351         * Makerules: Don't include tls.make.
70352         (config-tls): Always set to thread.
70353         * tls.make.c: File removed.
70355 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70357         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70358         * config.make.in (CPPFLAGS-config): New substituted variable.
70360 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70362         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70364         [BZ #13192]
70365         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70366         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70368 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70370         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70371         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70373         (CALL_FAIL): Likewise.
70374         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70375         (CALL_FAIL): Macro removed.
70376         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70378 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70380         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70381         for __FINITE_MATH_ONLY__ == 1.
70383 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70385         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70386         __ieee754_sqrt instead of sqrt.
70387         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70388         __ieee754_sqrtf instead of sqrtf.
70389         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70390         __floorf instead of floorf.
70391         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70392         __floorf, __truncf instead of floorf, truncf.
70394 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70396         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70398         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70399         __extern_always_inline.
70400         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70401         32-bit.
70403 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70405         * elf/rtld.c (dl_main): Also relocate in dependency order when
70406         doing symbol dependency testing.
70408 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70410         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70411         Always define `refsym'.
70413 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70415         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70416         (__FD_ELT): Renamed from __FDELT.
70417         * misc/bits/select2.h (__FD_ELT): Likewise.
70418         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70419         __FD_MASK instead of __FDELT, __FDMASK.
70420         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70421         Likewise.
70422         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70423         Likewise.
70425         * elf/Makefile (gen-ldd): Fix pattern.
70427         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70428         (init_tls): Likewise.
70430 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70432         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70434 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70436         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70437         `struct cmsghdr *' instead of `void *'.
70438         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70439         Likewise.
70441 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70443         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70444         if non-absolute.
70445         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70446         ldd_rewrite_script.
70448 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70450         * configure.in: Remove --with-tls option.
70451         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70452         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70453         out in case it is missing.
70454         * sysdeps/ia64/elf/configure.in: Likewise.
70455         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70456         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70457         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70458         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70459         * sysdeps/sh/elf/configure.in: Likewise.
70460         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70461         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70462         * sysdeps/x86_64/elf/configure.in: Likewise.
70463         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70464         * sysdeps/mach/hurd/tls.h: Likewise.
70466         [BZ #13067]
70467         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70469         [BZ #13090]
70470         * configure.in: Fix use of AC_INIT.
70472         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70474 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70476         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70477         __set_errno.
70478         * malloc/hooks.c: Likewise.
70480         [BZ #11929]
70481         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70482         variables statically.
70483         (narenas): Initialize.
70484         (list_lock): Initialize.
70485         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70486         initializtion of main_arena and list_lock.  Small cleanups.
70487         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70488         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70489         Add initializers to main_arena and mp_.
70490         (malloc_state): Remove pagesize member.  Change all users to use
70491         GLRO(dl_pagesize).
70493         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70494         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70495         is always initialized.
70497         * malloc/malloc.c: Removed unused configurations and dead code.
70498         * malloc/arena.c: Likewise.
70499         * malloc/hooks.c: Likewise.
70500         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70502         * include/tls.h: Removed.  USE___THREAD must always be defined.
70503         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70504         * elf/dl-libc.c: Likewise.
70505         * elf/dl-tsd.c: Likewise.
70506         * include/errno.h: Likewise.
70507         * include/netdb.h: Likewise.
70508         * include/resolv.h: Likewise.
70509         * inet/herrno-loc.c: Likewise.
70510         * inet/herrno.c: Likewise.
70511         * malloc/arena.c: Likewise.
70512         * malloc/hooks.c: Likewise.
70513         * malloc/malloc.c: Likewise.
70514         * resolv/res-state.c: Likewise.
70515         * resolv/res_libc.c: Likewise.
70516         * sysdeps/i386/dl-machine.h: Likewise.
70517         * sysdeps/ia64/dl-machine.h: Likewise.
70518         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70519         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70520         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70521         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70522         * sysdeps/sh/dl-machine.h: Likewise.
70523         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70524         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70525         * sysdeps/unix/i386/sysdep.S: Likewise.
70526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70527         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70532         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70533         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70536         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70537         * sysdeps/x86_64/dl-machine.h: Likewise.
70538         * tls.make.c: Likewise.
70540         * configure.in: Remove --with-__thread option.  Make tests for
70541         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70542         tls_model attribute fail if no support is available.  Remove
70543         USE_IN_LIBIO.
70544         * Makeconfig: Adjust for dropped configure option.  All features are
70545         now mandatory.
70546         * Makerules: Likewise.
70547         * Versions.def: Likewise.
70548         * argp/argp-fmtstream.c: Likewise.
70549         * argp/argp-fmtstream.h: Likewise.
70550         * argp/argp-help.c: Likewise.
70551         * assert/assert.c: Likewise.
70552         * config.h.in: Likewise.
70553         * config.make.in: Likewise.
70554         * configure: Likewise.
70555         * configure.in: Likewise.
70556         * csu/Versions: Likewise.
70557         * csu/init.c: Likewise.
70558         * elf/tst-audit2.c: Likewise.
70559         * elf/tst-tls10.c: Likewise.
70560         * elf/tst-tls10.h: Likewise.
70561         * elf/tst-tls11.c: Likewise.
70562         * elf/tst-tls12.c: Likewise.
70563         * elf/tst-tls14.c: Likewise.
70564         * elf/tst-tlsmod11.c: Likewise.
70565         * elf/tst-tlsmod12.c: Likewise.
70566         * elf/tst-tlsmod13.c: Likewise.
70567         * elf/tst-tlsmod13a.c: Likewise.
70568         * elf/tst-tlsmod14a.c: Likewise.
70569         * elf/tst-tlsmod15b.c: Likewise.
70570         * elf/tst-tlsmod16a.c: Likewise.
70571         * elf/tst-tlsmod16b.c: Likewise.
70572         * elf/tst-tlsmod7.c: Likewise.
70573         * elf/tst-tlsmod8.c: Likewise.
70574         * elf/tst-tlsmod9.c: Likewise.
70575         * gmon/gmon.c: Likewise.
70576         * grp/fgetgrent_r.c: Likewise.
70577         * grp/putgrent.c: Likewise.
70578         * hurd/fopenport.c: Likewise.
70579         * include/libc-symbols.h: Likewise.
70580         * include/tls.h: Likewise.
70581         * intl/gettextP.h: Likewise.
70582         * intl/loadinfo.h: Likewise.
70583         * locale/global-locale.c: Likewise.
70584         * locale/localeinfo.h: Likewise.
70585         * mach/devstream.c: Likewise.
70586         * malloc/arena.c: Likewise.
70587         * malloc/set-freeres.c: Likewise.
70588         * misc/err.c: Likewise.
70589         * misc/getttyent.c: Likewise.
70590         * misc/mntent_r.c: Likewise.
70591         * posix/getopt.c: Likewise.
70592         * posix/wordexp.c: Likewise.
70593         * pwd/fgetpwent_r.c: Likewise.
70594         * resolv/Versions: Likewise.
70595         * resolv/res_hconf.c: Likewise.
70596         * shadow/fgetspent_r.c: Likewise.
70597         * shadow/putspent.c: Likewise.
70598         * stdio-common/printf_fphex.c: Likewise.
70599         * stdio-common/tmpfile.c: Likewise.
70600         * stdlib/abort.c: Likewise.
70601         * stdlib/fmtmsg.c: Likewise.
70602         * sunrpc/auth_unix.c: Likewise.
70603         * sunrpc/clnt_perr.c: Likewise.
70604         * sunrpc/clnt_tcp.c: Likewise.
70605         * sunrpc/clnt_udp.c: Likewise.
70606         * sunrpc/clnt_unix.c: Likewise.
70607         * sunrpc/openchild.c: Likewise.
70608         * sunrpc/svc_simple.c: Likewise.
70609         * sunrpc/svc_tcp.c: Likewise.
70610         * sunrpc/svc_udp.c: Likewise.
70611         * sunrpc/svc_unix.c: Likewise.
70612         * sunrpc/xdr.c: Likewise.
70613         * sunrpc/xdr_array.c: Likewise.
70614         * sunrpc/xdr_rec.c: Likewise.
70615         * sunrpc/xdr_ref.c: Likewise.
70616         * sunrpc/xdr_stdio.c: Likewise.
70618 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70620         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70622 2011-07-03  Andreas Jaeger  <aj@suse.de>
70624         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70625         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70626         regenerate with gen-libm-tests.pl.
70628 2010-05-12  Petr Baudis  <pasky@suse.cz>
70630         [BZ #11589]
70631         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70632         around j0() zero points by switching to j1().
70633         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70634         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70638 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70640         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70641         instead of 0.
70642         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70643         instead of 0.
70644         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70645         Patch in part by Pavel Roskin <proski@gnu.org>.
70647         [BZ #13138]
70648         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70649         realloc.
70650         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70651         Free memory block if necessary.
70653         [BZ #12847]
70654         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70655         be NULL.  Don't lock in this case.
70657 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70659         * elf/elf.h (ELFOSABI_GNU): New macro.
70660         (ELFOSABI_LINUX): Define to that.
70662 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70664         * string/strncat.c (strncat): Undef the symbol in case it has been
70665         defined in bits/string.h.
70667 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70669         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70671         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70672         link map.
70674 2011-08-17  Andreas Jaeger  <aj@suse.de>
70676         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70678 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70679             Ian Lance Taylor  <iant@google.com>
70681         * math/libm-test.inc (lround_test): New testcase.
70682         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70684 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70686         * Makefile: Remove support for automatic cvs check-ins.
70687         * Makerules: Likewise.
70688         * config.make.in: Likewise.
70689         * configure.in: Likewise.
70690         * intl/Makefile: Likewise.
70691         * locale/Makefile: Likewise.
70692         * po/Makefile: Likewise.
70693         * posix/Makefile: Likewise.
70694         * sysdeps/gnu/Makefile: Likewise.
70695         * sysdeps/mach/hurd/Makefile: Likewise.
70696         * sysdeps/sparc/sparc32/Makefile: Likewise.
70698         [BZ #13118]
70699         * posix/Makefile (bug-regex32-ENV): Define.
70700         Patch by John Stanley <jpsinthemix@verizon.net>.
70702         * misc/Makefile (headers): Add bits/select2.h.
70703         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70704         * misc/bits/select2.h: New file.
70705         * include/bits/select2.h: New file.
70706         * debug/Makefile (routines): Add fdelt_chk.
70707         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70708         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70709         FD_ISSET.
70710         * debug/fdelt_chk.c: New file.
70712         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70713         * wcsmbs/test-wmemcmp.c: Likewise.
70714         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70715         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70717 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70719         * string/Makefile (strop-tests): Add memcmp.
70720         * string/test-wmemcmp.c: New file.
70721         * string/test-memcmp.c: Add wmemcmp support.
70723 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70725         [BZ #13153]
70726         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70727         2011-07-19 change.
70729         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70730         garbage value in a __mach_port_mod_refs call in the cases of the
70731         task-self and thread-self ports.
70733 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70735         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70737 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70739         * elf/dl-load.c (lose): Check for non-null L.
70741 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70743         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70745         * elf/dl-libc.c (dlerror_run): Pass back error code from
70746         dl_catch_error.
70748         [BZ #13123]
70749         * elf/dl-load.c (lose): Free l_origin if it is valid.
70751         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70752         names.
70753         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70754         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70755         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70756         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70757         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70758         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70760 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70762         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70763         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70764         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70765         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70766         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70767         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70768         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70769         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70770         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70771         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70773 2011-08-15  Alan Modra  <amodra@gmail.com>
70775         [BZ #13092]
70776         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70777         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70778         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70779         ppc_mcount to static-only-routines.
70780         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70781         __mcount_internal.
70782         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70783         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70785 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70787         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70788         for finite and infinity parameters.
70790 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70792         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70793         and add nop instructions for throughput optimization.
70794         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70796 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70798         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70799         aligned copy for power7 with vector-scalar instructions.
70800         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70802 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70804         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70805         AVX check.
70807 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70809         [BZ #13144]
70810         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70811         last change.
70813 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70815         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70816         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70817         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70818         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70819         clock_gettime.
70821 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70823         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70824         Forgot to demangle the pointer.
70826         * sysdeps/i386/sysdep.h: Define atom_text_section.
70827         * sysdeps/x86_64/sysdep.h: Likewise.
70828         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70829         section with atom_text_section.
70830         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70831         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70832         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70833         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70834         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70836         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70837         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70838         already be defined.  Change to take two parameters and don't assign
70839         result to variable.  Adjust all users.
70840         Define INTERNAL_GETTIME if not already defined.
70841         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70842         call.
70843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70844         HAVE_CLOCK_GETTIME_VSYSCALL.
70845         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70847         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70848         gettimeofday vsyscall, just use time.
70850 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70853         <errno.h>.
70855 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70857         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70858         syscall on x86-64.
70859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70860         syscall.
70861         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70862         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70863         syscall if possible.
70865 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70867         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70868         e_ident.  Don't pass to find_mapsXX.
70869         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70871 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70874         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70875         * sysdeps/x86_64/multiarch/strchr.S: Update.
70876         Check bit_slow_BSF bit.
70877         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70878         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70879         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70881 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70883         [BZ #13134]
70884         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70885         before glibc 2.15.
70886         (tryshell): Define.
70887         (__spawni): Change last parameter to be flag.  Test
70888         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70889         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70890         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70891         * posix/spawni.c: Likewise.
70892         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70893         * posix/spawnp.c: Likewise.  Change normal version to use
70894         SPAWN_XFLAGS_USE_PATH.
70895         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70896         SPAWN_XFLAGS_TRY_SHELL.
70898         [BZ #13150]
70899         * posix/glob.h: Remove gcc 1.x support.
70901         [BZ #13068]
70902         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70904 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70906         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70907         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70908         strrchr-sse2-bsf
70909         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70910         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70911         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70912         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70913         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70914         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70916 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70918         * sysdeps/x86_64/wcscmp.S: New file.
70920         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70921         wcscmp-c wcscmp-sse2
70922         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70923         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70924         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70925         * wcsmbs/wcscmp.c: Allow renaming.
70927 2011-09-05  David S. Miller  <davem@davemloft.net>
70929         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70930         stack slot, rather than the struct return pointer slot.
70931         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70932         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70934         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70936 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70938         * po/ja.po: Update from translation team.
70940         [BZ #13144]
70941         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70942         kernel in 64-bit binaries.
70944 2011-09-01  David S. Miller  <davem@davemloft.net>
70946         * elf/elf.h (HWCAP_SPARC_*): Move to..
70947         * sysdeps/sparc/sysdep.h: this new file and add new values.
70948         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70949         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70950         _DL_HWCAP_COUNT to 24.
70951         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70952         entries.
70953         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70954         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70955         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70956         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70957         instead of magic constants.
70958         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70960 2011-08-31  David S. Miller  <davem@davemloft.net>
70962         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70963         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70964         Reimplement to do errno handling inline.
70965         (SYSCALL_ERROR_HANDLER): New macro.
70966         (__SYSCALL_STRING): Do not do errno handling in asm.
70967         (__CLONE_SYSCALL_STRING): Delete.
70968         (__INTERNAL_SYSCALL_STRING): Delete.
70969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70970         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70971         (PSEUDO): Reimplement to do errno handling inline.
70972         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70973         (SYSCALL_ERROR_HANDLER): New macro.
70974         (__SYSCALL_STRING): Do not do errno handling in asm.
70975         (__CLONE_SYSCALL_STRING): Delete.
70976         (__INTERNAL_SYSCALL_STRING): Delete.
70977         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70978         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70979         i386.
70980         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70981         (inline_syscall*): Add 'err' argument.
70982         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70983         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70984         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70985         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70987         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70988         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70990 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70992         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70994 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70996         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70997         directive.
70999 2011-08-24  David S. Miller  <davem@davemloft.net>
71001         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71003 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71005         * elf/Makefile: Add rules to build and run unload8 test.
71006         * elf/unload8.c: New file.
71007         * elf/unload8mod1.c: New file.
71008         * elf/unload8mod1x.c: New file.
71009         * elf/unload8mod2.c: New file.
71010         * elf/unload8mod3.c: New file.
71012         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71013         it wasn't used.
71015 2011-08-23  David S. Miller  <davem@davemloft.net>
71017         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71018         subtract stack bias.
71019         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71020         %sp not %fp in calculations.
71021         (_JMPBUF_UNWINDS_ADJ): Likewise.
71023         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71024         (aio_suspend): Call it to force an exception region around the
71025         AIO_MISC_WAIT() invocation.
71027 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71029         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71030         backslash.
71032 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71034         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71035         protection macro.
71036         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71037         and <dl-machine.h>.
71038         (Elf64_FuncDesc): Remove.
71040 2011-08-22  David S. Miller  <davem@davemloft.net>
71042         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71043         sigaltstack check, add missing cfi directives.
71044         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71045         missing cfi directives, and sigaltstack handling.
71047 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71049         [BZ #11724]
71050         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71051         object is seen twice.
71052         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71054         * elf/Makefile (distribute): Add tst-initorder2.c.
71055         (tests): Add tst-initorder2.
71056         (modules-names): Add tst-initorder2a tst-initorder2b
71057         tst-initorder2c tst-initorder2d.  Add rules to build them.
71058         ($(objpfx)tst-initorder2.out): New rule.
71059         * elf/tst-initorder2.c: New file.
71060         * elf/tst-initorder2.exp: New file.
71062 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71064         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71066         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71067         dependencies back to end of function.
71069         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71070         $(elfobjdir)/ld.so.
71072 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71074         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71075         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71076         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71077         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71078         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71079         of __vdso_gettimeofday.
71080         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71081         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71082         attribute_hidden.
71083         (_libc_vdso_platform_setup): Remove initialization of
71084         __vdso_gettimeofday and __vdso_time.
71086 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71088         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71089         and fgetc_unlocked.
71090         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71091         getc_unlocked.
71093         * elf/dl-open.c (add_to_global): Report additions to the global scope
71094         for LD_DEBUG=scopes.
71095         (dl_open_worker): Also print scope of newly loaded dependencies.
71096         (_dl_show_scope): Indicate if there is no scope.
71098         [BZ #13114]
71099         * stdio-common/Makefile (tests): Add bug24.
71100         * stdio-common/bug24.c: New file.
71102 2011-08-19  Andreas Jaeger  <aj@suse.de>
71104         [BZ #13114]
71105         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71106         non-existant file when using close-on-exec mode.
71108 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71110         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71111         the very first instruction.
71113         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71114         the CFI state in the end.
71115         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71116         inclusion of dl-trampoline.h.
71117         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71119 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71121         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71122         expectations for long double.
71124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71125         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71127 2011-08-14  David S. Miller  <davem@davemloft.net>
71129         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71130         artificual limit depends upon the system page size.
71132 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71134         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71135         * resolv/Makefile: Define CFLAGS-libresolv.
71137 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71139         * nss/makedb.c (compute_tables): Make variables used in nested
71140         function static.
71142 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71144         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71145         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71146         if buffer was too small.
71148         * elf/pldd.c (main): Attach to all threads in the process.
71149         Rewrite /proc handling to use *at functions.
71151 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71153         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71154         specifies first scope to show.
71155         (dl_open_worker): Update callers.  Move printing scope of new
71156         object to before the relocation.
71157         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71158         * sysdeps/generic/ldsodefs.h: Update declaration.
71160         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71161         string for the scope number.
71163 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71165         * nscd/servicescache.c (cache_addserv): Make sure written is always
71166         initialized.
71168 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71170         * sysdeps/i386/i486/bits/atomic.h
71171         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71172         statement expression, so as to suppress "set but not used" warning.
71173         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71175         * string/strncat.c (STRNCAT): Use prototype definition.
71177         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71178         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71179         -Iprograms here.
71180         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71181         (localedef-modules): Add localedef.
71182         (locale-modules): Add locale.
71184         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71185         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71186         to avoid a warning.
71188 2011-08-14  David S. Miller  <davem@davemloft.net>
71190         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71191         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71193 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71195         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71196         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71197         * elf/rtld.c (dl_main): Set l_name of vDSO.
71198         Call _dl_show_scope when DL_DEBUG_SCOPES.
71199         (process_dl_debug): Recognize scopes flag and also set it for all.
71200         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71201         Declare _dl_show_scope.
71203         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71204         (do_dlopen): Pass caller_dlopen to dl_open.
71205         (__libc_dlopen_mode): Initialize caller_dlopen.
71207         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71208         of libc.  Make tolower call locale-independent.  Optimize a bit by
71209         using isdigit instead of isalnum.
71210         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71212 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71214         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71215         was a dependency or dynamically loaded.
71217 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71219         * intl/l10nflist.c: Allow architecture-specific pop function.
71220         * sysdeps/x86_64/l10nflist.c: New file.
71222         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71223         classification.
71225 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71227         * include/dirent.h: Add libc_hidden_proto for scandirat and
71228         scandirat64.  Don't declare __scandirat64.
71229         * dirent/scandirat.c: Add libc_hidden_def.
71230         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71231         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71233 2011-08-10  David S. Miller  <davem@davemloft.net>
71235         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71236         enum.
71237         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71238         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71239         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71241 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71243         * Versions.def [libc]: Add GLIBC_2.15.
71244         * dirent/Makefile (routines): Add scandirat and scandirat64.
71245         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71246         GLIBC_2.15.
71247         * dirent/dirent.h: Declare scandirat and scandirat64.
71248         * dirent/scandirat.c: New file.
71249         * dirent/scandirat64.c: New file.
71250         * sysdeps/wordsize-64/scandirat.c: New file.
71251         * sysdeps/wordsize-64/scandirat64.c: New file.
71252         * dirent/opendir.c: Define opendirat.
71253         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71254         using scandirat.
71255         * dirent/scandir64.c: Adjust for scandir.c change.
71256         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71257         __scandirat64, and __scandir_cancel_handler.
71258         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71259         additional parameter and use openat instead of open (outside of ld.so).
71260         Add new __opendir as wrapper around __opendirat.
71261         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71262         here without requiring old scandirat implementation.
71264 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71266         * dirent/scandir.c (cancel_handler): Renamed to
71267         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71268         defined.  Adjust users.
71269         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71270         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71272 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71274         * string/test-string.h (IMPL): Use __STRING to expand name and then
71275         stringify it.
71277         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71278         of cleanups.
71280 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71282         * string/Makefile: Update.
71283         (strop-tests): Append strncat.
71284         * string/test-wcscmp.c: New file.
71285         New comprehensive test for wcscmp.
71286         * string/test-strcmp.c: Update.
71287         (WIDE): New define.
71289 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71291         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71292         line.
71294 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71297         encoding to ACE if AI_IDN.
71299 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71301         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71302         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71304 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71306         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71307         Fix overflow bug in strncat.
71308         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71310         * string/test-strncat.c: Update.
71311         Add new tests for checking overflow bugs.
71313 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71315         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71316         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71317         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71318         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71319         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71320         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71321         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71322         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71323         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71325         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71326         (USE_AS_STRCAT): Define.
71327         Add strcat and strncat support.
71328         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71330 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71332         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71333         __n bigger than INT_MAX+1.
71334         (__strncmp_g): Likewise.
71336 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71338         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71339         * libio/stido.h: Likewise.
71341         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71342         (AF_NFC): Define.
71343         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71344         (AF_NFC): Define.
71346         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71347         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71348         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71349         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71350         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71352         [BZ #13021]
71353         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71354         installed.
71356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71357         typo.
71358         (_dl_x86_64_save_sse): Likewise.
71360 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71362         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71363         OSXSAVE.
71364         (_dl_x86_64_save_sse): Likewise.
71366         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71368         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71370 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71372         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71373         change.
71374         (_dl_x86_64_save_sse): Use correct AVX check.
71376 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71378         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71379         bug in strncpy/strncat.
71380         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71382 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71384         * string/tester.c (test_strcat): Add tests for different alignments
71385         of source and destination.
71386         (test_strncat): Likewise.
71388 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71390         [BZ #12852]
71391         * posix/glob.c (glob): Check passed in values before using them in
71392         expressions to avoid some overflows.
71393         (glob_in_dir): Likewise.
71395         [BZ #13007]
71396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71397         check for AVX enablement so that we don't crash with old kernels and
71398         new hardware.
71399         * elf/tst-audit4.c: Add same checks here.
71400         * elf/tst-audit6.c: Likewise.
71402         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71404 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71406         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71408 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71410         * po/cs.po: Update from translation team.
71411         * po/bg.po: Likewise.
71413 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71415         * misc/sys/cdefs.h: Add support for const attribute.
71416         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71417         to gnu_dev_{major,minor,makedev} functions.
71419 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71421         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71423 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71425         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71426         strlen results.
71428 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71431         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71432         register in order to avoid conflicts with the soft frame pointer
71433         being held in r11 when necessary.
71434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71435         (INTERNAL_VSYSCALL_NCS): Likewise.
71437 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71439         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71440         * elf/dl-fini.c (_dl_fini): Adjust caller.
71441         * elf/dl-close.c (_dl_close_worker): Likewise.
71442         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71444 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71446         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71447         "aux_cache->nlibs < 0".
71449         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71450         in the reload-count case.
71452 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71455         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71456         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71457         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71458         * sysdeps/x86_64/multiarch/strcat.S: New file.
71459         * sysdeps/x86_64/multiarch/strncat.S: New file.
71460         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71461         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71462         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71463         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71464         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71465         (USE_AS_STRCAT): Define.
71466         Add strcat and strncat support.
71467         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71468         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71469         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71470         * string/strncat.c: Update.
71471         (USE_AS_STRNCAT): Define.
71472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71473         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71474         and i7.
71475         * sysdeps/x86_64/multiarch/init-arch.h
71476         (bit_Prefer_PMINUB_for_stringop): New.
71477         (index_Prefer_PMINUB_for_stringop): Likewise.
71478         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71479         bit_Prefer_PMINUB_for_stringop.
71481 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71483         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71484         buffer64.
71485         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71486         of casting of buffer.
71487         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71488         buffer32 and buffer64.
71489         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71490         writes instead of casting of buffer.
71491         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71492         buffer32.
71493         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71494         casting of buffer.
71496 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71498         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71500 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71502         * nscd/nscd.c (termination_handler): Don't do anything for a database
71503         if it has not yet been initialized.
71505 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71507         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71509 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71511         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71513 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71515         * po/nl.po: Update from translation team.
71516         * po/sv.po: Likewise.
71518 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71520         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71521         now disallowed by GCC.
71523         * configure.in (use-default-link): Default to yes if a test -shared
71524         link meets our qualifications.
71525         * configure: Regenerated.
71527         * config.make.in (output-format): New variable.
71528         * configure.in: Check for ld --print-output-format support.
71529         * configure: Regenerated.
71530         * Makerules ($(common-objpfx)format.lds)
71531         [$(output-format) != unknown]: Just use $(output-format),
71532         instead of the linker-script munging.
71534 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71536         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71537         of $(common-objpfx)shlib.lds.
71538         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71540         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71541         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71543         * configure.in (-z relro check): Adjust test code to add a large
71544         writable data section after it.
71545         * configure: Regenerated.
71547 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71549         * configure.in (-z relro check): Fix test code to make the variable
71550         truly const.
71551         * configure: Regenerated.
71553 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71555         * nscd/nscd.h (struct traced_file): Define.
71556         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71557         elements.  Add traced_files.
71558         (inotify_fd): Declare.
71559         (register_traced_file): Declare.
71560         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71561         (inotify_fd): Export.
71562         (resolv_conf_descr): Remove.
71563         (nscd_init): Move inotify descriptor creation to main.
71564         Don't register files for notification here.
71565         (register_traced_file): New function.
71566         (invalidate_cache): Don't use reset_res to determine whether to call
71567         res_init, go through the list of registered files.
71568         (main_loop_poll): The inotify descriptors are now stored in the
71569         structures for the traced files.
71570         (main_loop_epoll): Likewise.
71571         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71572         to __nss_disable_nscd.
71573         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71574         for a database anymore.  Check the records for all the registered
71575         files instead.
71576         * nss/Makefile (libnss_files-routines): Add files-init.
71577         (libnss_db-routines): Add db-init.
71578         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71579         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71580         * nss/nss_db/db-init.c: New file.
71581         * nss/nss_files/files-init.c: New file.
71582         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71583         __nss_lookup_function.
71584         (__nss_lookup_function): Call nss_load_library.
71585         (nss_load_all_libraries): New function.
71586         (__nss_disable_nscd): Take parameter with callback function for files
71587         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71588         used for the cached services.
71589         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71590         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71591         options for features to all the files in nscd.
71593         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71595 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71597         * csu/elf-init.c (__libc_csu_init): Comment typo.
71599 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71601         * po/pl.po: Update from translation team.
71602         * po/ja.po: Likewise.
71603         * po/ru.po: Likewise.
71604         * po/ko.po: Likewise.
71605         * po/fr.po: Likewise.
71607 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71609         * configure.in (.ctors/.dtors header and trailer check):
71610         Use an empirical test on a built program.
71611         * configure: Regenerated.
71613         * configure.in (-z relro check): Use an empirical test on a built DSO.
71614         Detect, but do not require, on ia64.
71615         * configure: Regenerated.
71617         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71618         Update tests that use readelf to use $READELF instead.
71619         * configure: Regenerated.
71621 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71623         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71624         if the result is not used.
71626 2011-07-05  Andreas Jaeger  <aj@suse.de>
71628         [BZ#9696]
71629         * stdlib/tst-strtod.c: Add testcase.
71631 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71633         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71634         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71635         The latter has a higher limit.  Take additional parameter to pass to
71636         the new function.
71637         (__pathconf): Pass file to __statfs_link_max.
71638         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71639         __statfs_link_max.
71640         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71641         __statfs_link_max.
71643         [BZ #12868]
71644         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71645         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71646         Handle Lustre.
71647         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71648         (__statfs_filesize_max): Likewise.
71649         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71651 2011-07-05  Andreas Jaeger  <aj@suse.de>
71653         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71655 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71657         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71658         `status' variable.
71659         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71660         Likewise.
71662 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71664         * Makefile (strop-tests): Add strncat.
71665         * string/test-strncat.c: New file.
71667 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71669         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71671 2011-06-21  Andreas Jaeger  <aj@suse.de>
71673         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71674         Copy rule from iconvdata/Makefile.
71676 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71678         [BZ #12922]
71679         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71680         but no long options are defined, just return 'W'.
71682 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71684         [BZ #9696]
71685         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71687 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71689         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71690         netgroups to read.
71691         (innetgr): Likewise.
71693 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71695         * config.make.in (install_root): Default to $(DESTDIR).
71697 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71699         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71701 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71703         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71705         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71706         containing directory rather than embedding absolute directory names.
71708         * scripts/check-local-headers.sh: Rewritten using awk.
71709         Match by word, not by line.  Print error messages for matches.
71710         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71712         * Makerules [shlib-lds-flags empty]:
71713         ($(common-objpfx)libc_pic.opts): New target.
71714         ($(common-objpfx)libc_pic.os.clean): New target.
71715         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71717         * config.make.in (OBJCOPY): New variable.
71718         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71719         * configure: Regenerated.
71721         * config.make.in (use-default-link): New variable.
71722         * configure.in (use_default_link): Grok --with-default-link to set it.
71723         * configure: Regenerated.
71724         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71725         (shlib-lds, shlib-lds-flags): Define to empty.
71727         * Makerules (shlib-lds): New variable.
71728         (shlib-lds-flags): New variable.
71729         (build-shlib, build-moduile, build-module-asneeded): Use it.
71730         ($(common-objpfx)libc.so): Use $(shlib-lds).
71731         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71732         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71734         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71735         DT_FLAGS/DT_FLAGS_1 with zero flags.
71737         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71738         linker script munging.
71740 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71742         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71743         as 128-bit value.
71744         * crypt/sha512.c (sha512_process_block): Perform total addition using
71745         128-bit if possible.
71746         (__sha512_finish_ctx): Likewise.
71747         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71748         as 64-bit value.
71749         * crypt/sha256.c (SWAP64): Define.
71750         (sha256_process_block): Perform total addition using 64-bit if
71751         possible.
71752         (__sha256_finish_ctx): Likewise.
71754 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71756         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71757         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71758         * nscd/hstcache.c (cache_addhst): Likewise.
71759         * nscd/grpcache.c (cache_addgr): Likewise.
71760         * nscd/aicache.c (addhstaiX): Likewise.
71761         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71763 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71765         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71766         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71767         * nscd/hstcache.c (cache_addhst): Likewise.
71768         * nscd/grpcache.c (cache_addgr): Likewise.
71769         * nscd/aicache.c (addhstaiX): Likewise.
71771 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71773         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71774         domain only when needed.
71776 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71778         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71779         is always restored.
71781 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71783         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71784         are re-adding the entry.
71785         * nscd/servicescache.c (cache_addserv): Likewise.
71787 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71789         * sysdeps/generic/dl-irel.h: fix protection against multiple
71790         inclusions.
71791         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71793 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71795         [BZ #12935]
71796         * malloc/memusage.sh: Fix quoting in message.
71797         * debug/xtrace.sh: Likewise.
71799         * configure.in: Remove support for --experimental-malloc option, make
71800         it the default.
71801         * config.make.in: Likewise.
71802         * malloc/Makefile: Likewise.
71804 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71806         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71807         two-byte characters.
71809 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71811         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71812         AC_CACHE_CHECK invocation.
71813         * configure: Regenerated.
71815         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71817 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71819         [BZ #12350]
71820         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71821         bit from old_res_options.
71823         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71825         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71826         value type for setfct.
71828 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71830         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71831         __gettimeofday instead of gettimeofday.
71833 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71835         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71837 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71839         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71841         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71842         info.
71844 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71847         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71848         strcpy-sse2-unaligned strncpy-sse2-unaligned
71849         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71850         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71851         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71852         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71853         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71854         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71855         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71856         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71857         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71858         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71859         (STRCPY): Support SSE2 and SSSE3 versions.
71861 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71863         [BZ #12874]
71864         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71865         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71866         kernels which artificially limit size of requests.
71868 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71870         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71871         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71872         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71873         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71874         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71875         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71876         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71877         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71878         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71879         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71880         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71881         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71882         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71883         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71884         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71885         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71886         Enable unaligned load optimization for Intel Core i3, i5 and i7
71887         processors.
71888         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71889         Define.
71890         (index_Fast_Unaligned_Load): Define.
71891         (HAS_FAST_UNALIGNED_LOAD): Define.
71893 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71895         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71897 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71899         [BZ #12907]
71900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71901         until it is clear that the information is realy needed.
71902         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71904 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71908 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71911         /sys/devices/system/cpu/online if it is usable.
71913         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71914         reading the information from the /proc filesystem to once a second.
71916 2011-06-21  Andreas Jaeger  <aj@suse.de>
71918         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71919         NULL after inclusion of kernel headers.
71921 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71923         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71924         calls to internal_setent.
71926         [BZ #12885]
71927         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71928         addresses using gethostbyname4_r ignore IPv4 addresses.
71930         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71931         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71933         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71935 2011-06-20  David S. Miller  <davem@davemloft.net>
71937         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71938         inclusions.
71939         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71941         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71942         (elf_irel): Use it.
71943         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71944         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71945         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71946         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71947         * sysdeps/x86_64/dl-irel.h: Likewise.
71949         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71950         * elf/dl-sym.c: Likewise.
71952 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71954         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71955         need to dereference resplen2.
71957 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71959         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71961 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71963         * Makeconfig: Define vardbdir and inst_vardbdir.
71964         * nss/Makefile: Add rules to install db-Makefile.
71966         * nss/nss_db/db-XXX.c: Cleanup.
71968         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71969         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71970         GLIBC_PRIVATE.
71971         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71972         * nss/makedb.c: Implement -g option to specify that value strings
71973         are generated and should not be added to table iterated over for
71974         get*ent calls.
71975         * nss/nss_db/db-initgroups.c: New file.
71977         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71978         interface.
71980         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71981         (internal_getgrouplist): Adjust to name change.
71982         Update use_initgroups_entry if this is not the first call.
71983         * nss/databases.def: Add initgroups entry.
71985         * nss/makedb.c (compute_tables): Check result of multiple hash table
71986         sizes to minimize maximum chain length.
71988 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71990         * Versions.def: Add entry for libnss_db.
71991         * shlib-versions: Likewise.
71992         * nss/Makefile: Add rules to build libnss_db.
71993         * nss/Versions: Add libnss_db information.  Organize libnss_files
71994         entries better.
71995         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71996         makedb progra.  Some minor improvements to generate smaller files.
71997         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71998         here from...
71999         * nss/makedb.c: ...here.
72000         Improve database format to be smaller and require less memory at
72001         runtime.
72002         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72003         db anymore.
72004         * nss/nss_db/db-netgrp.c: Likewise.
72005         * nss/nss_db/db-open.c: Likewise.
72006         * nss/nss_files/flies-XXX.x: Adjust comments.
72007         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72008         * nss/nss_files/files-grp.c: Likewise.
72009         * nss/nss_files/files-hosts.c: Likewise.
72010         * nss/nss_files/files-network.c: Likewise.
72011         * nss/nss_files/files-proto.c: Likewise.
72012         * nss/nss_files/files-pwd.c: Likewise.
72013         * nss/nss_files/files-rpc.c: Likewise.
72014         * nss/nss_files/files-service.c: Likewise.
72015         * nss/nss_files/files-sgrp.c: Likewise.
72016         * nss/nss_files/files-spwd.c: Likewise.
72017         * nss/nss_db/db-alias.c: Removed.
72018         * nss/nss_db/dummy-db.h: Removed.
72020 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72022         * nss/makedb.c: Rewritten to not use database library.
72023         * nss/Makefile: Update to build new makedb program.
72025 2011-06-14  Andreas Jaeger  <aj@suse.de>
72027         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72028         memset declaration.
72030 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72033         tmpbuf.
72035 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72037         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72038         * elf/Makefile ($(objpfx)ld.so): Likewise.
72040         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72041         Don't list ld.so twice in dependencies.
72043         * posix/bug-regex31.c: Include <stdlib.h>.
72045         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72047         * nis/nss_compat/compat-spwd.c
72048         (getspent_next_nss_netgr): Remove unused variable.
72049         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72051         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72052         nonmembers" output to use the right array.
72054         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72056         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72058         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72059         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72060         * catgets/gencat.c (read_input_file): Likewise.
72061         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72063         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72064         variable definition inside #if's controlling its use.
72066         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72068         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72070         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72072         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72073         unreachable code.
72075         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72077         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72078         * configure: Regenerated.
72080         * Makerules: Revert last change.
72081         * elf/Makefile: Likewise.
72083 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72085         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72086         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72087         (reloc-link): Likewise.
72089 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72091         * elf/Makefile: Add rules to build pldd.
72092         * elf/pldd.c: New file.
72093         * elf/pldd-xx.c: New file.
72095 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72097         * version.h: Update for 2.15 development version.
72099 2011-06-07  David S. Miller  <davem@davemloft.net>
72101         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72102         ifuncs.
72103         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72104         elf_machine_lazy_rel): Likewise.
72105         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72106         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72107         elf_machine_lazy_rel): Likewise.
72108         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72109         dl_hwcap via passed in argument.
72110         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72111         Likewise.
72113 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72115         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72117 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72119         [BZ #12849]
72120         * manual/fdl-1.1.texi: New file, verbatim from:
72121         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72122         * manual/lgpl-2.1.texi: New file, verbatim from:
72123         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72124         * manual/Makefile (licenses): New variable, list those new file names.
72125         (texis): Use it.
72126         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72128         * manual/fdl.texi: File removed.
72129         * manual/lesser.texi: File removed.
72130         * manual/libc.texinfo (Copying, Documentation License):
72131         Use new @include file names, put @appendix directive before @include.
72133 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72135         [BZ #12841]
72136         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72137         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72138         (mq_open): Add __NTH.
72140 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72142         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72143         Assume Intel Core i3/i5/i7 processor if AVX is available.
72145 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72147         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72148         typo.
72150 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72152         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72153         memory.  Use alloca_account.  Fix memory leak when retrying.
72155 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72157         * version.h (RELEASE): Bump for 2.14 release.
72158         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72160         * config.make.in (RANLIB): Remove entry.
72162 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72164         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72165         (libc.pot): Work around missing support for .ksh extension in xgettext.
72167         [BZ #12684]
72168         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72169         if both request failed.
72170         (send_dg): In case of server errors clear resplen or *resplen2.
72172         [BZ #12454]
72173         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72174         when there are multiple maps.
72175         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72176         (_dl_fini): Remove test here.
72178         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72180 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72182         [BZ #12350]
72183         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72184         bit from old_res_options.
72185         (gaih_inet): Likewise.
72187         [BZ #11099]
72188         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72189         as signed.
72191         * resolv/res_init.c (res_setoptions): Make the code more compact.
72193         [BZ #11558]
72194         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72195         set RES_USEVC.
72197         [BZ #11634]
72198         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72200         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72202         [BZ #11781]
72203         * malloc/malloc.h: Declare malloc hook variables as volatile.
72205         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72206         in last patch.
72208         [BZ #11799]
72209         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72210         raise in the comment.
72211         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72212         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72213         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72215 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72217         [BZ #12811]
72218         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72219         grow the buffers more if it already has to be sufficient.
72220         (build_wcs_upper_buffer): Likewise.
72221         * posix/regexec.c (check_matching): Likewise.
72222         (clean_state_log_if_needed): Likewise.
72223         (extend_buffers): Don't enlarge buffers beyond size of the input
72224         buffer.
72225         Patches mostly by Emil Wojak <emil@wojak.eu>.
72226         * posix/bug-regex32.c: New file.
72227         * posix/Makefile (tests): Add bug-regex32.
72229         * locale/findlocale.c (_nl_find_locale): Return right away if
72230         _nl_explode_name failed.
72231         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72233         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72235         * debug/xtrace.sh: Unify messages.
72236         * malloc/memusage.sh: Likewise.
72238         [BZ #12813]
72239         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72240         time symbol from vDSO.  Substitute with vsyscall if not available.
72241         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72242         __vdso_time.
72244         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72245         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72246         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72247         Add sendmmsg and internal_sendmmsg.
72248         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72249         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72250         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72252         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72253         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72254         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72256 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72258         [BZ #12813]
72259         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72260         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72261         available.
72262         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72263         __vdso_getcpu.
72265         [BZ #12814]
72266         * iconvdata/Makefile (tests): Add bug-iconv9.
72267         * iconvdata/bug-iconv9.c: New file.
72269 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72271         [BZ #12814]
72272         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72274 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72276         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72277         (struct user_regs_struct): Change intcs field back to cs.
72279 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72281         * po/ja.po: Update from translation team.
72283 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72285         [BZ #12795]
72286         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72287         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72289 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72291         * stdlib/longlong.h: Update from GCC.
72293 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72295         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72296         parameter name.
72297         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72298         Add parameter name.
72299         (__sysconf): Pass it down.
72301 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72303         [BZ #12671]
72304         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72305         some situations.
72306         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72307         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72308         add in in __libc_use_alloca calls.  Adjust callers.
72309         (glob): Use malloc in some situations.
72311         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72312         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72313         pltexit.
72315 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72317         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72318         and CLOCK_BOOTTIME_ALARM.
72320         [BZ #12782]
72321         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72322         is returned.
72324         * string/_strerror.c (__strerror_r): Print negative errors as signed
72325         numbers.
72327         [BZ #12777]
72328         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72329         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72330         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72332         * configure.in: Fix typo in redirection and correct removal of test
72333         files in two cases.
72335         [BZ #12788]
72336         * locale/setlocale.c (new_composite_name): Fix test to check for
72337         identical name of all categories.
72339         [BZ #12792]
72340         * libio/filedoalloc.c (local_isatty): New function.
72341         (_IO_file_doallocate): Use local_isatty.
72342         * stdio-common/perror.c (perror): In case a new stream is used
72343         forward the stream error.
72344         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72345         error flag.
72347 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72349         [BZ #11884]
72350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72351         alloca.
72352         * include/alloca.h (extend_alloca_account): Define.
72354         [BZ #11857]
72355         * posix/regex.h: Fix comments with documentation of user-accessible
72356         fields after compilation and describe correct free'ing of pattern
72357         after re_compile_pattern.
72358         Patch by Reuben Thomas <rrt@sc3d.org>.
72360 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72362         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72363         and -mno-altivec to prevent the compiler from using Altivec and/or
72364         VSX instructions when the corresponding registers are not available.
72366 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72368         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72370 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72372         * libio/freopen.c (freopen): Use __dup2, not dup2.
72373         * libio/freopen64.c (freopen64): Likewise.
72375 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72377         [BZ #12775]
72378         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72379         * math/Makefile (tests): Add test-powl.
72380         (CFLAGS-test-powl.c): Define.
72381         * math/test-powl.c: New file.
72383 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72385         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72387 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72389         [BZ #11837]
72390         * iconvdata/gb18030.c: Update to GB18020-2005.
72392 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72394         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72395         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72396         Patch by Aharon Robbins <arnold@skeeve.com>.
72398         [BZ #11892]
72399         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72400         on the stack.
72402         [BZ #11895]
72403         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72404         through underflows.
72406         [BZ #12766]
72407         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72408         point to strings before performing equality test for error_one_per_line
72409         mode.
72411         [BZ #11697]
72412         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72414         [BZ #11820]
72415         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72416         (struct user_fpregs_struct): Avoid __uint*_t types.
72418         [BZ #6420]
72419         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72420         symbol info.  Use it instead of calling _dl_addr locally.
72421         (lock_and_info): New function.
72422         (tr_freehook): Call lock_and_info and pass symbol info as additional
72423         parameter to tr_where.
72424         (tr_mallochook): Likewise.
72425         (tr_reallochook): Likewise.
72426         (tr_memalignhook): Likewise.
72428         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72429         used and couldn't be at all thread-safe.
72431 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72433         * libio/freopen.c (freopen): Don't close old file descriptor
72434         before the new one is opened.  Instead dup the new file descriptor
72435         to the old one after the new stream is created.
72436         * libio/freopen64.c (freopen64): Likewise.
72437         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72438         * libio/fileops.c (_IO_new_file_close_it): Handle new
72439         _IO_FLAGS2_NOCLOSE flag.
72440         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72441         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72442         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72443         _IO_FLAGS2_NOCLOSE flag.
72444         * include/unistd.h: Add hidden_proto for dup3.
72445         Define __have_dup3.
72446         * io/dup3.c: Define hidden symbol.
72447         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72449         [BZ #7101]
72450         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72451         when an incomplete long option is used.
72452         * posix/tst-getopt_long1.c: New file.
72453         * posix/Makefile (tests): Add tst-getopt_long1.
72455         [BZ #10138]
72456         * scripts/config.guess: Update from autoconf-2.68.
72457         * scripts/config.sub: Likewise.
72459         [BZ #10157]
72460         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72461         tests into ...
72462         (has_cpuclock): ...this.  New function.
72463         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72464         macro here based on has_cpuclock code.
72466         [BZ #10149]
72467         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72468         First byte (not low byte) is now always NUL.
72469         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72471         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72472         Use non-cancelable interfaces.
72474         [BZ #9809]
72475         * locale/iso-639.def: Add entry for Sorani.
72477         [BZ #11901]
72478         * include/stdlib.h: Move include protection to the right place.
72479         Define abort_msg_s.  Declare __abort_msg with it.
72480         * stdlib/abort.c (__abort_msg): Adjust type.
72481         * assert/assert.c (__assert_fail_base): New function.  Majority
72482         of code from __assert_fail.  Allocate memory for __abort_msg with
72483         mmap.
72484         (__assert_fail): Now call __assert_fail_base.
72485         * assert/assert-perr.c: Remove bulk of implementation.  Use
72486         __assert_fail_base.
72487         * include/assert.hL Declare __assert_fail_base.
72488         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72489         mmap.
72490         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72492 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72494         [BZ #11952]
72495         [BZ #12453]
72496         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72497         until all modules are registered in the DTV.
72498         * elf/Makefile: Add rules to build and run tst-tls19.
72499         * elf/tst-tls19.c: New file.
72500         * elf/tst-tls19mod1.c: New file.
72501         * elf/tst-tls19mod2.c: New file.
72502         * elf/tst-tls19mod3.c: New file.
72503         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72505         [BZ #12083]
72506         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72507         correctly.
72509         [BZ #12601]
72510         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72511         two-byte sequence errors.
72512         * iconvdata/Makefile (tests): Add bug-iconv8.
72513         * iconvdata/bug-iconv8.c: New file.
72515         [BZ #12626]
72516         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72517         buf2 definition.
72519         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72521         [BZ #12432]
72522         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72523         (dummy_getcfa): New function.
72524         (init): Get _Unwind_GetCFA address, use dummy if not found.
72525         (backtrace_helper): In recursion check, also check whether CFA changes.
72526         (__backtrace): Completely initialize arg.
72528         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72529         storing incomplete byte sequence in state object.  Avoid testing for
72530         guaranteed too small input if we know there is enough data available.
72532 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72534         * Makeconfig (+link-pie): Indent.
72535         * Rules (binaries-pie): Define if $(have-fpie) and
72536         $(build-shared).
72537         (binaries-shared): Also filter out $(binaries-pie).
72538         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72539         * nscd/Makefile (others-pie): Add nscd.
72540         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72541         ($(objpfx)nscd): Remove command override.
72542         * login/Makefile (others-pie): Add pt_chown.
72543         ($(objpfx)pt_chown): Remove command override.
72544         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72545         remove command overrides.
72547 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72549         * libio/tst_putwc.c: Fix error messages.
72551         [BZ #12724]
72552         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72553         currently writing and seek to current position when not.
72554         * libio/Makefile (tests): Add bug-fclose1.
72555         * libio/bug-fclose1.c: New file.
72557 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72559         [BZ #12511]
72560         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72561         don't set DF_1_NODELETE here.
72562         (do_lookup_x): When entering new entry test for copy relocation
72563         and if necessary set DF_1_NODELETE flag.
72564         * elf/tst-unique4.cc: New file.
72565         * elf/tst-unique4.h: New file.
72566         * elf/tst-unique4lib.cc: New file.
72567         * elf/Makefile: Add rules to build and run tst-unique4.
72568         Patch by Piotr Bury <pbury@goahead.com>.
72570 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72572         [BZ #12052]
72573         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72575         [BZ #12625]
72576         * misc/mntent_r.c (addmntent): Flush the stream after the output
72578         [BZ #12393]
72579         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72580         (is_trusted_path_normalize): Skip initial colon.  Append slash
72581         to empty buffer.  Duplicate is_trusted_path code but allow
72582         constructed patch to be prefix.
72583         (is_dst): Allow $ORIGIN followed by /.
72584         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72585         Correct testing of result of is_trusted_path_normalize
72586         (decompose_rpath): Fix warning.
72588 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72590         [BZ #11257]
72591         * grp/initgroups.c (internal_getgrouplist): When we found the service
72592         list through the initgroups entry in nsswitch.conf do not always
72593         continue on a successful lookup.  Don't always use the
72594         __nss_group_database value if it is set.
72595         * nss/nsswitch.conf (initgroups): Change action for successful db
72596         lookup to continue for compatibility.
72598 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72600         [BZ #11532]
72601         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72602         and CP774 modules.
72603         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72604         and CP774 modules.
72605         * iconvdata/tst-tables.sh: Likewise.
72606         * iconvdata/cp770.c: New file.
72607         * iconvdata/cp771.c: New file.
72608         * iconvdata/cp772.c: New file.
72609         * iconvdata/cp773.c: New file.
72610         * iconvdata/cp774.c: New file.
72611         * iconvdata/testdata/CP770: New file.
72612         * iconvdata/testdata/CP770..UTF8: New file.
72613         * iconvdata/testdata/CP771: New file.
72614         * iconvdata/testdata/CP771..UTF8: New file.
72615         * iconvdata/testdata/CP772: New file.
72616         * iconvdata/testdata/CP772..UTF8: New file.
72617         * iconvdata/testdata/CP773: New file.
72618         * iconvdata/testdata/CP773..UTF8: New file.
72619         * iconvdata/testdata/CP774: New file.
72620         * iconvdata/testdata/CP774..UTF8: New file.
72622         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72623         END CHARMAP line.
72624         * iconvdata/gen-8bit-gap.sh: Likewise.
72625         * iconvdata/gen-8bit.sh: Likewise.
72627         * locale/iso-639.def: Add ary entry.
72629         [BZ #11258]
72630         * locale/C-translit.h.in: Add U20A1 transliteration.
72632         [BZ #12178]
72633         * locale/iso-639.def: Add wae entry.
72634         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72636         [BZ #12545]
72637         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72638         for n.
72640         [BZ #12711]
72641         * locale/C-translit.h.in: Add entry for U20B9.
72642         Patch by pravin.d.s@gmail.com.
72644 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72646         [BZ #12713]
72647         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72648         ENAMETOOLONG use generic getcwd.
72649         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72650         in rtld.  Use *stat64.
72651         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72652         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72653         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72654         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72655         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72656         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72657         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72658         __fstatat64 macros.
72659         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72660         * dirent/rewinddir.c: Add libc_hidden_def.
72661         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72662         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72664         * include/dirent.h (__alloc_dir): Add flags parameter.
72665         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72666         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72667         __alloc_dir.
72668         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72669         from fdopendir if O_CLOEXEC is already set.
72671 2011-03-15  Alan Modra  <amodra@gmail.com>
72673         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72674         l_tls_firstbyte_offset non-zero.  Save padding offset in
72675         l_tls_firstbyte_offset for later use.
72676         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72677         freeing static tls block.
72679 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72681         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72682         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72683         being defined by the kernel headers.
72685 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72687         [BZ #12734]
72688         * resolv/resolv.h: Define RES_NOTLDQUERY.
72689         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72690         no-tld-query and set RES_NOTLDQUERY.
72691         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72692         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72693         modern BIND to search name as TLD unless forbidden.
72695 2011-05-07  Petr Baudis  <pasky@suse.cz>
72696             Ulrich Drepper  <drepper@gmail.com>
72698         [BZ #12393]
72699         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72700         (is_trusted_path): ...to here.
72701         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72702         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72703         using is_trusted_path_normalize() in setuid scripts.
72705 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72707         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72708         __BEGIN/__END_DECLS.
72710 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72712         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72713         NSS_STATUS_NOTFOUND if no record was found.
72715 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72717         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72718         (headers-not-in-tirpc): Remove rpc/netdb.h
72719         * resolv/netdb.h: Revert last change.
72721 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72723         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72724         circular dependency between libgcc.a and libc.a.
72726 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72728         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72729         * nis/Makefile: Don't install rpcsvc/*.
72730         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72731         instead of <rpc/types.h>.
72732         (MAXHOSTNAMELEN): Define.
72734 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72736         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72738 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72740         [BZ #12714]
72741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72742         gethostbyname4_r when IPv6 results are possible.
72744 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72746         [BZ #12723]
72747         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72748         _PC_PIPE_BUF handling.
72750 2011-04-30  Bruno Haible  <bruno@clisp.org>
72752         [BZ #12717]
72753         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72754         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72755         to 'int'.
72756         * inet/getnameinfo.c (getnameinfo): Likewise.
72758 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72760         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72761         to groups setting in database lookup.
72762         * nss/nsswitch.conf: Add initgroups entry.
72764 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72766         [BZ #12685]
72767         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72768         mode string.
72769         Patch by Eric Blake <eblake@redhat.com>.
72771 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72773         * sunrpc/Makefile (need-export-routines): Add svc_run.
72774         (routines): Remove svc_run.
72775         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72776         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72777         * sunrpc/svc_run.c (svc_run): Likewise.
72778         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72780 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72782         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72783         problem in reallocation in last patch.
72785 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72787         * sunrpc/Makefile: Move inclusion of Rules.
72789 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72791         * nss/nss_files/files-initgroups.c: New file.
72792         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72793         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72794         _nss_files_initgroups_dyn.
72796 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72798         * elf/elf.h (R_ARM_IRELATIVE): Define.
72800 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72802         * po/ru.po: Update from translation team.
72804 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72806         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72807         dependencies.
72809 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72811         [BZ #12653]
72812         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72813         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72814         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72815         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72816         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72818 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72820         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72821         differing bytes.
72822         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72823         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72824         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72826 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72828         [BZ #12420]
72829         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72830         storing it.
72831         * stdlib/bug-getcontext.c: New file.
72832         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72834 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72836         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72837         instructions into .machine "z9-109".
72838         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72839         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72841 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72843         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72844         between environment variables and auxiliary vector.
72846 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72848         * Makefile: Add rules to build linkobj/libc.so.
72849         * include/libc-symbols.h: Define libc_hidden_nolink.
72850         * include/rpc/auth.h: Mark functions which are to be hidden.
72851         * include/rpc/auth_des.h: Likewise.
72852         * include/rpc/auth_unix.h: Likewise.
72853         * include/rpc/clnt.h: Likewise.
72854         * include/rpc/des_crypt.h: Likewise.
72855         * include/rpc/key_prot.h: Likewise.
72856         * include/rpc/pmap_clnt.h: Likewise.
72857         * include/rpc/pmap_prot.h: Likewise.
72858         * include/rpc/pmap_rmt.h: Likewise.
72859         * include/rpc/rpc_msg.h: Likewise.
72860         * include/rpc/svc.h: Likewise.
72861         * include/rpc/svc_auth.h: Likewise.
72862         * include/rpc/xdr.h: Likewise.
72863         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72864         * nss/Makefile: Likewise.
72865         * sunrpc/Makefile: Don't install headers.  Build library with normal
72866         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72867         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72868         for the compat linking library.  Remove use of INTDEF/INTUSE.
72869         * sunrpc/auth_none.c: Likewise.
72870         * sunrpc/auth_unix.c: Likewise.
72871         * sunrpc/authdes_prot.c: Likewise.
72872         * sunrpc/authuxprot.c: Likewise.
72873         * sunrpc/clnt_gen.c: Likewise.
72874         * sunrpc/clnt_perr.c: Likewise.
72875         * sunrpc/clnt_raw.c: Likewise.
72876         * sunrpc/clnt_simp.c: Likewise.
72877         * sunrpc/clnt_tcp.c: Likewise.
72878         * sunrpc/clnt_udp.c: Likewise.
72879         * sunrpc/clnt_unix.c: Likewise.
72880         * sunrpc/des_crypt.c: Likewise.
72881         * sunrpc/des_soft.c: Likewise.
72882         * sunrpc/get_myaddr.c: Likewise.
72883         * sunrpc/key_call.c: Likewise.
72884         * sunrpc/key_prot.c: Likewise.
72885         * sunrpc/netname.c: Likewise.
72886         * sunrpc/pm_getmaps.c: Likewise.
72887         * sunrpc/pm_getport.c: Likewise.
72888         * sunrpc/pmap_clnt.c: Likewise.
72889         * sunrpc/pmap_prot.c: Likewise.
72890         * sunrpc/pmap_prot2.c: Likewise.
72891         * sunrpc/pmap_rmt.c: Likewise.
72892         * sunrpc/publickey.c: Likewise.
72893         * sunrpc/rpc_cmsg.c: Likewise.
72894         * sunrpc/rpc_common.c: Likewise.
72895         * sunrpc/rpc_dtable.c: Likewise.
72896         * sunrpc/rpc_prot.c: Likewise.
72897         * sunrpc/rpc_thread.c: Likewise.
72898         * sunrpc/rtime.c: Likewise.
72899         * sunrpc/svc.c: Likewise.
72900         * sunrpc/svc_auth.c: Likewise.
72901         * sunrpc/svc_authux.c: Likewise.
72902         * sunrpc/svc_raw.c: Likewise.
72903         * sunrpc/svc_run.c: Likewise.
72904         * sunrpc/svc_simple.c: Likewise.
72905         * sunrpc/svc_tcp.c: Likewise.
72906         * sunrpc/svc_udp.c: Likewise.
72907         * sunrpc/svc_unix.c: Likewise.
72908         * sunrpc/svcauth_des.c: Likewise.
72909         * sunrpc/xcrypt.c: Likewise.
72910         * sunrpc/xdr.c: Likewise.
72911         * sunrpc/xdr_array.c: Likewise.
72912         * sunrpc/xdr_float.c: Likewise.
72913         * sunrpc/xdr_intXX_t.c: Likewise.
72914         * sunrpc/xdr_mem.c: Likewise.
72915         * sunrpc/xdr_rec.c: Likewise.
72916         * sunrpc/xdr_ref.c: Likewise.
72917         * sunrpc/xdr_sizeof.c: Likewise.
72918         * sunrpc/xdr_stdio.c: Likewise.
72920 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72922         [BZ #12650]
72923         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72924         * sysdeps/ia64/dl-tls.h: Likewise.
72925         * sysdeps/powerpc/dl-tls.h: Likewise.
72926         * sysdeps/s390/dl-tls.h: Likewise.
72927         * sysdeps/sh/dl-tls.h: Likewise.
72928         * sysdeps/sparc/dl-tls.h: Likewise.
72929         * sysdeps/x86_64/dl-tls.h: Likewise.
72930         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72932 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72934         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72935         rpath element also skip the following colon.
72936         (expand_dynamic_string_token): Add is_path parameter and pass
72937         down to DL_DST_REQUIRED and _dl_dst_substitute.
72938         (decompose_rpath): Call expand_dynamic_string_token with
72939         non-zero is_path.  Ignore empty rpaths.
72940         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72941         with zero is_path.
72943 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72946         Make cancelable.
72948 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72950         [BZ #12655]
72951         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72952         Patch by Filipe David Manana <fdmanana@apache.org>.
72954 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72956         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72957         Maintain aligned stack.
72958         (CHECK_RSP): Remove unused macro.
72960 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72962         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72963         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72965 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72967         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72969         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72971 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72973         [BZ #12518]
72974         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72975         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72976         * sysdeps/x86_64/memmove.c: New file.
72977         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72978         (memcpy): Renamed to ...
72979         (__new_memcpy): This.
72980         (memcpy): Provide GLIBC_2_14 memcpy.
72981         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72982         (memcpy): Provide GLIBC_2_2_5 memcpy.
72984 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72986         [BZ #12631]
72987         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72989 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72991         * misc/syncfs.c: New file.
72992         * misc/Makefile (routines): Add syncfs.
72993         * posix/unistd.h: Declare syncfs.
72994         * sysdeps/unix/syscalls.list: Add syncfs.
72996 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72998         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72999         open_by_handle_at.
73000         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73001         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73003         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73005         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73008 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73010         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73011         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73014         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73015         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73016         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73018         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73019         sync_file_range.c with -fexceptions.
73020         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73021         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73022         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73023         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73024         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73025         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73026         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73027         sync_file_range as cancellation point
73028         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73029         now a wrapper around __call_sync_file_range with cancellation handling.
73030         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73031         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73032         function name to __call_sync_file_range.
73033         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73034         Add call_sync_file_range.
73036 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73039         bits/timex.h.
73041 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73043         * iconv/iconv.h: Fix typo in comment.
73044         * io/fcntl.h: Likewise.
73045         * libio/stdio.h: Likewise.
73046         * posix/spawn.h: Likewise.
73047         * posix/unistd.h: Likewise.
73048         * stdlib/stdlib.h: Likewise.
73049         * time/time.h: Likewise.
73050         * wcsmbs/wchar.h: Likewise.
73052         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73053         open_by_handle): Add.
73054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73055         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73056         Augment a few comments.
73057         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73059         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73061         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73062         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73063         open_by_handle.
73065         * io/fcntl.h (AT_EMPTY_PATH): Define.
73067 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73069         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73070         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73071         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73072         to...
73073         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73074         * Versions.def: Add GLIBC_2.14.
73075         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73076         Export.
73078 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73080         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73081         round counter.
73082         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73084 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73086         [BZ #12597]
73087         * string/test-strncmp.c (do_page_test): New function.
73088         (check2): Likewise.
73089         (test_main): Call check2.
73090         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73092 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73094         [BZ #12587]
73095         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73096         Handle cache information in CPU leaf 4.
73097         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73099 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73101         [BZ #12583]
73102         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73103         character representation.
73104         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73106 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73108         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73109         END(__isnan) to END(__isnanf) to match function entry point/label
73110         EALIGN(__isnanf,...).
73112 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73114         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73116 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73118         [BZ #12510]
73119         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73120         copy from the symbol referenced in the relocation to initialize the
73121         used variable.
73122         Patch by Piotr Bury <pbury@goahead.com>.
73123         * elf/Makefile: Add rules to build and tst-unique3.
73124         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73125         * elf/tst-unique3.cc: New file.
73126         * elf/tst-unique3.h: New file.
73127         * elf/tst-unique3lib.cc: New file.
73128         * elf/tst-unique3lib2.cc: New file.
73130         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73132 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73134         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73135         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73136         to _start.
73138 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73140         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73141         to-be-loaded object along a path to loader is ld.so.
73143 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73144             Ulrich Drepper  <drepper@gmail.com>
73146         * sysdeps/x86_64/memset.S: After aligning destination, code
73147         branches to different locations depending on the value of
73148         misalignment, when multiarch is enabled. Fix this.
73150 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73152         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73153         Set _x86_64_preferred_memory_instruction for AMD processsors.
73154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73155         Set bit_Prefer_SSE_for_memop for AMD processors.
73157 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73159         * libio/fmemopen.c (fmemopen): Optimize a bit.
73161 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73163         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73165 2011-03-03  Roland McGrath  <roland@redhat.com>
73167         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73169 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73171         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73172         __bzero_ultra1 instead of __memset_ultra1.
73174 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73175             Ulrich Drepper  <drepper@gmail.com>
73177         [BZ #12509]
73178         * include/link.h (struct link_map): Add l_orig_initfini.
73179         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73180         returning unsuccessfully.
73181         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73182         close of a file loaded at startup, restore the original l_initfini
73183         list.
73184         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73185         list, store the pointer.
73186         * elf/Makefile ($(objpfx)noload-mem): New rule.
73187         (noload-ENV): Define.
73188         (tests): Add $(objpfx)noload-mem.
73189         * elf/noload.c: Include <memcheck.h>.
73190         (main): Call mtrace.  Close all opened handles.
73192 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73194         [BZ #12454]
73195         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73196         dependencies are missing.
73198 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73200         Fix __if_freereq crash: Unlike the generic version which uses free,
73201         Hurd needs munmap.
73202         * sysdeps/mach/hurd/ifreq.h: New file.
73204 2011-01-27  Petr Baudis  <pasky@suse.cz>
73205             Ulrich Drepper  <drepper@gmail.com>
73207         [BZ 12445]#
73208         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73209         to extend_alloca().
73210         * stdio-common/bug23.c: New file.
73211         * stdio-common/Makefile (tests): Add bug23.
73213 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73214             Ulrich Drepper  <drepper@gmail.com>
73216         [BZ #12489]
73217         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73218         before performing relro protection.  At old place add assertion
73219         to make sure nothing changed.
73221 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73222             Glauber de Oliveira Costa  <glommer@gmail.com>
73224         * elf/elf.h: Add new ARM TLS relocs.
73226 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73229         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73230         cast from r3.
73231         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73232         'tests' variable.
73233         * sysdeps/wordsize-64/tst-writev.c: New file.
73235 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73237         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73238         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73239         insns in _dl_start to prevent a TOC reference before relocs are
73240         resolved.
73242 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73244         [BZ #12469]
73245         * Makeconfig: Remove RANLIB definition.
73246         * Makerules: Don't use RANLIB.
73247         * aclocal.m4: Remove ranlib test.
73248         * configure.in: No need to check for ranlib.
73249         * elf/rtld-Rules: Don't use RANLIB.
73251 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73253         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73254         protection macro.
73255         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73256         inclusion protection macro.
73258         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73259         SIGRTMIN and SIGRTMAX and print information in that case only when
73260         SIGRTMIN is defined.
73262 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73264         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73265         arginfo fn returning -1.
73267         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73268         and thousands string is zero terminated.
73270 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73272         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73273         sysdeps/unix/sysv/linux/bits/socket.h.
73275 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73277         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73278         (__CPU_COUNT): Remove old macros.
73279         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73280         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73281         (__CPU_ALLOC, __CPU_FREE): Add macros.
73282         (__sched_cpualloc, __sched_cpufree): Add declarations.
73284 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73286         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73287         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73288         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73289         (readdhstai): Return value of addhstaiX call.
73290         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73291         (addgrbyX): Return value returned by cache_addgr.
73292         (readdgrbyname): Return value returned by addgrbyX.
73293         (readdgrbygid): Likewise.
73294         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73295         (addpwbyX): Return value returned by cache_addpw.
73296         (readdpwbyname): Return value returned by addhstbyX.
73297         (readdpwbyuid): Likewise.
73298         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73299         (addservbyX): Return value returned by cache_addserv.
73300         (readdservbyname): Return value returned by addservbyX:
73301         (readdservbyport): Likewise.
73302         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73303         (addhstbyX): Return value returned by cache_addhst.
73304         (readdhstbyname): Return value returned by addhstbyX.
73305         (readdhstbyaddr): Likewise.
73306         (readdhstbynamev6): Likewise.
73307         (readdhstbyaddrv6): Likewise.
73308         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73309         (readdinitgroups): Return value returned by addinitgroupsX.
73310         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73311         (prune_cache): Keep track of timeout value of re-added entries.
73312         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73313         * nscd/nscd.h: Adjust prototypes of readd* functions.
73315 2011-02-04  Roland McGrath  <roland@redhat.com>
73317         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73318         (nis_stats): Likewise.
73319         * nis/nis_modify.c (nis_modify): Likewise.
73320         * nis/nis_remove.c (nis_remove): Likewise.
73321         * nis/nis_add.c (nis_add): Likewise.
73323         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73325         * posix/fnmatch_loop.c: Add some consts.
73327         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73329 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73331         [BZ #12460]
73332         * config.make.in (config-cflags-novzeroupper): Define.
73333         * configure.in: Substitute libc_cv_cc_novzeroupper.
73334         * elf/Makefile (AVX-CFLAGS): Define.
73335         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73336         (CFLAGS-tst-auditmod4a.c): Likewise.
73337         (CFLAGS-tst-auditmod4b.c): Likewise.
73338         (CFLAGS-tst-auditmod6b.c): Likewise.
73339         (CFLAGS-tst-auditmod6c.c): Likewise.
73340         (CFLAGS-tst-auditmod7b.c): Likewise.
73341         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73343 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73345         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73346         function to the callback.
73347         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73349 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73351         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73352         of errno.
73354 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73356         [BZ #11724]
73357         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73358         of constructors.
73359         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73360         of destructors.
73361         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73363         [BZ #11724]
73364         * elf/Makefile: Add rules to build and run new test.
73365         * elf/tst-initorder.c: New file.
73366         * elf/tst-initorder.exp: New file.
73367         * elf/tst-initordera1.c: New file.
73368         * elf/tst-initordera2.c: New file.
73369         * elf/tst-initordera3.c: New file.
73370         * elf/tst-initordera4.c: New file.
73371         * elf/tst-initorderb1.c: New file.
73372         * elf/tst-initorderb2.c: New file.
73373         * elf/tst-order-a1.c: New file.
73374         * elf/tst-order-a2.c: New file.
73375         * elf/tst-order-a3.c: New file.
73376         * elf/tst-order-a4.c: New file.
73377         * elf/tst-order-b1.c: New file.
73378         * elf/tst-order-b2.c: New file.
73379         * elf/tst-order-main.c: New file.
73380         New test case by George Gensure <werkt0@gmail.com>.
73382 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73384         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73385         decoding ACE if AI_CANONIDN.
73387 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73389         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73391 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73393         * version.h (RELEASE): Bump for 2.13 release.
73394         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73396         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73398         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73399         MADV_NOHUGEPAGE.
73400         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73401         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73402         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73403         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73404         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73405         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73407         * posix/getconf.c: Update copyright year.
73408         * catgets/gencat.c: Likewise.
73409         * csu/version.c: Likewise.
73410         * debug/catchsegv.sh: Likewise.
73411         * debug/xtrace.sh: Likewise.
73412         * elf/ldconfig.c: Likewise.
73413         * elf/ldd.bash.in: Likewise.
73414         * elf/sprof.c (print_version): Likewise.
73415         * iconv/iconv_prog.c: Likewise.
73416         * iconv/iconvconfig.c: Likewise.
73417         * locale/programs/locale.c: Likewise.
73418         * locale/programs/localedef.c: Likewise.
73419         * malloc/memusage.sh: Likewise.
73420         * malloc/mtrace.pl: Likewise.
73421         * nscd/nscd.c (print_version): Likewise.
73422         * nss/getent.c: Likewise.
73424         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73425         PF_CAIF, and PF_ALG.
73426         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73428 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73430         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73431         (modules-names): Use them.
73432         (ifunc-test-modules, ifunc-pie-tests): Define.
73433         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73434         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73435         (test-extras): Likewise.
73436         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73437         $(compile-command.c).
73438         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73439         (all-built-dso): Define.
73440         (check-textrel.out, check-execstack.out): Depend on it.
73442         * configure.in: Don't override --enable-multi-arch.
73444 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73446         [BZ #6812]
73447         * nscd/hstcache.c (tryagain): Define.
73448         (cache_addhst): Return tryagain not notfound for temporary errors.
73449         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73450         failed.
73452 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73454         [BZ #10563]
73455         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73456         to make the syscall.
73457         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73459         [BZ #12378]
73460         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73461         and fall back to matching as normal character if the string ends before
73462         the matching ']' is found.  This is what POSIX requires.
73463         * posix/testfnm.c: Adjust test result.
73464         * posix/globtest.sh: Adjust test result.  Add new test.
73465         * posix/tst-fnmatch.input: Likewise.
73466         * posix/tst-fnmatch2.c: Add new test.
73468 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73470         * elf/Makefile (check-execstack): Revert last change.  Depend on
73471         check-execstack.h.
73472         (check-execstack.h): New target.
73473         (generated): Add check-execstack.h.
73474         * elf/check-execstack.c: Include "check-execstack.h".
73475         (main): Revert last change.
73476         (handle_file): Return zero if GNU_STACK is absent and
73477         DEFAULT_STACK_PERMS doesn't include PF_X.
73479 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73481         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73482         in child fails because the descriptor is already closed.
73483         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73484         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73485         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73487         [BZ #12397]
73488         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73489         syscall.
73491         [BZ #10484]
73492         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73493         temporary buffer used to handle multi lookups locally.
73494         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73496 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73498         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73499         loader is ld.so.
73501 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73503         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73504         alignment for SSE2.
73506 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73508         [BZ #12394]
73509         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73510         characters.  When rounding increased number of integer digits recompute
73511         number of groups.
73512         * stdio-common/tst-grouping.c: New file.
73513         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73515 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73517         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73518         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73520         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73521         void.
73522         * bits/select.h: Likewise.
73524 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73526         * po/ja.po: Update from translation team.
73528 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73530         [BZ #11155]
73531         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73532         implementation just like for lxstat, fxstatat, et al.
73534 2010-12-27  Jim Meyering  <meyering@redhat.com>
73536         [BZ #12348]
73537         * posix/regexec.c (build_trtable): Return failure indication upon
73538         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73540 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73542         [BZ #12201]
73543         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73544         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73545         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73546         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73548         [BZ #12207]
73549         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73551         [BZ #12204]
73552         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73553         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73555 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73557         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73558         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73559         script has SORT_BY_INIT_PRIORITY.
73560         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73561         NO_CTORS_DTORS_SECTIONS is defined.
73562         * elf/soinit.c: Likewise.
73563         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73564         NO_CTORS_DTORS_SECTIONS is defined.
73565         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73566         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73567         * sysdeps/sh/init-first.c: Likewise.
73568         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73570 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73572         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73573         always use the slow path.
73575 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73577         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73578         similar rule which adds the sysdep directories to the header search in
73579         order to pick up the correct platform stackinfo.h.
73580         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73581         perform test if it is, otherwise return successfully without testing.
73582         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73583         DEFAULT_STACK_PERMS define in stackinfo.h.
73584         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73585         defined in stackinfo.h.
73586         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73587         DEFAULT_STACK_PERMS defined in stackinfo.h.
73588         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73589         * sysdeps/ia64/stackinfo.h: Likewise.
73590         * sysdeps/s390/stackinfo.h: Likewise.
73591         * sysdeps/sh/stackinfo.h: Likewise.
73592         * sysdeps/sparc/stackinfo.h: Likewise.
73593         * sysdeps/x86_64/stackinfo.h: Likewise.
73594         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73595         PF_X for powerpc64.  Retain PF_X for powerpc32.
73597 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73599         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73600         accurately.
73601         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73602         GETDENTS_64BIT_ALIGNED.
73604 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73606         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73608 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73610         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73611         _GNU_SOURCE.
73613         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73614         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73615         Remove __restrict.
73616         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73617         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73619 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73621         [BZ #11655]
73622         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73623         are initialized.
73625 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73627         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73629 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73631         * po/it.po: Update from translation team.
73633 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73636         unused codes.
73638 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73640         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73642 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73644         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73645         specially.
73646         (gaih_getanswer_slice): Likewise.
73648 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73650         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73652 2010-05-31  Petr Baudis  <pasky@suse.cz>
73654         [BZ #11149]
73655         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73656         silently even in the chroot mode.
73658 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73660         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73661         last patch a bit.  Pretty printing
73663 2010-05-31  Petr Baudis <pasky@suse.cz>
73665         [BZ #10085]
73666         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73667         initialization of skip_initgroups_dyn.
73669 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73671         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73672         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73674 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73676         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73678 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73680         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73681         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73682         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73683         ($(objpfx)tst-fnmatch-mem): New rule.
73684         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73685         * posix/tst-fnmatch.c (main): Call mtrace.
73687 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73690         Support Intel processor model 6 and model 0x2c.
73692 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73694         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73695           signed comparison.
73697 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73699         [BZ #12205]
73700         * string/test-strncasecmp.c (check_result): New function.
73701         (do_one_test): Use it.
73702         (check1): New function.
73703         (test_main): Use it.
73704         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73705         Support strcasecmp and strncasecmp.
73707 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73709         [BZ #12194]
73710         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73711         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73713 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73715         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73716         IFUNC support.
73717         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73718         memset-x86-64.
73719         * sysdeps/x86_64/multiarch/bzero.S: New file.
73720         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73721         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73722         * sysdeps/x86_64/multiarch/memset.S: New file.
73723         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73725         Set bit_Prefer_SSE_for_memop for Intel processors.
73726         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73727         Define.
73728         (index_Prefer_SSE_for_memop): Define.
73729         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73731 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73733         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73734         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73736 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73738         [BZ #12191]
73739         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73740         (__x86_64_raw_data_cache_size_half): Likewise.
73741         (__x86_64_raw_shared_cache_size): Likewise.
73742         (__x86_64_raw_shared_cache_size_half): Likewise.
73744         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73745         (__x86_64_raw_data_cache_size_half): Likewise.
73746         (__x86_64_raw_shared_cache_size): Likewise.
73747         (__x86_64_raw_shared_cache_size_half): Likewise.
73748         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73749         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73750         and __x86_64_raw_shared_cache_size_half.  Round
73751         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73752         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73753         to multiple of 256 bytes.
73755 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73757         [BZ #12167]
73758         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73759         of inacessible symlinks.  Verify result of symlink before returning it.
73760         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73761         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73763 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73765         * math/math.h (isinf): Fix typo in comment.
73767 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73769         * po/da.po: Update from translation team.
73771 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73773         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73774         is added to the list.
73776 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73777             Ulrich Drepper  <drepper@gmail.com>
73779         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73780         the global list here.  Move code to...
73781         (_dl_add_to_namespace_list): ...here.  New function.
73782         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73783         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73784         * elf/dl-load.c (lose): Don't remove the element from the list.
73785         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73786         (_dl_map_object): Likewise.
73788 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73790         [BZ #12159]
73791         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73792         into all bytes of SSE register.
73793         Patch by Richard Li <richardpku@gmail.com>.
73795 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73797         [BZ #12140]
73798         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73799         perturbing.
73801 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73803         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73804         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73805         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73806         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73808         submachine.
73809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73811 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73813         * include/dlfcn.h (__RTLD_SECURE): Define.
73814         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73815         mode & __RTLD_SECURE instead.
73816         (open_path): Rename preloaded parameter to secure.
73817         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73818         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73819         * elf/dl-deps.c (openaux): Likewise.
73820         * elf/rtld.c (struct map_args): Remove is_preloaded.
73821         (map_doit): Don't use it.
73822         (dl_main): Likewise.
73823         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73824         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73826 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73828         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73829         (sysd-rules-targets): Remove duplicates.
73830         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73831         rtld-%.$o dependency.
73833 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73835         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73836         _dl_map_object do it.
73838 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73840         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73841         fast fma builtins, define the macros in the C99 standard.
73842         (FP_FAST_FMAF): Likewise.
73843         (FP_FAST_FMAL): Likewise.
73844         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73846         * bits/mathdef.h: Update copyright year.
73847         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73849 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73851         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73852         builtins, define the macros in the C99 standard.
73853         (FP_FAST_FMAF): Likewise.
73854         (FP_FAST_FMAL): Likewise.
73855         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73856         multiply/add.
73857         (FP_FAST_FMAF): Likewise.
73859 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73861         [BZ #3268]
73862         * math/libm-test.inc (fma_test): Some new testcases.
73863         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73864         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73865         y and infinite z.  Do multiplication by C already in long double.
73866         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73868         y and infinite z.  Do bitwise or of inexact bit into u.d.
73869         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73870         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73871         * sysdeps/i386/fpu/s_fma.S: Removed.
73872         * sysdeps/i386/fpu/s_fmal.S: Removed.
73874 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73876         [BZ #3268]
73877         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73879         computation is not scheduled after fetestexcept.  Fix value
73880         of minimum denormal long double.
73882 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73884         [BZ #3268]
73885         * math/libm-test.inc (fma_test): Add some more tests.
73886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73887         correctly.
73889 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73891         * scripts/data/localplt-s390-linux-gnu.data: New file.
73892         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73894 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73896         [BZ #3268]
73897         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73898         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73899         instead of dbl-64.
73900         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73901         inlines.
73902         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73904         if one of x and y is very large and the other is subnormal.
73905         * sysdeps/s390/fpu/s_fmaf.c: New file.
73906         * sysdeps/s390/fpu/s_fma.c: New file.
73907         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73908         * sysdeps/powerpc/fpu/s_fma.S: New file.
73909         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73910         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73911         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73913 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73915         [BZ #3268]
73916         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73917         fma tests.
73918         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73919         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73920         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73921         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73922         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73923         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73926 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73928         [BZ #12078]
73929         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73930         * posix/bug-regex31.input: Add test case.
73932 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73934         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73935         * posix/bug-regex31.input: New file.
73937         [BZ #12078]
73938         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73939         (parse_sub_exp): Fix last change, use postorder.
73941         * posix/bug-regex31.c: New file.
73942         * posix/Makefile: Add rules to build and run bug-regex31.
73944         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73946         [BZ #12078]
73947         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73949         [BZ #12108]
73950         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73951         to have entries in sys_siglist.
73953         [BZ #12093]
73954         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73955         be NULL.
73957 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73959         [BZ #3268]
73960         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73961         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73962         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73963         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73964         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73965         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73966         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73967         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73968         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73969         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73970         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73971         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73972         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73973         * math/ftestexcept.c (fetestexcept): Likewise.
73974         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73975         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73976         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73977         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73978         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73979         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73980         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73982 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73984         [BZ #12107]
73985         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73986         newline.
73988 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73990         * string/bug-strstr1.c: New file.
73991         * string/Makefile: Add rules to build and run bug-strstr1.
73993 2010-10-05  Eric Blake  <eblake@redhat.com>
73995         [BZ #12092]
73996         * string/str-two-way.h (two_way_long_needle): Always clear memory
73997         when skipping input due to the shift table.
73999 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74001         [BZ #12005]
74002         * malloc/mcheck.c: Handle large requests.
74004         [BZ #12077]
74005         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74006         for strncmp and strncasecmp.
74007         * string/stratcliff.c: Add tests for strcmp and strncmp.
74008         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74010 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74012         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74013         __set_fpscr.
74015 2010-09-30  Andreas Jaeger  <aj@suse.de>
74017         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74018         (CGROUP_SUPER_MAGIC): Define.
74019         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74020         Handle btrfs and cgroup file systems.
74021         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74022         Likewise.
74024 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74026         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74027         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74029 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74031         [BZ #12067]
74032         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74033         trying to locate the ELF header.
74035 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74037         [BZ #11611]
74038         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74039         Mask out sign-bit copies when constructing f_fsid.
74041 2010-09-24  Petr Baudis <pasky@suse.cz>
74043         * debug/stack_chk_fail_local.c: Add missing licence exception.
74044         * debug/warning-nop.c: Likewise.
74046 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74048         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74049         implementing getdents64 using getdents syscall, set d_type if
74050         __ASSUME_GETDENTS32_D_TYPE.
74052 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74054         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74055         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74057 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74059         [BZ #12037]
74060         * posix/unistd.h: Undo change of feature selection for ftruncate from
74061         2010-01-11.
74063 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74065         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74066         detection.
74068 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74070         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74071         fanotify_mark.
74072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74074 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74076         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74077         variables after CHECK_SP call.
74078         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74080 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74081             Ulrich Drepper  <drepper@redhat.com>
74083         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74084         re-relocationg ld.so.
74085         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74086         _dl_init_paths call.
74087         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74088         here anymore.
74090 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74092         * resolv/res_init.c (__res_vinit): Count the default server we added.
74094 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74095             Ulrich Drepper  <drepper@redhat.com>
74097         [BZ #11968]
74098         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74099         (____longjmp_chk): Use %ebx for saving value across system call.
74100         Add unwind info.
74102 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74104         * manual/Makefile: Don't mix pattern rules with normal rules.
74106 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74108         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74109         operation.
74110         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74111         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74112         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74113         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74114         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74115         Likewise.
74117 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74119         [BZ #11979]
74120         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74121         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74123 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74125         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74126         * sysdeps/x86_64/addmul_1.S: Likewise.
74127         * sysdeps/x86_64/lshift.S: Likewise.
74128         * sysdeps/x86_64/mul_1.S: Likewise.
74129         * sysdeps/x86_64/rshift.S: Likewise.
74130         * sysdeps/x86_64/sub_n.S: Likewise.
74131         * sysdeps/x86_64/submul_1.S: Likewise.
74133 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74135         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74136         Define __sched_param instead of SCHED_* and sched_param when
74137         <bits/sched.h> is included with __need_schedparam defined.
74138         * bits/sched.h [__need_schedparam]
74139         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74140         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74141         (__defined_schedparam): Define to 1.
74142         (__sched_param): New structure, identical to sched_param.
74143         (__need_schedparam): Undefine.
74145 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74147         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74148         (epoll_create1): Declare.
74150         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74152 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74154         [BZ #7066]
74155         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74156         shifting retval into place.
74158 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74160         * nis/rpcsvc/nis.h: Update copyright notice.
74161         * nis/rpcsvc/nis.x: Likewise.
74162         * nis/rpcsvc/nis_callback.h: Likewise.
74163         * nis/rpcsvc/nis_callback.x: Likewise.
74164         * nis/rpcsvc/nis_object.x: Likewise.
74165         * nis/rpcsvc/nis_tags.h: Likewise.
74166         * nis/rpcsvc/yp.h: Likewise.
74167         * nis/rpcsvc/yp.x: Likewise.
74168         * nis/rpcsvc/ypupd.h: Likewise.
74169         * nis/yp_xdr.c: Likewise.
74170         * nis/ypupdate_xdr.c: Likewise.
74172         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74173         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74174         (pmap_getport): Use __libc_rpc_getport.
74175         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74176         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74177         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74179 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74182         fanotify_mark.
74184 2010-08-27  Roland McGrath  <roland@redhat.com>
74186         * sysdeps/i386/i686/multiarch/Makefile
74187         (CFLAGS-varshift.c): New variable.
74189 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74191         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74192         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74194         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74196         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74198 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74200         * sysdeps/x86_64/strlen.S: Unroll the loop.
74201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74202         strlen-sse2 strlen-sse2-bsf.
74203         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74204         __strlen_no_bsf if bit_Slow_BSF is set.
74205         (__strlen_sse42): Removed.
74206         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74207         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74209 2010-08-25  Roland McGrath  <roland@redhat.com>
74211         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74212         * sysdeps/x86_64/multiarch/varshift.c: New file.
74213         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74214         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74215         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74216         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74218 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74221         strlen-sse2 strlen-sse2-bsf.
74222         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74223         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74224         (__strlen_sse2): Removed.
74225         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74226         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74228         bit_Slow_BSF for Atom.
74229         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74230         (index_Slow_BSF): Define.
74231         (HAS_SLOW_BSF): Define.
74233 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74235         [BZ #10851]
74236         * resolv/res_init.c (__res_vinit): When no server address at all
74237         is given default to loopback.
74239 2010-08-24  Roland McGrath  <roland@redhat.com>
74241         * configure.in: Remove config-name.h generation.
74242         * configure: Regenerated.
74243         * config-name.in: File removed.
74244         * scripts/config-uname.sh: New file.
74245         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74246         ($(objdir)config-name.h): New target.
74248         * sunrpc/rpc_parse.h: Avoid nested comment.
74250 2010-08-24  Richard Henderson  <rth@redhat.com>
74251             Ulrich Drepper  <drepper@redhat.com>
74252             H.J. Lu  <hongjiu.lu@intel.com>
74254         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74256         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74257         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74258         _mm_alignr_epi8 with _mm_loadu_si128.
74259         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74260         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74261         (__m128i_shift_right): Removed.
74262         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74263         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74264         * sysdeps/x86_64/multiarch/varshift.h: New file.
74265         * sysdeps/x86_64/multiarch/varshift.S: New file.
74267 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74269         * configure.in: Move assembler checks to before sysdep dir checking.
74271 2010-08-20  Petr Baudis  <pasky@suse.cz>
74273         * LICENSES: Sync the sunrpc license.
74275 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74277         * sunrpc/auth_des.c: Update copyright notice once again.
74278         * sunrpc/auth_none.c: Likewise.
74279         * sunrpc/auth_unix.c: Likewise.
74280         * sunrpc/authdes_prot.c: Likewise.
74281         * sunrpc/authuxprot.c: Likewise.
74282         * sunrpc/bindrsvprt.c: Likewise.
74283         * sunrpc/clnt_gen.c: Likewise.
74284         * sunrpc/clnt_perr.c: Likewise.
74285         * sunrpc/clnt_raw.c: Likewise.
74286         * sunrpc/clnt_simp.c: Likewise.
74287         * sunrpc/clnt_tcp.c: Likewise.
74288         * sunrpc/clnt_udp.c: Likewise.
74289         * sunrpc/clnt_unix.c: Likewise.
74290         * sunrpc/des_crypt.c: Likewise.
74291         * sunrpc/des_soft.c: Likewise.
74292         * sunrpc/get_myaddr.c: Likewise.
74293         * sunrpc/getrpcport.c: Likewise.
74294         * sunrpc/key_call.c: Likewise.
74295         * sunrpc/key_prot.c: Likewise.
74296         * sunrpc/openchild.c: Likewise.
74297         * sunrpc/pm_getmaps.c: Likewise.
74298         * sunrpc/pm_getport.c: Likewise.
74299         * sunrpc/pmap_clnt.c: Likewise.
74300         * sunrpc/pmap_prot.c: Likewise.
74301         * sunrpc/pmap_prot2.c: Likewise.
74302         * sunrpc/pmap_rmt.c: Likewise.
74303         * sunrpc/rpc/auth.h: Likewise.
74304         * sunrpc/rpc/auth_unix.h: Likewise.
74305         * sunrpc/rpc/clnt.h: Likewise.
74306         * sunrpc/rpc/des_crypt.h: Likewise.
74307         * sunrpc/rpc/key_prot.h: Likewise.
74308         * sunrpc/rpc/netdb.h: Likewise.
74309         * sunrpc/rpc/pmap_clnt.h: Likewise.
74310         * sunrpc/rpc/pmap_prot.h: Likewise.
74311         * sunrpc/rpc/pmap_rmt.h: Likewise.
74312         * sunrpc/rpc/rpc.h: Likewise.
74313         * sunrpc/rpc/rpc_des.h: Likewise.
74314         * sunrpc/rpc/rpc_msg.h: Likewise.
74315         * sunrpc/rpc/svc.h: Likewise.
74316         * sunrpc/rpc/svc_auth.h: Likewise.
74317         * sunrpc/rpc/types.h: Likewise.
74318         * sunrpc/rpc/xdr.h: Likewise.
74319         * sunrpc/rpc_clntout.c: Likewise.
74320         * sunrpc/rpc_cmsg.c: Likewise.
74321         * sunrpc/rpc_common.c: Likewise.
74322         * sunrpc/rpc_cout.c: Likewise.
74323         * sunrpc/rpc_dtable.c: Likewise.
74324         * sunrpc/rpc_hout.c: Likewise.
74325         * sunrpc/rpc_main.c: Likewise.
74326         * sunrpc/rpc_parse.c: Likewise.
74327         * sunrpc/rpc_parse.h: Likewise.
74328         * sunrpc/rpc_prot.c: Likewise.
74329         * sunrpc/rpc_sample.c: Likewise.
74330         * sunrpc/rpc_scan.c: Likewise.
74331         * sunrpc/rpc_scan.h: Likewise.
74332         * sunrpc/rpc_svcout.c: Likewise.
74333         * sunrpc/rpc_tblout.c: Likewise.
74334         * sunrpc/rpc_util.c: Likewise.
74335         * sunrpc/rpc_util.h: Likewise.
74336         * sunrpc/rpcinfo.c: Likewise.
74337         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74338         * sunrpc/rpcsvc/key_prot.x: Likewise.
74339         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74340         * sunrpc/rpcsvc/mount.x: Likewise.
74341         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74342         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74343         * sunrpc/rpcsvc/rex.x: Likewise.
74344         * sunrpc/rpcsvc/rstat.x: Likewise.
74345         * sunrpc/rpcsvc/rusers.x: Likewise.
74346         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74347         * sunrpc/rpcsvc/spray.x: Likewise.
74348         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74349         * sunrpc/rtime.c: Likewise.
74350         * sunrpc/svc.c: Likewise.
74351         * sunrpc/svc_auth.c: Likewise.
74352         * sunrpc/svc_authux.c: Likewise.
74353         * sunrpc/svc_raw.c: Likewise.
74354         * sunrpc/svc_run.c: Likewise.
74355         * sunrpc/svc_simple.c: Likewise.
74356         * sunrpc/svc_tcp.c: Likewise.
74357         * sunrpc/svc_udp.c: Likewise.
74358         * sunrpc/svc_unix.c: Likewise.
74359         * sunrpc/svcauth_des.c: Likewise.
74360         * sunrpc/xcrypt.c: Likewise.
74361         * sunrpc/xdr.c: Likewise.
74362         * sunrpc/xdr_array.c: Likewise.
74363         * sunrpc/xdr_float.c: Likewise.
74364         * sunrpc/xdr_mem.c: Likewise.
74365         * sunrpc/xdr_rec.c: Likewise.
74366         * sunrpc/xdr_ref.c: Likewise.
74367         * sunrpc/xdr_sizeof.c: Likewise.
74368         * sunrpc/xdr_stdio.c: Likewise.
74370         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74371         handling.
74373 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74375         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74377 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74379         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74380         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74381         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74382         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74383         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74384         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74385         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74386         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74387         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74388         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74389         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74390         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74391         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74392         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74394 2010-07-26  Anton Blanchard  <anton@samba.org>
74396         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74397         * malloc/arena.c (heap_trim): Likewise.
74399 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74401         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74402         here.  Not...
74403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74404         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74406 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74408         * sysdeps/i386/elf/Makefile: New file.
74410 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74412         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74413         from fanotify_init.
74414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74415         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74417 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74419         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74420         of strncasecmp_l.
74421         * sysdeps/multiarch/strcmp.S: Likewise.
74423 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74425         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74426         strncase_l-nonascii.
74427         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74428         Add strncase_l-ssse3.
74429         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74430         * sysdeps/x86_64/strcmp.S: Likewise.
74431         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74432         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74433         * sysdeps/x86_64/strncase.S: New file.
74434         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74435         * sysdeps/x86_64/strncase_l.S: New file.
74436         * string/Makefile (strop-tests): Add strncasecmp.
74437         * string/test-strncasecmp.c: New file.
74439         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74440         warning.
74442         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74443         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74445 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74447         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74449 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74451         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74452         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74453         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74455 2010-05-01  Alan Modra  <amodra@gmail.com>
74457         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74458         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74459         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74460         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74461         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74462         tidying.  Don't tail-call __sigjmp_save for static lib.
74463         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74464         save location.
74465         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74466         (CALL_MCOUNT): Add eh info, and nop after bl.
74467         (TAIL_CALL_SYSCALL_ERROR): New macro.
74468         (PSEUDO_RET): Use it.
74469         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74470         Correct save location of integer regs and cr.
74471         (_dl_profile_resolve): Correct cr save location.  Delete nops
74472         after bl when SHARED.  Reduce cfi size a little by better
74473         placement of cfi directives.
74474         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74475         make a stack frame.  Instead use parm save area as a temp.
74476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74477         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74479         Don't make a stack frame for parent, use parm save area.
74480         Increase child stack frame to 112 bytes.  Don't save unused reg,
74481         and adjust reg usage.  Set up cfi on error recovery and
74482         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74484         (__makecontext): Add dummy nop after jump to exit.
74485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74486         Use correct parm save area and cr save, reduce stack frame.
74487         Correct cfi for possible PSEUDO_RET frame setup.
74488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74489         Branch to local label emitted by PSEUDO_RET rather than
74490         __syscall_error.
74492 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74494         [BZ #11904]
74495         * locale/programs/locale.c (print_assignment): New function.
74496         (show_locale_vars): Use it.
74498 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74500         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74501         field.
74502         (struct statfs64): Likewise.
74503         (_STATFS_F_FLAGS): Define.
74504         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74505         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74506         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74507         (ST_VALID): Define locally.
74508         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74509         __statvfs_getflags, use the provided value.
74510         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74511         __ASSUME_STATFS_F_FLAGS.
74513         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74515         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74516         Add sys/fanotify.h.
74517         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74518         fanotify_mask for GLIBC_2.13.
74519         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74520         fanotify_init and fanotify_mark.
74521         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74522         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74524         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74525         Add prlimit.
74526         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74527         prlimit64 for GLIBC_2.13.
74528         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74529         prlimit64.
74530         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74531         syscall.
74532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74533         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74534         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74535         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74537         add prlimit alias.
74538         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74540         [BZ #11903]
74541         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74542         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74544         * nss/Makefile: Add rules to build and run tst-nss-test1.
74545         * shlib-versions: Add entry for libnss_test1.
74546         * nss/nss_test1.c: New file.
74547         * nss/tst-nss-test1.c: New file.
74549         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74550         (__nss_configure_lookup): Set appropriate entry in
74551         __nss_configure_lookup to true.
74552         * nss/nsswitch.h: Define enum with indeces of databases in
74553         databases and __nss_database_custom arrays.  Declare
74554         __nss_database_custom.
74555         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74556         to avoid using nscd when custom rules are installed.
74557         * nss/getXXbyYY_r.c: Likewise.
74558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74560         * nss/nss_files/files-parse.c: Whitespace fixes.
74562 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74564         [BZ #11883]
74565         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74566         * posix/fnmatch_loop.c: Likewise.
74568 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74570         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74571         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74572         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74573         * Versions.def [GLIBC_2.13]: Add.
74575 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74577         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74578         Also fail if tpwd after pwuid call is NULL.
74580 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74582         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74583         when converting to ms.
74585 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74587         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74588         EOPNOTSUPP errors with ENOTTY.
74589         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74590         EOPNOTSUPP errors with ENOTTY.
74592 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74594         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74595         Add strcasecmp_l-ssse3.
74596         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74597         strcasecmp.
74598         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74599         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74600         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74602 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74604         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74606         * string/Makefile (strop-tests): Add strcasecmp.
74607         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74608         strcasecmp_l-nonascii.
74609         (gen-as-const-headers): Add locale-defines.sym.
74610         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74611         * sysdeps/x86_64/strcasecmp.S: New file.
74612         * sysdeps/x86_64/strcasecmp_l.S: New file.
74613         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74614         * sysdeps/x86_64/locale-defines.sym: New file.
74615         * string/test-strcasecmp.c: New file.
74617         * string/test-strcasestr.c: Test both ends of the range of characters.
74618         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74620 2010-07-29  Roland McGrath  <roland@redhat.com>
74622         [BZ #11856]
74623         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74625 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74627         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74628         for ld.so.
74630 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74632         * manual/memory.texi (Malloc Tunable Parameters): Document
74633         M_PERTURB.
74635 2010-07-26  Roland McGrath  <roland@redhat.com>
74637         [BZ #11840]
74638         * configure.in (-fgnu89-inline check): Set and substitute
74639         gnu89_inline, not libc_cv_gnu89_inline.
74640         * configure: Regenerated.
74641         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74643 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74645         * string/test-strnlen.c: New file.
74646         * string/Makefile (strop-tests): Add strnlen.
74647         * string/tester.c (test_strnlen): Add a few more test cases.
74648         * string/tst-strlen.c: Better error reporting.
74650         * sysdeps/x86_64/strnlen.S: New file.
74652 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74654         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74655         lower-latency instructions.
74657 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74659         * string/test-strcasestr.c: New file.
74660         * string/test-strstr.c: New file.
74661         * string/Makefile (strop-tests): Add strstr and strcasestr.
74662         * string/str-two-way.h: Don't undefine MAX.
74663         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74665 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74667         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74668         strcasestr-nonascii.
74669         (CFLAGS-strcasestr-nonascii.c): Define.
74670         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74671         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74672         Remove unused attribute.
74674 2010-07-20  Roland McGrath  <roland@redhat.com>
74676         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74677         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74678         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74679         like LD_HWCAP_MASK can disable hwcaps.
74681 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74683         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74685 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74687         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74688         call in strcasestr.
74689         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74690         __strcasestr_sse42_nonascii.
74691         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74692         strcasestr-nonascii.c.
74693         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74695 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74697         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74698         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74699         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74700         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74702 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74704         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74705         fcntl.
74707 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74709         [BZ #11577]
74710         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74711         dl_signal_cerror.
74713 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74715         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74716         _PC_PIPE_BUF using F_GETPIPE_SZ.
74718 2010-07-05  Roland McGrath  <roland@redhat.com>
74720         * manual/arith.texi (Rounding Functions): Fix rint description
74721         implicit in round description.
74723 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74725         * elf/Makefile: Fix linking for a few tests to make recent linker
74726         happy.
74728 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74730         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74731         $(common-objpfx)libc_nonshared.a.
74733 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74735         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74736         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74737         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74738         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74739         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74740         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74741         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74742         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74757         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74758         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74759         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74760         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74761         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74762         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74763         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74764         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74765         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74766         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74767         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74768         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74784 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74786         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74787         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74788         * string/memmove.c (memmove): Renamed to ...
74789         (MEMMOVE): ...this.  Default to memmove.
74790         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74791         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74792         (END_CHK): Define.
74793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74794         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74795         mempcpy-ssse3-back memmove-ssse3-back.
74796         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74797         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74798         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74799         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74800         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74801         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74802         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74803         * sysdeps/x86_64/multiarch/memmove.c: New file.
74804         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74805         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74806         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74807         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74808         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74809         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74810         Define.
74811         (index_Fast_Copy_Backward): Define.
74812         (HAS_ARCH_FEATURE): Define.
74813         (HAS_FAST_REP_STRING): Define.
74814         (HAS_FAST_COPY_BACKWARD): Define.
74816 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74818         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74819         Restore proper fallback handling.
74821 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74823         [BZ #11701]
74824         * posix/group_member.c (__group_member): Correct checking loop.
74826         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74827         OOM in getpwuid_r correctly.  Return error number when the caller
74828         should return, otherwise -1.
74829         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74830         call returning > 0 value.
74831         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74833 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74835         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74836         libc_nonshared.a from targets in modules-names.
74838 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74840         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74841         requires it.
74843 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74845         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74846         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74850 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74852         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74854 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74856         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74857         and F_GETPIPE_SZ.
74858         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74859         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74860         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74862         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74863         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74865 2010-06-14  Roland McGrath  <roland@redhat.com>
74867         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74869 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74871         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74872         __REDIRECT followed by __THROW.
74873         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74874         * posix/getopt.h (getopt): Likewise.
74876 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74878         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74879         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74880         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74881         in AT_FLAGS.
74882         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74883         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74885 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74887         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74889 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74891         [BZ #11640]
74892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74893         Properly check family and model.
74895 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74897         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74899 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74901         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74903 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74905         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74906         symbol reference.
74908 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74910         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74911         symbol reference.
74913 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74915         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74916         and internal_recvmmsg.
74917         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74918         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74919         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74920         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74922         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74923         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74924         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74926 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74928         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74930 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74932         POWER7 optimizations.
74933         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74934         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74936 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74938         * version.h: Update for 2.13 development version.
74940 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74942         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74943         exceptions.  Return 0.
74945 2010-05-07  Roland McGrath  <roland@redhat.com>
74947         * elf/ldconfig.c (main): Add a const.
74949 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74951         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74952         (args_options): Add no-idn option.
74953         (ahosts_keys_int): Add idn_flags to ai_flags.
74954         (parse_option): Handle 'i' option to clear idn_flags.
74956         * malloc/malloc.c (_int_free): Possible race in the most recently
74957         added check.  Only act on the data if no current modification
74958         happened.
74960 See ChangeLog.17 for earlier changes.