malloc: Correct malloc alignment on 32-bit architectures [BZ #6527]
[glibc.git] / ChangeLog
blob2b51267194c868297b7ddb67ce6a8f6c0625ad65
1 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3         [BZ #6527]
4         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5         unconditionally.
6         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10         * stdlib/tst-strtod6.c (do_test): Use new type generic
11         invocation of the test function.
12         (test): Refactor into ...
13         (TEST_STRTOD): New macro base function.
15 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18         (TEST_STRTOD): New macro.
19         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23         * stdlib/tst-strtod6.c (do_test): Use new type generic
24         invocation of the test function.
25         (test): Refactor into ...
26         (TEST_STRTOD): New macro base function.
28 2016-05-23  Florian Weimer  <fweimer@redhat.com>
30         CVE-2016-4429
31         [BZ #20112]
32         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
33         payload.
35 2016-05-23  Florian Weimer  <fweimer@redhat.com>
37         [BZ #20111]
38         * bits/sockaddr.h (_SS_SIZE): Define.
39         * bits/socket.h (_SS_SIZE): Remove.
40         (_SS_PADSIZE): Adjust to account for all padding.
41         (struct sockaddr_storage): Update comment.  Avoid implicit
42         padding.
43         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
44         (_SS_PADSIZE): Adjust to account for all padding.
45         (struct sockaddr_storage): Update comment.  Avoid implicit
46         padding.
47         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
48         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
49         (_SS_PADSIZE): Adjust to account for all padding.
50         (struct sockaddr_storage): Update comment.  Avoid implicit
51         padding.
52         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
53         __SS_SIZE is 126 in this version.
54         * inet/tst-sockaddr.c: New file.
55         * inet/Makefile (tests): Add tst-sockaddr.c
56         (tst-sockaddr.c): Compile with non-strict aliasing.
58 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
60         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
61         [XPG3 || XPG4].
62         (NL_ARGMAX): Also expect for [XPG3].
63         (NL_LANGMAX): Likewise.
64         (NL_MSGMAX): Likewise.
65         (NL_NMAX): Likewise.
66         (NL_SETMAX): Likewise.
67         (NL_TEXTMAX): Likewise.
68         (NZERO): Likewise.
69         (TMP_MAX): Likewise.
70         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
71         variable.
73         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
74         (PF_MAX): Update value.
75         (AF_KCM): New macro.
76         (SOL_NETBEUI): Likewise.
77         (SOL_LLC): Likewise.
78         (SOL_DCCP): Likewise.
79         (SOL_NETLINK): Likewise.
80         (SOL_TIPC): Likewise.
81         (SOL_RXRPC): Likewise.
82         (SOL_PPPOL2TP): Likewise.
83         (SOL_BLUETOOTH): Likewise.
84         (SOL_PNPIPE): Likewise.
85         (SOL_RDS): Likewise.
86         (SOL_IUCV): Likewise.
87         (SOL_CAIF): Likewise.
88         (SOL_ALG): Likewise.
89         (SOL_NFC): Likewise.
90         (SOL_KCM): Likewise.
91         (MSG_BATCH): New enum value and macro.
93 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
95         [BZ #18185]
96         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
97         sharing L2 cache to 2 for Knights Landing.
99 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
101         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
102         (FTW_DP): Do not expect for [XPG3 || XPG4].
103         (FTW_SL): Do not expect for [XPG3].
104         (FTW_SLN): Likewise.
105         (FTW_PHYS): Likewise.
106         (FTW_MOUNT): Likewise.
107         (FTW_DEPTH): Likewise.
108         (FTW_CHDIR): Likewise.
109         (nftw): Likewise.
110         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
111         variable.
113 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
115         * manual/errno.texi: Fix various typos & grammar errors.
117 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
119         * manual/intro.texi: Fix duplicated typo.
121 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
123         [BZ #13304]
124         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
125         <float.h>, <math_private.h> and <stdlib.h>.
126         (add_split): New function.
127         (mul_split): Likewise.
128         (ext_val): New typedef.
129         (store_ext_val): New function.
130         (mul_ext_val): New function.
131         (compare): New function.
132         (add_split_ext): New function.
133         (__fmal): After checking for Inf, NaN and zero, compute result as
134         an exact sum of scaled double values in round-to-nearest before
135         adding those up and adjusting for other rounding modes.
136         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
137         tests of fma.
138         * math/auto-libm-test-out: Regenerated.
140 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
142         [BZ #20119]
143         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
144         processor level type mask for CPUID with EAX == 11.
146 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
148         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
149         logical threads if the HTT bit is 0.
150         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
151         (index_cpu_HTT): Likewise.
152         (reg_HTT): Likewise.
154 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
156         [BZ #20115]
157         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
158         Remove alignments on jump targets.
160 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
162         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
163         (getpwent): Likewise.
164         (setpwent): Likewise.
165         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
166         variable.
168         * conform/data/search.h-data (insque): Do not expect for [XPG3].
169         (remque): Likewise.
170         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
171         variable.
173 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
175         * math/libm-test.inc: Update comment not to refer to signs of NaNs
176         not being tested.
178 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
180         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
181         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
182         call.
183         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
184         (__condvar_cleanup1): Likewise.
186 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
188         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
189         New
190         (__pthread_unwind): Renamed to ...
191         (PTHREAD_UNWIND): This.
192         (__pthread_enable_asynccancel): Replace
193         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
195 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
197         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
198         (CLONE_NEWCGROUP): New macro.
200         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
201         (Q_GETNEXTQUOTA): New macro.
203 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
205         [BZ #19907]
206         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
207         buffer updated by the previous run.
208         * string/test-memcpy.c (do_one_test): Likewise.
209         * benchtests/bench-memmove.c (do_one_test): Add a comment.
210         * string/test-memmove.c (do_one_test): Likewise.
212 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
214         [BZ #20094]
215         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
216         not [__USE_XOPEN].
217         (unlockpt): Likewise.
218         (ptsname): Likewise.
219         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
220         variable.
222         [BZ #20076]
223         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
224         instead of [__USE_UNIX98].
225         (S_ISSOCK): Likewise.
226         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
227         variable.
229         [BZ #20074]
230         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
231         [__USE_POSIX].
232         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
233         variable.
235         [BZ #20051]
236         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
237         (ttyslot): Do not declare.
238         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
239         (ttyslot): New prototype.
240         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
241         variable.
242         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
244 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
246         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
248 2016-05-13  Florian Weimer  <fweimer@redhat.com>
250         Fix race condition in tst-mallocfork2, use fewer resources.
251         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
252         to current process group.
253         (signal_sender): Yield in the non-sleeping case.
255 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
257         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
258         (ecvt): Likewise.
259         (fcvt): Likewise.
260         (gcvt): Likewise.
261         (getsubopt): Likewise.
262         (grantpt): Likewise.
263         (initstate): Likewise.
264         (l64a): Likewise.
265         (mktemp): Likewise.
266         (mkstemp): Likewise.
267         (ptsname): Likewise.
268         (random): Likewise.
269         (realpath): Likewise.
270         (setstate): Likewise.
271         (srandom): Likewise.
272         (ttyslot): Likewise.
273         (unlockpt): Likewise.
274         (valloc): Likewise.
276         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
277         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
278         variable.
280 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
282         [BZ #20072]
283         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
284         init_cpu_features only if SHARED is defined.
285         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
287 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
289         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
290         non-inclusive caches on Intel processors.
292 2016-05-13  Florian Weimer  <fweimer@redhat.com>
294         * malloc/malloc.c (dumped_main_arena_start)
295         (dumped_main_arena_end): New variables.
296         (DUMPED_MAIN_ARENA_CHUNK): New macro.
297         (do_check_chunk): Skip dumped fake mmapped chunks.
298         (munmap_chunk): Likewise.
299         (__libc_free): Do not adjust statistics for fake mmapped chunks.
300         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
301         mmapped chunks.
302         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
303         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
304         and dumped_main_arena_end to cover the dumped heap.
306 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
308         * conform/data/time.h-data (getdate_err): Do not expect for
309         [XPG3].
310         (getdate): Likewise.
311         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
312         variable.
314         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
315         (F_ULOCK): Likewise.
316         (F_TEST): Likewise.
317         (F_TLOCK): Likewise.
318         (useconds_t): Likewise.
319         (intptr_t): Do not expect for [XPG3] or [XPG4].
320         (brk): Do not expect for [XPG3]
321         (fchown): Likewise.
322         (fchdir): Likewise.
323         (ftruncate): Likewise.
324         (getdtablesize): Likewise.
325         (gethostid): Likewise.
326         (getpagesize): Likewise.
327         (getpgid): Likewise.
328         (getsid): Likewise.
329         (getwd): Likewise.
330         (lchown): Likewise.
331         (lockf): Likewise.
332         (readlink): Likewise.
333         (sbrk): Likewise.
334         (setpgrp): Likewise.
335         (setregid): Likewise.
336         (setreuid): Likewise.
337         (symlink): Likewise.
338         (sync): Likewise.
339         (truncate): Likewise.
340         (ualarm): Likewise.
341         (usleep): Likewise.
342         (vfork): Likewise.
343         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
344         variable.
346         [BZ #20054]
347         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
348         not [__USE_UNIX98].
349         * conform/data/unistd.h-data (gethostname): Do not expect for
350         [XPG3].
352         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
353         [!POSIX] (S_IFBLK): Likewise.
354         [!POSIX] (S_IFCHR): Likewise.
355         [!POSIX] (S_IFIFO): Likewise.
356         [!POSIX] (S_IFREG): Likewise.
357         [!POSIX] (S_IFDIR): Likewise.
358         [!POSIX] (S_IFLNK): Likewise.
359         [!POSIX] (S_IFSOCK): Likewise.
360         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
361         variable.
362         (test-xfail-XPG4/fcntl.h/conform): Likewise.
364 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
366         * sysdeps/aarch64/memset.S (__memset):
367         Rewrite of optimized memset.
369 2016-05-12  Florian Weimer  <fweimer@redhat.com>
371         [BZ #19703]
372         Partially async-signal-safe fork for single-threaded processes.
373         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
374         variable.  Do not acquire and reset/release malloc and libio locks
375         in single-threaded processes.
376         * malloc/tst-mallocfork2.c: New file.
377         * malloc/Makefile (tests): Add it.
379 2016-05-12  Florian Weimer  <fweimer@redhat.com>
381         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
382         argument.  Use scratch buffer instead of extend_alloca.
383         (gethosts): Use scratch buffer instead of extend_alloca.
384         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
385         extend_alloca.
386         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
388 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
390         [BZ #20055]
391         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
392         instead of [__USE_UNIX98].
393         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
394         [__USE_UNIX98].
395         * conform/data/termios.h-data (tcgetsid): Do not expect for
396         [XPG3].
397         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
398         variable.
399         (test-xfail-XPG4/termios.h/conform): Likewise.
401 2016-05-11  Florian Weimer  <fweimer@redhat.com>
403         Do not use mcheck in localedef.
404         * locale/programs/localedef.c (turn_on_mcheck)
405         (__malloc_initialize_hook): Remove.
407 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
409         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
410         * sysdeps/s390/s390-64/Makefile: Likewise.
412 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
414         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
415         Remove ifunc-defines.sym.
416         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
417         Likewise.
418         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
419         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
420         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
421         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
422         rtld-global-offsets.sym.
423         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
424         * sysdeps/x86/cpu-features-offsets.sym: This.
425         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
426         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
428 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
430         [BZ #20073]
431         * io/sys/stat.h (fchmod): Declare for
432         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
433         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
434         variable.
436         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
437         [XPG3] (S_IFSOCK): Likewise.
438         [XPG3] (S_ISVTX): Likewise.
439         [XPG3] (S_ISLNK): Likewise.
440         [XPG3] (S_ISSOCK): Likewise.
441         [XPG3] (fchmod): Likewise.
442         [XPG3] (lstat): Likewise.
443         [XPG3] (mknod): Likewise.
445         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
446         [XPG3].  Expect type long and XFAIL for [XPG4].
447         (st_blocks): Likewise.
449         [BZ #20044]
450         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
451         (pthread_atfork): New prototype.
452         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
453         variable.
455         [BZ #20043]
456         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
457         prototype.
459 2016-05-10  Florian Weimer  <fweimer@redhat.com>
461         [BZ #20017]
462         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
463         gmtime.
465 2016-05-10  Florian Weimer  <fweimer@redhat.com>
467         [BZ #19994]
468         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
469         flag in _res.options.
471 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
473         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
474         [XPG3 || XPG4].
475         (blksize_t): Likewise.
476         (clockid_t): Likewise.
477         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
478         variable.
479         (test-xfail-XPG4/sys/types.h/conform): Likewise.
481 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
483         * sysdeps/unix/sysv/linux/s390/init-first.c:
484         Add VDSO_SYMBOL(getcpu).
485         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
486         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
487         Add VDSO_SYMBOL(getcpu).
488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
489         New define HAVE_GETCPU_VSYSCALL.
490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
492 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
494         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
495         instead of <sysdeps/x86_64/cacheinfo.c>.
496         * sysdeps/x86_64/cacheinfo.c: Moved to ...
497         * sysdeps/x86/cacheinfo.c: Here.
499 2016-05-04  Florian Weimer  <fweimer@redhat.com>
501         * malloc/malloc-internal.h: Adjust header file guard.
503 2016-05-04  Florian Weimer  <fweimer@redhat.com>
505         [BZ #19787]
506         * inet/getnameinfo.c (check_sprintf_result): New function.
507         (CHECKED_SNPRINTF): New macro.
508         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
509         to the host buffer.
510         (gni_host_local): Use checked_copy to copy the host name.
511         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
512         (gni_serv_local): Use checked_copy to copy the service name.
513         (getnameinfo): Remove unnecessary truncation of result buffers.
515 2016-05-04  Florian Weimer  <fweimer@redhat.com>
517         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
518         in case of inet_ntop failure.
520 2016-05-04  Florian Weimer  <fweimer@redhat.com>
522         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
523         avoid long lines.
524         (gni_host_inet_numeric): Likewise.  Reduce scope of local
525         variables.
526         (gni_host_inet, gni_host_local): Add comment.
527         (gni_host): Add comment.  Use temporary to avoid long lines.
529 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
531         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
532         registers specifiers where general purpose registers specifiers should
533         have been used.
535 2016-05-04  Florian Weimer  <fweimer@redhat.com>
537         [BZ #19779]
538         CVE-2016-1234
539         Avoid copying names of directory entries.
540         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
541         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
542         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
543         (struct readdir_result): New type.
544         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
545         (GL_READDIR): New macros.
546         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
547         (convert_dirent, convert_dirent64): New functions.
548         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
549         convert_dirent64.  Adjust references to the readdir result.
550         * sysdeps/unix/sysv/linux/i386/glob64.c:
551         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
552         * posix/bug-glob2.c (LONG_NAME): Define.
553         (filesystem): Add LONG_NAME.
554         (my_DIR): Increase the size of room_for_dirent.
556 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
558         [BZ #20041]
559         * misc/sys/select.h (__need_timespec): Only define if
560         [__USE_XOPEN2K].
561         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
562         variable.
563         (test-xfail-XPG4/utmpx.h/conform): Likewise.
564         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
565         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
567 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
568             Segher Boessenkool  <segher@gcc.gnu.org>
570         [BZ #20004]
571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
572         (__novec_swapcontext): Add missing load.
574 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
576         [BZ #20023]
577         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
578         <time.h>.
579         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
580         variable.
581         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
583 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
586         flags CLONE_VM compare.
588 2016-05-02  Florian Weimer  <fweimer@redhat.com>
590         [BZ #20031]
591         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
592         completely empty.
594 2016-05-02  Florian Weimer  <fweimer@redhat.com>
596         [BZ #19573]
597         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
598         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
599         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
600         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
601         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
602         (hesiod_free_list): Mark as hidden.
603         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
604         res_set, res_get.
605         * hesiod/hesiod.c: Remove unnecessary forward declarations.
606         (init, __hesiod_res_get, __hesiod_res_set): Remove.
607         (hesiod_init): Remove obsolete res_ninit call.
608         (hesiod_end): Do not free resolver state.  Do not invoke callback.
609         (hesiod_bind): Do not call init.
610         (get_txt_records): Use res_mkquery, res_send instead of
611         res_nmkquery, res_nsend.
612         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
613         instead of _nss_hesiod_init.
614         (_nss_hesiod_initgroups_dyn): Likewise.
615         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
616         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
617         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
619 2016-05-02  Florian Weimer  <fweimer@redhat.com>
621         * hesiod/hesiod_p.h (DEF_RHS): Remove.
622         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
624 2016-05-02  Florian Weimer  <fweimer@redhat.com>
626         * hesiod/hesiod.h: Remove RCS keyword.
627         * hesiod/hesiod_p.h: Likewise.
629         * hesiod/hesiod.c: Likewise.
631 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
633         [BZ #12450]
634         * locale/iso-639.def: Add Samogitian/sgs.
636 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
638         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
640         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
642 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
643             Carlos O'Donell  <carlos@redhat.com>
645         [BZ #19072]
646         * grp/Makefile (headers): Add grp-merge.h
647         (routines): Add grp-merge.
648         * grp/getgrgid_r.c: Include grp-merge.h.
649         (DEEPCOPY_FN): Define.
650         (MERGE_FN): Define.
651         * grp/getgrname_r.c: Include grp-merge.h.
652         (DEEPCOPY_FN): Define.
653         (MERGE_FN): Define.
654         * grp/grp-merge.c: New file.
655         * grp/grp-merge.h: New file.
656         * include/grp-merge.h: New file.
657         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
658         __copy_grp@GLIBC_PRIVATE.
659         * manual/nss.texi (Actions in the NSS configuration): Describe
660         return, continue, and merge.
661         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
662         (DEEPCOPY_FN): Define.
663         (MERGE_FN): Define.
664         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
665         (DEEPCOPY_FN): Define.
666         (MERGE_FN): Define.
667         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
668         [!MERGE_FN]: Define __merge_einval.
669         (CHECK_MERGE): Define.
670         (REENTRANT_NAME): Process merge if do_merge is true.
671         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
672         (__nss_getent_r): Likewise.
673         * nss/nsswitch.c (nss_parse_service_list): Likewise.
674         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
676 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
678         [BZ #20012]
679         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
680         length to calculate the buffer to read.
681         (fmemopen_write): Set the buffer position based on bytes written.
682         (fmemopen_seek): Return EINVAL for invalid whence modes.
684         [BZ #19957]
685         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
686         tst-getpid2.
687         (test): Add tst-clone2.
688         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
689         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
690         pid/tid fields for CLONE_VM.
691         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
692         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
693         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
694         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
695         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
696         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
697         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
698         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
700         Likewise.
701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
702         Likewise.
703         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
704         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
705         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
706         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
707         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
708         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
709         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
710         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
712 2016-04-29  Florian Weimer  <fweimer@redhat.com>
714         [BZ #19642]
715         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
716         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
717         (gni_serv_local, gni_serv): New functions extracted from
718         getnameinfo.
719         (getnameinfo): Call gni_host and gni_serv to perform the
720         processing.  Always free scratch buffer.
722 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
724         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
725         remaining bytes in the dest string, with zeros.
727 2016-04-29  Florian Weimer  <fweimer@redhat.com>
729         [BZ #20010]
730         CVE-2016-3706
731         * sysdeps/posix/getaddrinfo.c
732         (convert_hostent_to_gaih_addrtuple): New function.
733         (gethosts): Call convert_hostent_to_gaih_addrtuple.
734         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
735         AF_INET data.
737 2016-04-29  Florian Weimer  <fweimer@redhat.com>
739         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
740         callback function gl_readdir.
741         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
742         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
743         (glob_in_dir): Remove len.  Use strdup instead of malloc and
744         memcpy to copy the name.
745         * manual/pattern.texi (Calling Glob): Document requirements for
746         implementations of the gl_readdir callback function.
747         * manual/examples/mkdirent.c: New example.
748         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
749         per the manual guidance.
750         * posix/tst-gnuglob.c (my_readdir): Likewise.
752 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
754         [BZ #20014]
755         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
756         not [__USE_POSIX].
757         (getchar_unlocked): Likewise.
758         (putc_unlocked): Likewise.
759         (putchar_unlocked): Likewise.
760         (flockfile): Likewise.
761         (ftrylockfile): Likewise.
762         (funlockfile): Likewise.
763         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
764         variable.
765         (test-xfail-XPG4/stdio.h/conform): Likewise.
767         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
768         Expect constant.
769         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
770         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
771         variable.
772         (test-xfail-XPG4/langinfo.h/conform): Likewise.
773         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
775         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
776         [__USE_LARGEFILE64] (off64_t): Likewise.
777         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
778         variable.
780 2016-04-28  Florian Weimer  <fweimer@redhat.com>
782         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
784 2016-04-28  Florian Weimer  <fweimer@redhat.com>
786         * resolv/inet_addr.c: Reindent preprocessor conditionals.
787         * resolv/res_init.c: Likewise.
788         * resolv/res_mkquery.c: Likewise.
790 2016-04-28  Florian Weimer  <fweimer@redhat.com>
792         * resolv/res_init.c (isascii): Do not define.  Use definition in
793         <ctype.h>.
794         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
795         (LOG_AUTH): Remove.
796         (SPRINTF): Remove, adjust caller.
797         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
799 2016-04-28  Florian Weimer  <fweimer@redhat.com>
801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
802         SUNSECURITY conditional.
803         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
805 2016-04-28  Florian Weimer  <fweimer@redhat.com>
807         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
808         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
809         Remove BSD-related preprocessor conditionals.
810         * conf/portability.h: Remove.
812 2016-04-28  Florian Weimer  <fweimer@redhat.com>
814         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
815         * resolv/res_data.c: Likewise.
817 2016-04-28  Florian Weimer  <fweimer@redhat.com>
819         * resolv/res_comp.c: Remove code conditional on __ultrix__.
820         * resolv/res_data.c: Remove code conditional on ultrix.
822 2016-04-28  Florian Weimer  <fweimer@redhat.com>
824         * resolv/res_init.c (RFC1535): Do not define.  Remove
825         RFC1535 preprocessor conditionals.
826         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
827         because there configuration options which make the resolver
828         behavior different.
830 2016-04-28  Florian Weimer  <fweimer@redhat.com>
832         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
833         RESOLVSORT preprocessor conditionals.
834         * resolv/nss_dns/dns-host.c: Likewise.
835         * resolv/res_init.c: Likewise.
837 2016-04-28  Florian Weimer  <fweimer@redhat.com>
839         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
840         is never defined.
842 2016-04-28  Florian Weimer  <fweimer@redhat.com>
844         * inet/inet_lnaof.c: Remove SCSS keyword.
845         * inet/inet_mkadr.c: Likewise.
846         * inet/inet_net.c: Likewise.
847         * inet/inet_netof.c: Likewise.
848         * inet/rcmd.c: Likewise.
849         * inet/rexec.c: Likewise.
850         * inet/ruserpass.c: Likewise.
852 2016-04-28  Florian Weimer  <fweimer@redhat.com>
854         * resolv/inet_addr.c: Remove _LIBC conditionals.
855         * resolv/res_data.c: Likewise.
856         * resolv/res_init.c: Likewise.
857         * resolv/res_mkquery.c: Likewise.
858         * resolv/res_libc.c: Update comment.
859         * resolv/README: Update.
861 2016-04-28  Florian Weimer  <fweimer@redhat.com>
863         * resolv/gethnamaddr.c: Remove SCSS keyword.
864         * resolv/herror.c: Likewise.
865         * resolv/inet_addr.c: Likewise.
866         * resolv/inet_net_ntop.c: Likewise.
867         * resolv/inet_net_pton.c: Likewise.
868         * resolv/inet_neta.c: Likewise.
869         * resolv/inet_ntop.c: Likewise.
870         * resolv/inet_pton.c: Likewise.
871         * resolv/ns_date.c: Remove RCS keyword.
872         * resolv/ns_name.c: Likewise.
873         * resolv/ns_netint.c: Likewise.
874         * resolv/ns_parse.c: Likewise.
875         * resolv/ns_print.c: Likewise.
876         * resolv/ns_samedomain.c: Likewise.
877         * resolv/ns_ttl.c: Likewise.
878         * resolv/nsap_addr.c: Likewise.
879         * resolv/res_comp.c: Remove SCSS and RCS keyword.
880         * resolv/res_data.c: Remove RCS keyword.
881         * resolv/res_debug.c: Remove SCSS and RCS keyword.
882         * resolv/res_init.c: Likewise.
883         * resolv/res_mkquery.c: Likewise.
884         * resolv/res_query.c: Likewise.
885         * resolv/res_send.c: Likewise.
887 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
889         * conform/data/stdio.h-data (fdopen): Expect also for
890         [XPG3 || XPG4].
892         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
893         (fseeko): Likewise.
894         (ftello): Likewise.
895         (ftrylockfile): Likewise.
896         (funlockfile): Likewise.
897         (getc_unlocked): Likewise.
898         (getchar_unlocked): Likewise.
899         (putc_unlocked): Likewise.
900         (putchar_unlocked): Likewise.
902 2016-04-27  Florian Weimer  <fweimer@redhat.com>
904         [BZ #19868]
905         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
906         DNS packet syntax checks (which were not needed before).  Skip
907         over non-PTR records.
909 2016-04-27  Florian Weimer  <fweimer@redhat.com>
911         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
912         definition.  Include <stddef.h> instead.
914 2016-04-27  Florian Weimer  <fweimer@redhat.com>
916         [BZ #19831]
917         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
918         function.
919         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
920         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
922 2016-04-27  Florian Weimer  <fweimer@redhat.com>
924         [BZ #19862]
925         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
926         (getanswer_r): Do not call syslog.
927         (gaih_getanswer_slice): Likewise.
928         * resolv/gethnamaddr.c (AskedForGot): Remove.
929         (getanswer): Do not call syslog.
930         (gethostbyaddr): Likewise.
932 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
934         * conform/data/signal.h-data (union sigval): Expect also if
935         [XOPEN2K].
936         (struct sigevent): Likewise.
937         (SIGEV_NONE): Likewise.
938         (SIGEV_SIGNAL): Likewise.
939         (SIGEV_THREAD): Likewise.
940         (SIGRTMIN): Likewise.
941         (SIGRTMAX): Likewise.
942         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
943         variable.
944         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
946 2016-04-27  Florian Weimer  <fweimer@redhat.com>
948         [BZ #19830]
949         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
950         (gaih_getanswer_slice): Likewise.
951         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
952         Also check for availability of RR metadata.
954 2016-04-27  Florian Weimer  <fweimer@redhat.com>
956         [BZ #19825]
957         * resolv/res_send.c (send_vc): Remove early *resplen2
958         initialization.  Set *resplen2 on socket error.  Call
959         close_and_return_error for other errors.
961 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
963         * sysdeps/unix/sysv/linux/netiucv/iucv.h
964         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
965         (SCM_IUCV_TRGCLS): New define.
967 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
969         [BZ #20005]
970         * libio/fmemopen.c (fmemopen_write): Update internal position after
971         write.
972         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
973         * stdio-common/tst-fmemopen4.c: New file..
975 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
977         [BZ #19996]
978         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
979         not [__USE_XOPEN2K].
980         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
981         variable.
983         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
984         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
985         variable.
987         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
988         [__USE_XOPEN2K8].
989         [__USE_LARGEFILE64] (off64_t): Likewise.
990         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
991         variable.
993 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
995         [BZ #19989]
996         * libio/stdio.h (cuserid): Do not declare if
997         [__USE_XOPEN2K && !__USE_GNU].
998         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
999         variable.
1001 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1003         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1004         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1006         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1007         ifunc'ed strcspn.
1008         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1009         [EALIGN]: Removed.
1010         [END]: Likewise
1011         [STRSPN]: Define instead of the above to control symbol name.
1012         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1013         New file.
1014         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1015         Likewise.
1016         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1017         Likewise.
1018         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1019         Likewise.
1020         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1021         [INITIAL_MASK]: New macro.
1022         [STRCSPN]: Likewise.
1023         [UPDATE_MASK]: Likewise.
1024         [USE_AS_STRCSPN]: Lisewise.
1026 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1028         [BZ #19931]
1029         * stdio-common/tst-vfprintf-width-prec.c: New file.
1030         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1031         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1032         (generated): Add mtrace-related files.
1033         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1034         (tst-%-mem.out): New pattern rule, replaces
1035         tst-printf-bz18872-mem.out.
1036         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1037         specifier, deallocate any previously allocated work buffer.
1039 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1041         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1042         Add nop before __startcontext, add explaining comments.
1044 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1046         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1047         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1048         completely different API.
1050         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1051         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1052         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1053         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1054         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1055         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1056         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1057         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1058         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1059         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1061 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1063         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1065 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1067         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1068         when it is the default of 0.
1070 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1072         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1073         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1074         (sysdep_routines): Add new strcasestr targets.
1075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1076         (__libc_ifunc_impl_list): Likewise.
1077         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1078         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1079         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1080         * sysdeps/powerpc/powerpc64/power8/Makefile:
1081         New file to add strcasestr-ppc64 to sysdep_routines.
1082         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1083         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1085 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1087         * benchtests/Makefile (wcsmbs-benchset): Include only for
1088         native builds and runs.
1089         (LOCALES): Likewise.
1090         (bench-build): Build timing-type here instead of the bench
1091         target.  Generate locale only for native builds.
1092         * benchtests/README: Add note for cross-building.
1094         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1096         * benchtests/README: Update README to include instructions on
1097         using bench-build.
1099         * Makefile.in (bench-build): New target.
1100         * Rules (PHONY): Add bench-build target.
1101         * benchtests/Makefile (bench): Depend on bench-build.
1102         (bench-build): New target.
1104 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1106         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1107         profil_reply_port.
1108         (profile_waiter): Do not initialize profil_reply_port.
1109         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1110         frequency instead of tick length in us.
1112 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1114         [BZ #18712]
1115         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1116         (__old_mempcpy_small): Likewise.
1117         (__old_strcpy_small): Likewise.
1118         (__old_stpcpy_small): Likewise.
1119         (__old_strpbrk_c2): Fix compat symbol name.
1120         (__old_strpbrk_c3): Likewise.
1121         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1122         (__mempcpy_small): Remove.
1123         (__strcpy_small): Remove.
1124         (__stpcpy_small): Remove.
1126 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1128         [BZ #19400]
1129         * locale/iso-639.def: Add the Talossan/tzl language.
1131 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1133         [BZ #16983]
1134         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1135         comment.  Add "ln" to strchr check on postal_fmt.
1137 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1139         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1140         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1141         tel_dom_fmt.
1143 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1145         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1146         (sysdep_routines): Added __strlen_power8.
1147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1148         __strlen_power8 entry.
1149         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1150         Implementation for POWER8.
1151         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1152         for __strlen_power8.
1153         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1154         Implementation for POWER8.
1156 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1158         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1160 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1162         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1163         Goldmont and Airmont processors.
1165 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1167         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1168         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1169         (__STRING2_SMALL_GET32): Remove.
1170         (memset): Remove.
1171         (__memset_1): Remove.
1172         (__memset_gc): Remove.
1173         (__mempcpy): Remove.
1174         (mempcpy): Remove.
1175         (__mempcpy_args): Remove.
1176         (strchr): Remove.
1177         (strcpy): Remove.
1178         (strcpy_args): Remove.
1179         (__stpcpy_args): Remove.
1180         (__strcmp_cc): Remove.
1181         (__strcmp_gc): Remove.
1182         (strstr): Remove.
1184 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1186         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1187         * nis/nis_call.c (nis_server_cache_add): Likewise.
1189 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1191         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1193 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1195         * malloc/arena.c (__malloc_fork_lock_parent)
1196         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1197         internal_function attribute.
1199 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1201         * stdio-common/printf_fp.c (__printf_fp_l):
1202         Rename ___printf_fp_l to __printf_fp_l and
1203         remove strong alias. Use libc_hidden_def instead
1204         of ldbl_hidden_def macro.
1206 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1208         Remove malloc hooks from fork handler.  They are no longer needed
1209         because malloc runs right before fork, and no malloc calls from
1210         other fork handlers are not possible anymore.
1211         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1212         declarations.
1213         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1214         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1215         (atfork_recursive_cntr): Remove.
1216         (__malloc_fork_lock_parent): Do not override malloc hooks and
1217         thread_arena.
1218         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1219         thread_arena.
1220         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1221         thread_arena instead of save_arena.
1223 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1225         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1226         (thread_atfork, thread_atfork_static): Remove.
1227         * sysdeps/mach/hurd/malloc-machine.h:
1228         (thread_atfork, thread_atfork_static): Remove.
1230 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1232         [BZ #19431]
1233         Run the malloc fork handler as late as possible to avoid deadlocks.
1234         * malloc/malloc-internal.h: New file.
1235         * malloc/malloc.c: Include it.
1236         * malloc/arena.c (ATFORK_MEM): Remove.
1237         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1238         Update comment.
1239         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1240         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1241         Remove outdated comment.
1242         (ptmalloc_init): Do not call thread_atfork.  Remove
1243         thread_atfork_static.
1244         * malloc/tst-malloc-fork-deadlock.c: New file.
1245         * Makefile (tests): Add tst-malloc-fork-deadlock.
1246         (tst-malloc-fork-deadlock): Link against libpthread.
1247         * manual/memory.texi (Aligned Memory Blocks): Update safety
1248         annotation comments.
1249         * sysdeps/nptl/fork.c (__libc_fork): Call
1250         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1251         __malloc_fork_unlock_child.
1252         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1254 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1256         [BZ #19613]
1257         Remove union wait.
1258         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1259         (w_stopsig, w_stopval): Remove.
1260         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1261         stat_loc argument.
1262         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1263         (__WAIT_STATUS_DEFN): Remove.
1264         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1265         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1266         (wait, wait3, wait4): Use int * for the stat_loc argument.
1267         * posix/wait.c (__wait): Likewise.
1268         * posix/wait3.c (__wait3): Likewise.
1269         * posix/wait4.c (__wait4): Likewise.
1270         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1271         (__WAIT_STATUS_DEFN): Remove.
1272         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1273         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1274         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1275         argument.
1276         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1277         * sysdeps/posix/wait3.c (__wait3): Likewise.
1278         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1279         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1280         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1281         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1282         stat_loc argument.
1283         * manual/process.texi (BSD Wait Functions): Remove union wait.
1285 2016-04-13  Andreas Schwab  <schwab@suse.de>
1287         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1288         (test-extras): Add tst-tlsalign-vars.
1289         * math/Makefile: Wrap long lines.
1290         (libm-vec-test-wrappers): Define.
1291         (test-extras): Add $(libm-vec-test-wrappers).
1292         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1293         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1294         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1295         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1296         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1297         (extra-test-objs): Add corresponding objects.
1299 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1301         [BZ #19928]
1302         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1303         New.
1304         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1305         times of shared cache size.
1306         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1307         (VMOVNT): New.
1308         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1309         (VMOVNT): Likewise.
1310         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1311         (VMOVNT): Likewise.
1312         (VMOVU): Changed to movups for smaller code sizes.
1313         (VMOVA): Changed to movaps for smaller code sizes.
1314         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1315         comments.
1316         (PREFETCH): New.
1317         (PREFETCH_SIZE): Likewise.
1318         (PREFETCHED_LOAD_SIZE): Likewise.
1319         (PREFETCH_ONE_SET): Likewise.
1320         Rewrite to use forward and backward loops, which move 4 vector
1321         registers at a time, to support overlapping addresses and use
1322         non temporal store if size is above the threshold and there is
1323         no overlap between destination and source.
1325 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1327         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1328         Include dl-vdso.
1329         * sysdeps/unix/sysv/linux/mips/Versions: Add
1330         __vdso_clock_gettime.
1331         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1332         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1333         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1334         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1335         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1336         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1337         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1338         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1339         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1341 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1343         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1344         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1345         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1347         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1348         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1351         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1352         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1353         syscalls generation.
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1355         [__NR_pwrite64] (__NR_write): Remove define.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1357         [__NR_pwrite64] (__NR_write): Remove define.
1358         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1359         Remove define.
1360         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1361         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1362         Remove define.
1363         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1364         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1365         Linux implementation as base.
1366         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1368         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1369         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1370         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1371         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1374         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1375         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1376         syscall generation.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1378         [__NR_pread64] (__NR_pread): Remove define.
1379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1380         [__NR_pread64] (__NR_pread): Likewise.
1381         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1382         define.
1383         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1384         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1385         Remove define.
1386         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1387         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1388         Linux implementation as base.
1389         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1390         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1391         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1393         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1394         definition.
1395         (__ALIGNMENT_COUNT): Likewise.
1396         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1397         (__ALIGNMENT_COUNT): Likewise.
1398         (SYSCALL_LL): New define.
1399         (SYSCALL_LL64): Likewise.
1400         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1401         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1402         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1403         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1405         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1406         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1407         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1408         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1409         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1410         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1412 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1414         [BZ #19865]
1415         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1416         original buffer before retry.
1418 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1420         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1421         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1422         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1423         GLRO(dl_auxv) list.
1424         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1425         including <ldsodefs.h>.
1426         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1428 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1430         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1431         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1432         $(CPPFLAGS).
1434 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1436         [BZ #17950]
1437         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1438         Add -mfpmath=387.
1440 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1442         * sysdeps/i386/configure.ac: Change == to = when calling test.
1443         * sysdeps/x86_64/configure.ac: Likewise.
1444         * sysdeps/i386/configure: Regenerated.
1445         * sysdeps/x86_64/configure: Likewise.
1447 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1449         [BZ #16137]
1450         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1451         * benchtests/bench-strcoll.c (input_files): Likewise.
1452         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1453         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1454         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1456 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1458         [BZ #19929]
1459         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1460         [__USE_XOPEN2K8 && !__USE_GNU].
1461         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1462         variable.
1464         [BZ #19925]
1465         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1466         define if [!__USE_MISC && __USE_XOPEN2K].
1467         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1468         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1469         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1470         Likewise.
1471         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1472         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1473         variable.
1474         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1476 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1478         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1479         (sysdep_routines): Add new strspn targets.
1480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1481         (__libc_ifunc_impl_list): Add strspn.
1482         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1483         New file.
1484         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1485         Likewise.
1486         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1487         Likewise.
1488         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1489         Likewise.
1491 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1493         * misc/hsearch_r.c: Include <limits.h>.
1495 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1497         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1499 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1501         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1502         (MEMCPY_SYMBOL): New.
1503         (MEMPCPY_SYMBOL): Likewise.
1504         (MEMMOVE_CHK_SYMBOL): Likewise.
1505         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1506         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1507         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1508         Provide alias for memcpy in libc.a and ld.so.
1510 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1512         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1513         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1514         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1515         Disabled fro now.
1516         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1517         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1519 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1521         * benchtests/Makefile (string-benchset): Add memcpy-large,
1522         memmove-large and memset-large.
1523         * benchtests/bench-memcpy-large.c: New file.
1524         * benchtests/bench-memmove-large.c: Likewise.
1525         * benchtests/bench-memmove-large.c: Likewise.
1526         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1528 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1530         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1531         32-bit displacement to avoid long nop between instructions.
1533 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1535         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1536         a comment on VMOVU and VMOVA.
1538 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1540         [BZ #19633]
1541         Use specified locale for number formatting in strfmon_l.
1542         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1543         (__nl_lookup_word): New inline functions.
1544         * include/printf.h (__print_fp_l): Declare.
1545         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1546         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1547         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1548         (___printf_fp): New function.
1549         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1550         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1551         * stdlib/tst-strfmon_l.c (do_test): New test.
1552         * stdlib/Makefile (tests): Add kt.
1553         (LOCALES): Build additional locales.
1554         (tst-strfmon_l.out): Require locales.
1556 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1558         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1559         if not in libc.
1560         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1561         Likewise.
1562         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1563         Likewise.
1564         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1565         Likewise.
1567 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1569         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1570         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1571         with unaligned_erms.
1572         (__memmove_erms): Skip if source == destination.
1573         (__memmove_unaligned_erms): Don't check source == destination
1574         first.
1576 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1578         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1579         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1581 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1583         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1584         * string/strspn.c (strspn): Likewise.
1586 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1588         * benchtests/bench-memset.c (do_test): Support 64-byte
1589         alignment.
1590         (test_main): Test 64-byte alignment.
1592 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1594         * benchtests/bench-memmove.c (test_main): Test 64-byte
1595         alignment.
1597 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1599         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1601 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1603         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1604         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1605         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1607         * string/strpbrk.c (strpbrk): Rewrite function.
1608         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1609         (__strpbrk_c2): Likewise.
1610         (__strpbrk_c3): Likewise.
1611         * string/string-inlines.c
1612         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1613         Likewise.
1614         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1615         Likewise.
1617         * string/strspn.c (strcspn): Rewrite function.
1618         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1619         (__strspn_c1): Remove inline function.
1620         (__strspn_c2): Likewise.
1621         (__strspn_c3): Likewise.
1622         * string/string-inlines.c
1623         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1624         compatibility symbol.
1625         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1626         Likewise.
1627         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1628         Likewise.
1629         * string/string-inlines.c: Include generic version.
1631 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1632             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1634         * string/Version (libc): Add GLIBC_2.24.
1635         * string/strcspn.c (strcspn): Rewrite function.
1636         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1637         (__strcspn_c1): Remove inline function.
1638         (__strcspn_c2): Likewise.
1639         (__strcspn_c3): Likewise.
1640         * string/string-inline.c
1641         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1642         compatibility symbol.
1643         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1644         Likewise.
1645         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1646         Likewise.
1647         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1649 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1651         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1652         Use ahi instead of aghi to adjust stack pointer.
1654 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1656         [BZ #19853]
1657         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1658         TEST to take significant digits as second parameter.
1659         [TEST]: Redefine in terms of TEST_N taking 30
1660         significant digits.
1661         (do_test): Add test case to demonstrate precision
1662         failure in the ldbl-128ibm printf.
1663         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1664         (__mpn_extract_long_double): Carry 7 extra intermediate
1665         bits of precision to aide computing difference when
1666         signs differ.
1668 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1670         [BZ #19881]
1671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1672         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1673         memset-avx512-unaligned-erms.
1674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1675         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1676         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1677         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1678         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1679         __memset_sse2_unaligned_erms, __memset_erms,
1680         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1681         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1682         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1683         file.
1684         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1685         Likewise.
1686         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1687         Likewise.
1688         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1689         Likewise.
1691 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1693         [BZ #19776]
1694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1695         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1696         memmove-avx512-unaligned-erms.
1697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1698         (__libc_ifunc_impl_list): Test
1699         __memmove_chk_avx512_unaligned_2,
1700         __memmove_chk_avx512_unaligned_erms,
1701         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1702         __memmove_chk_sse2_unaligned_2,
1703         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1704         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1705         __memmove_avx512_unaligned_erms, __memmove_erms,
1706         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1707         __memcpy_chk_avx512_unaligned_2,
1708         __memcpy_chk_avx512_unaligned_erms,
1709         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1710         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1711         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1712         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1713         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1714         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1715         __mempcpy_chk_avx512_unaligned_erms,
1716         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1717         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1718         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1719         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1720         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1721         __mempcpy_erms.
1722         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1723         file.
1724         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1725         Likwise.
1726         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1727         Likwise.
1728         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1729         Likwise.
1731 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1733         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1734         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1735         (La_s390_64_regs): Likewise.
1736         (La_s390_32_retval): Append vector register lrv_v24.
1737         (La_s390_64_retval): Likeweise.
1738         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1739         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1740         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1741         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1743 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1745         [BZ #19916]
1746         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1747         to create a non-vector/vector version for _dl_runtime_resolve and
1748         _dl_runtime_profile. Move implementation to ...
1749         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1750         (_dl_runtime_resolve) Save and restore fpr/vrs.
1751         (_dl_runtime_profile) Save and restore vrs and fix some issues
1752         if _dl_call_pltexit is called.
1753         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1754         Choose the correct resolver function if running on a machine with vx.
1755         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1756         to create a non-vector/vector version for _dl_runtime_resolve and
1757         _dl_runtime_profile. Move implementation to ...
1758         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1759         (_dl_runtime_resolve) Save and restore fpr/vrs.
1760         (_dl_runtime_profile) Save and restore vrs and fix some issues
1761         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1762         Choose the correct resolver function if running on a machine with vx.
1764 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1766         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1768 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1770         [BZ #19509]
1771         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1772         skip_map != NULL.
1773         * elf/tst-dlsym-error.c: New file.
1774         * elf/Makefile (tests): Add tst-dlsym-error.
1775         (tst-dlsym-error): Link against libdl.
1777 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1779         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1780         (__ASSUME_FUTIMESAT): Remove macro.
1781         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1783 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1785         [BZ #19879]
1786         CVE-2016-3075
1787         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1788         copy name.
1790 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1792         [BZ #19837]
1793         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1794         error if parse_line fails.
1796 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1798         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1799         (index_cpu_ERMS): Likewise.
1800         (reg_ERMS): Likewise.
1802 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1804         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1805         PER_LINUX_FDPIC): Add.
1807 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1809         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1810         memcpy-avx512-no-vzeroupper.
1811         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1812         to ...
1813         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1814         (MEMCPY): Don't define.
1815         (MEMCPY_CHK): Likewise.
1816         (MEMPCPY): Likewise.
1817         (MEMPCPY_CHK): Likewise.
1818         (MEMPCPY_CHK): Renamed to ...
1819         (__mempcpy_chk_avx512_no_vzeroupper): This.
1820         (MEMPCPY_CHK): Renamed to ...
1821         (__mempcpy_chk_avx512_no_vzeroupper): This.
1822         (MEMCPY_CHK): Renamed to ...
1823         (__memmove_chk_avx512_no_vzeroupper): This.
1824         (MEMCPY): Renamed to ...
1825         (__memmove_avx512_no_vzeroupper): This.
1826         (__memcpy_avx512_no_vzeroupper): New alias.
1827         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1829 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1831         [BZ #18858]
1832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1833         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1834         and mempcpy-avx512-no-vzeroupper.
1835         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
1836         New.
1837         (MEMPCPY): Likewise.
1838         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
1839         (MEMPCPY_CHK): New.
1840         (MEMPCPY): Likewise.
1841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
1842         (MEMPCPY): Likewise.
1843         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
1844         (MEMPCPY): Likewise.
1845         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
1846         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
1847         Likewise.
1848         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
1849         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
1851 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1852              Amit Pawar  <Amit.Pawar@amd.com>
1854         [BZ #19583]
1855         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1856         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
1857         processors.  Set Fast_Copy_Backward for AMD Excavator
1858         processors.
1859         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
1860         New.
1861         (index_arch_Fast_Unaligned_Copy): Likewise.
1862         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
1863         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
1865 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1867         [BZ #19791]
1868         * resolv/res_send.c (close_and_return_error): New function.
1869         (send_dg): Initialize *resplen2 after reopen failure.  Call
1870         close_and_return_error for error returns.  On error paths without
1871         __res_iclose, initialze *resplen2 explicitly.  Update comment for
1872         successful return.
1874 2016-03-25  Florian Weimer  <fweimer@redhat.com>
1876         [BZ# 19860]
1877         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
1878         zero if the compiler does not provide the AVX512F bit.
1880 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
1882         [BZ #19848]
1883         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
1884         from 8 to 4.
1885         (__ieee754_powl): Compare integer exponent against 4 not 8.
1886         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
1887         from 8 to 4.
1888         (__ieee754_powl): Compare integer exponent against 4 not 8.
1889         * math/auto-libm-test-in: Add more tests of pow.
1890         * math/auto-libm-test-out: Regenerated.
1891         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
1892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1894 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1896         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
1897         Make code unconditional.
1898         [!__NR_utimensat]: Remove conditional code.
1899         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
1900         Make code unconditional.
1901         [!__NR_utimensat]: Remove conditional code.
1902         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
1903         Make code unconditional.
1904         [!__NR_utimensat]: Remove conditional code.
1906 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
1908         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
1909         Make code unconditional.
1911 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
1913         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
1914         call-clobbered %eax on retry path.
1915         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
1917 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1919         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
1920         Don't set %rcx twice before "rep movsb".
1922 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
1924         [BZ #19583]
1925         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
1926         inline.  Check family before setting family, model and
1927         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
1928         bits here.
1929         (init_cpu_features): Replace HAS_CPU_FEATURE and
1930         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
1931         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
1932         for Intel processors with usable AVX2.  Call get_common_indeces
1933         for other processors with family == NULL.
1934         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
1935         (CPU_FEATURES_ARCH_P): Likewise.
1936         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
1937         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
1939 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1941         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
1942         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
1943         $(shared-thread-library) instead of hardcoding the path to libpthread.
1945 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
1947         * sysdeps/unix/sysv/linux/kernel-features.h
1948         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
1949         * sysdeps/unix/sysv/linux/getdents.c
1950         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
1951         [!have_no_getdents64_defined]: Likewise.
1952         (__GETDENTS): Remove __have_no_getdents64 conditional.
1954 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
1956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
1957         Remove macro.
1958         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
1959         <kernel-features.h>.
1960         (signalfd) [__NR_signalfd4]: Make code unconditional.
1961         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
1963 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1965         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
1966         style.
1968 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1970         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
1971         (__pthread_enable_asynccancel): Use JUMPTARGET to call
1972         __pthread_unwind.
1973         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1974         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
1975         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1976         (__condvar_cleanup1): Likewise.
1978 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
1980         [BZ #19822]
1981         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
1982         move it to the final $@ location.
1984 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1986         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
1987         access where posix_spawn success and pid argument is null.
1988         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
1989         success case.
1991 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
1993         * sysdeps/mach/hurd/i386/c++-types.data: New file.
1995         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
1997         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
1998         and __fcntl.
1999         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2000         __fcntl only.
2001         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2002         adding attribute_hidden to __open and __fcntl.
2004         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2005         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2006         depend on libc-modules.h,
2007         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2009 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2011         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2012         Remove macro.
2013         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2014         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2015         entry.
2017         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2018         Remove macro.
2019         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2020         include <kernel-features.h>.
2021         [!__ASSUME_FALLOCATE]: Remove conditional code.
2022         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2024 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2026         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2027         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2029         (_ZGVdN4v_cos_avx2): Likewise.
2030         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2031         (_ZGVdN4v_cos): Likewise.
2032         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2033         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2034         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2035         (_ZGVdN4v_exp_avx2): Likewise.
2036         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2037         (_ZGVdN4v_exp): Likewise.
2038         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2039         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2040         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2041         (_ZGVdN4v_log_avx2): Likewise.
2042         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2043         (_ZGVdN4v_log): Likewise.
2044         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2045         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2046         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2047         (_ZGVdN4vv_pow_avx2): Likewise.
2048         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2049         (_ZGVdN4vv_pow): Likewise.
2050         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2051         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2052         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2053         (_ZGVdN4v_sin_avx2): Likewise.
2054         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2055         (_ZGVdN4v_sin): Likewise.
2056         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2057         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2059         (_ZGVdN4vvv_sincos_avx2): Likewise.
2060         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2061         (_ZGVdN4vvv_sincos): Likewise.
2062         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2063         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2064         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2065         (_ZGVbN4v_cosf_sse4): Likewise.
2066         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2067         (_ZGVdN8v_cosf_avx2): Likewise.
2068         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2069         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2070         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2071         (_ZGVbN4v_expf_sse4): Likewise.
2072         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2073         (_ZGVdN8v_expf_avx2): Likewise.
2074         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2075         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2077         (_ZGVbN4v_logf_sse4): Likewise.
2078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2079         (_ZGVdN8v_logf_avx2): Likewise.
2080         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2081         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2082         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2083         (_ZGVbN4vv_powf_sse4): Likewise.
2084         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2085         (_ZGVdN8vv_powf_avx2): Likewise.
2086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2087         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2089         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2091         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2093         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2095         (_ZGVbN4v_sinf_sse4): Likewise.
2096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2097         (_ZGVdN8v_sinf_avx2): Likewise.
2098         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2099         Use JUMPTARGET to call callee.
2100         (WRAPPER_IMPL_SSE2_ff): Likewise.
2101         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2102         (WRAPPER_IMPL_AVX): Likewise.
2103         (WRAPPER_IMPL_AVX_ff): Likewise.
2104         (WRAPPER_IMPL_AVX_fFF): Likewise.
2105         (WRAPPER_IMPL_AVX512): Likewise.
2106         (WRAPPER_IMPL_AVX512_ff): Likewise.
2107         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2108         Likewise.
2109         (WRAPPER_IMPL_SSE2_ff): Likewise.
2110         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2111         (WRAPPER_IMPL_AVX): Likewise.
2112         (WRAPPER_IMPL_AVX_ff): Likewise.
2113         (WRAPPER_IMPL_AVX_fFF): Likewise.
2114         (WRAPPER_IMPL_AVX512): Likewise.
2115         (WRAPPER_IMPL_AVX512_ff): Likewise.
2116         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2118 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2120         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2121         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2122         qualifier.
2123         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2124         internal_function qualifiers.
2126 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2128         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2129         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2130         * math/atest-exp.c (exp_mpn): Mark chk unused.
2131         * math/atest-exp2.c (exp_mpn): Likwise.
2132         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2133         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2135 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2137         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2138         Remove macro.
2139         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2140         <kernel-features.h>.
2141         [__NR_ppoll]: Make code unconditional.
2142         [!__ASSUME_PPOLL]: Remove conditional code.
2144         * sysdeps/unix/sysv/linux/kernel-features.h
2145         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2146         (__ASSUME_ACCEPT4): Likewise.
2147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2148         Define.
2149         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2150         Likewise.
2151         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2152         Likewise.
2153         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2154         Likewise.
2155         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2156         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2157         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2158         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2159         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2162         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2163         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2164         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2165         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2166         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2167         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2169         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2170         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2171         Likewise.
2172         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2173         Likewise.
2174         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2175         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2176         0x040300].
2177         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2178         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2179         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2180         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2181         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2182         0x030300].
2183         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2184         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2185         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2186         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2187         0x040300].
2188         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2189         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2190         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2191         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2192         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2193         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2194         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2195         0x030300].
2196         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2197         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2198         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2199         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2200         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2201         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2202         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2203         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2204         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2205         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2206         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2207         0x040300].
2208         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2209         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2210         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2211         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2212         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2213         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2214         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2215         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2217         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2218         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2219         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2220         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2221         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2222         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2223         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2225         Likewise.
2226         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2227         Likewise.
2229 2016-03-15  Andreas Schwab  <schwab@suse.de>
2231         [BZ #19257]
2232         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2233         statp->_u._ext.nscount as loop count.
2235 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2237         * math/test-signgam-finite-c99.c: Also #undef
2238         __LIBC_INTERNAL_MATH_INLINES.
2239         * math/test-signgam-main.c: Likewise.
2241 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2243         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2244         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2245         (MADV_FREE): Likewise.
2246         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2247         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2248         EPOLLEXCLUSIVE.
2250 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2252         * timezone/README: Remove mention of checktab.awk. Mention wiki
2253         SharedSourceFiles.
2255 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2257         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2258         WUNTRACED.
2260 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2262         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2263         order to match the type of p when calling atomic_exchange_acq().
2265 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2267         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2268         cfi_offset calls.
2269         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2270         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2271         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2272         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2273         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2275 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2277         * timezone/checktab.awk: Removed.
2279 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2281         * manual/math.texi (Errors in Math Functions): Document relaxed
2282         accuracy goals for IBM long double.
2283         * math/libm-test.inc (test_exceptions): Always allow spurious
2284         "underflow" and "inexact" exceptions for IBM long double.
2286 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2288         [BZ #19762]
2289         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2290         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2291         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2292         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2293         (bit_arch_*): This for feature array.
2294         (bit_*): Renamed to ...
2295         (bit_cpu_*): This for cpu array.
2296         (index_*): Renamed to ...
2297         (index_arch_*): This for feature array.
2298         (index_*): Renamed to ...
2299         (index_cpu_*): This for cpu array.
2300         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2301         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2302         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2303         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2304         bit_##name with index_cpu_##name and bit_cpu_##name.
2305         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2306         bit_##name with index_arch_##name and bit_arch_##name.
2308 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2310         [BZ #19792]
2311         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2312         Terminate FDE before return label.
2314 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2316         [BZ #19790]
2317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2318         (rintl): Define as macro.
2319         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2320         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2321         of fesetround.  Ensure results are evaluated before end of scope.
2322         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2323         USE_AS_NEARBYINTL and include s_rintl.c.
2324         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2325         Disable exception traps in new environment.
2326         (libc_feholdsetround_ppc_ctx): Likewise.
2328 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2330         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2331         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2332         (tst_audit10_aux) [__AVX512F__]: ... here.
2334 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2336         * include/sys/auxv.h: New file.
2338 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2340         [BZ #19759]
2341         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2343 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2345         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2346         operand modifier.
2347         (feclearexcept): Likewise.
2349 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2351         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2352         to reflect the entire 32-bit HWCAP.
2353         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2354         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2356 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2358         [BZ #19783]
2359         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2360         $(test-via-rtld-prefix).
2361         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2363 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2365         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2366         union wait.  Report any non-zero exit status as error.
2368 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2370         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2371         configured with --enable-hardcoded-path-in-tests.
2373 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2375         [BZ #19677]
2376         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2377         (__ieee754_remainderl): Put zero low parts in canonical form.
2378         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2379         file.  Based on
2380         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2381         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2382         with wrapper round test-fmodrem-ldbl-128ibm.c.
2383         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2384         file.
2385         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2386         Likewise.
2387         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2388         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2390 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2392         [BZ #19610]
2393         * elf/ldconfig.c (opt_link): Update comment.
2394         (options): Update help string for option -X.
2395         (search_dir): Unlink stale symbolic link only if updating symbolic
2396         links.
2397         * elf/tst-ldconfig-X.sh: New file.
2398         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2399         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2401 2016-03-07  Andreas Schwab  <schwab@suse.de>
2403         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2404         needed arguments.
2406 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2408         [BZ #15333]
2409         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2410         to lstat64.
2412 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2414         * libio/filedoalloc.c (isatty): Remove.
2415         (local_isatty): Add comment.  Call __isatty directly.
2416         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2417         * libio/wfiledoalloc.c (isatty): Remove.
2418         (_IO_wfile_doallocate): Update comment.
2420 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2422         [BZ #19269]
2423         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2424         tst-audit4-aux.o.
2425         (tst-audit10): Depend on tst-audit10-aux.o.
2426         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2427         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2428         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2429         instead of inline AVX code.
2430         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2431         instead of inline AVX512 code.
2432         * sysdeps/x86_64/tst-audit4-aux.c: New file
2433         * sysdeps/x86_64/tst-audit10-aux.c: New file
2435         [BZ #19648]
2436         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2438 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2440         [BZ #14750]
2441         [BZ #10354]
2442         [BZ #18433]
2443         * include/sched.h (__clone): Add hidden prototype.
2444         (__clone2): Likewise.
2445         * include/unistd.h (__dup): Likewise.
2446         * posix/Makefile (tests): Add tst-spawn2.
2447         * posix/tst-spawn2.c: New file.
2448         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2449         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2450         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2451         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2452         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2453         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2454         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2455         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2456         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2457         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2458         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2460         Likewise.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2462         Likewise.
2463         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2464         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2465         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2466         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2467         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2468         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2469         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2470         * sysdeps/unix/sysv/linux/nptl-signals.h
2471         (____nptl_is_internal_signal): New function.
2472         * sysdeps/unix/sysv/linux/spawni.c: New file.
2474         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2475         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2476         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2477         * posix/tst-execvp2.c (do_test): Likewise.
2478         * posix/tst-execvp3.c (do_test): Likewise.
2479         * posix/tst-execvp4.c (do_test): Likewise.
2480         * posix/tst-execvpe1.c: New file.
2481         * posix/tst-execvpe2.c: Likewise.
2482         * posix/tst-execvpe3.c: Likewise.
2483         * posix/tst-execvpe4.c: Likewise.
2484         * posix/tst-execvpe5.c: Likewise.
2485         * posix/tst-execvpe6.c: Likewise.
2487         [BZ #19534]
2488         * posix/execl.c (execl): Remove dynamic memory allocation.
2489         * posix/execle.c (execle): Likewise.
2490         * posix/execlp.c (execlp): Likewise.
2492 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2494         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2495         Replace .text with .text.avx512.
2496         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2497         Likewise.
2499 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2501         * sysdeps/generic/libnsl.abilist: New file.
2502         * sysdeps/generic/libutil.abilist: New file.
2504 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2506         [BZ #19762]
2507         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2508         HAS_ARCH_FEATURE with Fast_Rep_String.
2509         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2510         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2511         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2512         Likewise.
2513         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2514         Likewise.
2515         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2516         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2517         Likewise.
2518         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2519         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2520         Likewise.
2522 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2524         [BZ #19745]
2525         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2526         with *%rax in call.
2528 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2530         [BZ #19745]
2531         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2532         with *__libc_start_main@GOTPCREL(%rip) in call.
2534 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2536         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2537         inside conditional for nonempty $(CXX).
2539         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2540         nonempty.
2542         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2543         to test for empty $(CXX) rather than $(CXX) of "no".
2545 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2547         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2549 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2550             H.J. Lu  <hongjiu.lu@intel.com>
2552         [BZ #18880]
2553         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2554         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2555         enable __memcpy_ssse3_back.
2557 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2559         [BZ #19758]
2560         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2561         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2563 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2565         [BZ #19490]
2566         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2567         (__fentry__): Likewise.
2569 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2571         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2572         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2574 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2576         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2577         __mcount_internal directly.
2578         (C_LABEL(__fentry__)): Likewise.
2579         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2580         directly.
2582 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2584         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2585         (__start_context): Call __setcontext directly.
2587 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2589         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2590         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2591         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2592         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2593         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2594         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2595         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2596         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2597         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2598         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2599         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2600         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2601         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2602         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2603         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2604         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2605         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2606         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2607         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2608         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2609         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2610         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2611         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2612         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2613         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2614         Remove conditional code.
2615         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2616         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2617         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2618         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2619         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2620         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2621         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2622         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2623         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2624         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2625         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2626         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2628 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2630         * NEWS (2.23): Fix typo in bug 19048 text.
2632 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2634         [BZ #14259]
2635         * Makeconfig: Rename msgcatdir to localedir.
2636         Rename inst_msgcatdir to inst_localedir.
2637         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2638         * config.make.in: Add localedir.
2639         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2640         (ldd-rewrite): Likewise.
2641         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2642         (install-others): Use inst_localedir.
2643         (CPPFLAGS): Use localedir.
2644         * locale/Makefile (locale-CPPFLAGS): Likewise.
2645         * po/Makefile (mo-installed): Use inst_localedir.
2647         [BZ #19575]
2648         * localedata/charmaps/GB18030: Update comments regarding PAU to
2649         non-PUA mappings.
2651 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2653         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2654         test for header.
2655         * sysdeps/unix/sysv/linux/configure: Regenerated.
2656         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2657         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2658         Remove conditional code.
2659         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2661         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2662         Define to 3.2.0.
2663         (arch_minimum_kernel): Likewise.
2664         * sysdeps/unix/sysv/linux/configure: Regenerated.
2665         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2666         Define to 2.6.32.
2667         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2668         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2669         (arch_minimum_kernel): Define to 2.6.32.
2670         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2671         * README: Document Linux 3.2 requirement.
2672         * manual/install.texi (Linux): Document Linux 3.2 headers
2673         requirement.
2674         * INSTALL: Regenerated.
2676 2016-02-24  Andreas Schwab  <schwab@suse.de>
2678         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2679         if !NO_LONG_DOUBLE.
2681 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2683         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2684         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2686 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2688         [BZ #19512]
2689         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2691 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2693         * posix/tst-dir.c: Include libc-internal.h.
2695 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2697         [BZ #19056]
2698         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2699         * manual/filesys.texi (Reading/Closing Directory): Mention
2700         deprecaion.
2701         * posix/tst-dir.c (main): Disable deprecation warning in test.
2703 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2705         [BZ #19679]
2706         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2707         Renamed to ...
2708         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2709         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2710         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2711         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2712         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2713         * sysdeps/x86_64/dl-trampoline.h
2714         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2715         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2717 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2719         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2721 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2723         * elf/elf.h (R_386_GOT32X): New.
2724         (R_386_NUM): Update.
2725         (R_X86_64_GOTPCRELX: New.
2726         (R_X86_64_REX_GOTPCRELX): New.
2727         (R_X86_64_NUM): Update.
2729 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2731         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2733 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2735         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2736         assign attr->stackaddr to it, and adjust it down when
2737         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2738         [_STACK_GROWS_UP]: Delete assert.
2739         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2740         Implement stack grows up logic.
2741         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2742         stack grows up logic.
2744 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2746         * NEWS: Update with 2.24 template.
2748 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2750         [BZ #19678]
2751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2752         Ensure +0.0 is returned when taking the next value below the least
2753         positive value.
2755 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2757         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2758         available.  Do not define NO_THREADS.
2759         * malloc/malloc.c: Do not check NO_THREADS.
2760         * malloc/arena.c: Likewise.
2762 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2764         * malloc/malloc.c (__libc_mallinfo): Update comment.
2765         (struct malloc_par): Remove max_total_mem member, it was always 0.
2766         (int_mallinfo): Store 0 into usmblks (no functional change).
2767         * malloc/hooks.c (struct malloc_state): Document that
2768         max_total_mem is always 0.
2769         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2770         always 0.
2771         * manual/memory.texi (Statistics of Malloc): Likewise.
2773 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2775         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2776         * malloc/arena.c (arena_max): Remove.
2777         (heap_trim, _int_new_arena): Do not update arena_max.
2779 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2781         * resolv/res_init.c (res_ninit): Update comment.
2783 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2785         [BZ #19505]
2786         * posix/spawn_int.h: Add headers and include guard.
2787         (__spawn_valid_fd): New function.
2788         * posix/spawn_faction_addopen.c
2789         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2790         * posix/spawn_faction_addclose.c
2791         (posix_spawn_file_actions_addclose): Likewise.
2792         * posix/spawn_faction_adddup2.c
2793         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2794         second file descriptor.
2795         * posix/spawn_valid_fd.c: New file.
2796         * posix/tst-posix_spawn-fd.c: New file.
2797         * posix/Makefile (routines): Add spawn_valid_fd.
2798         (tests): Add tst-posix_spawn-fd.
2800 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2802         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2803         (do_test): Limit the number of arenas, so that we can use fewer
2804         outer threads.  Limit timeout to 3 seconds, in preparation for a
2805         larger TIMEOUT value.
2807 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2809         [BZ #19674]
2810         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2811         sign in overflowing and underflowing results when overflow or
2812         underflow is detected early.  Include sign in result before rather
2813         than after scaling.
2815         [BZ #19603]
2816         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2817         (__ieee754_remainderl): Adjust sign of integer version of low part
2818         when taking absolute value of high part.
2819         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2820         * math/libm-test.inc (remainder_test_data): Add another test.
2821         (remquo_test_data): Likewise.
2823 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2825         [BZ #19602]
2826         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2827         equal high parts and both low parts zero specially.
2828         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2829         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2830         Add test-fmodl-ldbl-128ibm.
2832         [BZ #19595]
2833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2834         common logic for all cases of shifting subnormal results.  Do not
2835         insert sign bit in shifted mantissa.  Always pass -1023 as biased
2836         exponent to ldbl_insert_mantissa in subnormal case.
2838         [BZ #19594]
2839         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
2840         on high and low parts then adjust result and use
2841         ldbl_canonicalize_int if needed.
2843         [BZ #19593]
2844         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
2845         on high part and __floor or __ceil on low part then use
2846         ldbl_canonicalize_int if needed.
2848         [BZ #19592]
2849         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
2850         high and low parts then use ldbl_canonicalize_int if needed.
2852         [BZ #17899]
2853         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2854         New function.
2855         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
2856         on high and low parts then use ldbl_canonicalize_int if needed.
2858 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2860         * configure: Regenerated.
2862         * po/libc.pot: Regenerated.
2864         * po/be.po: Updated translation.
2865         * po/bg.po: Likewise.
2866         * po/ca.po: Likewise.
2867         * po/cs.po: Likewise.
2868         * po/da.po: Likewise.
2869         * po/el.po: Likewise.
2870         * po/eo.po: Likewise.
2871         * po/es.po: Likewise.
2872         * po/fi.po: Likewise.
2873         * po/fr.po: Likewise.
2874         * po/gl.po: Likewise.
2875         * po/hr.po: Likewise.
2876         * po/hu.po: Likewise.
2877         * po/ia.po: Likewise.
2878         * po/id.po: Likewise.
2879         * po/it.po: Likewise.
2880         * po/ja.po: Likewise.
2881         * po/lt.po: Likewise.
2882         * po/nb.po: Likewise.
2883         * po/nl.po: Likewise.
2884         * po/pt_BR.po: Likewise.
2885         * po/rw.po: Likewise.
2886         * po/sk.po: Likewise.
2887         * po/sl.po: Likewise.
2888         * po/sv.po: Likewise.
2889         * po/tr.po: Likewise.
2890         * po/zh_CN.po: Likewise.
2891         * po/zh_TW.po: Likewise.
2893         * version.h (RELEAES): Set to "development".
2894         (VERSION): Set to 2.23.90.
2896         * version.h (RELEASE): Set to "stable".
2897         (VERSION): Set to 2.23.
2898         * include/feature.h (__GLIBC_MINOR__): Set to 23.
2900         * NEWS: Updated fixed bugs.
2902 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2903             Wilco Dijkstra  <wdijkstr@arm.com>
2905         [BZ #19462]
2906         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
2907         (_STRING_INLINE_unaligned): This.
2908         * include/string.h: Include <string_private.h>.
2909         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
2910         _STRING_INLINE_unaligned.
2911         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
2912         (_STRING_INLINE_unaligned): New.
2913         * sysdeps/aarch64/string_private.h: New file.
2914         * sysdeps/generic/string_private.h: Likewise.
2915         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
2916         * sysdeps/s390/string_private.h: Likewise.
2917         * sysdeps/x86/string_private.h: Likewise.
2918         * sysdeps/m68k/m680x0/m68020/bits/string.h
2919         (_STRING_ARCH_unaligned): Renamed to ...
2920         (_STRING_INLINE_unaligned): This.
2921         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
2922         to ...
2923         (_STRING_INLINE_unaligned): This.
2924         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
2925         to ...
2926         (_STRING_INLINE_unaligned): This.
2927         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
2928         to ...
2929         (_STRING_INLINE_unaligned): This.
2931 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
2932             H.J. Lu  <hongjiu.lu@intel.com>
2934         [BZ #19590]
2935         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
2936         relocation.
2938 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
2940         [BZ #18665]
2941         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
2942         *herrno_p.
2943         (gaih_getanswer): Document functional behviour. Return tryagain
2944         if any result is tryagain.
2945         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
2946         when freed.
2947         * resolv/res_send.c: Add copyright text.
2948         (__libc_res_nsend): Document that MAXPACKET is expected.
2949         (send_vc): Document. Remove buffer reuse.
2950         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
2951         size of the buffer. Add Dprint for truncated UDP buffer.
2953 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
2955         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
2956         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
2957         * INSTALL: Regenerate.
2959 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
2960             Jonathan Wakely  <jwakely@redhat.com>
2961             Carlos O'Donell  <carlos@redhat.com>
2963         [BZ 19439]
2964         * math/Makefile (tests): Add test-math-isinff.
2965         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
2966         * math/bits/mathcalls.h [__USE_MISC]: Use
2967         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
2968         functions not in C++11 and which don't conflict e.g. isinff,
2969         isinfl etc.
2970         * math/test-math-isinff.cc: New file.
2972 2016-02-12  Florian Weimer  <fweimer@redhat.com>
2974         * misc/bug18240.c (do_test): Set RLIMIT_AS.
2976 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2978         [BZ #19529]
2979         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
2981 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2983         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2985 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
2987         [BZ #19550]
2988         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
2989         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
2990         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
2991         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
2992         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
2993         New syscall entry.
2994         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
2995         New syscall entry.
2996         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
2997         syscall entry.
2999 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3001         [BZ #18240]
3002         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3003         unsigned int wraparound.
3005 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3007         [BZ #18240]
3008         * misc/bug18240.c: New test.
3009         * misc/Makefile (tests): Add it.
3011 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3012             Joseph Myers  <joseph@codesourcery.com>
3014         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3015         load in branch delay slot when less than a word of input left.
3017 2016-01-27  Andreas Schwab  <schwab@suse.de>
3019         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3020         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3021         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3022         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3024 2016-01-26  David S. Miller  <davem@davemloft.net>
3026         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3028 2016-01-25  David S. Miller  <davem@davemloft.net>
3030         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3031         __sqrtl_finite.
3032         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3033         instead using versioned_symbol.
3034         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3035         of entries.
3037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3038         __sqrtl_finite to GLIBC_2.23
3040 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3042         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3044 2016-01-25  Andreas Schwab  <schwab@suse.de>
3046         [BZ #17514]
3047         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3048         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3049         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3050         * nptl/tst-mutex-errorcheck.c: New file.
3052 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3054         [BZ #18560]
3055         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3056         (IPCOP_semop): Likewise.
3057         (IPCOP_semget): Likewise.
3058         (IPCOP_semctl): Likewise.
3059         (IPCOP_msgsnd): Likewise.
3060         (IPCOP_msgrcv): Likewise.
3061         (IPCOP_msgget): Likewise.
3062         (IPCOP_msgctl): Likewise.
3063         (IPCOP_shmat): Likewise.
3064         (IPCOP_shmdt): Likewise.
3065         (IPCOP_shmget): Likewise.
3066         (IPCOP_shmctl): Likewise.
3068 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3070         * string/tst-endian.c: Include <libc-internal.h>.
3071         (do_test): Ignore tautological-compare warnings around
3072         "htobeXX (beXXtoh (i)) != i" and
3073         "htoleXX (leXXtoh (i)) != i" if-statements.
3075 2016-01-24  David S. Miller  <davem@davemloft.net>
3077         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3078         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3079         alias.
3080         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3081         __sqrtl_finite.
3083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3087         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3088         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3089         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3091 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3093         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3094         (thread_func): Use new function to simplify barrier check.
3095         (do_test): Use new function to simplify checking barrier exit
3096         code, and actually join the child thread.
3098 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3100         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3101         semicolon.
3102         (__libc_tend): Likewise.
3103         (__libc_tabort): Likewise.
3105 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3107         * sysdeps/nios2/libm-test-ulps: Update.
3108         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3109         (__gtsf2): Likewise.
3110         (__unorddf2): Likewise.
3111         (__unordsf2): Likewise.
3112         (__ledf2): Likewise.
3114 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3116         * nis/nis_table.c (__follow_path): Disable diagnostic for
3117         uninitialized variable that is a false positive for gcc 4.7.
3118         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3120 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3122         * sysdeps/nacl/lowlevellock-futex.h
3123         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3124         Always evaluate PRIVATE argument.
3126 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3128         [BZ #19490]
3129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3130         (pthread_cond_broadcast): Use ENTRY/END
3131         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3132         (pthread_cond_signal): Likewise.
3133         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3134         Likewise.
3135         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3136         Likewise.
3137         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3138         Likewise.
3140 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3142         * sysdeps/ieee754/dbl-64/s_finite.c
3143         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3144         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3145         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3146         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3147         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3150         (__gtsf2): Add as optional for libc.so.
3151         (__unordsf2): Likewise.
3152         (__signbit): Remove for libc.so.
3153         (__signbitl): Likewise.
3155 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3157         * iconvdata/bug-iconv11.c (test_ibm93x):
3158         Use %zu printf format specifier for size_t argument.
3160 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3162         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3163         already-recorded ulps.
3164         * sysdeps/arm/libm-test-ulps: Regenerated.
3165         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3166         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3167         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3169 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3170             Paul Pluzhnikov  <ppluzhnikov@google.com>
3172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3173         assembler not supporting AVX-512.
3175 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3177         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3179 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3181         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3182         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3184         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3186         * sysdeps/arm/libm-test-ulps: Regenerated.
3188 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3190         [BZ #19451]
3191         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3193 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3195         [BZ #19486]
3196         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3197         * sysdeps/generic/fix-fp-int-convert-overflow.h
3198         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3199         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3200         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3201         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3202         Likewise.
3203         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3204         Avoid conversions to long int where inexact exceptions
3205         could be raised.
3206         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3207         Likewise.
3208         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3209         Avoid conversions to long long int where inexact exceptions
3210         could be raised.
3211         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3212         Likewise.
3214 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3216         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3217         * configure: Regenerated.
3219 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3221         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3223 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3225         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3226         outside of comment.
3228 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3230         * nptl/tst-barrier1.c: Add description on first line.
3231         * nptl/tst-barrier2.c: Likewise.
3232         * nptl/tst-barrier3.c: Likewise.
3233         * nptl/tst-barrier4.c: Likewise.
3234         * nptl/tst-barrier5.c: Likewise.
3236 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3238         [BZ #18868]
3239         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3241 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3243         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3245         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3246         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3247         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3248         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3249         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3250         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3251         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3252         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3253         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3255 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3257         [BZ #13065]
3258         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3259         new implementation.
3260         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3261         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3262         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3263         (BARRIER_IN_THRESHOLD): New macro.
3264         * nptl/pthread_barrierattr_setpshared.c
3265         (pthread_barrierattr_setpshared): Clean up.
3266         * nptl/tst-barrier4.c: Correct comment.
3267         * nptl/tst-barrier5.c: New file.
3268         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3269         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3270         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3271         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3272         * nptl/lowlevelbarrier.sym: Remove.
3273         * nptl/DESIGN-barrier.txt: Remove.
3274         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3275         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3276         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3277         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3278         error.
3279         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3280         implementation.
3282 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3284         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3285         (do_child): Mask SIGRTMIN while thr is running.
3287 2016-01-15  Martin Sebor  <msebor@redhat.com>
3289         [BZ #19432]
3290         * iconvdata/Makefile: Add bug-iconv11.
3291         * iconvdata/bug-iconv11.c: New test.
3292         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3293         * iconvdata/ibm933.c: Same.
3294         * iconvdata/ibm935.c: Same.
3295         * iconvdata/ibm937.c: Same.
3296         * iconvdata/ibm939.c: Same.
3298 2016-01-15  Martin Sebor  <msebor@redhat.com>
3300         [BZ #19443]
3301         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3302         [DEBUG] (_ufc_set_bits): Declare used.
3303         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3304         [DEBUG] (print_all): Declare used.
3305         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3306         operands of the ternary ?: expression to target type.
3307         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3308         calling the undeclared abort.
3309         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3311 2016-01-15  Martin Sebor  <msebor@redhat.com>
3313         [BZ #18755]
3314         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3315         warnings.
3316         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3317         (__gai_create_helper_thread): Same.
3318         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3319         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3320         to suppress -Wmaybe-uninitialized warnings.
3322 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3324         [BZ #19465]
3325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3326         inside if.
3327         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3328         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3329         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3331 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3333         [BZ #19466]
3334         * time/tst-mktime2.c (time_t_max): Removed.
3335         (time_t_min): Likewise.
3336         (TYPE_SIGNED): New.
3337         (TYPE_MINIMUM): Likewise.
3338         (TYPE_MAXIMUM): Likewise.
3339         (TIME_T_MIN): Likewise.
3340         (TIME_T_MAX): Likewise.
3341         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3342         and TIME_T_MIN.
3343         (do_test): Likewise.
3345 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3347         [BZ #19467]
3348         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3349         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3351 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3353         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3355 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3357         * benchtests/Makefile (PYTHON): Define.
3358         (bench-func): Use $(PYTHON) to run python scripts.
3359         ($(objpfx)bench-%.c): Likewise.
3361 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3363         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3364         leading slash when `file_name' is "/".
3366 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3368         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3369         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3370         Likewise.
3371         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3372         Likewise.
3373         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3374         Likewise.
3375         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3376         enum constant and macro.
3377         (PTRACE_SETSIGMASK): Likewise.
3378         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3379         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3380         (PTRACE_GETSIGMASK): Likewise.
3381         (PTRACE_SETSIGMASK): Likewise.
3382         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3383         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3384         Likewise.
3385         (PTRACE_SETSIGMASK): Likewise.
3386         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3387         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3388         (PTRACE_GETSIGMASK): Likewise.
3389         (PTRACE_SETSIGMASK): Likewise.
3390         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3391         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3392         Likewise.
3393         (PTRACE_SETSIGMASK): Likewise.
3394         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3396         Likewise.
3397         (PTRACE_SETSIGMASK): Likewise.
3398         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3399         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3400         Likewise.
3401         (PTRACE_SETSIGMASK): Likewise.
3402         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3404 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3405             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3407         [BZ #19439]
3408         * math/bits/mathcalls.h
3409         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3410         prototype.
3411         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3413 2016-01-11  Andreas Schwab  <schwab@suse.de>
3415         [BZ #19253]
3416         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3417         cache when TZDEFRULES was used.
3418         * time/tst-tzname.c: New file.
3419         * time/Makefile (test): Add tst-tzname.
3420         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3421         * timezone/Makefile (test-zones): Add $(posixrules-file).
3422         ($(testdata)/$(posixrules-file)): New rule.
3424 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3426         Fix doc quoting problems with Texinfo 5
3427         Without this change, in the info file output, Texinfo 5 quotes code
3428         in text with undirected single quotes 'like this' and generates
3429         code examples that with many PDF readers cannot be cut out of PDFs
3430         and pasted into code.
3431         * manual/libc.texinfo: Configure the libc manual like the GNU
3432         Emacs manual, by using @documentencoding and setting
3433         txicodequoteundirected and txicodequotebacktick.  This way,
3434         Texinfo 5 quotes code in text with directed single quotes ‘like
3435         this’ and produces examples that can be cut out of PDFs.  This
3436         change causes Texinfo 5 to generate info files that contain UTF-8
3437         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3438         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3440 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3442         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3443         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3444         barriers to their respective compiler built-ins.
3445         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3446         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3447         * sysdeps/powerpc/sysdep.h: Likewise.
3448         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3449         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3450         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3452 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3454         * scripts/config.guess: Revert previous shebang change.
3455         * scripts/config.sub: Likewise.
3456         * scripts/mkinstalldirs: Likewise.
3458 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3460         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3461         PPC_FEATURE2_HAS_IEEE128.
3462         * sysdeps/powerpc/dl-procinfo.c:
3463         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3465 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3467         [BZ #19415]
3468         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3469         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3470         (_dl_lookup_address): Rewrite using function resolver trampoline.
3471         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3472         two bits in address.
3474 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3476         * longlong.h: Change !__SHMEDIA__ to
3477         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3478         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3480 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3481             Joseph Myers  <joseph@codesourcery.com>
3482             Mark Shinwell  <shinwell@codesourcery.com>
3483             Andrew Stubbs  <ams@codesourcery.com>
3484             Rich Felker <dalias@libc.org>
3486         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3488 2016-01-07  Richard Henderson  <rth@redhat.com>
3490         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3492 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3494         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3495         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3496         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3497         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3498         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3500 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3501             Joseph Myers  <joseph@codesourcery.com>
3503         * timezone/private.h: Update from tzcode 2015g.
3504         * timezone/tzfile.h: Likewise.
3505         * timezone/tzselect.ksh: Likewise.
3506         * timezone/zdump.c: Likewise.
3507         * timezone/zic.c: Likewise.
3508         * timezone/ialloc.c: Remove file.
3509         * timezone/scheck.c: Likewise.
3510         * timezone/Makefile (extra-objs): Remove variable.
3511         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3512         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3513         -Wno-maybe-uninitialized.
3514         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3515         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3516         (CFLAGS-ialloc.c): Remove variable.
3517         (CFLAGS-scheck.c): Likewise.
3518         * timezone/README: Update list of files from tzcode.
3520 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3522         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3523         instead of __fxprintf when _LIBC is undefined.
3525 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3527         * catgets/test-gencat.sh: Remove space after shebang.
3528         * conform/GlibcConform.pm: Likewise.
3529         * conform/check-header-lists.sh: Likewise.
3530         * conform/conformtest.pl: Likewise.
3531         * conform/linknamespace.pl: Likewise.
3532         * conform/list-header-symbols.pl: Likewise.
3533         * debug/catchsegv.sh: Likewise.
3534         * elf/genrtldtbl.awk: Likewise.
3535         * elf/tst-pathopt.sh: Likewise.
3536         * elf/tst-rtld-load-self.sh: Likewise.
3537         * grp/tst_fgetgrent.sh: Likewise.
3538         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3539         * iconvdata/gen-8bit-gap.sh: Likewise.
3540         * iconvdata/gen-8bit.sh: Likewise.
3541         * iconvdata/run-iconv-test.sh: Likewise.
3542         * intl/tst-gettext.sh: Likewise.
3543         * intl/tst-gettext2.sh: Likewise.
3544         * intl/tst-gettext4.sh: Likewise.
3545         * intl/tst-gettext6.sh: Likewise.
3546         * intl/tst-translit.sh: Likewise.
3547         * io/ftwtest-sh: Likewise.
3548         * libio/test-freopen.sh: Likewise.
3549         * locale/gen-translit.pl: Likewise.
3550         * malloc/tst-mtrace.sh: Likewise.
3551         * manual/check-safety.sh: Likewise.
3552         * manual/libc-texinfo.sh: Likewise.
3553         * manual/tsort.awk: Likewise.
3554         * manual/xtract-typefun.awk: Likewise.
3555         * nptl/tst-cancel-wrappers.sh: Likewise.
3556         * nptl/tst-tls6.sh: Likewise.
3557         * posix/globtest.sh: Likewise.
3558         * posix/tst-getconf.sh: Likewise.
3559         * posix/wordexp-tst.sh: Likewise.
3560         * scripts/check-c++-types.sh: Likewise.
3561         * scripts/check-local-headers.sh: Likewise.
3562         * scripts/config.guess: Likewise.
3563         * scripts/config.sub: Likewise.
3564         * scripts/cpp: Likewise.
3565         * scripts/cross-test-ssh.sh: Likewise.
3566         * scripts/documented.sh: Likewise.
3567         * scripts/evaluate-test.sh: Likewise.
3568         * scripts/gen-libc-abis: Likewise.
3569         * scripts/gen-sorted.awk: Likewise.
3570         * scripts/list-fixed-bugs.py: Likewise.
3571         * scripts/merge-test-results.sh: Likewise.
3572         * scripts/mkinstalldirs: Likewise.
3573         * scripts/rellns-sh: Likewise.
3574         * scripts/test-installation.pl: Likewise.
3575         * scripts/update-copyrights: Likewise.
3576         * stdio-common/tst-printf.sh: Likewise.
3577         * stdio-common/tst-unbputc.sh: Likewise.
3578         * stdlib/tst-fmtmsg.sh: Likewise.
3579         * stdlib/tst-setcontext3.sh: Likewise.
3580         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3581         * sysdeps/unix/make-syscalls.sh: Likewise.
3583 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3585         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3586         asm stw with atomic_exchange_rel.  Add explanatory comment.
3587         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3588         Likewise.
3590 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3592         [BZ #19122]
3593         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3594         * sysdeps/generic/dl-unistd.h: New file.
3595         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3597 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3599          [BZ #19122]
3600          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3601          * sysdeps/generic/dl-mman.h: New file.
3602          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3604 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3606         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3607         trailing whitespace removed.
3608         * scripts/config.guess: Update to version 2016-01-01.
3609         * scripts/config.sub: Update to version 2016-01-01.
3610         * scripts/move-if-change: Update from gnulib.
3612 2016-01-04  Anton Blanchard  <anton@samba.org>
3614         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3615         for array indices.
3616         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3618 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3620         * NEWS: Update copyright dates.
3621         * catgets/gencat.c (print_version): Likewise.
3622         * csu/version.c (banner): Likewise.
3623         * debug/catchsegv.sh: Likewise.
3624         * debug/pcprofiledump.c (print_version): Likewise.
3625         * debug/xtrace.sh (do_version): Likewise.
3626         * elf/ldconfig.c (print_version): Likewise.
3627         * elf/ldd.bash.in: Likewise.
3628         * elf/pldd.c (print_version): Likewise.
3629         * elf/sotruss.sh: Likewise.
3630         * elf/sprof.c (print_version): Likewise.
3631         * iconv/iconv_prog.c (print_version): Likewise.
3632         * iconv/iconvconfig.c (print_version): Likewise.
3633         * locale/programs/locale.c (print_version): Likewise.
3634         * locale/programs/localedef.c (print_version): Likewise.
3635         * login/programs/pt_chown.c (print_version): Likewise.
3636         * malloc/memusage.sh (do_version): Likewise.
3637         * malloc/memusagestat.c (print_version): Likewise.
3638         * malloc/mtrace.pl: Likewise.
3639         * manual/libc.texinfo: Likewise.
3640         * nptl/version.c (banner): Likewise.
3641         * nscd/nscd.c (print_version): Likewise.
3642         * nss/getent.c (print_version): Likewise.
3643         * nss/makedb.c (print_version): Likewise.
3644         * posix/getconf.c (main): Likewise.
3645         * scripts/test-installation.pl: Likewise.
3646         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3648         * All files with FSF copyright notices: Update copyright dates
3649         using scripts/update-copyrights.
3650         * intl/plural.c: Regenerated.
3651         * locale/programs/charmap-kw.h: Likewise.
3652         * locale/programs/locfile-kw.h: Likewise.
3654 2016-01-02  Helge Deller  <deller@gmx.de>
3656         [BZ #19285]
3657         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3658         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3659         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3660         (MADV_xxK_PAGES): Remove.
3662 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3664         [BZ #15421]
3665         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3666         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3667         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3668         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3670 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3672         [BZ #19408]
3673         * sysdeps/unix/sysv/linux/personality.c: New file.
3674         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3675         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3676         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3677         (sysdep_routines): Add personality.
3678         (tests): Add tst-personality.
3679         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3681         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3682         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3683         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3684         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3685         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3686         Likewise.
3687         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3688         Likewise.
3689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3690         Likewise.
3691         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3692         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3693         Likewise.
3695 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3697         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3698         (PATH_ARM_SYSTYPE): Remove.
3699         (PATH_CPUINFO): Likewise.
3700         (IO_BASE_FOOTBRIDGE): Likewise.
3701         (IO_SHIFT_FOOTBRIDGE): Likewise.
3702         (struct platform): Likewise.
3703         (init_iosys): Remove compatibility code for 2.4 kernels.
3704         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3706 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3708         * malloc/tst-malloc-thread-fail.c: New file.
3709         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3710         (tst-malloc-thread-fail): Link against libpthread.
3712 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3714         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3715         (get_parser): New function.
3716         (main): New function.
3718 2015-12-29  Rob Wu  <rob@robwu.nl>
3720         [BZ #19369]
3721         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3723 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3725         [BZ #19270]
3726         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3728 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3730         [BZ #15421]
3731         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3733 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3735         [BZ #13690]
3736         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3737         after releasing it.
3738         (__lll_robust_unlock): Likewise.
3739         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3740         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3741         (lll_robust_unlock): Likewise.
3742         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3743         Prevent warnings in callers.
3745 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3747         * malloc/arena.c (list_lock): Update comment.
3749 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3751         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3752         __parse_hwcap_and_convert_at_platform to libc.a.
3754 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3756         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3757         platform and feature support for POWER9.
3758         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3759         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3760         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3761         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3762         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3763         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3764         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3765         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3767 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3769         Harmonize generic stdio-lock support with nptl
3771         This fixes build when _IO_funlockfile is a macro, fixes build where
3772         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3773         stack unwind.
3775         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3776         _IO_release_lock ): Use cleanup attribute on new
3777         _IO_acquire_lock_file variable instead of assuming that
3778         _IO_release_lock will be called.
3779         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3780         _IO_acquire_lock_needs_exceptions_enabled.
3781         (_IO_acquire_lock_clear_flags2): New macro.
3783 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3785         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3787 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3789         [BZ #19182]
3790         * malloc/arena.c (list_lock): Document lock ordering requirements.
3791         (free_list_lock): New lock.
3792         (ptmalloc_lock_all): Comment on free_list_lock.
3793         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3794         (detach_arena): Update comment.  free_list_lock is now needed.
3795         (_int_new_arena): Use free_list_lock around detach_arena call.
3796         Acquire arena lock after list_lock.  Add comment, including FIXME
3797         about incorrect synchronization.
3798         (get_free_list): Switch to free_list_lock.
3799         (reused_arena): Acquire free_list_lock around detach_arena call
3800         and attached threads counter update.  Add two FIXMEs about
3801         incorrect synchronization.
3802         (arena_thread_freeres): Switch to free_list_lock.
3803         * malloc/malloc.c (struct malloc_state): Update comments to
3804         mention free_list_lock.
3806 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3808         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3809         Remove functions.
3810         (sloww, sloww1): Accept argument to offset quadrant.
3811         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3812         quadrant.
3813         (__sin, __cos): Consolidate common code into new functions.
3814         (reduce_sincos_1, do_sincos_1): New functions.
3815         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3817         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3818         code to new functions.
3819         (reduce_sincos_2, do_sincos_2): New functions.
3820         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3823         common code for sincos.
3824         (__cos) [!IN_SINCOS]: Likewise.
3825         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3826         New function.
3827         (__sincos): Use it.
3829 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3831         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3832         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3833         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3835 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3837         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
3838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
3839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3840         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
3841         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3842         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
3843         index_Prefer_No_VZEROUPPER): New feature.
3844         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
3845         Prefer_No_VZEROUPPER for Knights Landing.
3847 015-12-18  Torvald Riegel  <triegel@redhat.com>
3849         * math/atest-exp2.c (mp_exp_m1): Remove.
3851 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3853         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
3854         syscalls.
3855         (__SYSCALL0): New macro.
3856         (__SYSCALL1): Likewise.
3857         (__SYSCALL2): Likewise.
3858         (__SYSCALL3): Likewise.
3859         (__SYSCALL4): Likewise.
3860         (__SYSCALL5): Likewise.
3861         (__SYSCALL6): Likewise.
3862         (__SYSCALL_CONCAT_X): Likewise.
3863         (__SYSCALL_CONCAT): Likewise.
3864         (__SYSCALL_DIST): Likewise.
3865         (__SYSCALL_CALL): Likewise.
3867 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
3869         [BZ #19363]
3870         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
3872 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3874         [BZ #19375]
3875         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
3876         negative subnormals.
3878 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
3880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3881         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
3882         (INTERNAL_SYSCALL_NCS): Use it.
3883         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3885 2015-12-16  Florian Weimer  <fweimer@redhat.com>
3887         [BZ #19243]
3888         * malloc/arena.c (get_free_list): Remove assert and adjust
3889         reference count handling.  Add comment about reused_arena
3890         interaction.
3891         (reused_arena): Add comments abount get_free_list interaction.
3892         * malloc/tst-malloc-thread-exit.c: New file.
3893         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
3894         (tst-malloc-thread-exit): Link against libpthread.
3896 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3898         [BZ #19367]
3899         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
3900         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
3901         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3902         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
3903         (index_Prefer_MAP_32BIT_EXEC): Likewise.
3905 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
3907         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
3908         Silvermont optimizations for Knights Landing.
3910 2015-12-15  Andreas Schwab  <schwab@suse.de>
3912         [BZ #17197]
3913         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
3914         immediately after emitting SI.
3915         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
3916         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
3917         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
3918         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
3919         * iconvdata/bug-iconv10.c: New file.
3920         * iconvdata/Makefile (tests): Add bug-iconv10.
3921         ($(objpfx)bug-iconv10.out): New rule.
3923 2015-12-15  Florian Weimer  <fweimer@redhat.com>
3925         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
3926         aliasing violation.
3928 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
3930         [BZ #18472]
3931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
3932         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
3933         conditionals for them.
3934         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
3935         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
3936         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
3937         sys/kdaemon.h.
3938         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
3939         compat-only syscall, obsoleted in glibc 2.23.
3940         (create_module): Likewise.
3941         (get_kernel_syms): Likewise.
3942         (query_module): Likewise.
3943         (uselib): Likewise.
3944         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
3946 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
3948         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
3949         <linux/version.h>.
3950         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
3951         conditional code.
3952         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
3953         and ioshift_name initialization.
3955 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3957         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3958         Fix indentation.
3960 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3962         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
3964 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3966         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
3968 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
3969             Jakub Wilk  <jwilk@debian.org>
3971         [BZ #19347]
3972         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
3973         to change the group of the device to the tty group.
3975 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
3977         Split large string section; add truncation advice
3978         * manual/examples/strncat.c: Remove.
3979         This example was misleading, as the code would have undefined
3980         behavior if "hello" was longer than SIZE.  Anyway, the manual
3981         shouldn't encourage strncpy+strncat for this sort of thing.
3982         * manual/string.texi (Copying Strings and Arrays): Split into
3983         three sections Copying Strings and Arrays, Concatenating Strings,
3984         and Truncating Strings, as this section was way too long.  All
3985         cross-referenced changed.  Add advice about string-truncation
3986         functions.  Remove misleading strncat example.
3988 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
3990         * manual/nss.texi (NSS Modules Interface): Document
3991         NSS_STATUS_NOTFOUND and SUCCESS.
3993 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
3995         [BZ 18568]
3996         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3997         201505L, for Unicode 8.
3999 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4001         * locale/C-translit.h: Regenerate.
4003 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4005         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4006         and U+0153.
4008 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4010         [BZ #19351]
4011         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4012         expanding log(1+z), compare z rather than its square with epsilon
4013         to determine when to avoid evaluating the expansion.
4015         [BZ #19350]
4016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4017         Increase overflow threshold.
4019         [BZ #19349]
4020         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4021         when small.
4023         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4024         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4025         New macro.
4026         [__LINUX_KERNEL_VERSION >= 0x040300]
4027         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4028         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4029         Likewise.
4030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4031         Likewise.
4032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4033         Likewise.
4034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4035         Likewise.
4036         [__LINUX_KERNEL_VERSION >= 0x040300]
4037         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4038         [__LINUX_KERNEL_VERSION >= 0x040300]
4039         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4040         [__LINUX_KERNEL_VERSION >= 0x040300]
4041         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4042         [__LINUX_KERNEL_VERSION >= 0x040300]
4043         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4044         [__LINUX_KERNEL_VERSION >= 0x040300]
4045         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4047         Likewise.
4048         [__LINUX_KERNEL_VERSION >= 0x040300]
4049         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4050         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4051         Likewise.
4052         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4053         Likewise.
4054         [__LINUX_KERNEL_VERSION >= 0x040300]
4055         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4057         Likewise.
4058         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4059         Likewise.
4060         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4061         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4062         Likewise.
4063         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4064         Likewise.
4065         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4066         Likewise.
4067         [__LINUX_KERNEL_VERSION >= 0x040300]
4068         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4069         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4070         Likewise.
4071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4072         Likewise.
4073         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4074         Likewise.
4075         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4076         Likewise.
4077         [__LINUX_KERNEL_VERSION >= 0x040300]
4078         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4079         [__LINUX_KERNEL_VERSION >= 0x040300]
4080         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4081         [__LINUX_KERNEL_VERSION >= 0x040300]
4082         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4083         [__LINUX_KERNEL_VERSION >= 0x040300]
4084         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4085         [__LINUX_KERNEL_VERSION >= 0x040300]
4086         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4087         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4088         Likewise.
4089         [__LINUX_KERNEL_VERSION >= 0x040300]
4090         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4091         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4092         Likewise.
4093         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4094         Likewise.
4095         [__LINUX_KERNEL_VERSION >= 0x040300]
4096         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4097         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4098         Likewise.
4099         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4100         Likewise.
4101         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4102         (__ASSUME_SOCKET_SYSCALL): Likewise.
4103         (__ASSUME_BIND_SYSCALL): Likewise.
4104         (__ASSUME_CONNECT_SYSCALL): Likewise.
4105         (__ASSUME_LISTEN_SYSCALL): Likewise.
4106         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4107         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4108         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4109         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4110         (__ASSUME_SEND_SYSCALL): Likewise.
4111         (__ASSUME_SENDTO_SYSCALL): Likewise.
4112         (__ASSUME_RECV_SYSCALL): Likewise.
4113         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4114         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4115         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4116         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4117         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4118         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4119         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4120         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4121         Likewise.
4122         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4123         Likewise.
4124         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4125         Likewise.
4126         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4127         Likewise.
4128         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4129         Likewise.
4130         [__LINUX_KERNEL_VERSION >= 0x020625]
4131         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4132         [__LINUX_KERNEL_VERSION >= 0x020625]
4133         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4134         [__LINUX_KERNEL_VERSION >= 0x020625]
4135         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4136         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4137         Likewise.
4138         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4139         Likewise.
4140         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4141         Likewise.
4142         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4143         Likewise.
4144         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4145         Likewise.
4146         [__LINUX_KERNEL_VERSION >= 0x020625]
4147         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4148         [__LINUX_KERNEL_VERSION >= 0x020625]
4149         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4150         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4151         Likewise.
4152         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4153         Likewise.
4155 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4157         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4158         record the current if the current ABI and CPU support the FP64
4159         extension.
4160         (has-modd-spreg): Define to record the current if the current ABI and
4161         CPU support 32-bit floating point values in odd FPU registers.
4162         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4163         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4164         $(has-modd-spreg) equals yes.
4165         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4166         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4167         $(has-modd-spreg) equal yes.
4169 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4171         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4172         basename.
4174 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4176         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4177         (bench-string): ... here.
4178         (bench): Add bench-string.
4179         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4180         to *-benchset to reflect what they are.
4181         (benchset): Adjust.
4183         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4184         cos-inputs.
4186 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4188         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4189         __attribute__ ((__simd__)) for vector math function declarations.
4191 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4193         Fix typo in strncat, wcsncat manual entries
4194         * manual/string.texi (Copying and Concatenation): Fix typos in
4195         sample implementations of strncat and wcsncat, by having them use
4196         the old value of the destination length, not the new one.
4198 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4200         [BZ #16961]
4201         [BZ #16962]
4202         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4203         string on the stack for strtod.
4204         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4205         a string on the stack for strtof.
4206         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4207         constructing a string on the stack for strtold.
4208         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4209         __strtold_nan to GLIBC_PRIVATE.
4210         * math/test-nan-overflow.c: New file.
4211         * math/test-nan-payload.c: Likewise.
4212         * math/Makefile (tests): Add test-nan-overflow and
4213         test-nan-payload.
4215 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4217         Consistency about byte vs character in string.texi
4218         * manual/string.texi (String and Array Utilities):
4219         Distinguish more carefully among bytes, multibyte characters,
4220         and wide characters.  Use "byte" when talking about C 'char',
4221         to distinguish it more clearly from multibyte characters.
4222         Say "wide character" or "multibyte character" instead of
4223         "character", when a wide or multibyte character is intended.
4224         Similarly for "multibyte string" versus "string".
4225         Define these terms more carefully.
4227 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4229         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4230         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4231         Likewise.
4232         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4233         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4234         * sysdeps/sh/math_private.h: New file.
4235         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4236         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4237         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4238         long double function name.
4239         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4240         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4241         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4245         Remove __finitel, __isinfl, and __isnanl.
4246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4247         Likewise.
4248         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4250         Remove __finitel.
4251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4252         Likewise.
4253         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4255 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4257         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4258         installed libmvec_nonshared.a.
4260 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4262         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4263         (sysdep_routines): Likewise.
4264         (sysdep-rtld-routines): Likewise.
4265         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4266         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4267         * sysdeps/powerpc/Versions: Added new
4268         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4269         * sysdeps/powerpc/hwcapinfo.c: New file.
4270         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4271         and parse hwcap, hwcap2 and platform number information.
4272         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4273         to store HWCAP+HWCAP2 and platform number.
4274         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4275         for HWCAP+HWCAP2 and platform number in the TCB.
4276         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4277         the HWCAP, HWCAP2 and platform number in the TCB.
4278         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4279         (TLS_INIT_TP): Included calls to add the hwcap and
4280         at_platform values in the TCB in TP initialization.
4281         (TLS_DEFINE_INIT_TP): Likewise.
4282         (THREAD_GET_HWCAP): New macro.
4283         (THREAD_SET_HWCAP): Likewise.
4284         (THREAD_GET_AT_PLATFORM): Likewise.
4285         (THREAD_SET_AT_PLATFORM): Likewise.
4286         * sysdeps/powerpc/powerpc32/dl-machine.h:
4287         (dl_platform_init): New function that calls
4288         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4289         powerpc32.
4290         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4291         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4292         this functionality, static linking case.
4293         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4294         linking case.
4295         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4296         __parse_hwcap_and_convert_at_platform for the static linking case.
4297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4298         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4299         ABI list for GLIBC 2.23.
4300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4301         Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4303         Likewise.
4305 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4307         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4308         * configure: Regenerate.
4309         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4310         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4312 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4314         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4315         * iconvdata/ibm933.c: Likewise.
4316         * iconvdata/ibm935.c: Likewise.
4317         * iconvdata/ibm937.c: Likewise.
4318         * iconvdata/ibm939.c: Likewise.
4320 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4322         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4323         pthread_join.
4324         * nptl/tst-cancel21.c (tf): Likewise.
4326 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4328         [BZ #19313]
4329         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4330         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4331         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4332         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4333         Likewise.
4334         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4335         Likewise.
4336         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4337         Likewise.
4338         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4339         Likewise.
4340         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4341         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4342         unsigned long int with __CPU_MASK_TYPE.
4344 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4346         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4348 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4351         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4352         t512.x.
4353         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4355 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4357         [BZ #19214]
4358         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4359         argument to return extended model.  Update family and model
4360         with extended family and model when family == 0x0f.
4361         (init_cpu_features): Updated.
4363 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4365         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4366         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4368         * sysdeps/mach/hurd/mmap64.c: New file.
4370 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4372         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4373         rights for its main user thread in NEWTASK.
4375 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4377         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4378         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4380 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4382         [BZ #14259]
4383         * Makeconfig: Rename localedir to complocaledir.
4384         Rename inst_localedir to inst_complocaledir.
4385         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4386         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4387         * configure.ac: Use libc_cv_complocaledir.
4388         * configure: Regenerate.
4389         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4390         -DCOMPLOCALEDIR.
4391         * locale/findlocale.c: Use COMPLOCALEDIR.
4392         * locale/loadarchive.c: Likewise.
4393         * locale/programs/locale.c: Likewise.
4394         * locale/programs/localedef.c: Likewise.
4395         * locale/programs/locarchive.c: Likewise.
4396         * localedata/Makefile: Use inst_complocaledir.
4397         * sysdeps/gnu/configure: Regenerate.
4398         * sysdeps/hppa/configure: Regenerate.
4399         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4400         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4402         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4403         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4404         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4405         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4407 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4409         [BZ #19058]
4410         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4411         AS_NEEDED.
4412         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4413         workaround.
4414         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4415         libmvec-static-only-routines): Added new file.
4416         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4418 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4420         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4421         of interrupted RPC instead of restoring it.
4423         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4424         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4425         libc_hidden_def.
4426         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4427         into initialized data instead of common. Define rtld_hidden_data_def.
4428         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4429         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4430         libc_hidden_def.
4431         (if_freenameindex): Add libc_hidden_weak.
4432         (if_nameindex): Add libc_hidden_weak.
4433         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4434         __open64.
4435         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4436         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4437         * sysdeps/mach/nanosleep.c: Include <time.h>
4438         (__nanosleep): Rename to __libc_nanosleep.
4439         (__nanosleep): Add weak_alias.
4440         (nanosleep): Update alias.
4442 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4444         * stdlib/strtod_nan.c: New file.
4445         * stdlib/strtod_nan_double.h: Likewise.
4446         * stdlib/strtod_nan_float.h: Likewise.
4447         * stdlib/strtod_nan_main.c: Likewise.
4448         * stdlib/strtod_nan_narrow.h: Likewise.
4449         * stdlib/strtod_nan_wide.h: Likewise.
4450         * stdlib/strtof_nan.c: Likewise.
4451         * stdlib/strtold_nan.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4453         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4454         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4455         * wcsmbs/wcstod_nan.c: Likewise.
4456         * wcsmbs/wcstof_nan.c: Likewise.
4457         * wcsmbs/wcstold_nan.c: Likewise.
4458         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4459         strtold_nan.
4460         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4461         wcstof_nan.
4462         * include/stdlib.h (__strtof_nan): Declare and use
4463         libc_hidden_proto.
4464         (__strtod_nan): Likewise.
4465         (__strtold_nan): Likewise.
4466         (__wcstof_nan): Likewise.
4467         (__wcstod_nan): Likewise.
4468         (__wcstold_nan): Likewise.
4469         * include/wchar.h (____wcstoull_l_internal): Declare.
4470         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4471         (____strtoull_l_internal): Remove declaration.
4472         (STRTOF_NAN): Define macro.
4473         (SET_MANTISSA): Remove macro.
4474         (STRTOULL): Likewise.
4475         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4476         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4477         (STRTOF_NAN): Define macro.
4478         (SET_MANTISSA): Remove macro.
4479         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4480         (SET_MANTISSA): Remove macro.
4481         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4482         macro.
4483         (SET_MANTISSA): Remove macro.
4484         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4485         macro.
4486         (SET_MANTISSA): Remove macro.
4487         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4488         (SET_MANTISSA): Remove macro.
4489         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4490         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4491         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4493         [BZ #19266]
4494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4495         upper case and lower case letters inside NAN(), not using TOLOWER.
4496         * stdlib/tst-strtod-nan-locale-main.c: New file.
4497         * stdlib/tst-strtod-nan-locale.c: Likewise.
4498         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4499         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4500         Depend on $(gen-locales).
4501         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4502         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4503         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4504         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4505         Depend on $(gen-locales).
4506         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4508 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4510         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4512         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4514         __finitel, __isinfl, and __isnanl.
4515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4516         Likewise.
4517         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4519         __finitel.
4520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4524 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4526         * malloc/memusage.c (me): Remove redundant getenv call.
4528 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4530         [BZ #19143]
4531         [BZ #19164]
4532         * nptl/check-cpuset.h: Remove.
4533         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4534         Remove CPU set size check.
4535         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4536         Likewise.
4537         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4538         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4539         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4540         (__pthread_setaffinity_new): Remove CPU set size check.
4541         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4542         (__kernel_cpumask_size): Remove.
4543         (__sched_setaffinity_new): Remove CPU set size check.
4544         * manual/threads.texi (Default Thread Attributes): Remove stale
4545         reference to check_cpuset_attr, determine_cpumask_size in comment.
4546         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4547         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4548         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4549         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4550         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4551         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4552         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4553         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4554         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4555         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4556         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4557         skeleton test file.
4558         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4559         tst-affinity-pid.
4561 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4563         * scripts/update-abilist.sh: New file.
4564         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4565         * Makerules (update-all-abi-%, update-all-abi)
4566         (subdir_update-all-abi): New targets.
4567         * elf/Makefile (update-all-abi): New target.
4569 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4571         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4572         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4573         (__libc_lock_define_initialized): Use it.
4574         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4575         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4576         * malloc/malloc.c (main_arena): Likewise.
4577         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4578         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4580 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4582         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4583         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4584         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4585         (PTRACE_O_MASK): Update value.
4586         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4587         New value in enum __ptrace_setoptions.
4588         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4589         (PTRACE_O_MASK): Update value.
4590         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4591         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4592         (PTRACE_O_MASK): Update value.
4593         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4594         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4595         (PTRACE_O_MASK): Update value.
4596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4597         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4598         (PTRACE_O_MASK): Update value.
4599         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4600         New value in enum __ptrace_setoptions.
4601         (PTRACE_O_MASK): Update value.
4602         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4603         New value in enum __ptrace_setoptions.
4604         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4605         (PTRACE_O_MASK): Update value.
4607         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4608         New macro.
4609         (PACKET_AUXDATA): Likewise.
4610         (PACKET_ORIGDEV): Likewise.
4611         (PACKET_VERSION): Likewise.
4612         (PACKET_HDRLEN): Likewise.
4613         (PACKET_RESERVE): Likewise.
4614         (PACKET_TX_RING): Likewise.
4615         (PACKET_LOSS): Likewise.
4616         (PACKET_VNET_HDR): Likewise.
4617         (PACKET_TX_TIMESTAMP): Likewise.
4618         (PACKET_TIMESTAMP): Likewise.
4619         (PACKET_FANOUT): Likewise.
4620         (PACKET_TX_HAS_OFF): Likewise.
4621         (PACKET_QDISC_BYPASS): Likewise.
4622         (PACKET_ROLLOVER_STATS): Likewise.
4623         (PACKET_FANOUT_DATA): Likewise.
4624         (PACKET_MR_UNICAST): Likewise.
4626         [BZ #19242]
4627         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4628         (TOUPPER): Likewise.
4629         * stdlib/tst-strtol-locale-main.c: New file.
4630         * stdlib/tst-strtol-locale.c: Likewise.
4631         * stdlib/Makefile (tests): Add tst-strtol-locale.
4632         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4633         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4634         Depend on $(gen-locales).
4635         * wcsmbs/tst-wcstol-locale.c: New file.
4636         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4637         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4638         tr_TR.ISO-8859-9.
4639         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4640         Depend on $(gen-locales).
4642 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4644         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4645         __glibc_likely instead of __builtin_expect.  After falling back to
4646         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4647         system interface to register the code pages as occupied.
4649 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4651         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4652         [!ARM_MATH_PRIVATE_H].
4653         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4654         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4655         [!HPPA_MATH_PRIVATE_H].
4656         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4657         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4658         to [!I386_MATH_PRIVATE_H].
4659         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4660         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4661         Change guard to [!M68K_MATH_PRIVATE_H].
4662         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4663         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4664         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4665         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4666         macro.
4667         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4668         [!MIPS_MATH_PRIVATE_H].
4669         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4670         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4671         [!NIO2_MATH_PRIVATE_H].
4672         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4673         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4674         [!TILE_MATH_PRIVATE_H].
4675         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4677         [BZ #15421]
4678         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4679         initialize with 0 and define as weak alias of __signgam.
4680         * include/math.h [!_ISOMAC] (__signgam): Declare.
4681         * math/Makefile (libm-calls): Add w_lgamma_compat.
4682         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4683         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4684         test-signgam-ullong-init.
4685         (tests-static): Add test-signgam-uchar-static,
4686         test-signgam-uchar-init-static, test-signgam-uint-static,
4687         test-signgam-uint-init-static, test-signgam-ullong-static and
4688         test-signgam-ullong-init-static.
4689         (CFLAGS-test-signgam-uchar.c): New variable.
4690         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4691         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4692         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4693         (CFLAGS-test-signgam-uint.c): Likewise.
4694         (CFLAGS-test-signgam-uint-init.c): Likewise.
4695         (CFLAGS-test-signgam-uint-static.c): Likewise.
4696         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4697         (CFLAGS-test-signgam-ullong.c): Likewise.
4698         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4699         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4700         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4701         * math/Versions (libm): Add GLIBC_2.23.
4702         * math/lgamma-compat.h: New file.
4703         * math/test-signgam-main.c: Likewise.
4704         * math/test-signgam-uchar-init-static.c: Likewise.
4705         * math/test-signgam-uchar-init.c: Likewise.
4706         * math/test-signgam-uchar-static.c: Likewise.
4707         * math/test-signgam-uchar.c: Likewise.
4708         * math/test-signgam-uint-init-static.c: Likewise.
4709         * math/test-signgam-uint-init.c: Likewise.
4710         * math/test-signgam-uint-static.c: Likewise.
4711         * math/test-signgam-uint.c: Likewise.
4712         * math/test-signgam-ullong-init-static.c: Likewise.
4713         * math/test-signgam-ullong-init.c: Likewise.
4714         * math/test-signgam-ullong-static.c: Likewise.
4715         * math/test-signgam-ullong.c: Likewise.
4716         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4717         wrapper of w_lgamma_main.c.
4718         * math/w_lgamma_compat.c: New file.
4719         * math/w_lgamma_compatf.c: Likewise.
4720         * math/w_lgamma_compatl.c: Likewise.
4721         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4722         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4723         defining compatibility symbols.
4724         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4725         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4726         wrapper of w_lgammaf_main.c.
4727         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4728         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4729         defining compatibility symbols.
4730         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4731         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4732         wrapper of w_lgammal_main.c.
4733         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4734         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4735         defining compatibility symbols.
4736         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4737         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4738         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4739         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4740         <lgamma-compat.h>.
4741         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4742         (__ieee754_gamma): Define as alias.
4743         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4744         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4745         <lgamma-compat.h>.
4746         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4747         (__ieee754_gammaf): Define as alias.
4748         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4749         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4750         <lgamma-compat.h>.
4751         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4752         (__ieee754_gammal): Define as alias.
4753         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4754         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4755         <math/w_lgamma_compat.c>.
4756         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4757         Define as alias of __lgamma_compat and use in defining lgammal.
4758         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4759         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4760         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4761         (USE_AS_COMPAT): New macro.
4762         (LGAMMA_OLD_VER): Undefine and redefine.
4763         (lgammal): Do not define here.
4764         (gammal): Only define here if [GAMMA_ALIAS].
4765         * conform/linknamespace.pl (@whitelist): Remove signgam.
4766         * sysdeps/nacl/libm.abilist: Update.
4767         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4768         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4769         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4772         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4775         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4776         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4777         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4778         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4780         Likewise.
4781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4782         Likewise.
4783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4784         Likewise.
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4786         Likewise.
4787         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4788         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4789         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4790         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4791         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4793         Likewise.
4794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4795         Likewise.
4796         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4797         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4798         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4800 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4802         [BZ #16364]
4803         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4804         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4806 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4808         * sysdeps/s390/fpu/bits/mathinline.h:
4809         Use __asm__ [__volatile__] instead of asm [volatile].
4810         * sysdeps/s390/abort-instr.h: Likewise.
4811         * sysdeps/s390/atomic-machine.h: Likewise.
4812         * sysdeps/s390/bits/string.h: Likewise.
4813         * sysdeps/s390/dl-tls.h: Likewise.
4814         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4815         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4816         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4817         * sysdeps/s390/fpu/fesetround.c: Likewise.
4818         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4819         * sysdeps/s390/fpu/s_fma.c: Likewise.
4820         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4821         * sysdeps/s390/memusage.h: Likewise.
4822         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4823         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4824         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4825         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4826         * sysdeps/s390/nptl/tls.h: Likewise.
4827         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4828         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4829         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4830         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4831         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4832         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4833         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4834         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4835         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4836         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
4837         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4838         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4839         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4840         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
4841         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
4842         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
4843         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
4844         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4845         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
4846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4847         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
4848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4849         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
4851 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4852             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4854         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4855         Add lwarx hint, and use macro for acquire instruction.
4856         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4857         Likewise.
4858         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
4859         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
4860         update to use new atomic macros.
4862 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4864         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4865         (__lll_trylock_elision): Fix setting of adapt_count.
4866         * sysdeps/unix/sysv/linux/powerpc/htm.h
4867         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
4868         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
4869         (_ABORT_SYSCALL): Renumber, and clarify definition.
4870         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
4872 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4874         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
4875         after system headers to prevent MIN/MAX redefinition.  Define
4876         HAVE_ALLOCA to preserve builtin alloca usage.
4878 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
4881         static and don't set or restore rounding.
4882         (__cos)[IN_SINCOS]: Likewise.
4883         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
4884         (__sincos): Set and restore rounding mode.  Remove check for infinite
4885         or NaN input.
4887         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
4889         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
4890         as used.
4892 2015-11-16  Florian Weimer  <fweimer@redhat.com>
4894         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
4896 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
4898         * config.make.in (have-glob-dat-reloc): New.
4899         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
4900         target supports GLOB_DAT relocaton. AC_SUBST.
4901         * configure: Regenerated.
4902         * elf/Makefile (tests): Add tst-prelink.
4903         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4904         (tst-prelink-ENV): New.
4905         ($(objpfx)tst-prelink-conflict.out): Likewise.
4906         ($(objpfx)tst-prelink-cmp.out): Likewise.
4907         * sysdeps/x86/tst-prelink.c: Moved to ...
4908         * elf/tst-prelink.c: Here.
4909         * sysdeps/x86/tst-prelink.exp: Moved to ...
4910         * elf/tst-prelink.exp: Here.
4911         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
4912         (tst-prelink-ENV): Removed.
4913         ($(objpfx)tst-prelink-conflict.out): Likewise.
4914         ($(objpfx)tst-prelink-cmp.out): Likewise.
4915         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
4917 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
4919         [BZ #14551]
4920         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
4921         (__mpn_construct_long_double): If high part overflows to infinity,
4922         set errno and recompute overflowed result of the correct sign.
4923         * sysdeps/ieee754/ldbl-128ibm/Makefile
4924         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
4925         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
4926         $(libm).
4927         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
4929 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
4931         [BZ #15479]
4932         [BZ #19238]
4933         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
4934         floating-point state after first operation on input.  Restore full
4935         state rather than just rounding mode.
4936         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4937         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4938         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4940         [BZ #19235]
4941         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
4942         add 0.5 to integer arguments.
4943         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
4944         Likewise.
4945         (.LC2): New object.
4947 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
4949         * scripts/pylintrc (reports): Set to no.
4951 2015-11-10  Roland McGrath  <roland@hack.frob.com>
4953         * elf/dl-load.c (open_verify): Take new argument FD.
4954         Skip __open call if passed FD is not -1.
4955         (_dl_map_object, open_path): Update callers.
4956         * elf/dl-sysdep-open.h: New file.
4957         * elf/dl-load.c: Include it.
4958         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
4959         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
4960         * sysdeps/nacl/dl-sysdep-open.h: New file.
4961         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
4962         from libc to rtld.
4964 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4966         [BZ #19228]
4967         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
4968         and restore full floating-point state.
4969         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4970         Likewise.
4971         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4972         Likewise.
4973         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4974         Likewise.
4975         * math/test-nearbyint-except-2.c: New file.
4976         * math/Makefile (tests): Add test-nearbyint-except-2.
4978 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
4980         [BZ #19178]
4981         * sysdeps/x86/Makefile (tests): Add tst-prelink.
4982         (tst-prelink-ENV): New.
4983         ($(objpfx)tst-prelink-conflict.out): Likewise.
4984         ($(objpfx)tst-prelink-cmp.out): Likewise.
4985         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
4986         * sysdeps/x86/tst-prelink.c: New file.
4987         * sysdeps/x86/tst-prelink.exp: Likewise.
4989 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
4991         * math/auto-libm-test-in: Add another test of pow.
4992         * math/auto-libm-test-out: Regenerated.
4993         * math/libm-test.inc (pow_test_data): Add another test.
4995 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4997         [BZ #19219]
4998         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
4999         weak_alias to nearbyintl.
5001 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5003         * sysdeps/aarch64/bits/string.h: New file.
5004         (_STRING_ARCH_unaligned): Define.
5006 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5008         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5009         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5010         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5011         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5014 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5016         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5017         for original name of the DSO.  Add it to the name list of the DSO
5018         if it is actually given.
5019         (_dl_map_object): Keep track of whether an audit module rewrote
5020         the file name.  If yes, pass the original name to
5021         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5022         debugging is enabled, log the change of the file name.
5023         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5024         _dl_map_object_from_fd.
5025         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5026         * elf/tst-audit11.c: New file
5027         * elf/tst-auditmod11.c: New file.
5028         * elf/tst-audit11mod1.c: New file.
5029         * elf/tst-audit11mod2.c: New file.
5030         * elf/tst-audit11mod2.map: New file.
5031         * elf/tst-audit12.c: New file
5032         * elf/tst-auditmod12.c: New file.
5033         * elf/tst-audit12mod1.c: New file.
5034         * elf/tst-audit12mod2.c: New file.
5035         * elf/tst-audit12mod2.map: New file.
5036         * elf/tst-audit12mod3.c: New file.
5038 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5040         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5041         Don't create weak aliases,
5042         because versioned symbols are created later.
5043         * sysdeps/s390/s390-32/setjmp.S
5044         (setjmp, _setjmp): Remove weak and rename to an unique name
5045         in SHARED case due to existing versioned symbols.
5046         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5047         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5048         (getcontext): Create weak alias only in non SHARED case.
5049         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5051 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5053         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5054         (__ASSUME_*_SYSCALL) Define new macros.
5055         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5056         Remove socketcall syscalls.
5057         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5058         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5059         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5060         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5061         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5062         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5064 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5066         [BZ #12926]
5067         Terminate process on invalid netlink response.
5068         * sysdeps/unix/sysv/linux/netlinkaccess.h
5069         (__netlink_assert_response): Declare.
5070         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5071         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5072         (sysdep_routines): Add netlink_assert_response.
5073         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5074         __netlink_assert_response.
5075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5076         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5077         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5078         __netlink_assert_response.
5080 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5082         [BZ #19178]
5083         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5084         (RTYPE_CLASS_PLT): Likewise.
5085         (RTYPE_CLASS_COPY): Likewise.
5086         (RTYPE_CLASS_TLS): Likewise.
5087         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5088         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5089         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5090         DL_DEBUG_PRELINK.
5092 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5094         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5095         calls with argument -0.5.
5096         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5098         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5099         (libc_cv_z_nodlopen): Likewise.
5100         (libc_cv_z_initfirst): Likewise.
5101         * configure: Regenerated.
5103 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5105         Simplify abilist format to be line-based.
5106         * scripts/abilist.awk: Collect descriptors in the descs variable.
5107         (emit): Write descs variable and sort it
5108         externally, with sort.
5109         * sysdeps/**/*.abilist: Convert to new format.
5111 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5113         [BZ #11460]
5114         * io/Makefile (routines): Add fts64.
5115         (tests): Add tst-fts and tst-fts-lfs.
5116         (CFLAGS-fts64.c): New.
5117         * io/Versions (GLIBC_2.23): New.
5118         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5119         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5120         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5121         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5122         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5123         (FTSENT64): Likewise.
5124         (fts64_children): Likewise.
5125         (fts64_close): Likewise.
5126         (fts64_open): Likewise.
5127         (fts64_read): Likewise.
5128         (fts64_set): Likewise.
5129         * io/fts64.c: New file.
5130         * io/tst-fts.c: New test.
5131         * io/tst-fts-lfs.c: Likewise.
5132         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5133         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5134         fts64_set.
5135         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5136         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5137         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5138         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5139         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5140         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5141         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5142         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5143         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5144         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5145         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5146         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5147         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5149         Likewise.
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5151         Likewise.
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5154         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5155         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5156         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5157         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5158         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5161         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5164         * sysdeps/wordsize-64/fts.c: New file.
5165         * sysdeps/wordsize-64/fts64.c: Likewise.
5166         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5167         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5168         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5169         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5171 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5173         * math/libm-test.inc (NON_FINITE): New macro.
5174         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5175         * math/gen-libm-test.pl (show_exceptions): Add argument
5176         $non_finite.
5177         (parse_args): Update call to show_exceptions.
5178         * math/test-math-finite.h: New file.
5179         * math/test-math-no-finite.h: Likewise.
5180         * math/test-double-finite.c: Likewise.
5181         * math/test-float-finite.c: Likewise.
5182         * math/test-ldouble-finite.c: Likewise.
5183         * math/test-double.c: Include "test-math-no-finite.h".
5184         * math/test-float.c: Include "test-math-no-finite.h".
5185         * math/test-ldouble.c: Include "test-math-no-finite.h".
5186         * math/test-math-inline.h (TEST_FINITE): New macro.
5187         * math/test-math-vector.h (TEST_FINITE): Likewise.
5188         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5189         (libm-tests): Add test-float-finite and test-double-finite.
5190         ($(objpfx)test-float-finite.o): New dependency on
5191         $(objpfx)libm-test.stmp.
5192         ($(objpfx)test-double-finite.o): Likewise.
5193         ($(objpfx)test-ldouble-finite.o): Likewise.
5194         (libm-test-no-inline-cflags): New variable.
5195         (libm-test-finite-cflags): Likewise.
5196         (CFLAGS-test-float-finite.c): Likewise.
5197         (CFLAGS-test-double-finite.c): Likewise.
5198         (CFLAGS-test-ldouble-finite.c): Likewise.
5199         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5200         (CFLAGS-test-double.c): Likewise.
5201         (CFLAGS-test-ldouble.c): Likewise.
5203 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5205         * io/fcntl.c (__fcntl): Add ... to prototype.
5206         * misc/ioctl.c (__ioctl): Likewise.
5207         * misc/syscall.c (syscall): Likewise.
5209 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5211         * scripts/list-fixed-bugs.py: New file.
5213         [BZ #19213]
5214         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5215         returned for argument 1.
5216         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5217         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5218         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5219         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5220         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5221         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5223         [BZ #19211]
5224         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5225         __USE_XOPEN], not if [!__USE_ISOC99].
5226         (lgammaf): Likewise.
5227         (lgammal): Likewise.
5228         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5229         (gammaf): Likewise.
5230         (gammal): Likewise.
5231         * math/test-signgam-finite-c11.c: New file.
5232         * math/test-signgam-finite-c99.c: Likewise.
5233         * math/test-signgam-finite.c: Likewise.
5234         * math/Makefile (tests): Add test-signgam-finite,
5235         test-signgam-finite-c99 and test-signgam-finite-c11.
5236         (CFLAGS-test-signgam-finite.c): New variable.
5237         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5238         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5240         [BZ #19212]
5241         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5242         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5243         500].
5244         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5245         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5246         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5247         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5248         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5249         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5250         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5251         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5252         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5253         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5255         [BZ #19209]
5256         * math/bits/math-finite.h (ldexp): Remove declaration.
5257         (ldexpf): Likewise.
5258         (ldexpl): Likewise.
5260         [BZ #19205]
5261         * math/bits/math-finite.h (acosf): Condition declaration on
5262         [__USE_ISOC99].
5263         (acosl): Likewise.
5264         (acoshf): Likewise.
5265         (acoshl): Likewise.
5266         (asinf): Likewise.
5267         (asinl): Likewise.
5268         (atan2f): Likewise.
5269         (atan2l): Likewise.
5270         (atanhf): Likewise.
5271         (atanhl): Likewise.
5272         (coshf): Likewise.
5273         (coshl): Likewise.
5274         (expf): Likewise.
5275         (expl): Likewise.
5276         (fmodf): Likewise.
5277         (fmodl): Likewise.
5278         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5279         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5280         (j0l): Likewise.
5281         (y0f): Likewise.
5282         (y0l): Likewise.
5283         (j1f): Likewise.
5284         (j1l): Likewise.
5285         (y1f): Likewise.
5286         (y1l): Likewise.
5287         (jnf): Likewise.
5288         (jnl): Likewise.
5289         (ynf): Likewise.
5290         (ynl): Likewise.
5291         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5292         (lgammal_r): Likewise.
5293         (__lgamma_r_finite): New declaration.
5294         (__lgammaf_r_finite): Likewise.
5295         (__lgammal_r_finite): Likewise.
5296         (lgamma): Use __lgamma_r_finite.
5297         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5298         __lgammaf_r_finite.
5299         (lgammal): Condition definition on [__USE_ISOC99].  Use
5300         __lgammal_r_finite.
5301         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5302         __lgamma_r_finite.
5303         (gammaf): Condition definition on [__USE_ISOC99].  Use
5304         __lgammaf_r_finite.
5305         (gammal): Condition definition on [__USE_ISOC99].  Use
5306         __lgammal_r_finite.
5307         (logf): Condition declaration on [__USE_ISOC99].
5308         (logl): Likewise.
5309         (log10f): Likewise.
5310         (log10l): Likewise.
5311         (ldexpf): Likewise.
5312         (ldexpl): Likewise.
5313         (powf): Likewise.
5314         (powl): Likewise.
5315         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5316         __USE_ISOC99].
5317         (remainderf): Condition declaration on [__USE_ISOC99].
5318         (remainderl): Likewise.
5319         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5320         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5321         (scalbl): Likewise.
5322         (sinhf): Condition declaration on [__USE_ISOC99].
5323         (sinhl): Likewise.
5324         (sqrtf): Likewise.
5325         (sqrtl): Likewise.
5327 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5329         * sysdeps/arm/atomic-machine.h
5330         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5331         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5332         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5333         Remove conditional code.
5334         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5335         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5336         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5337         Change conditional to [__ASSEMBLER__].
5338         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5339         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5340         [!__ASSEMBLER__].
5341         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5342         code.
5343         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5344         conditional macro definitions.
5345         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5346         (__arch_compare_and_exchange_val_16_acq): Likewise.
5347         (__arch_compare_and_exchange_val_32_acq): Likewise.
5348         (atomic_exchange_and_add): Likewise.
5349         (atomic_add): Likewise.
5350         (atomic_add_negative): Likewise.
5351         (atomic_add_zero): Likewise.
5352         (atomic_bit_set): Likewise.
5353         (atomic_bit_test_set): Likewise.
5354         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5355         code unconditional.
5356         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5358         * math/test-math-errno.h: New file.
5359         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5360         empty.
5361         (TEST_ERRNO): New macro.
5362         (TEST_EXCEPTIONS): Likewise.
5363         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5364         (TEST_EXCEPTIONS): Likewise.
5365         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5366         * math/test-double.c: Include "test-math-errno.h".
5367         * math/test-float.c: Likewise.
5368         * math/test-ldouble.c: Likewise.
5369         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5370         code unconditional.
5371         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5372         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5373         unconditional.
5374         (test_errno): Only run code if TEST_ERRNO.
5375         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5377 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5379         * nptl/tst-once5.cc: Remove attribution.
5381 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5383         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5384         sqrt, tan, tanh, y0, y1 and yn.
5385         * math/auto-libm-test-out: Regenerated.
5386         * math/libm-test.inc (scalb_test_data): Add more tests.
5387         (scalbn_test_data): Likewise.
5388         (scalbln_test_data): Likewise.
5389         (signbit_test_data): Likewise.
5390         (sin_test_data): Likewise.
5391         (sincos_test_data): Likewise.
5392         (sinh_test_data): Likewise.
5393         (sqrt_test_data): Likewise.
5394         (tan_test_data): Likewise.
5395         (tanh_test_data): Likewise.
5396         (tgamma_test_data): Likewise.
5397         (y0_test_data): Likewise.
5398         (y1_test_data): Likewise.
5399         (yn_test_data): Likewise.
5400         (significand_test_data): Likewise.
5401         * sysdeps/i386/fpu/libm-test-ulps: Update.
5403 2015-11-03  David Kastrup  <dak@gnu.org>
5405         [BZ #18604]
5406         * assert/assert.h (assert): Don't macro-expand failed assertion
5407         expression in error message.
5408         * malloc/malloc.c (assert): Likewise.
5410 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5412         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5413         test.
5414         * configure: Regenerated.
5416 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5418         * math/libm-test.inc (modf_test_data): Add more tests.
5419         (nearbyint_test_data): Likewise.
5420         (nextafter_test_data): Likewise.
5421         (nexttoward_test_data): Likewise.
5422         (pow_test_data): Likewise.
5423         (remainder_test_data): Likewise.
5424         (remquo_test_data): Likewise.
5425         (rint_test_data): Likewise.
5427         [BZ #19201]
5428         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5429         Check for zero remainder in case of large exponents and ensure
5430         correct sign of result in that case.
5431         * math/libm-test.inc (remainder_test_data): Add more tests.
5433         [BZ #6799]
5434         * math/s_nextafter.c: Include <errno.h>.
5435         (__nextafter): Set errno on overflow and underflow.
5436         * math/s_nexttowardf.c: Include <errno.h>.
5437         (__nexttowardf): Set errno on overflow and underflow.
5438         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5439         (__nextafterl): Set errno on overflow and underflow.
5440         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5441         (__nexttoward): Set errno on overflow and underflow.
5442         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5443         (__nexttowardf): Set errno on overflow and underflow.
5444         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5445         (__nextafterf): Set errno on overflow and underflow.
5446         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5447         (__nextafterl): Set errno on overflow and underflow.
5448         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5449         (__nexttoward): Set errno on overflow and underflow.
5450         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5451         (__nexttowardf): Set errno on overflow and underflow.
5452         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5453         (__nextafterl): Set errno on overflow and underflow.
5454         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5455         (__nexttoward): Set errno on overflow and underflow.
5456         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5457         (__nexttowardf): Set errno on overflow and underflow.
5458         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5459         (__nexttoward): Set errno on overflow and underflow.
5460         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5461         (__nexttowardf): Set errno on overflow and underflow.
5462         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5463         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5464         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5465         (__nextafterl): Set errno on overflow and underflow.
5466         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5467         setting to be missing on overflow.  Add more tests.
5468         (nexttoward_test_data): Likewise.
5470         * configure.ac (libc_cv_initfini_array): Remove configure test.
5471         * configure: Regenerated.
5473 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5475         [BZ #19189]
5476         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5477         non-finite argument handle arguments with negative sign.
5479         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5480         result from infinite argument.
5481         (j1_test_data): Likewise.
5482         (jn_test_data): Likewise.
5483         (y0_test_data): Likewise.
5484         (y1_test_data): Likewise.
5485         (yn_test_data): Likewise.
5487         [BZ #16171]
5488         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5489         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5490         * math/w_remainderf.c (dremf): Define as weak alias of
5491         __remainderf.
5492         * math/w_remainderl.c (dreml): Define as weak alias of
5493         __remainderl.
5494         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5495         __remainder.
5496         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5497         __remainderf.
5498         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5499         __remainderl.
5500         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5501         weak alias of remainderl.
5502         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5503         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5504         alias of __remainder.
5505         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5506         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5507         strong alias of __remainderl.
5508         (dreml): Use long_double_symbol.
5509         * math/Makefile (libm-calls): Remove w_drem.
5510         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5511         (CFLAGS-nldbl-drem.c): Remove variable.
5512         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5513         * math/w_drem.c: Remove file.
5514         * math/w_dremf.c: Likewise.
5515         * math/w_dreml.c: Likewise.
5516         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5517         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5518         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5520         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5521         * sysdeps/i386/configure: Regenerated.
5522         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5523         * sysdeps/x86_64/configure: Regenerated.
5525         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5526         test.
5527         (libc_cv_visibility_attribute): Likewise.
5528         (libc_cv_protected_data): Test unconditionally.
5529         (libc_cv_broken_visibility_attribute): Remove configure test.
5530         (libc_cv_have_sdata_section): Test unconditionally.
5531         * configure: Regenerated.
5533         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5534         * include/scratch_buffer.h: Include <stddef.h> instead of
5535         <libc-internal.h>.
5536         (struct scratch_buffer): Use max_align_t instead of
5537         libc_max_align_t.
5539 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5541         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5542         instead of extend_alloca.  Change control flow to avoid a goto.
5543         Remove assert which is trivially always true.
5545 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5547         [BZ #16068]
5548         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5549         (FE_ALL_EXCEPT_X86): New macro.
5550         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5551         FE_ALL_EXCEPT.  Ensure precision control is included in
5552         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5553         handle "denormal operand exception" and clear FZ and DAZ bits.
5554         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5555         (FE_ALL_EXCEPT_X86): New macro.
5556         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5557         FE_ALL_EXCEPT.  Ensure precision control is included in
5558         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5559         handle "denormal operand exception" and clear FZ and DAZ bits.
5560         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5561         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5562         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5563         test-fenv-x87 and test-fenv-sse-2.
5564         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5566         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5567         * math/test-double.h (BUILD_COMPLEX): New macro.
5568         * math/test-float.h (BUILD_COMPLEX): Likewise.
5569         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5571         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5572         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5573         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5575         instead of DBL_DENORM_MIN in comment.
5576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5577         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5578         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5579         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5580         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5581         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5583 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5585         [BZ# 19048]
5586         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5587         attached_threads member.
5588         (main_arena): Initialize attached_threads.
5589         * malloc/arena.c (list_lock): Update comment.
5590         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5591         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5592         (deattach_arena): New function.
5593         (_int_new_arena): Initialize arena reference count and deattach
5594         replaced arena.
5595         (get_free_list, reused_arena): Update reference count and deattach
5596         replaced arena.
5597         (arena_thread_freeres): Update arena reference count and only put
5598         unreferenced arenas on the free list.
5600 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5602         [BZ #19181]
5603         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5604         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5605         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5606         * math/test-fenv-clear-main.c: New file.
5607         * math/test-fenv-clear.c: Likewise.
5608         * math/Makefile (tests): Add test-fenv-clear.
5609         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5610         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5611         test-fenv-clear-sse.
5612         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5614         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5615         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5616         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5618 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5620         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5621         static libc.
5623 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5625         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5626         test.
5627         * sysdeps/i386/configure: Regenerated.
5628         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5629         test.
5630         * sysdeps/x86_64/configure: Regenerated.
5631         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5633         memset-avx2 unconditionally instead of conditionally on
5634         [$(config-cflags-avx2) = yes].
5635         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5636         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5637         unconditional.
5638         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5639         * sysdeps/x86_64/multiarch/memset_chk.S
5640         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5641         to [IS_IN (libc) && SHARED].
5643 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5645         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5646         configure test.
5647         * sysdeps/arm/configure: Regenerated.
5648         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5649         Define variable if not already defined.
5651         [BZ #17404]
5652         * sysdeps/mips/atomic-machine.h
5653         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5654         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5655         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5657         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5658         unconditional.
5659         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5660         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5661         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5662         unconditional.
5663         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5664         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5665         unconditional.
5666         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5667         * stdlib/setenv.c
5668         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5669         code unconditional.
5670         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5671         Remove conditional code.
5672         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5673         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5674         unconditional.
5675         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5676         code.
5677         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5678         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5679         unconditional.
5680         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5681         code.
5682         * sysdeps/ieee754/ldbl-128/k_tanl.c
5683         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5684         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5685         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5686         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5687         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5688         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5689         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5690         unconditional.
5691         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5692         code.
5693         * sysdeps/ieee754/ldbl-96/k_tanl.c
5694         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5695         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5697         * nptl/tst-initializers1-c11.c: New file.
5698         * nptl/tst-initializers1-gnu11.c: Likewise.
5699         * nptl/Makefile (tests): Add these new tests.
5700         (CFLAGS-tst-initializers1-c11.c): New variable.
5701         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5703         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5704         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5705         instead of -std=gnu99.
5706         * configure.ac (systemtap): Test with -std=gnu11 instead of
5707         -std=gnu99.
5708         * configure: Regenerated.
5709         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5710         in compilation command in comment.
5712         * sysdeps/nptl/configure.ac: Remove file.
5713         * sysdeps/nptl/configure: Remove generated file.
5714         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5715         * configure: Regenerated.
5716         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5717         * config.make.in (have-forced-unwind): Remove variable.
5718         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5719         unconditional.
5720         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5721         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5722         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5723         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5724         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5725         unconditional.
5727 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5729         [BZ #19174]
5730         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5731         .skip_lock_out_of_tbegin_retries.
5732         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5733         (__lll_lock_elision): Likewise, and respect a value of
5734         try_tbegin <= 0.
5736 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5738         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5739         statement.
5741 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5743         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5744         variable.
5745         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5746         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5748         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5749         of -std=c1x -D_ISOC11_SOURCE.
5751         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5752         * configure: Regenerated.
5753         * manual/install.texi (Tools for Compilation): Document
5754         requirement for GCC 4.7 or later.
5755         * INSTALL: Regenerated.
5757 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5759         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5760         on CNT to a conditional jump to 'puntdata'.
5762 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5764         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5765         (libc_cv_gcc_tls_model_attr): Likewise.
5766         * configure: Regenerated.
5768         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5769         * configure: Regenerated.
5770         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5772 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5774         * configure.ac (old_glibc_headers): Remove configure test.
5775         * configure: Regenerated.
5776         * config.make.in (old-glibc-headers): Remove variable.
5777         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5778         (install): Remove dependency on remove-old-headers.
5779         (headers2_0): Remove variable.
5780         (remove-old-headers): Remove rule.
5782         * configure.ac (libc_cv_dot_text): Remove configure test.
5783         (libc_cv_asm_set_directive): Use .text instead of
5784         ${libc_cv_dot_text} in configure test.
5785         * configure: Regenerated.
5787 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5789         [BZ #19168]
5790         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5792 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5794         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5795         not support static linking.
5796         * configure: Regenerate.
5798 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5800         * math/libm-test.inc (check_float_internal): Do not special-case
5801         errors up to 0.5 ulp.
5803         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5804         log2.
5805         * math/auto-libm-test-out: Regenerated.
5806         * math/libm-test.inc (MAX_EXP): New macro.
5807         (ilogb_test_data): Add more tests.
5808         (isfinite_test_data): Likewise.
5809         (isgreater_test_data): Likewise.
5810         (isgreaterequal_test_data): Likewise.
5811         (isinf_test_data): Likewise.
5812         (isless_test_data): Likewise.
5813         (islessequal_test_data): Likewise.
5814         (islessgreater_test_data): Likewise.
5815         (isnan_test_data): Likewise.
5816         (isnormal_test_data): Likewise.
5817         (issignaling_test_data): Likewise.
5818         (isunordered_test_data): Likewise.
5819         (j0_test_data): Likewise.
5820         (j1_test_data): Likewise.
5821         (jn_test_data): Likewise.
5822         (lgamma_test_data): Likewise.
5823         (log_test_data): Likewise.
5824         (log10_test_data): Likewise.
5825         (log1p_test_data): Likewise.
5826         (log2_test_data): Likewise.
5827         (logb_test_data): Likewise.
5828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5830         [BZ #18611]
5831         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5832         avoid excess range and precision on underflow.
5833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5834         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
5835         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5836         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
5837         underflow.
5838         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5840         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5841         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5842         * math/auto-libm-test-in: Do not allow missing errno setting for
5843         tests of j1 and jn.
5844         * math/auto-libm-test-out: Regenerated.
5846 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
5848         [BZ #15491]
5849         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
5850         floating-point environment instead of clearing all exceptions.
5851         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5852         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
5853         merging in "invalid" exceptions from frndint.
5854         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5855         * math/test-nearbyint-except.c: New file.
5856         * math/Makefile (tests): Add test-nearbyint-except.
5858 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
5860         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
5862         * sysdeps/tile/libm-test-ulps: Regenerated.
5864 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
5867         (__NR_sync_file_range2): Assume it is always defined.
5868         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5869         (__NR_sync_file_range): Assume it is always defined.
5871 2015-10-22  Andreas Schwab  <schwab@suse.de>
5873         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5874         INTERNAL_SYSCALL_ERRNO.
5875         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5876         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5877         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5878         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5879         Likewise.
5880         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5882 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5884         * io/tst-fcntl.c (fd): New static variable.
5885         (do_prepare): Open temporary file here....
5886         (do_test): ...not here.
5888         * io/ftwtest-sh: Also trap on exit to remove temporary files.
5890 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5892         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
5893         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5894         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5895         Moved before "#ifdef __ASSEMBLER__".
5897 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5899         [BZ #19156]
5900         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
5901         arguments very close to 0.
5903 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
5905         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
5906         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
5908 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
5910         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5911         New.  Defined for GCC 5 and above when not compiling for
5912         profiling.
5913         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
5915         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
5916         Renamed to ...
5917         (CFLAGS-epoll_pwait.o): This.
5918         (CFLAGS-mmap.c): Renamed to ...
5919         (CFLAGS-mmap.o): This.
5920         (CFLAGS-mmap64.c): Renamed to ...
5921         (CFLAGS-mmap64.o): This.
5922         (CFLAGS-epoll_pwait.os): New.
5923         (CFLAGS-mmap.os): Likewise.
5924         (CFLAGS-mmap64.os): Likewise.
5925         (CFLAGS-semtimedop.os): Likewise.
5926         (CFLAGS-semtimedop.c): Renamed to ...
5927         (CFLAGS-semtimedop.o): This.
5929 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5931         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
5932         warning message.
5934 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
5936         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
5937         * Makefile ($(objpfx)c++-types-check.out): Filter out
5938         $(+gccwarn-c) instead of -Wstrict-prototypes.
5940         * io/fts.c (fts_open): Convert to prototype-style function
5941         definition.
5942         * malloc/mcheck.c (mcheck): Likewise.
5943         (mcheck_pedantic): Likewise.
5944         * posix/regexec.c (re_search_2_stub): Likewise.  Use
5945         internal_function.
5946         (re_search_internal): Likewise.
5947         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
5948         prototype-style function definition.
5949         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5950         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
5951         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
5952         (xdr_utmpptr): Likewise.
5953         (xdr_utmparr): Likewise.
5954         (xdr_utmpidle): Likewise.
5955         (xdr_utmpidleptr): Likewise.
5956         (xdr_utmpidlearr): Likewise.
5958         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
5959         log, log10 and log2.
5960         * math/auto-libm-test-out: Regenerated.
5961         * math/libm-test.inc (fmod_test_data): Add more tests.
5962         (fpclassify_test_data): Likewise.
5963         (frexp_test_data): Likewise.
5964         (hypot_test_data): Likewise.
5965         (ilogb_test_data): Likewise.
5967 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
5969         * debug/fortify_fail.c (__fortify_fail): Convert to
5970         prototype-style function definition.  Use internal_function.
5971         * libio/genops.c (save_for_backup): Convert to prototype-style
5972         function definition.
5973         * libio/wgenops.c (save_for_wbackup): Likewise.
5974         * login/grantpt.c (grantpt): Likewise.
5975         * login/ptsname.c (ptsname): Likewise.
5976         (__ptsname_r): Likewise.
5977         * login/unlockpt.c (unlockpt): Likewise.
5978         * mach/msgserver.c (__mach_msg_server): Likewise.
5979         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
5980         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
5981         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
5982         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
5983         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
5984         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
5985         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
5986         Likewise.
5987         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
5988         internal_function.
5989         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
5990         prototype-style function definition.
5991         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
5992         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
5993         (__pthread_create_2_0): Likewise.
5994         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
5995         * nptl/register-atfork.c (__register_atfork): Likewise.
5996         * posix/glob.c (glob): Likewise.
5997         * posix/regcomp.c (re_comp): Likewise.
5998         * posix/regexec.c (re_exec): Likewise.
5999         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6000         [!__STDC__]: Remove conditional code.
6001         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6002         [!__STDC__]: Remove conditional code.
6003         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6004         [!__STDC__]: Remove conditional code.
6005         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6006         [!__STDC__]: Remove conditional code.
6007         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6008         [!__STDC__]: Remove conditional code.
6009         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6010         [!__STDC__]: Remove conditional code.
6011         * stdlib/mul.c [__STDC__]: Make code unconditional.
6012         [!__STDC__]: Remove conditional code.
6013         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6014         [!__STDC__]: Remove conditional code.
6015         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6016         [!__STDC__]: Remove conditional code.
6017         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6018         function definition.
6019         (STRTOF): Likewise.
6020         * stdlib/strtod_l.c (__STRTOF): Likewise.
6021         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6022         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6023         (__strtol_l): Likewise.
6024         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6025         [!__STDC__]: Remove conditional code.
6026         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6027         definition.
6028         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6029         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6030         type.
6031         (__strcasecmp): Convert to prototype-style function definition.
6032         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6033         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6034         type.
6035         (__strncasecmp): Convert to prototype-style function definition.
6036         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6037         * sunrpc/xdr.c (xdr_union): Likewise.
6038         * sunrpc/xdr_array.c (xdr_array): Likewise.
6039         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6040         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6041         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6042         Likewise.
6043         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6044         Likewise.
6045         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6046         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6047         Likewise.
6048         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6049         (LOCALE_PARAM_PROTO): Likewise.
6050         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6051         argument type.
6052         (ut_argument_spec): Remove macro.
6053         (ut_argument_spec_iso): Rename to ut_argument_spec.
6054         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6055         prototype-style function definition.
6056         (memcpy_uppcase): Likewise.
6057         (__strftime_internal): Likewise.
6058         (my_strftime): Likewise.
6059         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6060         (LOCALE_PARAM_DECL): Likewise.
6061         [_LIBC] (LOCALE_PARAM): Include argument type.
6062         (__strptime_internal): Convert to prototype-style function
6063         definition.
6064         (strptime): Likewise.
6065         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6066         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6067         type.
6068         (__wcscasecmp): Convert to prototype-style function definition.
6069         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6070         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6071         type.
6072         (__wcsncasecmp): Convert to prototype-style function definition.
6074         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6075         function definition.
6076         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6077         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6078         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6079         * elf/dl-minimal.c (_itoa): Likewise.
6080         * hurd/hurdmalloc.c (malloc): Likewise.
6081         (free): Likewise.
6082         (realloc): Likewise.
6083         * inet/inet6_option.c (inet6_option_space): Likewise.
6084         (inet6_option_init): Likewise.
6085         (inet6_option_append): Likewise.
6086         (inet6_option_alloc): Likewise.
6087         (inet6_option_next): Likewise.
6088         (inet6_option_find): Likewise.
6089         * io/ftw.c (FTW_NAME): Likewise.
6090         (NFTW_NAME): Likewise.
6091         (NFTW_NEW_NAME): Likewise.
6092         (NFTW_OLD_NAME): Likewise.
6093         * libio/iofwide.c (_IO_fwide): Likewise.
6094         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6095         (_IO_str_init_static): Likewise.
6096         (_IO_str_init_readonly): Likewise.
6097         (_IO_str_overflow): Likewise.
6098         (_IO_str_underflow): Likewise.
6099         (_IO_str_count): Likewise.
6100         (_IO_str_seekoff): Likewise.
6101         (_IO_str_pbackfail): Likewise.
6102         (_IO_str_finish): Likewise.
6103         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6104         (_IO_wstr_overflow): Likewise.
6105         (_IO_wstr_underflow): Likewise.
6106         (_IO_wstr_count): Likewise.
6107         (_IO_wstr_seekoff): Likewise.
6108         (_IO_wstr_pbackfail): Likewise.
6109         (_IO_wstr_finish): Likewise.
6110         * locale/programs/localedef.c (normalize_codeset): Likewise.
6111         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6112         (add_locales_to_archive): Likewise.
6113         (delete_locales_from_archive): Likewise.
6114         * malloc/malloc.c (__libc_mallinfo): Likewise.
6115         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6116         * misc/tsearch.c (__tfind): Likewise.
6117         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6118         * nptl/pthread_attr_getdetachstate.c
6119         (__pthread_attr_getdetachstate): Likewise.
6120         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6121         Likewise.
6122         * nptl/pthread_attr_getinheritsched.c
6123         (__pthread_attr_getinheritsched): Likewise.
6124         * nptl/pthread_attr_getschedparam.c
6125         (__pthread_attr_getschedparam): Likewise.
6126         * nptl/pthread_attr_getschedpolicy.c
6127         (__pthread_attr_getschedpolicy): Likewise.
6128         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6129         Likewise.
6130         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6131         Likewise.
6132         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6133         Likewise.
6134         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6135         Likewise.
6136         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6137         (__pthread_attr_init_2_0): Likewise.
6138         * nptl/pthread_attr_setdetachstate.c
6139         (__pthread_attr_setdetachstate): Likewise.
6140         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6141         Likewise.
6142         * nptl/pthread_attr_setinheritsched.c
6143         (__pthread_attr_setinheritsched): Likewise.
6144         * nptl/pthread_attr_setschedparam.c
6145         (__pthread_attr_setschedparam): Likewise.
6146         * nptl/pthread_attr_setschedpolicy.c
6147         (__pthread_attr_setschedpolicy): Likewise.
6148         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6149         Likewise.
6150         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6151         Likewise.
6152         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6153         Likewise.
6154         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6155         Likewise.
6156         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6157         Likewise.
6158         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6159         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6160         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6161         use internal_function.
6162         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6163         prototype-style function definition.
6164         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6165         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6166         internal_function.
6167         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6168         Convert to prototype-style function definition.
6169         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6170         Likewise.
6171         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6172         Likewise.
6173         (__pthread_mutex_unlock): Likewise.
6174         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6175         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6176         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6177         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6178         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6179         * nss/makedb.c (process_input): Likewise.
6180         * posix/fnmatch.c (__strchrnul): Likewise.
6181         (__wcschrnul): Likewise.
6182         (fnmatch): Likewise.
6183         * posix/fnmatch_loop.c (FCT): Likewise.
6184         * posix/glob.c (globfree): Likewise.
6185         (__glob_pattern_type): Likewise.
6186         (__glob_pattern_p): Likewise.
6187         * posix/regcomp.c (re_compile_pattern): Likewise.
6188         (re_set_syntax): Likewise.
6189         (re_compile_fastmap): Likewise.
6190         (regcomp): Likewise.
6191         (regerror): Likewise.
6192         (regfree): Likewise.
6193         * posix/regexec.c (regexec): Likewise.
6194         (re_match): Likewise.
6195         (re_search): Likewise.
6196         (re_match_2): Likewise.
6197         (re_search_2): Likewise.
6198         (re_search_stub): Likewise.  Use internal_function
6199         (re_copy_regs): Likewise.
6200         (re_set_registers): Convert to prototype-style function
6201         definition.
6202         (prune_impossible_nodes): Likewise.  Use internal_function.
6203         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6204         prototype-style function definition.
6205         (inet_net_pton_ipv4): Likewise.
6206         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6207         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6208         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6209         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6210         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6211         Make variadic.
6212         * time/strptime_l.c (localtime_r): Convert to prototype-style
6213         function definition.
6214         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6215         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6216         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6217         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6219         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6220         definition.
6221         (_ufc_doit_r): Likewise.
6222         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6223         (_ufc_output_conversion_r): Likewise.
6224         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6225         * inet/rcmd.c (rcmd_af): Likewise.
6226         (rcmd): Likewise.
6227         (ruserok_af): Likewise.
6228         (ruserok): Likewise.
6229         (ruserok2_sa): Likewise.
6230         (ruserok_sa): Likewise.
6231         (iruserok_af): Likewise.
6232         (iruserok): Likewise.
6233         (__ivaliduser): Likewise.
6234         (__validuser2_sa): Likewise.
6235         * inet/rexec.c (rexec_af): Likewise.
6236         (rexec): Likewise.
6237         * inet/ruserpass.c (ruserpass): Likewise.
6238         * locale/programs/xmalloc.c (xcalloc): Likewise.
6239         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6240         * math/w_drem.c (__drem): Likewise.
6241         * math/w_dremf.c (__dremf): Likewise.
6242         * math/w_dreml.c (__dreml): Likewise.
6243         * misc/daemon.c (daemon): Likewise.
6244         * resolv/res_debug.c (p_fqnname): Likewise.
6245         * stdlib/div.c (div): Likewise.
6246         * string/memcmp.c (memcmp_bytes): Likewise.
6247         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6248         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6250         * crypt/cert.c (main): Convert to prototype-style function
6251         definition.
6252         * io/pipe.c (__pipe): Likewise.
6253         * io/pipe2.c (__pipe2): Likewise.
6254         * misc/futimesat.c (futimesat): Likewise.
6255         * misc/utimes.c (__utimes): Likewise.
6256         * posix/execve.c (__execve): Likewise.
6257         * posix/execvp.c (execvp): Likewise.
6258         * posix/execvpe.c (__execvpe): Likewise.
6259         * posix/fexecve.c (fexecve): Likewise.
6260         * socket/socketpair.c (socketpair): Likewise.
6261         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6262         * stdlib/erand48.c (erand48): Likewise.
6263         * stdlib/erand48_r.c (__erand48_r): Likewise.
6264         * stdlib/jrand48.c (jrand48): Likewise.
6265         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6266         * stdlib/lcong48.c (lcong48): Likewise.
6267         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6268         * stdlib/nrand48.c (nrand48): Likewise.
6269         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6270         * stdlib/seed48.c (seed48): Likewise.
6271         * stdlib/seed48_r.c (__seed48_r): Likewise.
6272         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6273         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6274         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6276 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6278         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6279         * configure: Regenerated.
6280         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6281         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6282         unconditional.
6283         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6284         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6285         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6286         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6287         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6288         unconditional.
6289         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6291         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6292         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6294         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6295         function definition.
6296         * crypt/crypt_util.c (__encrypt_r): Likewise.
6297         * libio/genops.c (_IO_no_init): Likewise.
6298         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6299         (_IO_old_fopencookie): Likewise.
6300         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6301         * libio/iogetline.c (_IO_getline): Likewise.
6302         (_IO_getline_info): Likewise.
6303         * libio/iogetwline.c (_IO_getwline): Likewise.
6304         (_IO_getwline_info): Likewise.
6305         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6306         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6307         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6308         (find_entry): Likewise.
6309         (iterate_table): Likewise.
6310         (lookup): Likewise.
6311         * login/forkpty.c (forkpty): Likewise.
6312         * misc/hsearch_r.c (__hsearch_r): Likewise.
6313         * misc/select.c (__select): Likewise.
6314         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6315         Likewise.
6316         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6317         Likewise.
6318         * nptl/old_pthread_cond_timedwait.c
6319         (__pthread_cond_timedwait_2_0): Likewise.
6320         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6321         * nptl/pthread_barrierattr_getpshared.c
6322         (pthread_barrierattr_getpshared): Likewise.
6323         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6324         Likewise.
6325         * nptl/pthread_mutex_setprioceiling.c
6326         (pthread_mutex_setprioceiling): Likewise.
6327         * nptl/pthread_mutexattr_getprioceiling.c
6328         (pthread_mutexattr_getprioceiling): Likewise.
6329         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6330         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6331         Likewise.
6332         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6333         Likewise.
6334         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6335         Likewise.
6336         * socket/recvfrom.c (__recvfrom): Likewise.
6337         * socket/sendto.c (__sendto): Likewise.
6338         * socket/setsockopt.c (__setsockopt): Likewise.
6339         * stdio-common/_itoa.c (_itoa): Likewise.
6340         * stdio-common/_itowa.c (_itowa): Likewise.
6341         * stdio-common/reg-printf.c (__register_printf_specifier):
6342         Likewise.
6343         (__register_printf_function): Likewise.
6344         * stdio-common/tempname.c (__path_search): Likewise.
6345         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6346         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6347         * stdlib/random_r.c (__initstate_r): Likewise.
6348         * stdlib/setenv.c (__add_to_environ): Likewise.
6349         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6350         * streams/getpmsg.c (getpmsg): Likewise.
6351         * streams/putmsg.c (putmsg): Likewise.
6352         * streams/putpmsg.c (putpmsg): Likewise.
6353         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6354         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6355         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6356         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6357         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6358         * sunrpc/svc_udp.c (cache_get): Likewise.
6359         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6360         * sysdeps/mach/hurd/getcwd.c
6361         (__canonicalize_directory_name_internal): Likewise.
6362         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6363         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6364         * sysdeps/mach/hurd/select.c (__select): Likewise.
6365         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6366         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6367         * sysdeps/sparc/nptl/pthread_barrier_init.c
6368         (__pthread_barrier_init): Likewise.
6369         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6370         (__pthread_cond_timedwait): Likewise.
6371         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6372         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6373         Likewise.
6374         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6375         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6376         Likewise.
6377         * sysvipc/semtimedop.c (semtimedop): Likewise.
6378         * time/setitimer.c (__setitimer): Likewise.
6379         * time/strftime_l.c (emacs_strftime): Likewise.
6381 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6383         * config.make.in (have-ssp): Delete.
6384         (stack-protector): New variable.
6385         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6386         cache test for -fstack-protector-strong.  Export stack_protector to
6387         the best ssp flag.
6388         * configure: Regenerated.
6389         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6390         * nscd/Makefile (CFLAGS-nscd): Likewise.
6391         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6393 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6395         [BZ #19122]
6396         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6397         attribute_hidden.
6399 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6401         [BZ #18743]
6402         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6403         code to...
6404         (ELIDE_LOCK): ...here.
6405         (__get_new_count): New function with part of the code from
6406         __elide_lock that updates the value of adapt_count after a
6407         transaction abort.
6408         (__elided_trylock): Moved this code to...
6409         (ELIDE_TRYLOCK): ...here.
6411 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6413         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6414         * configure: Regenerate.
6415         * INSTALL: Regenerate.
6416         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6417         and tweak grammar.
6419 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6421         * login/programs/pt_chown.c: Include signal.h
6422         (main): Clear any signal mask from the parent process.
6424 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6426         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6427         * configure: Regenerated.
6428         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6429         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6430         $(gnu89-inline-CFLAGS).
6432         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6433         test.
6434         (libc_cv_asm_weakext_directive): Likewise.
6435         * configure: Regenerated.
6436         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6437         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6438         * include/libc-symbols.h
6439         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6440         #error.
6441         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6442         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6444         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6445         prototype-style function definition.
6446         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6447         * sysdeps/i386/ffs.c (__ffs): Likewise.
6448         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6449         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6450         Likewise.
6451         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6452         Likewise.
6453         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6454         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6455         Likewise.
6456         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6457         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6458         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6459         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6460         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6461         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6462         * sysdeps/mach/hurd/access.c (__access): Likewise.
6463         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6464         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6465         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6466         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6467         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6468         (cthread_getspecific): Likewise.
6469         (cthread_setspecific): Likewise.
6470         (__libc_getspecific): Likewise.
6471         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6472         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6473         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6474         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6475         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6476         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6477         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6478         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6479         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6480         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6481         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6482         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6483         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6484         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6485         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6486         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6487         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6488         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6489         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6490         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6491         * sysdeps/mach/hurd/link.c (__link): Likewise.
6492         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6493         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6494         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6495         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6496         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6497         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6498         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6499         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6500         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6501         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6502         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6503         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6504         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6505         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6506         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6507         * sysdeps/mach/hurd/send.c (__send): Likewise.
6508         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6509         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6510         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6511         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6512         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6513         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6514         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6515         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6516         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6517         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6518         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6519         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6520         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6521         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6522         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6523         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6524         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6525         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6526         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6527         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6528         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6529         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6530         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6531         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6532         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6533         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6534         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6535         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6536         * sysdeps/posix/alarm.c (alarm): Likewise.
6537         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6538         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6539         * sysdeps/posix/dup.c (__dup): Likewise.
6540         * sysdeps/posix/dup2.c (__dup2): Likewise.
6541         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6542         (main): Likewise.
6543         * sysdeps/posix/flock.c (__flock): Likewise.
6544         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6545         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6546         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6547         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6548         * sysdeps/posix/isatty.c (__isatty): Likewise.
6549         * sysdeps/posix/killpg.c (killpg): Likewise.
6550         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6551         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6552         * sysdeps/posix/raise.c (raise): Likewise.
6553         * sysdeps/posix/remove.c (remove): Likewise.
6554         * sysdeps/posix/rename.c (rename): Likewise.
6555         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6556         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6557         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6558         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6559         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6560         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6561         * sysdeps/posix/sigset.c (sigset): Likewise.
6562         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6563         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6564         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6565         * sysdeps/posix/time.c (time): Likewise.
6566         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6567         (ttyname): Likewise.
6568         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6569         * sysdeps/posix/utime.c (utime): Likewise.
6570         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6571         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6572         Likewise.
6573         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6574         (pthread_spin_trylock): Likewise.
6575         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6576         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6577         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6578         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6579         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6580         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6581         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6582         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6583         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6584         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6585         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6586         * sysdeps/s390/ffs.c (__ffs): Likewise.
6587         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6588         Likewise.
6589         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6590         Likewise.
6591         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6592         Likewise.
6593         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6594         (pthread_barrier_destroy): Likewise.
6595         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6596         (__pthread_barrier_wait): Likewise.
6597         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6598         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6599         (__pthread_barrier_wait): Likewise.
6600         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6601         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6602         (memcmp_not_common_alignment): Likewise.
6603         (MEMCMP): Likewise.
6604         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6605         (_wordcopy_fwd_dest_aligned): Likewise.
6606         (_wordcopy_bwd_aligned): Likewise.
6607         (_wordcopy_bwd_dest_aligned): Likewise.
6608         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6609         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6610         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6611         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6612         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6613         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6614         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6615         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6616         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6617         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6618         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6619         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6620         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6621         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6622         * sysdeps/unix/stime.c (stime): Likewise.
6623         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6624         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6625         Likewise.  Use internal_function.
6626         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6627         Convert to prototype-style function definition.
6628         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6629         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6630         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6631         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6632         Likewise.  Use internal_function.
6633         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6634         prototype-style function definition
6635         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6636         Likewise.
6637         (__getlogin_r): Likewise.
6638         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6640         (__pthread_cond_broadcast): Likewise.
6641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6642         (__pthread_cond_destroy): Likewise.
6643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6644         (__pthread_cond_init): Likewise.
6645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6646         (__pthread_cond_signal): Likewise.
6647         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6648         (__pthread_cond_wait): Likewise.
6649         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6650         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6651         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6652         Likewise.
6653         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6654         Likewise.
6655         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6656         Likewise.
6657         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6658         Likewise.
6659         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6661         (__ftruncate64): Likewise.
6662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6663         (truncate64): Likewise.
6664         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6665         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6666         (pthread_getcpuclockid): Likewise.
6667         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6668         Likewise.
6669         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6670         Likewise.
6671         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6672         Likewise.
6673         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6674         Likewise.
6675         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6676         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6677         (__libc_sigaction): Likewise.
6678         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6679         Likewise.
6680         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6681         (__sigprocmask): Likewise.
6682         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6683         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6684         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6685         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6686         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6687         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6688         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6689         Likewise.
6690         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6691         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6692         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6693         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6694         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6695         Likewise.
6696         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6697         (__sigprocmask): Likewise.
6698         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6699         (cfgetispeed): Likewise.
6700         (cfsetospeed): Likewise.
6701         (cfsetispeed): Likewise.
6702         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6703         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6704         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6705         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6706         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6707         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6708         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6709         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6710         Likewise.
6711         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6712         Likewise.
6713         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6714         Likewise.
6715         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6716         Likewise.
6717         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6719 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6721         sunrpc: Rewrite with explicit TLS access using __thread.
6722         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6723         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6724         directly.
6725         (__rpc_thread_variables): Access thread_rpc_vars directly.
6726         Eliminate redundant assignment of the tvp variable.
6728 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6730         malloc: Rewrite with explicit TLS access using __thread.
6731         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6732         (tsd_setspecific, tsd_getspecific): Remove.
6733         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6734         (tsd_setspecific, tsd_getspecific): Likewise.
6735         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6736         (tsd_setspecific, tsd_getspecific): Likewise.
6737         * malloc/arena.c (thread_arena): New TLS variable.
6738         (arena_key): Remove variable.
6739         (arena_get): Use thread_arena.
6740         (arena_lookup): Remove macro.
6741         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6742         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6743         (_int_new_arena, get_free_list, reused_arena)
6744         (arena_thread_freeres): Use thread_arena.
6745         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6746         tsd_getspecific, tsd_setspecific from safety annotations.
6747         (Allocating Cleared Space): Remove arena_lookup from safety
6748         annotations.
6750 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6752         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6753         struct scratch_buffer instead of extend_alloca.
6755 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6757         * sysdeps/unix/sysv/linux/kernel-features.h
6758         (__ASSUME_SOCK_CLOEXEC): Remove.
6759         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6760         (__have_paccept): Remove unused macro.
6761         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6762         * misc/syslog.c (openlog_internal): Remove fallback code for
6763         !__ASSUME_SOCK_CLOEXEC.
6764         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6765         missing SOCK_CLOEXEC.
6766         * nscd/connections.c (have_sock_cloexec): Remove definition.
6767         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6768         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6769         !__ASSUME_SOCK_CLOEXEC.
6770         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6771         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6772         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6773         definition.
6774         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6775         code for !__ASSUME_SOCK_CLOEXEC.
6777 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6779         [BZ #18982]
6780         * manual/stdio.texi (Variable Arguments Output): Add portability
6781         note, explaining that vfprintf clobbers the va_list pointer.
6783 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6785         * math/libm-test.inc (fabs_test_data): Add more tests.
6786         (fdim_test_data): Likewise.
6787         (fma_test_data): Likewise.
6788         (fmax_test_data): Likewise.
6789         (fmin_test_data): Likewise.
6790         (fmod_test_data): Likewise.
6792 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6794         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6795         data.
6797 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6799         * math/libm-test.inc (ceil_test_data): Add more tests and more
6800         expectations for "inexact".
6801         (floor_test_data): Add more tests.
6802         (round_test_data): Likewise.
6803         (trunc_test_data): Likewise.
6805         * crypt/cert.c (good_bye): Convert to prototype-style function
6806         definition.
6807         (get8): Likewise.
6808         (put8): Likewise.
6809         * crypt/crypt-entry.c (crypt): Likewise.
6810         (__fcrypt): Likewise.
6811         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6812         (_ufc_set_bits): Likewise.
6813         (_ufc_clearmem): Likewise.
6814         (__init_des_r): Likewise.
6815         (shuffle_sb): Likewise.
6816         (shuffle_sb): Likewise.
6817         (_ufc_setup_salt_r): Likewise.
6818         (_ufc_mk_keytab_r): Likewise.
6819         (_ufc_dofinalperm_r): Likewise.
6820         (encrypt): Likewise.
6821         (__setkey_r): Likewise.
6822         (setkey): Likewise.
6823         * crypt/md5.c (md5_init_ctx): Likewise.
6824         (md5_read_ctx): Likewise.
6825         (md5_finish_ctx): Likewise.
6826         (md5_stream): Likewise.
6827         (md5_buffer): Likewise.
6828         (md5_process_bytes): Likewise.
6829         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6830         (__sha256_finish_ctx): Likewise.
6831         (__sha256_process_bytes): Likewise.
6832         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6833         (__sha512_finish_ctx): Likewise.
6834         (__sha512_process_bytes): Likewise.
6835         * ctype/isctype.c (__isctype): Likewise.
6836         * debug/backtrace.c (__backtrace): Likewise.
6837         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
6838         * debug/fgets_chk.c (__fgets_chk): Likewise.
6839         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
6840         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
6841         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6842         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6843         * debug/memset_chk.c (__memset_chk): Likewise.
6844         * debug/strcat_chk.c (__strcat_chk): Likewise.
6845         * debug/strncat_chk.c (__strncat_chk): Likewise.
6846         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
6847         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
6848         * dirent/dirfd.c (dirfd): Likewise.
6849         * dirent/getdents.c (__getdirentries): Likewise.
6850         * dirent/getdents64.c (getdirentries64): Likewise.
6851         * dirent/rewinddir.c (__rewinddir): Likewise.
6852         * dirent/seekdir.c (seekdir): Likewise.
6853         * dirent/telldir.c (telldir): Likewise.
6854         * elf/sln.c (makesymlinks): Likewise.
6855         (makesymlink): Likewise.
6856         * gmon/gmon.c (__moncontrol): Likewise.
6857         (__monstartup): Likewise.
6858         (write_hist): Likewise.
6859         (write_call_graph): Likewise.
6860         (write_bb_counts): Likewise.
6861         * grp/setgroups.c (setgroups): Likewise.
6862         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6863         * inet/inet_net.c (inet_network): Likewise.
6864         * inet/inet_netof.c (inet_netof): Likewise.
6865         * inet/rcmd.c (rresvport_af): Likewise.
6866         (rresvport): Likewise.
6867         * io/access.c (__access): Likewise.
6868         * io/chdir.c (__chdir): Likewise.
6869         * io/chmod.c (__chmod): Likewise.
6870         * io/chown.c (__chown): Likewise.
6871         * io/close.c (__close): Likewise.
6872         * io/creat.c (creat): Likewise.
6873         * io/creat64.c (creat64): Likewise.
6874         * io/dup.c (__dup): Likewise.
6875         * io/dup2.c (__dup2): Likewise.
6876         * io/dup3.c (__dup3): Likewise.
6877         * io/euidaccess.c (__euidaccess): Likewise.
6878         * io/faccessat.c (faccessat): Likewise.
6879         * io/fchmod.c (__fchmod): Likewise.
6880         * io/fchmodat.c (fchmodat): Likewise.
6881         * io/fchown.c (__fchown): Likewise.
6882         * io/fchownat.c (fchownat): Likewise.
6883         * io/fcntl.c (__fcntl): Likewise.
6884         * io/flock.c (__flock): Likewise.
6885         * io/fts.c (fts_load): Likewise.
6886         (fts_close): Likewise.
6887         (fts_read): Likewise.
6888         (fts_set): Likewise.
6889         (fts_children): Likewise.
6890         (fts_build): Likewise.
6891         (fts_stat): Likewise.
6892         (fts_sort): Likewise.
6893         (fts_alloc): Likewise.
6894         (fts_lfree): Likewise.
6895         (fts_palloc): Likewise.
6896         (fts_padjust): Likewise.
6897         (fts_maxarglen): Likewise.
6898         (fts_safe_changedir): Likewise.
6899         * io/getwd.c (getwd): Likewise.
6900         * io/isatty.c (__isatty): Likewise.
6901         * io/lchown.c (__lchown): Likewise.
6902         * io/link.c (__link): Likewise.
6903         * io/linkat.c (linkat): Likewise.
6904         * io/lseek.c (__libc_lseek): Likewise.
6905         * io/mkdir.c (__mkdir): Likewise.
6906         * io/mkdirat.c (mkdirat): Likewise.
6907         * io/mkfifo.c (mkfifo): Likewise.
6908         * io/mkfifoat.c (mkfifoat): Likewise.
6909         * io/open.c (__libc_open): Likewise.
6910         * io/open64.c (__libc_open64): Likewise.
6911         * io/readlink.c (__readlink): Likewise.
6912         * io/readlinkat.c (readlinkat): Likewise.
6913         * io/rmdir.c (__rmdir): Likewise.
6914         * io/symlink.c (__symlink): Likewise.
6915         * io/symlinkat.c (symlinkat): Likewise.
6916         * io/ttyname.c (ttyname): Likewise.
6917         * io/ttyname_r.c (__ttyname_r): Likewise.
6918         * io/umask.c (__umask): Likewise.
6919         * io/unlink.c (__unlink): Likewise.
6920         * io/unlinkat.c (unlinkat): Likewise.
6921         * io/utime.c (utime): Likewise.
6922         * libio/clearerr.c (clearerr): Likewise.
6923         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
6924         * libio/feof.c (_IO_feof): Likewise.
6925         * libio/feof_u.c (feof_unlocked): Likewise.
6926         * libio/ferror.c (_IO_ferror): Likewise.
6927         * libio/ferror_u.c (ferror_unlocked): Likewise.
6928         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6929         * libio/fileno.c (__fileno): Likewise.
6930         * libio/fputc.c (fputc): Likewise.
6931         * libio/fputc_u.c (fputc_unlocked): Likewise.
6932         * libio/fputwc.c (fputwc): Likewise.
6933         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
6934         * libio/freopen.c (freopen): Likewise.
6935         * libio/freopen64.c (freopen64): Likewise.
6936         * libio/fseek.c (fseek): Likewise.
6937         * libio/fseeko.c (fseeko): Likewise.
6938         * libio/fseeko64.c (fseeko64): Likewise.
6939         * libio/ftello.c (__ftello): Likewise.
6940         * libio/ftello64.c (ftello64): Likewise.
6941         * libio/fwide.c (fwide): Likewise.
6942         * libio/genops.c (_IO_un_link): Likewise.
6943         (_IO_link_in): Likewise.
6944         (_IO_least_marker): Likewise.
6945         (_IO_switch_to_main_get_area): Likewise.
6946         (_IO_switch_to_backup_area): Likewise.
6947         (_IO_switch_to_get_mode): Likewise.
6948         (_IO_free_backup_area): Likewise.
6949         (_IO_switch_to_put_mode): Likewise.
6950         (__overflow): Likewise.
6951         (__underflow): Likewise.
6952         (__uflow): Likewise.
6953         (_IO_setb): Likewise.
6954         (_IO_doallocbuf): Likewise.
6955         (_IO_default_underflow): Likewise.
6956         (_IO_default_uflow): Likewise.
6957         (_IO_default_xsputn): Likewise.
6958         (_IO_sgetn): Likewise.
6959         (_IO_default_xsgetn): Likewise.
6960         (_IO_sync): Likewise.
6961         (_IO_default_setbuf): Likewise.
6962         (_IO_default_seekpos): Likewise.
6963         (_IO_default_doallocate): Likewise.
6964         (_IO_init): Likewise.
6965         (_IO_old_init): Likewise.
6966         (_IO_default_sync): Likewise.
6967         (_IO_default_finish): Likewise.
6968         (_IO_default_seekoff): Likewise.
6969         (_IO_sputbackc): Likewise.
6970         (_IO_sungetc): Likewise.
6971         (_IO_set_column): Likewise.
6972         (_IO_set_column): Likewise.
6973         (_IO_adjust_column): Likewise.
6974         (_IO_get_column): Likewise.
6975         (_IO_init_marker): Likewise.
6976         (_IO_remove_marker): Likewise.
6977         (_IO_marker_difference): Likewise.
6978         (_IO_marker_delta): Likewise.
6979         (_IO_seekmark): Likewise.
6980         (_IO_unsave_markers): Likewise.
6981         (_IO_nobackup_pbackfail): Likewise.
6982         (_IO_default_pbackfail): Likewise.
6983         (_IO_default_seek): Likewise.
6984         (_IO_default_stat): Likewise.
6985         (_IO_default_read): Likewise.
6986         (_IO_default_write): Likewise.
6987         (_IO_default_showmanyc): Likewise.
6988         (_IO_default_imbue): Likewise.
6989         (_IO_iter_next): Likewise.
6990         (_IO_iter_file): Likewise.
6991         * libio/getc.c (_IO_getc): Likewise.
6992         * libio/getwc.c (_IO_getwc): Likewise.
6993         * libio/iofclose.c (_IO_new_fclose): Likewise.
6994         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6995         * libio/iofflush.c (_IO_fflush): Likewise.
6996         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
6997         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
6998         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
6999         * libio/iofgets.c (_IO_fgets): Likewise.
7000         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7001         * libio/iofgetws.c (fgetws): Likewise.
7002         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7003         * libio/iofopen64.c (_IO_fopen64): Likewise.
7004         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7005         (_IO_cookie_write): Likewise.
7006         (_IO_cookie_seek): Likewise.
7007         (_IO_cookie_close): Likewise.
7008         (_IO_cookie_seekoff): Likewise.
7009         (_IO_old_cookie_seek): Likewise.
7010         * libio/iofputs.c (_IO_fputs): Likewise.
7011         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7012         * libio/iofputws.c (fputws): Likewise.
7013         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7014         * libio/iofread.c (_IO_fread): Likewise.
7015         * libio/iofread_u.c (__fread_unlocked): Likewise.
7016         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7017         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7018         * libio/ioftell.c (_IO_ftell): Likewise.
7019         * libio/iofwrite.c (_IO_fwrite): Likewise.
7020         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7021         * libio/iogets.c (_IO_gets): Likewise.
7022         * libio/iopadn.c (_IO_padn): Likewise.
7023         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7024         (_IO_new_popen): Likewise.
7025         (_IO_new_proc_close): Likewise.
7026         * libio/ioputs.c (_IO_puts): Likewise.
7027         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7028         (_IO_seekoff): Likewise.
7029         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7030         (_IO_seekpos): Likewise.
7031         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7032         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7033         * libio/ioungetc.c (_IO_ungetc): Likewise.
7034         * libio/ioungetwc.c (ungetwc): Likewise.
7035         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7036         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7037         * libio/iowpadn.c (_IO_wpadn): Likewise.
7038         * libio/libc_fatal.c (__libc_fatal): Likewise.
7039         * libio/memstream.c (__open_memstream): Likewise.
7040         (_IO_mem_sync): Likewise.
7041         (_IO_mem_finish): Likewise.
7042         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7043         (_IO_old_file_close_it): Likewise.
7044         (_IO_old_file_finish): Likewise.
7045         (_IO_old_file_fopen): Likewise.
7046         (_IO_old_file_attach): Likewise.
7047         (_IO_old_file_setbuf): Likewise.
7048         (_IO_old_do_write): Likewise.
7049         (old_do_write): Likewise.
7050         (_IO_old_file_underflow): Likewise.
7051         (_IO_old_file_overflow): Likewise.
7052         (_IO_old_file_sync): Likewise.
7053         (_IO_old_file_seekoff): Likewise.
7054         (_IO_old_file_write): Likewise.
7055         (_IO_old_file_xsputn): Likewise.
7056         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7057         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7058         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7059         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7060         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7061         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7062         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7063         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7064         (_IO_old_popen): Likewise.
7065         (_IO_old_proc_close): Likewise.
7066         * libio/oldpclose.c (__old_pclose): Likewise.
7067         * libio/pclose.c (__new_pclose): Likewise.
7068         * libio/peekc.c (_IO_peekc_locked): Likewise.
7069         * libio/putc.c (_IO_putc): Likewise.
7070         * libio/putc_u.c (putc_unlocked): Likewise.
7071         * libio/putchar.c (putchar): Likewise.
7072         * libio/putchar_u.c (putchar_unlocked): Likewise.
7073         * libio/putwc.c (putwc): Likewise.
7074         * libio/putwc_u.c (putwc_unlocked): Likewise.
7075         * libio/putwchar.c (putwchar): Likewise.
7076         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7077         * libio/rewind.c (rewind): Likewise.
7078         * libio/setbuf.c (setbuf): Likewise.
7079         * libio/setlinebuf.c (setlinebuf): Likewise.
7080         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7081         * libio/vscanf.c (_IO_vscanf): Likewise.
7082         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7083         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7084         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7085         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7086         (_IO_switch_to_main_wget_area): Likewise.
7087         (_IO_switch_to_wbackup_area): Likewise.
7088         (_IO_wsetb): Likewise.
7089         (_IO_wdefault_pbackfail): Likewise.
7090         (_IO_wdefault_finish): Likewise.
7091         (_IO_wdefault_uflow): Likewise.
7092         (__woverflow): Likewise.
7093         (__wuflow): Likewise.
7094         (__wunderflow): Likewise.
7095         (_IO_wdefault_xsputn): Likewise.
7096         (_IO_wdefault_xsgetn): Likewise.
7097         (_IO_wdoallocbuf): Likewise.
7098         (_IO_wdefault_doallocate): Likewise.
7099         (_IO_switch_to_wget_mode): Likewise.
7100         (_IO_free_wbackup_area): Likewise.
7101         (_IO_switch_to_wput_mode): Likewise.
7102         (_IO_sputbackwc): Likewise.
7103         (_IO_sungetwc): Likewise.
7104         (_IO_adjust_wcolumn): Likewise.
7105         (_IO_init_wmarker): Likewise.
7106         (_IO_wmarker_delta): Likewise.
7107         (_IO_seekwmark): Likewise.
7108         (_IO_unsave_wmarkers): Likewise.
7109         * libio/wmemstream.c (open_wmemstream): Likewise.
7110         (_IO_wmem_sync): Likewise.
7111         (_IO_wmem_finish): Likewise.
7112         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7113         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7114         * locale/programs/simple-hash.c (init_hash): Likewise.
7115         (delete_hash): Likewise.
7116         (insert_entry): Likewise.
7117         (set_entry): Likewise.
7118         (next_prime): Likewise.
7119         (is_prime): Likewise.
7120         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7121         (xmalloc): Likewise.
7122         (xrealloc): Likewise.
7123         * locale/programs/xstrdup.c (xstrdup): Likewise.
7124         * localedata/collate-test.c (xstrcoll): Likewise.
7125         * localedata/xfrm-test.c (xstrcmp): Likewise.
7126         * login/getlogin_r.c (__getlogin_r): Likewise.
7127         * login/getpt.c (__posix_openpt): Likewise.
7128         * login/login_tty.c (login_tty): Likewise.
7129         * login/setlogin.c (setlogin): Likewise.
7130         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7131         (mach_msg_destroy_port): Likewise.
7132         (mach_msg_destroy_memory): Likewise.
7133         * malloc/mcheck.c (flood): Likewise.
7134         * misc/acct.c (acct): Likewise.
7135         * misc/brk.c (__brk): Likewise.
7136         * misc/chflags.c (chflags): Likewise.
7137         * misc/chroot.c (chroot): Likewise.
7138         * misc/fchflags.c (fchflags): Likewise.
7139         * misc/fstab.c (getfsspec): Likewise.
7140         (getfsfile): Likewise.
7141         * misc/fsync.c (fsync): Likewise.
7142         * misc/ftruncate.c (__ftruncate): Likewise.
7143         * misc/ftruncate64.c (__ftruncate64): Likewise.
7144         * misc/getdomain.c (getdomainname): Likewise.
7145         (getdomainname): Likewise.
7146         * misc/gethostname.c (__gethostname): Likewise.
7147         * misc/getpass.c (getpass): Likewise.
7148         * misc/getttyent.c (skip): Likewise.
7149         (value): Likewise.
7150         * misc/gtty.c (gtty): Likewise.
7151         * misc/hsearch.c (hsearch): Likewise.
7152         (hcreate): Likewise.
7153         * misc/hsearch_r.c (__hcreate_r): Likewise.
7154         (__hdestroy_r): Likewise.
7155         * misc/ioctl.c (__ioctl): Likewise.
7156         * misc/mkdtemp.c (mkdtemp): Likewise.
7157         * misc/mkostemp.c (mkostemp): Likewise.
7158         * misc/mkostemp64.c (mkostemp64): Likewise.
7159         * misc/mkostemps.c (mkostemps): Likewise.
7160         * misc/mkostemps64.c (mkostemps64): Likewise.
7161         * misc/mkstemp.c (mkstemp): Likewise.
7162         * misc/mkstemp64.c (mkstemp64): Likewise.
7163         * misc/mkstemps.c (mkstemps): Likewise.
7164         * misc/mkstemps64.c (mkstemps64): Likewise.
7165         * misc/mktemp.c (__mktemp): Likewise.
7166         * misc/preadv.c (preadv): Likewise.
7167         * misc/preadv64.c (preadv64): Likewise.
7168         * misc/pwritev.c (pwritev): Likewise.
7169         * misc/pwritev64.c (pwritev64): Likewise.
7170         * misc/readv.c (__readv): Likewise.
7171         * misc/revoke.c (revoke): Likewise.
7172         * misc/setdomain.c (setdomainname): Likewise.
7173         * misc/setegid.c (setegid): Likewise.
7174         * misc/seteuid.c (seteuid): Likewise.
7175         * misc/sethostid.c (sethostid): Likewise.
7176         * misc/sethostname.c (sethostname): Likewise.
7177         * misc/setregid.c (__setregid): Likewise.
7178         * misc/setreuid.c (__setreuid): Likewise.
7179         * misc/sstk.c (sstk): Likewise.
7180         * misc/stty.c (stty): Likewise.
7181         * misc/syscall.c (syscall): Likewise.
7182         * misc/syslog.c (setlogmask): Likewise.
7183         * misc/truncate.c (__truncate): Likewise.
7184         * misc/truncate64.c (truncate64): Likewise.
7185         * misc/ualarm.c (ualarm): Likewise.
7186         * misc/usleep.c (usleep): Likewise.
7187         * misc/ustat.c (ustat): Likewise.
7188         * misc/writev.c (__writev): Likewise.
7189         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7190         * nptl/old_pthread_cond_broadcast.c
7191         (__pthread_cond_broadcast_2_0): Likewise.
7192         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7193         Likewise.
7194         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7195         Likewise.
7196         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7197         Likewise.
7198         * nptl/pt-raise.c (raise): Likewise.
7199         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7200         Likewise.
7201         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7202         * nptl/pthread_barrierattr_destroy.c
7203         (pthread_barrierattr_destroy): Likewise.
7204         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7205         Likewise.
7206         * nptl/pthread_barrierattr_setpshared.c
7207         (pthread_barrierattr_setpshared): Likewise.
7208         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7209         Likewise.
7210         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7211         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7212         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7213         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7214         Likewise.
7215         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7216         Likewise.
7217         * nptl/pthread_condattr_getpshared.c
7218         (pthread_condattr_getpshared): Likewise.
7219         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7220         Likewise.
7221         * nptl/pthread_condattr_setpshared.c
7222         (pthread_condattr_setpshared): Likewise.
7223         * nptl/pthread_detach.c (pthread_detach): Likewise.
7224         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7225         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7226         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7227         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7228         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7229         Likewise.
7230         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7231         Likewise.
7232         * nptl/pthread_mutex_getprioceiling.c
7233         (pthread_mutex_getprioceiling): Likewise.
7234         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7235         Likewise.
7236         * nptl/pthread_mutexattr_getprotocol.c
7237         (pthread_mutexattr_getprotocol): Likewise.
7238         * nptl/pthread_mutexattr_getpshared.c
7239         (pthread_mutexattr_getpshared): Likewise.
7240         * nptl/pthread_mutexattr_getrobust.c
7241         (pthread_mutexattr_getrobust): Likewise.
7242         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7243         Likewise.
7244         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7245         Likewise.
7246         * nptl/pthread_mutexattr_setprioceiling.c
7247         (pthread_mutexattr_setprioceiling): Likewise.
7248         * nptl/pthread_mutexattr_setprotocol.c
7249         (pthread_mutexattr_setprotocol): Likewise.
7250         * nptl/pthread_mutexattr_setpshared.c
7251         (pthread_mutexattr_setpshared): Likewise.
7252         * nptl/pthread_mutexattr_setrobust.c
7253         (pthread_mutexattr_setrobust): Likewise.
7254         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7255         Likewise.
7256         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7257         Likewise.
7258         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7259         Likewise.
7260         * nptl/pthread_rwlockattr_getkind_np.c
7261         (pthread_rwlockattr_getkind_np): Likewise.
7262         * nptl/pthread_rwlockattr_getpshared.c
7263         (pthread_rwlockattr_getpshared): Likewise.
7264         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7265         Likewise.
7266         * nptl/pthread_rwlockattr_setkind_np.c
7267         (pthread_rwlockattr_setkind_np): Likewise.
7268         * nptl/pthread_rwlockattr_setpshared.c
7269         (pthread_rwlockattr_setpshared): Likewise.
7270         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7271         Likewise.
7272         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7273         Likewise.
7274         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7275         Likewise.
7276         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7277         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7278         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7279         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7280         * nptl/sem_close.c (sem_close): Likewise.
7281         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7282         * nptl/sem_init.c (__old_sem_init): Likewise.
7283         * nptl/sigaction.c (__sigaction): Likewise.
7284         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7285         * posix/_exit.c (_exit): Likewise.
7286         * posix/alarm.c (alarm): Likewise.
7287         * posix/confstr.c (confstr): Likewise.
7288         * posix/fpathconf.c (__fpathconf): Likewise.
7289         * posix/getgroups.c (__getgroups): Likewise.
7290         * posix/getpgid.c (__getpgid): Likewise.
7291         * posix/group_member.c (__group_member): Likewise.
7292         * posix/pathconf.c (__pathconf): Likewise.
7293         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7294         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7295         * posix/setgid.c (__setgid): Likewise.
7296         * posix/setpgid.c (__setpgid): Likewise.
7297         * posix/setuid.c (__setuid): Likewise.
7298         * posix/sleep.c (__sleep): Likewise.
7299         * posix/sysconf.c (__sysconf): Likewise.
7300         * posix/times.c (__times): Likewise.
7301         * posix/uname.c (__uname): Likewise.
7302         * posix/waitid.c (__waitid): Likewise.
7303         * pwd/getpw.c (__getpw): Likewise.
7304         * resolv/base64.c (b64_pton): Likewise.
7305         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7306         * resolv/gethnamaddr.c (Dprintf): Likewise.
7307         (gethostbyname): Likewise.
7308         (gethostbyname2): Likewise.
7309         (gethostbyaddr): Likewise.
7310         (_sethtent): Likewise.
7311         (_gethtbyname): Likewise.
7312         (_gethtbyname2): Likewise.
7313         (_gethtbyaddr): Likewise.
7314         (map_v4v6_address): Likewise.
7315         (map_v4v6_hostent): Likewise.
7316         (addrsort): Likewise.
7317         (ht_sethostent): Likewise.
7318         (ht_gethostbyname): Likewise.
7319         (ht_gethostbyaddr): Likewise.
7320         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7321         (inet_net_ntop_ipv4): Likewise.
7322         * resolv/inet_neta.c (inet_neta): Likewise.
7323         * resolv/inet_ntop.c (inet_ntop): Likewise.
7324         (inet_ntop4): Likewise.
7325         (inet_ntop6): Likewise.
7326         * resolv/inet_pton.c (__inet_pton): Likewise.
7327         (inet_pton4): Likewise.
7328         (inet_pton6): Likewise.
7329         * resolv/res_debug.c (loc_aton): Likewise.
7330         (loc_ntoa): Likewise.
7331         * resource/getpriority.c (__getpriority): Likewise.
7332         * resource/getrusage.c (__getrusage): Likewise.
7333         * resource/nice.c (nice): Likewise.
7334         * resource/setpriority.c (__setpriority): Likewise.
7335         * resource/setrlimit64.c (setrlimit64): Likewise.
7336         * resource/vlimit.c (vlimit): Likewise.
7337         * resource/vtimes.c (vtimes): Likewise.
7338         * rt/aio_error.c (aio_error): Likewise.
7339         * rt/aio_return.c (aio_return): Likewise.
7340         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7341         * signal/kill.c (__kill): Likewise.
7342         * signal/killpg.c (killpg): Likewise.
7343         * signal/raise.c (raise): Likewise.
7344         * signal/sigaction.c (__sigaction): Likewise.
7345         * signal/sigaddset.c (sigaddset): Likewise.
7346         * signal/sigaltstack.c (sigaltstack): Likewise.
7347         * signal/sigandset.c (sigandset): Likewise.
7348         * signal/sigblock.c (__sigblock): Likewise.
7349         * signal/sigdelset.c (sigdelset): Likewise.
7350         * signal/sigempty.c (sigemptyset): Likewise.
7351         * signal/sigfillset.c (sigfillset): Likewise.
7352         * signal/sighold.c (sighold): Likewise.
7353         * signal/sigignore.c (sigignore): Likewise.
7354         * signal/sigintr.c (siginterrupt): Likewise.
7355         * signal/sigisempty.c (sigisemptyset): Likewise.
7356         * signal/sigismem.c (sigismember): Likewise.
7357         * signal/signal.c (signal): Likewise.
7358         * signal/sigorset.c (sigorset): Likewise.
7359         * signal/sigpause.c (__sigpause): Likewise.
7360         * signal/sigpending.c (sigpending): Likewise.
7361         * signal/sigprocmask.c (__sigprocmask): Likewise.
7362         * signal/sigrelse.c (sigrelse): Likewise.
7363         * signal/sigreturn.c (__sigreturn): Likewise.
7364         * signal/sigset.c (sigset): Likewise.
7365         * signal/sigsetmask.c (__sigsetmask): Likewise.
7366         * signal/sigstack.c (sigstack): Likewise.
7367         * signal/sigsuspend.c (__sigsuspend): Likewise.
7368         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7369         * signal/sysv_signal.c (__sysv_signal): Likewise.
7370         * socket/accept.c (accept): Likewise.
7371         * socket/accept4.c (__libc_accept4): Likewise.
7372         * socket/bind.c (__bind): Likewise.
7373         * socket/connect.c (__connect): Likewise.
7374         * socket/getpeername.c (getpeername): Likewise.
7375         * socket/getsockname.c (__getsockname): Likewise.
7376         * socket/getsockopt.c (getsockopt): Likewise.
7377         * socket/listen.c (__listen): Likewise.
7378         * socket/recv.c (__recv): Likewise.
7379         * socket/recvmsg.c (__recvmsg): Likewise.
7380         * socket/send.c (__send): Likewise.
7381         * socket/sendmsg.c (__sendmsg): Likewise.
7382         * socket/shutdown.c (shutdown): Likewise.
7383         * socket/sockatmark.c (sockatmark): Likewise.
7384         * socket/socket.c (__socket): Likewise.
7385         * stdio-common/ctermid.c (ctermid): Likewise.
7386         * stdio-common/cuserid.c (cuserid): Likewise.
7387         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7388         * stdio-common/remove.c (remove): Likewise.
7389         * stdio-common/rename.c (rename): Likewise.
7390         * stdio-common/renameat.c (renameat): Likewise.
7391         * stdio-common/tempname.c (__gen_tempname): Likewise.
7392         * stdio-common/xbug.c (InitBuffer): Likewise.
7393         (AppendToBuffer): Likewise.
7394         (ReadFile): Likewise.
7395         * stdlib/a64l.c (a64l): Likewise.
7396         * stdlib/drand48_r.c (drand48_r): Likewise.
7397         * stdlib/getcontext.c (getcontext): Likewise.
7398         * stdlib/getenv.c (getenv): Likewise.
7399         * stdlib/l64a.c (l64a): Likewise.
7400         * stdlib/llabs.c (llabs): Likewise.
7401         * stdlib/lldiv.c (lldiv): Likewise.
7402         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7403         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7404         * stdlib/putenv.c (putenv): Likewise.
7405         * stdlib/random.c (__srandom): Likewise.
7406         (__initstate): Likewise.
7407         (__setstate): Likewise.
7408         * stdlib/random_r.c (__srandom_r): Likewise.
7409         (__setstate_r): Likewise.
7410         (__random_r): Likewise.
7411         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7412         * stdlib/setcontext.c (setcontext): Likewise.
7413         * stdlib/setenv.c (setenv): Likewise.
7414         (unsetenv): Likewise.
7415         * stdlib/srand48.c (srand48): Likewise.
7416         * stdlib/srand48_r.c (__srand48_r): Likewise.
7417         * stdlib/swapcontext.c (swapcontext): Likewise.
7418         * stdlib/system.c (__libc_system): Likewise.
7419         * stdlib/tst-strtod.c (expand): Likewise.
7420         * stdlib/tst-strtol.c (expand): Likewise.
7421         * stdlib/tst-strtoll.c (expand): Likewise.
7422         * streams/fattach.c (fattach): Likewise.
7423         * streams/fdetach.c (fdetach): Likewise.
7424         * streams/getmsg.c (getmsg): Likewise.
7425         * streams/isastream.c (isastream): Likewise.
7426         * string/ffs.c (__ffs): Likewise.
7427         * string/ffsll.c (ffsll): Likewise.
7428         * string/memcmp.c (memcmp_common_alignment): Likewise.
7429         (memcmp_not_common_alignment): Likewise.
7430         (MEMCMP): Likewise.
7431         * string/memcpy.c (memcpy): Likewise.
7432         * string/memmove.c (MEMMOVE): Likewise.
7433         * string/memset.c (memset): Likewise.
7434         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7435         * string/strchrnul.c (STRCHRNUL): Likewise.
7436         * string/strerror.c (strerror): Likewise.
7437         * string/strndup.c (__strndup): Likewise.
7438         * string/strverscmp.c (__strverscmp): Likewise.
7439         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7440         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7441         (clnttcp_freeres): Likewise.
7442         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7443         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7444         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7445         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7446         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7447         (xdr_callhdr): Likewise.
7448         * sunrpc/rpcinfo.c (udpping): Likewise.
7449         (tcpping): Likewise.
7450         (pstatus): Likewise.
7451         (pmapdump): Likewise.
7452         (brdcst): Likewise.
7453         (deletereg): Likewise.
7454         (getprognum): Likewise.
7455         (getvers): Likewise.
7456         (get_inet_address): Likewise.
7457         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7458         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7459         (svcudp_stat): Likewise.
7460         (svcudp_recv): Likewise.
7461         (svcudp_reply): Likewise.
7462         (svcudp_getargs): Likewise.
7463         (svcudp_freeargs): Likewise.
7464         (svcudp_destroy): Likewise.
7465         * sunrpc/xdr.c (xdr_bytes): Likewise.
7466         (xdr_netobj): Likewise.
7467         (xdr_string): Likewise.
7468         (xdr_wrapstring): Likewise.
7469         * sunrpc/xdr_float.c (xdr_float): Likewise.
7470         (xdr_double): Likewise.
7471         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7472         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7473         * sysvipc/ftok.c (ftok): Likewise.
7474         * sysvipc/msgctl.c (msgctl): Likewise.
7475         * sysvipc/msgget.c (msgget): Likewise.
7476         * sysvipc/msgrcv.c (msgrcv): Likewise.
7477         * sysvipc/msgsnd.c (msgsnd): Likewise.
7478         * sysvipc/semget.c (semget): Likewise.
7479         * sysvipc/semop.c (semop): Likewise.
7480         * sysvipc/shmat.c (shmat): Likewise.
7481         * sysvipc/shmctl.c (shmctl): Likewise.
7482         * sysvipc/shmdt.c (shmdt): Likewise.
7483         * sysvipc/shmget.c (shmget): Likewise.
7484         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7485         * termios/speed.c (cfgetospeed): Likewise.
7486         (cfgetispeed): Likewise.
7487         (cfsetospeed): Likewise.
7488         (cfsetispeed): Likewise.
7489         * termios/tcflow.c (tcflow): Likewise.
7490         * termios/tcflush.c (tcflush): Likewise.
7491         * termios/tcgetattr.c (__tcgetattr): Likewise.
7492         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7493         * termios/tcgetsid.c (tcgetsid): Likewise.
7494         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7495         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7496         * time/adjtime.c (__adjtime): Likewise.
7497         * time/dysize.c (dysize): Likewise.
7498         * time/ftime.c (ftime): Likewise.
7499         * time/getitimer.c (__getitimer): Likewise.
7500         * time/gettimeofday.c (__gettimeofday): Likewise.
7501         * time/gmtime.c (__gmtime_r): Likewise.
7502         (gmtime): Likewise.
7503         * time/localtime.c (__localtime_r): Likewise.
7504         (localtime): Likewise.
7505         * time/offtime.c (__offtime): Likewise.
7506         * time/settimeofday.c (__settimeofday): Likewise.
7507         * time/stime.c (stime): Likewise.
7508         * time/strftime_l.c (tm_diff): Likewise.
7509         (iso_week_days): Likewise.
7510         * time/strptime.c (strptime): Likewise.
7511         * time/time.c (time): Likewise.
7512         * time/timespec_get.c (timespec_get): Likewise.
7513         * time/tzset.c (tzset_internal): Likewise.
7514         (compute_change): Likewise.
7515         (__tz_compute): Likewise.
7516         * wcsmbs/btowc.c (__btowc): Likewise.
7517         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7518         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7519         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7520         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7521         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7522         * wcsmbs/wcscat.c (__wcscat): Likewise.
7523         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7524         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7525         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7526         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7527         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7528         * wcsmbs/wcslen.c (__wcslen): Likewise.
7529         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7530         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7531         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7532         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7533         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7534         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7535         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7536         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7537         * wcsmbs/wcstok.c (wcstok): Likewise.
7538         * wcsmbs/wctob.c (wctob): Likewise.
7539         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7540         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7541         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7542         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7543         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7544         * wcsmbs/wmemset.c (__wmemset): Likewise.
7545         * wctype/wcfuncs.c (__towlower): Likewise.
7546         (__towupper): Likewise.
7548         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7549         (lll_unlock_elision): Add adapt_count parameter.
7551 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7553         * sysdeps/nptl/configure.ac: Do not give errors based on the
7554         results of top-level configure tests.
7555         * sysdeps/nptl/configure: Regenerated.
7557         * configure.ac (libc_cv_Bgroup): Remove configure test.
7558         * configure: Regenerated.
7559         * config.make.in (have-Bgroup): Remove variable.
7561         * configure.ac (sizeof_long_double): Remove configure test.
7562         * configure: Regenerated.
7563         * config.make.in (sizeof-long-double): Remove variable.
7565         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7566         * configure: Regenerated.
7567         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7568         variable.
7569         (exceptions): Likewise.
7570         * sysdeps/arm/configure: Regenerated.
7571         * config.make.in (exceptions): Remove variable.
7572         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7573         $(exceptions).
7574         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7575         (CFLAGS-vdprintf_chk.c): Likewise.
7576         (CFLAGS-printf_chk.c): Likewise.
7577         (CFLAGS-fprintf_chk.c): Likewise.
7578         (CFLAGS-vprintf_chk.c): Likewise.
7579         (CFLAGS-vfprintf_chk.c): Likewise.
7580         (CFLAGS-gets_chk.c): Likewise.
7581         (CFLAGS-fgets_chk.c): Likewise.
7582         (CFLAGS-fgets_u_chk.c): Likewise.
7583         (CFLAGS-fread_chk.c): Likewise.
7584         (CFLAGS-fread_u_chk.c): Likewise.
7585         (CFLAGS-wprintf_chk.c): Likewise.
7586         (CFLAGS-fwprintf_chk.c): Likewise.
7587         (CFLAGS-vwprintf_chk.c): Likewise.
7588         (CFLAGS-vfwprintf_chk.c): Likewise.
7589         (CFLAGS-fgetws_chk.c): Likewise.
7590         (CFLAGS-fgetws_u_chk.c): Likewise.
7591         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7592         (CFLAGS-fputc.c): Likewise.
7593         (CFLAGS-fputwc.c): Likewise.
7594         (CFLAGS-freopen64.c): Likewise.
7595         (CFLAGS-freopen.c): Likewise.
7596         (CFLAGS-fseek.c): Likewise.
7597         (CFLAGS-fseeko64.c): Likewise.
7598         (CFLAGS-fseeko.c): Likewise.
7599         (CFLAGS-ftello64.c): Likewise.
7600         (CFLAGS-ftello.c): Likewise.
7601         (CFLAGS-fwide.c): Likewise.
7602         (CFLAGS-genops.c): Likewise.
7603         (CFLAGS-getc.c): Likewise.
7604         (CFLAGS-getchar.c): Likewise.
7605         (CFLAGS-getwc.c): Likewise.
7606         (CFLAGS-getwchar.c): Likewise.
7607         (CFLAGS-iofclose.c): Likewise.
7608         (CFLAGS-iofflush.c): Likewise.
7609         (CFLAGS-iofgetpos64.c): Likewise.
7610         (CFLAGS-iofgetpos.c): Likewise.
7611         (CFLAGS-iofgets.c): Likewise.
7612         (CFLAGS-iofgetws.c): Likewise.
7613         (CFLAGS-iofputs.c): Likewise.
7614         (CFLAGS-iofputws.c): Likewise.
7615         (CFLAGS-iofread.c): Likewise.
7616         (CFLAGS-iofsetpos64.c): Likewise.
7617         (CFLAGS-iofsetpos.c): Likewise.
7618         (CFLAGS-ioftell.c): Likewise.
7619         (CFLAGS-iofwrite.c): Likewise.
7620         (CFLAGS-iogetdelim.c): Likewise.
7621         (CFLAGS-iogetline.c): Likewise.
7622         (CFLAGS-iogets.c): Likewise.
7623         (CFLAGS-iogetwline.c): Likewise.
7624         (CFLAGS-ioputs.c): Likewise.
7625         (CFLAGS-ioseekoff.c): Likewise.
7626         (CFLAGS-ioseekpos.c): Likewise.
7627         (CFLAGS-iosetbuffer.c): Likewise.
7628         (CFLAGS-iosetvbuf.c): Likewise.
7629         (CFLAGS-ioungetc.c): Likewise.
7630         (CFLAGS-ioungetwc.c): Likewise.
7631         (CFLAGS-oldfileops.c): Likewise.
7632         (CFLAGS-oldiofclose.c): Likewise.
7633         (CFLAGS-oldiofgetpos64.c): Likewise.
7634         (CFLAGS-oldiofgetpos.c): Likewise.
7635         (CFLAGS-oldiofsetpos64.c): Likewise.
7636         (CFLAGS-oldiofsetpos.c): Likewise.
7637         (CFLAGS-peekc.c): Likewise.
7638         (CFLAGS-putc.c): Likewise.
7639         (CFLAGS-putchar.c): Likewise.
7640         (CFLAGS-putwc.c): Likewise.
7641         (CFLAGS-putwchar.c): Likewise.
7642         (CFLAGS-rewind.c): Likewise.
7643         (CFLAGS-wfileops.c): Likewise.
7644         (CFLAGS-wgenops.c): Likewise.
7645         (CFLAGS-oldiofopen.c): Likewise.
7646         (CFLAGS-iofopen.c): Likewise.
7647         (CFLAGS-iofopen64.c): Likewise.
7648         (CFLAGS-oldtmpfile.c): Likewise.
7649         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7650         (CFLAGS-fprintf.c): Likewise.
7651         (CFLAGS-printf.c): Likewise.
7652         (CFLAGS-vfwprintf.c): Likewise.
7653         (CFLAGS-vfscanf.c): Likewise.
7654         (CFLAGS-vfwscanf.c): Likewise.
7655         (CFLAGS-fscanf.c): Likewise.
7656         (CFLAGS-scanf.c): Likewise.
7657         (CFLAGS-isoc99_vfscanf.c): Likewise.
7658         (CFLAGS-isoc99_vscanf.c): Likewise.
7659         (CFLAGS-isoc99_fscanf.c): Likewise.
7660         (CFLAGS-isoc99_scanf.c): Likewise.
7661         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7662         (CFLAGS-isoc99_fwscanf.c): Likewise.
7663         (CFLAGS-isoc99_vwscanf.c): Likewise.
7664         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7666         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7667         after mkstemp64.
7668         * login/tst-utmp.c (do_prepare): Likewise.
7669         * rt/tst-aio.c (do_prepare): Likewise.
7670         * rt/tst-aio64.c (do_prepare): Likewise.
7672 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7674         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7675         (__lll_lock_elision): Remove adapt_count decrement...
7676         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7677         (__lll_trylock_elision): Likewise.
7678         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7679         (__lll_unlock_elision): ... to here. And utilize
7680         new adapt_count parameter.
7681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7682         (__lll_unlock_elision): Update to include adapt_count
7683         parameter.
7684         (lll_unlock_elision): Pass pointer to adapt_count
7685         variable.
7687 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7689         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7690         Add elision adapt_count parameter to list of arguments.
7691         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7692         (lll_unlock_elision): Update with new parameter list
7693         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7694         (lll_unlock_elision): Likewise.
7695         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7696         (lll_unlock_elision): Likewise.
7698 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7700         [BZ #19122]
7701         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7702         attribute_hidden.
7704         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7705         attribute_hidden.
7706         [IS_IN (rtld)] (__strdup): Likewise.
7707         [IS_IN (rtld)] (__strerror_r): Likewise.
7708         [IS_IN (rtld)] (__strsep_g): Likewise.
7709         [IS_IN (rtld)] (memchr): Likewise.
7710         [IS_IN (rtld)] (memcmp): Likewise.
7711         [IS_IN (rtld)] (memcpy): Likewise.
7712         [IS_IN (rtld)] (memmove): Likewise.
7713         [IS_IN (rtld)] (memset): Likewise.
7714         [IS_IN (rtld)] (rawmemchr): Likewise.
7715         [IS_IN (rtld)] (stpcpy): Likewise.
7716         [IS_IN (rtld)] (strchr): Likewise.
7717         [IS_IN (rtld)] (strcmp): Likewise.
7718         [IS_IN (rtld)] (strlen): Likewise.
7719         [IS_IN (rtld)] (strnlen): Likewise.
7720         [IS_IN (rtld)] (strsep): Likewise.
7722         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7723         attribute_hidden.
7724         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7726         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7727         attribute_hidden.
7728         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7730         * include/setjmp.h (__longjmp): Add attribute_hidden.
7731         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7733         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7734         Add attribute_hidden.
7736         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7737         [IS_IN (rtld)] (__open): Likewise.
7738         [IS_IN (rtld)] (__fcntl): Likewise.
7740         * include/dirent.h (__opendirat): Add attribute_hidden.
7741         (__getdents): Likewise.
7742         (__getdents64): Likewise.
7743         (__alloc_dir): Likewise.
7744         [IS_IN (rtld)] (__closedir): Likewise.
7745         [IS_IN (rtld)] (__fdopendir): Likewise.
7746         [IS_IN (rtld)] (__readdir): Likewise.
7747         [IS_IN (rtld)] (__readdir64): Likewise.
7748         [IS_IN (rtld)] (__rewinddir): Likewise.
7750         * include/dlfcn.h (_dl_catch_error): Moved to ...
7751         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7752         attribute_hidden.
7754         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7755         (_itoa_word): Likewise.
7757         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7758         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7759         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7760         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7761         (_dl_higher_prime_number): Likewise.
7762         (_dl_debug_printf_c): Likewise.
7763         (_dl_signal_cerror): Likewise.
7764         (_dl_receive_error): Likewise.
7765         (_dl_reloc_bad_type): Likewise.
7766         (_dl_resolve_conflicts): Likewise.
7767         (_dl_check_all_versions): Likewise.
7768         (_dl_check_map_versions): Likewise.
7769         (_dl_sort_fini): Likewise.
7770         (_dl_debug_initialize): Likewise.
7771         (_dl_init_paths): Likewise.
7772         (_dl_show_auxv): Likewise.
7773         (_dl_next_ld_env_entry): Likewise.
7774         (_dl_important_hwcaps): Likewise.
7775         (_dl_load_cache_lookup): Likewise.
7776         (_dl_update_slotinfo): Likewise.
7777         (_dl_show_scope): Likewise.
7779         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7780         attribute_hidden.
7781         (_wordcopy_fwd_dest_aligned): Likewise.
7782         (_wordcopy_bwd_aligned): Likewise.
7783         (_wordcopy_bwd_dest_aligned): Likewise.
7785         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7786         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7787         Likewise.
7788         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7789         Likewise.
7790         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7792 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7795         GCC 5 requirement.
7797 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7799         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7800         test.
7801         * sysdeps/i386/configure: Regenerated.
7802         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7803         code unconditional.
7805         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7806         test.
7807         (libc_cv_asm_popsection_directive): Likewise.
7808         * configure: Regenerated.
7809         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7810         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7811         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7812         (__make_section_unallocated): Make definition unconditional.
7813         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7814         Remove conditional definition.
7815         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7816         (__make_section_unallocated): Likewise.
7818         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7819         * configure: Regenerated.
7820         * config.make.in (static-libgcc): Remove variable.
7821         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7822         $(static-libgcc).
7823         (build-module-helper): Likewise.
7825         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7826         * configure: Regenerated.
7828 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7830         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7831         (struct char_buffer): New type.
7832         (char_buffer_start, char_buffer_size, char_buffer_error)
7833         (char_buffer_rewind, char_buffer_add): New functions.
7834         (ADDW): Remove macro, replaced by the char_buffer_add function.
7835         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
7836         of extend_alloca.  Make control flow more explicit.
7838 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7840         [BZ #19137]
7841         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7842         Add -fomit-frame-pointer.
7843         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
7845 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7847         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
7848         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
7849         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
7850         only if !__GNUC_PREREQ (5,0).
7851         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
7852         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
7853         (INTERNAL_SYSCALL_NCS): Likewise.
7854         (LOADREGS_0): New macro for GCC 5.
7855         (ASMARGS_0): Likewise.
7856         (LOADREGS_1): Likewise.
7857         (ASMARGS_1): Likewise.
7858         (LOADREGS_2): Likewise.
7859         (ASMARGS_2): Likewise.
7860         (LOADREGS_3): Likewise.
7861         (ASMARGS_3): Likewise.
7862         (LOADREGS_4): Likewise.
7863         (ASMARGS_4): Likewise.
7864         (LOADREGS_5): Likewise.
7865         (ASMARGS_5): Likewise.
7866         (LOADREGS_6): Likewise.
7867         (ASMARGS_6): Likewise.
7869 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7871         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
7872         -fomit-frame-pointer.
7873         (CFLAGS-mmap64.c): Likewise.
7874         (CFLAGS-semtimedop.c): Likewise.
7875         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
7876         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
7877         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7878         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7880 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7882         [BZ #18928]
7883         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
7884         _dl_pointer_guard member.
7885         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
7886         initializer.
7887         (security_init): Always set up pointer guard.
7888         (process_envvars): Do not process LD_POINTER_GUARD.
7890 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
7892         [BZ #19134]
7893         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
7894         (.LC2): Likewise.
7895         (.LC3): Likewise.
7896         (__lround): Do not add 0.5 to integer or out-of-range arguments.
7898 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7900         [BZ #19129]
7901         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
7902         r0 and r1.
7904 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
7906         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
7908 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
7910         * include/stap-probe.h: Fix macro definition formatting.
7912 2015-10-14  Florian Weimer  <fweimer@redhat.com>
7914         [BZ #19074]
7915         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
7916         load and store num_ifs.
7918 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7920         [BZ #18822]
7921         * sysdeps/unix/sysv/linux/sched_getaffinity.c
7922         (__sched_getaffinity_new): Add libc_hidden_proto and
7923         libc_hidden_def.
7925 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7927         [BZ #19007]
7928         * scripts/localplt.awk: Also allow GOT references.
7929         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
7930         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
7931         with "+ REL R_386_GLOB_DAT".
7932         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
7933         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
7935 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
7937         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
7938         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7939         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7942         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
7943         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7944         INTERNAL_SYSCALLINTERNAL_SYSCALL and
7945         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7946         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7947         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7948         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7952 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
7954         [BZ #19125]
7955         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
7956         <math_private.h> and <stdint.h>.
7957         (__llround): Avoid conversions to and from long long int, and
7958         subtractions, where those might raise spurious exceptions.
7959         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
7960         <math_private.h> and <stdint.h>.
7961         (__llroundf): Avoid conversions to and from long long int, and
7962         subtractions, where those might raise spurious exceptions.
7964 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
7966         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
7967         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7968         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7969         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
7970         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7971         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7972         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
7973         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
7974         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
7975         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7976         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7977         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7978         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
7979         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7980         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7981         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
7982         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
7983         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7984         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
7985         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
7986         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7987         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
7988         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
7989         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7990         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
7991         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7992         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
7993         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7994         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7995         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
7996         (__xstat64_conv): Likewise.
7997         (__xstat32_conv): Likewise.
7999 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8001         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8002         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8003         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8004         <sysdeps/unix/sysv/linux/sysdep.h>.
8005         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8006         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8007         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8008         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8009         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8010         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8011         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8012         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8013         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8018         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8019         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8021         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8022         (sysdep-dl-routines): Add sysdep.
8023         [$(subdir) == nptl] (libpthread-routines): Likewise.
8024         [$(subdir) == rt] (librt-routines): Likewise.
8025         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8026         PIC when branching to SYSCALL_ERROR_LABEL.
8027         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8028         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8029         <sysdeps/unix/sysv/linux/sysdep.h>.
8030         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8031         (SYSCALL_ERROR_ERRNO): Removed.
8032         (SYSCALL_ERROR_HANDLER): Changed to empty.
8033         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8034         (__syscall_error): New prototype.
8035         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8036         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8038 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8040         [BZ #19124]
8041         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8042         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8043         _dl_runtime_resolve_avx.
8044         (_dl_runtime_profile_avx512): Make it a hidden alias of
8045         _dl_runtime_profile_avx.
8047 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8049         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8050         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8051         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8052         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8054         [BZ #16422]
8055         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8056         New configure test.
8057         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8058         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8059         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8060         <math_private.h> and <stdint.h>.
8061         (__llrint): Avoid conversions to long long int where those might
8062         raise spurious exceptions.
8063         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8064         <math_private.h> and <stdint.h>.
8065         (__llrintf): Avoid conversions to long long int where those might
8066         raise spurious exceptions.
8068 2015-10-12  Andreas Schwab  <schwab@suse.de>
8070         [BZ #18969]
8071         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8072         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8073         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8074         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8075         $(gen-locales).
8076         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8077         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8078         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8079         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8080         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8081         $(gen-locales).
8082         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8083         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8084         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8085         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8086         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8087         ($(objpfx)tst-ftell-active-handler.out)
8088         ($(objpfx)tst-ftell-append.out)
8089         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8090         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8091         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8092         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8093         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8094         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8095         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8096         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8097         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8098         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8099         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8100         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8101         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8102         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8103         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8104         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8105         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8106         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8107         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8108         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8109         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8110         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8111         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8112         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8113         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8114         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8115         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8116         $(gen-locales).
8117         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8118         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8119         $(gen-locales).
8120         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8121         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8122         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8123         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8124         $(gen-locales).
8125         * libio/tst_wprintf2.c (main): Use explicit locale.
8126         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8128 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8130         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8131         __msg_sig_post.
8132         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8134 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8136         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8137         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8139         * sysdeps/arm/libm-test-ulps: Regenerated.
8141         [BZ #15470]
8142         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8144         [BZ #16399]
8145         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8146         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8147         and <fix-fp-int-convert-overflow.h>.
8148         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8149         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8150         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8151         and <fix-fp-int-convert-overflow.h>.
8152         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8153         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8154         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8155         <fix-fp-int-convert-overflow.h>.
8156         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8157         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8158         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8159         <fix-fp-int-convert-overflow.h>.
8160         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8161         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8162         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8163         and <fix-fp-int-convert-overflow.h>.
8164         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8165         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8166         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8167         <limits.h> and <fix-fp-int-convert-overflow.h>.
8168         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8169         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8170         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8171         and <fix-fp-int-convert-overflow.h>.
8172         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8173         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8174         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8175         and <fix-fp-int-convert-overflow.h>.
8176         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8177         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8178         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8180 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8182         [BZ #18589]
8183         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8184         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8185         $(gen-locales).
8187 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8188             Phil Blundell <pb@pbcl.net>
8190         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8191         * nptl/tst-cancel26.c: New file.
8192         * nptl/tst-cancel27.c: Likewise.
8194 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8196         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8197         __ILP32__ isn't defined.
8198         (lrint): Likewise.
8199         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8200         (lrintf): Likewise.
8201         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8202         (lrintl): Likewise.
8203         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8204         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8205         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8207 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8209         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8210         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8212         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8213         file.
8214         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8215         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8217 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8219         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8220         configure test.
8221         * sysdeps/i386/configure: Regenerated.
8222         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8223         configure test.
8224         * sysdeps/x86_64/configure: Regenerated.
8225         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8226         Make code unconditional.
8228         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8229         test.
8230         * sysdeps/i386/configure: Regenerated.
8231         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8232         test.
8233         * sysdeps/x86_64/configure: Regenerated.
8234         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8235         Make code unconditional.
8236         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8237         Likewise.
8238         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8239         Likewise.
8240         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8241         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8242         code unconditional.
8243         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8244         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8245         code unconditional.
8246         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8247         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8248         code unconditional.
8249         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8250         code unconditional.
8251         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8252         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8253         code unconditional.
8254         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8255         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8256         code unconditional.
8257         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8258         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8259         code unconditional.
8260         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8261         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8262         code unconditional.
8263         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8264         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8266         [BZ #19095]
8267         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8268         mantissa to long int before shifting left.
8270 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8272         [BZ #19094]
8273         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8274         <limits.h>.
8275         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8276         when result overflows but exception would not result from cast.
8277         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8278         <limits.h>.
8279         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8280         when result overflows but exception would not result from cast.
8281         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8282         <limits.h>.
8283         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8284         when result overflows but exception would not result from cast.
8285         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8286         <limits.h>.
8287         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8288         when result overflows but exception would not result from cast.
8289         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8290         <limits.h>.
8291         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8292         when result overflows but exception would not result from cast.
8293         * math/libm-test.inc (lrint_test_data): Add more tests.
8294         (llrint_test_data): Likewise.
8296 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8298         [BZ #18872]
8299         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8300         Move out from under [$(run-built-tests) = yes] conditional.
8301         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8302         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8304 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8306         [BZ #18589]
8307         * string/Makefile (tests): Add bug-strcoll2.
8308         (LOCALES): Add cs_CZ.UTF-8.
8309         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8311         [BZ #18589]
8312         * string/bug-strcoll2.c: New file.
8313         * locale/categories.def: Revert commit
8314         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8315         * locale/langinfo.h: Likewise.
8316         * locale/localeinfo.h: Likewise.
8317         * locale/C-collate.c: Likewise.
8318         * locale/programs/ld-collate.c (collate_output): Likewise.
8319         * string/strcoll_l.c (STRDIFF): Likewise.
8320         (STRCOLL): Likewise.
8321         * wcsmbs/wcscoll_l.c: Likewise.
8323 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8325         * math/libm-test.inc (lround_test_data): Do not expect the absence
8326         of "inexact" for some tests with non-integer arguments.
8327         (llround_test_data): Likewise.
8329         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8330         test.
8331         (libc_cv_cc_sse2avx): Likewise.
8332         * sysdeps/i386/configure: Regenerated.
8333         * sysdeps/i386/i686/multiarch/Makefile
8334         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8335         [$(subdir) = math].
8336         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8337         code unconditional.
8338         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8339         Likewise.
8340         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8341         Likewise.
8342         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8343         Likewise.
8344         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8345         test.
8346         (libc_cv_cc_sse2avx): Likewise.
8347         * sysdeps/x86_64/configure: Regenerated.
8348         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8349         unconditional.
8350         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8351         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8352         unconditional.
8353         (_dl_runtime_profile)
8354         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8355         conditional code.
8356         * sysdeps/x86_64/fpu/multiarch/Makefile
8357         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8358         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8359         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8360         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8361         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8362         * sysdeps/x86_64/fpu/multiarch/e_log.c
8363         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8364         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8365         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8366         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8367         Likewise.
8368         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8369         Likewise.
8370         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8371         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8372         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8373         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8374         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8375         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8376         (HAVE_SSE2AVX_SUPPORT): Likewise.
8378 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8380         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8381         instead of #pragma optimize.
8383 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8385         [BZ #17195]
8386         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8387         as is similarly done in systrim and _int_free already.
8389 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8391         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8393 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8395         [BZ #19088]
8396         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8397         <limits.h>.
8398         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8399         overflows but exception would not result from cast.
8400         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8401         and <limits.h>.
8402         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8403         overflows but exception would not result from cast.
8404         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8405         <limits.h>.
8406         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8407         overflows but exception would not result from cast.
8408         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8409         <limits.h>.
8410         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8411         overflows but exception would not result from cast.
8412         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8413         <limits.h>.
8414         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8415         overflows but exception would not result from cast.
8416         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8417         <limits.h>.
8418         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8419         overflows but exception would not result from cast.
8420         * math/libm-test.inc (lround_test_data): Add more tests.
8421         (llround_test_data): Likewise.
8423 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8425         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8426         (CFLAGS-ialloc.c): Ditto.
8427         (CFLAGS-scheck.c): Ditto.
8429 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8431         [BZ #19086]
8432         * manual/filesys.texi (Storage Allocation): Fix argument order for
8433         posix_fallocate64.
8435 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8437         [BZ #19085]
8438         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8439         exponent below 48 inside case for non-overflowing exponent.
8440         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8442 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8444         * iconvdata/cp737.h (from_idx): Add const.
8445         * iconvdata/cp775.h (from_idx): Likewise.
8447 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8449         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8450         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8451         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8453         [BZ #19079]
8454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8455         file, conditioned on [!_LP64].
8456         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8457         [!_LP64] (__lround): Do not define as function or alias.
8458         [!_LP64] (lround): Likewise.
8459         [!_LP64] (__lroundl): Likewise.
8460         [!_LP64] (lroundl): Likewise.
8461         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8462         macro.
8463         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8464         Likewise.
8466 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8468         * math/libm-test.inc (lrint_test_data): Add more tests.
8469         (llrint_test_data): Likewise.
8470         (lround_test_data): Likewise.
8471         (llround_test_data): Likewise.
8473         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8474         (llrint_test_data): Add tests used for lrint.
8476         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8477         test.
8478         * sysdeps/i386/configure: Regenerated.
8479         * sysdeps/i386/i686/multiarch/Makefile
8480         [$(config-cflags-sse4) = yes]: Make code unconditional.
8481         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8482         Likewise.
8483         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8484         Likewise.
8485         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8486         test.
8487         * sysdeps/x86_64/configure: Regenerated.
8488         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8489         Make code unconditional.
8490         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8491         Likewise.
8492         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8493         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8495         * scripts/rpm2dynsym.sh: Remove file.
8497 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8499         * configure.ac (libc_cv_cxx_thread_local): Define.
8500         * configure: Regenerate.
8501         * config.make.in (have-cxx-thread_local): Define.
8502         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8503         (LDLIBS-tst-thread_local1): Define.
8504         (tests): Add tst-thread_local1.
8505         [have-cxx-thread_local != yes] (tests-unsupported): Add
8506         tst-thread_local1.
8507         * nptl/tst-thread_local1.cc: New file.
8509 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8511         [BZ #19078]
8512         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8513         (u_thres): Likewise.
8514         (__expl): Determine whether to call __kernel_standard_l based on
8515         value of result, not argument.
8517         * math/libm-test.inc (scalb_test_data): Add more expectations for
8518         the "inexact" exception.
8520         [BZ #19077]
8521         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8522         0.0L for argument 1.0L.
8524         [BZ #19076]
8525         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8526         constant 0.0L when computing infinite result.
8528 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8530         [BZ #10432]
8531         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8532         malloc_usable_size.
8534 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8536         [BZ #19018]
8537         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8538         Mangle function pointer before storing it.
8539         (__call_tls_dtors): Demangle function pointer before calling it.
8541 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8543         [BZ #19012]
8544         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8545         Clean up on failure.
8547 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8549         [BZ #19071]
8550         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8551         long int variable to store possibly incremented high part of
8552         mantissa.
8553         * math/libm-test.inc (lround_test_data): Add tests used for
8554         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8555         for tests requiring 64-bit long.  Do not condition tests on
8556         [TEST_FLOAT] unnecessarily.
8557         (llround_test_data): Add tests used for lround.  Add another
8558         expectation for the "inexact" exception.  Do not condition tests
8559         on [TEST_FLOAT] unnecessarily.
8561         [BZ #887]
8562         [BZ #19049]
8563         [BZ #19050]
8564         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8565         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8566         <fix-int-fp-convert-zero.h>.
8567         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8568         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8569         <fix-int-fp-convert-zero.h>.
8570         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8571         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8572         <fix-int-fp-convert-zero.h>.
8573         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8574         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8575         <fix-int-fp-convert-zero.h>.
8576         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8577         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8578         <fix-int-fp-convert-zero.h>.
8579         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8580         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8581         <fix-int-fp-convert-zero.h>.
8582         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8583         * sysdeps/ieee754/flt-32/s_erff.c: Include
8584         <fix-int-fp-convert-zero.h>.
8585         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8586         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8587         <fix-int-fp-convert-zero.h>.
8588         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8589         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8590         <fix-int-fp-convert-zero.h>.
8591         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8593         <fix-int-fp-convert-zero.h>.
8594         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8595         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8596         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8597         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8598         file.
8599         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8601 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8605 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8607         [BZ #19059]
8608         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8609         overflowing computation.
8610         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8611         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8612         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8613         Likewise.
8614         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8615         Likewise.
8616         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8617         Likewise.
8618         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8619         Likewise.
8620         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8621         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8622         Likewise.
8623         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8624         Likewise.
8625         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8627         * nss/rewrite_field.c (__nss_rewrite_field): Use
8628         internal_function.
8629         * nss/valid_field.c (__nss_valid_field): Likewise.
8630         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8632 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8634         [BZ #18724]
8635         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8636         (__nss_invalid_field_characters, __nss_valid_field)
8637         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8638         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8639         tst-field.c: New file.
8640         * nss/Makefile (routines): Add valid_field, rewrite_field.
8641         (tests-static): Define unconditionally.
8642         (tests): Include tests-static.
8643         [build-static-nss] (tests-static): Use append.
8644         [build-static-nss] (tests): Remove modification.
8645         * nss/getent.c (print_group): Call putgrent.  Report error.
8646         (print_gshadow): Call putsgent.  Report error.
8647         (print_passwd): Call putpwent.  Report error.
8648         (print_shadow): Call putspent.  Report error.
8649         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8650         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8651         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8652         name, password, directory, shell fields for valid syntax.  Rewrite
8653         GECOS field to match syntax.
8654         * pwd/Makefile (tests): Add tst-putpwent.
8655         * pwd/tst-putpwent.c: New file.
8656         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8657         Check grName, grpasswd, gr_mem fields for valid syntax.
8658         Change loop variable i to size_t.
8659         * grp/Makefile (tests): Add tst-putgrent.
8660         * grp/tst-putgrent.c: New file.
8661         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8662         valid syntax.
8663         * shadow/Makefile (tests): Add tst-putspent.
8664         * shadow/tst-putspent.c: New file.
8665         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8666         sg_mem fields for valid syntax.
8667         * gshadow/Makefile (tests): Add tst-putsgent.
8668         * gshadow/tst-putsgent.c: New file.
8670 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8672         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8673         assembly instructions.
8675 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8677         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8678         prefix from operands.
8680 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8682         [BZ #16347]
8683         [BZ #19046]
8684         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8685         <libc-internal.h>.
8686         (MAXLGM): Do not use diagnostic control macros.
8687         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8688         threshold for ldbl-128ibm.
8689         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8690         instead of multiplying by log then subtracting.
8691         * math/auto-libm-test-in: Add more tests of lgamma.
8692         * math/auto-libm-test-out: Regenerated.
8694         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8695         (TYPE_HEX_DIG): Likewise.
8696         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8697         precisions when printing floating-point numbers.
8698         (check_float_internal): Likewise.
8700 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8702         [BZ #16620]
8703         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8704         of log (10) rounded downward to 48 bits.
8705         (log10_low): Use corresponding low part of log (10).
8707         [BZ #19032]
8708         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8709         compute result as (x - x) / (x - x) not as 0 / 0.
8710         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8711         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8713         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8714         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8715         and expm1.
8716         * math/auto-libm-test-out: Regenerated.
8717         * math/libm-test.inc (acos_test_data): Add more tests.
8718         (asin_test_data): Likewise.
8719         (asinh_test_data): Likewise.
8720         (atan_test_data): Likewise.
8721         (atanh_test_data): Likewise.
8722         (atan2_test_data): Likewise.
8723         (cbrt_test_data): Likewise.
8724         (ceil_test_data): Likewise.
8725         (copysign_test_data): Likewise.
8726         (cos_test_data): Likewise.
8727         (cosh_test_data): Likewise.
8728         (erf_test_data): Likewise.
8729         (erfc_test_data): Likewise.
8730         (exp_test_data): Likewise.
8731         (exp10_test_data): Likewise.
8732         (exp2_test_data): Likewise.
8733         (expm1_test_data): Likewise.
8734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8736 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8738         [BZ #19006]
8739         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8740         to ...
8741         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8742         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8743         to ...
8744         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8745         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8746         to ...
8747         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8748         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8749         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8750         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8751         to ...
8752         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8753         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8754         Moved to ...
8755         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8756         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8757         Moved to ...
8758         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8759         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8760         to ...
8761         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8762         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8763         Moved to ...
8764         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8765         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8766         to ...
8767         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8768         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8769         Removed.
8770         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8771         Likewise.
8772         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8773         Likewise.
8774         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8775         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8776         Likewise.
8777         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8778         Likewise.
8779         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8780         Likewise.
8781         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8782         Likewise.
8783         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8784         Likewise.
8785         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8786         Likewise.
8787         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8788         Likewise.
8789         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8790         Likewise.
8791         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8792         Likewise.
8793         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8794         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8795         Likewise.
8796         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8797         Likewise.
8798         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8801         Likewise.
8802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8803         Likewise.
8804         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8805         Replace ../i486/pthread_cond_timedwait.S with
8806         ../pthread_cond_timedwait.S.
8808 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8810         * math/libm-test.inc (acos_test_data): Refine expectations for
8811         errno and "inexact" exceptions.
8812         (acosh_test_data): Likewise.
8813         (asin_test_data): Likewise.
8814         (asinh_test_data): Likewise.
8815         (atan_test_data): Likewise.
8816         (atanh_test_data): Likewise.
8817         (atan2_test_data): Likewise.
8818         (cbrt_test_data): Likewise.
8819         (ceil_test_data): Likewise.
8820         (copysign_test_data): Likewise.
8821         (cosh_test_data): Likewise.
8822         (erf_test_data): Likewise.
8823         (erfc_test_data): Likewise.
8824         (exp_test_data): Likewise.
8825         (exp10_test_data): Likewise.
8826         (exp2_test_data): Likewise.
8827         (expm1_test_data): Likewise.
8828         (fabs_test_data): Likewise.
8829         (floor_test_data): Likewise.
8830         (fma_test_data): Likewise.
8831         (fmax_test_data): Likewise.
8832         (fmin_test_data): Likewise.
8833         (fmod_test_data): Likewise.
8834         (fpclassify_test_data): Likewise.
8835         (frexp_test_data): Likewise.
8836         (hypot_test_data): Likewise.
8837         (ilogb_test_data): Likewise.
8838         (isgreater_test_data): Likewise.
8839         (isgreaterequal_test_data): Likewise.
8840         (isinf_test_data): Likewise.
8841         (isless_test_data): Likewise.
8842         (islessequal_test_data): Likewise.
8843         (islessgreater_test_data): Likewise.
8844         (isnan_test_data): Likewise.
8845         (isnormal_test_data): Likewise.
8846         (issignaling_test_data): Likewise.
8847         (isunordered_test_data): Likewise.
8848         (j0_test_data): Likewise.
8849         (j1_test_data): Likewise.
8850         (jn_test_data): Likewise.
8851         (lgamma_test_data): Likewise.
8852         (lrint_test_data): Likewise.
8853         (llrint_test_data): Likewise.
8854         (log_test_data): Likewise.
8855         (log10_test_data): Likewise.
8856         (log1p_test_data): Likewise.
8857         (log2_test_data): Likewise.
8858         (logb_test_data): Likewise.
8859         (lround_test_data): Likewise.
8860         (llround_test_data): Likewise.
8861         (modf_test_data): Likewise.
8862         (nearbyint_test_data): Likewise.
8863         (nextafter_test_data): Likewise.
8864         (nexttoward_test_data): Likewise.
8865         (pow_test_data): Likewise.
8866         (remainder_test_data): Likewise.
8867         (remquo_test_data): Likewise.
8868         (rint_test_data): Likewise.
8869         (round_test_data): Likewise.
8870         (signbit_test_data): Likewise.
8871         (sinh_test_data): Likewise.
8872         (sqrt_test_data): Likewise.
8873         (tanh_test_data): Likewise.
8874         (tgamma_test_data): Likewise.
8875         (trunc_test_data): Likewise.
8876         (y0_test_data): Likewise.
8877         (y1_test_data): Likewise.
8878         (yn_test_data): Likewise.
8879         (significand_test_data): Likewise.
8881 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
8883         * manual/filesys.texi (Storage Allocation): Document that
8884         posix_fallocate emulation fails when fd is open with O_WRONLY.
8886 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
8888         [BZ #19016]
8889         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
8890         allow more cases with X^2 + Y^2 >= 0.5.
8891         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
8892         normal element in sum instead of special-casing based on values of
8893         arguments.
8894         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
8895         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
8896         -1 as normal element in sum instead of special-casing based on
8897         values of arguments.
8898         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
8899         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
8900         (__x2y2m1): Update comment.
8901         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
8902         as normal element in sum instead of special-casing based on values
8903         of arguments.
8904         * math/s_clog.c (__clog): Handle more cases using log1p without
8905         hypot.
8906         * math/s_clog10.c (__clog10): Likewise.
8907         * math/s_clog10f.c (__clog10f): Likewise.
8908         * math/s_clog10l.c (__clog10l): Likewise.
8909         * math/s_clogf.c (__clogf): Likewise.
8910         * math/s_clogl.c (__clogl): Likewise.
8911         * math/auto-libm-test-in: Add more tests of clog and clog10.
8912         * math/auto-libm-test-out: Regenerated.
8913         * sysdeps/i386/fpu/libm-test-ulps: Update.
8914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8916 2015-09-28  Martin Sebor  <msebor@redhat.com>
8918         [BZ #18969]
8919         * string/Makefile (LOCALES): Define.
8920         (gen-locales.mk): Include.
8921         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
8922         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
8923         * string/tst-strxfrm2.c (do_test): Print the name of the locale
8924         on setlocale failure.
8926 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8928         [BZ #18985]
8929         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
8930         (__strftime_internal): Likewise.
8931         * time/tst-strftime.c (do_bz18985): New test.
8932         (do_test): Call it.
8934 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
8936         [BZ #18956]
8937         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
8938         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
8939         extracting high part.
8940         * math/auto-libm-test-in: Add another test of pow.
8941         * math/auto-libm-test-out: Regenerated.
8942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8944 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8946         [BZ #18825]
8947         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
8948         New macro.
8949         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
8950         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
8951         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
8952         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
8953         DBL_NARROW_EVAL, reloading the PIC register as needed.
8954         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
8955         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
8956         FLT_NARROW_EVAL.  Use separate return path for case when first
8957         argument is NaN.
8958         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
8959         DEFINE_LDBL_MIN.
8960         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
8961         PIC register.
8962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
8963         math_check_force_underflow_nonneg.
8964         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
8965         underflow for subnormal result.
8966         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
8967         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
8968         math_check_force_underflow_nonneg.
8969         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
8970         math_check_force_underflow.
8971         * sysdeps/x86_64/fpu/x86_64-math-asm.h
8972         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
8973         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
8974         DEFINE_LDBL_MIN.
8975         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
8976         * math/auto-libm-test-in: Add more tests of pow.
8977         * math/auto-libm-test-out: Regenerated.
8979 2015-09-25  Florian Weimer  <fweimer@redhat.com>
8981         * nss/bug17079.c (init_test_items): Add diagnostic for
8982         inconsistent entries.
8983         (test_buffer_size): Skip inconsistent entries.
8985 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
8987         [BZ #13304]
8988         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
8989         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
8990         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
8992         [BZ #13304]
8993         * sysdeps/microblaze/s_fma.c: New file.
8994         * sysdeps/microblaze/s_fmaf.c: Likewise.
8995         * sysdeps/microblaze/sfp-machine.h: Likewise.
8997 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
8999         [BZ #17250]
9000         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9001         member.
9003 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9005         [BZ #18803]
9006         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9007         (MO): New macro.
9008         (__ieee754_hypot) [PIC]: Load PIC register.
9009         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9010         DBL_NARROW_EVAL.
9011         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9012         math_check_force_underflow_nonneg in case where result might be
9013         tiny.
9014         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9015         Likewise.
9016         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9017         Likewise.
9018         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9019         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9020         * math/auto-libm-test-in: Add more tests of hypot.
9021         * math/auto-libm-test-out: Regenerated.
9023 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9025         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9027 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9029         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9030         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9031         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9032         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9033         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9034         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9035         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9037         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9038         LOAD_PIC_REG.
9040         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9041         (FLT_CHECK_FORCE_UFLOW): Likewise.
9042         (DBL_CHECK_FORCE_UFLOW): Likewise.
9043         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9044         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9045         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9046         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9047         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9048         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9049         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9050         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9051         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9052         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9053         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9054         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9055         (flt_min): Replace with use of DEFINE_FLT_MIN.
9056         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9057         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9058         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9059         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9060         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9061         (flt_min): Replace with use of DEFINE_FLT_MIN.
9062         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9063         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9064         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9065         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9066         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9067         (flt_min): Replace with use of DEFINE_FLT_MIN.
9068         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9069         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9070         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9071         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9072         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9073         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9074         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9075         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9076         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9077         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9078         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9079         (flt_min): Replace with use of DEFINE_FLT_MIN.
9080         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9081         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9082         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9083         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9084         main computation.
9085         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9086         (flt_min): Replace with use of DEFINE_FLT_MIN.
9087         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9088         main computation.
9089         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9090         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9091         (MO): New macro.
9092         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9093         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9094         (flt_min): Replace with use of DEFINE_FLT_MIN.
9095         (MO): New macro.
9096         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9097         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9098         (__log1pl): Use MO.
9100         [BZ #19003]
9101         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9102         $(config-cflags-nofma).
9104 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9106         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9108 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9110         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9111         (TWO127): Likewise.
9113         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9114         (min_of_type): Likewise.
9115         (math_check_force_underflow): Likewise.
9116         (math_check_force_underflow_nonneg): Likewise.
9117         (math_check_force_underflow_complex): Likewise.
9118         * math/e_exp2l.c (__ieee754_exp2l): Use
9119         math_check_force_underflow_nonneg.
9120         * math/k_casinh.c (__kernel_casinh): Likewise.
9121         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9122         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9123         * math/s_catan.c (__catan): Use
9124         math_check_force_underflow_complex.
9125         * math/s_catanf.c (__catanf): Likewise.
9126         * math/s_catanh.c (__catanh): Likewise.
9127         * math/s_catanhf.c (__catanhf): Likewise.
9128         * math/s_catanhl.c (__catanhl): Likewise.
9129         * math/s_catanl.c (__catanl): Likewise.
9130         * math/s_ccosh.c (__ccosh): Likewise.
9131         * math/s_ccoshf.c (__ccoshf): Likewise.
9132         * math/s_ccoshl.c (__ccoshl): Likewise.
9133         * math/s_cexp.c (__cexp): Likewise.
9134         * math/s_cexpf.c (__cexpf): Likewise.
9135         * math/s_cexpl.c (__cexpl): Likewise.
9136         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9137         * math/s_clog10.c (__clog10): Likewise.
9138         * math/s_clog10f.c (__clog10f): Likewise.
9139         * math/s_clog10l.c (__clog10l): Likewise.
9140         * math/s_clogf.c (__clogf): Likewise.
9141         * math/s_clogl.c (__clogl): Likewise.
9142         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9143         * math/s_csinf.c (__csinf): Likewise.
9144         * math/s_csinh.c (__csinh): Likewise.
9145         * math/s_csinhf.c (__csinhf): Likewise.
9146         * math/s_csinhl.c (__csinhl): Likewise.
9147         * math/s_csinl.c (__csinl): Likewise.
9148         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9149         * math/s_csqrtf.c (__csqrtf): Likewise.
9150         * math/s_csqrtl.c (__csqrtl): Likewise.
9151         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9152         * math/s_ctanf.c (__ctanf): Likewise.
9153         * math/s_ctanh.c (__ctanh): Likewise.
9154         * math/s_ctanhf.c (__ctanhf): Likewise.
9155         * math/s_ctanhl.c (__ctanhl): Likewise.
9156         * math/s_ctanl.c (__ctanl): Likewise.
9157         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9158         instead of volatile.
9159         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9160         math_check_force_underflow.
9161         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9162         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9163         volatile when forcing underflow.
9164         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9165         math_check_force_underflow_nonneg.
9166         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9167         Likewise.
9168         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9169         math_check_force_underflow.
9170         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9171         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9172         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9173         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9174         math_check_force_underflow_nonneg.
9175         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9176         math_check_force_underflow.
9177         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9179         instead of volatile.
9180         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9181         math_check_force_underflow.
9182         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9183         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9184         math_check_force_underflow_nonneg.
9185         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9186         math_check_force_underflow.
9187         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9188         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9189         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9190         math_check_force_underflow_nonneg.
9191         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9192         Likewise.
9193         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9194         math_check_force_underflow.
9195         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9196         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9197         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9198         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9199         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9200         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9201         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9202         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9203         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9204         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9205         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9206         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9207         Likewise.
9208         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9209         math_check_force_underflow_nonneg.
9210         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9211         Likewise.
9212         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9213         math_check_force_underflow.
9214         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9215         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9216         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9217         Likewise.
9218         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9219         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9220         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9221         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9222         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9223         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9224         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9225         instead of volatile.
9226         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9227         math_check_force_underflow.
9228         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9229         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9230         math_check_force_underflow.
9231         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9232         Likewise.
9233         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9234         Use math_check_force_underflow_nonneg.
9235         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9236         math_check_force_underflow.
9237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9238         Likewise.
9239         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9240         Likewise.
9241         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9242         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9243         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9244         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9245         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9246         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9247         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9248         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9249         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9250         math_check_force_underflow_nonneg.
9251         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9252         math_check_force_underflow.
9253         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9254         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9255         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9256         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9257         math_check_force_underflow_nonneg.
9258         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9259         math_check_force_underflow.
9260         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9262         instead of volatile.
9263         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9264         math_check_force_underflow.
9266         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9267         * stdlib/strtod_l.c: Include <math_private.h>.
9268         (overflow_value): Use math_narrow_eval.
9269         (underflow_value): Likewise.
9270         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9271         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9272         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9273         (__ieee754_gamma_r): Likewise.
9274         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9275         Likewise.
9276         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9277         Likewise.
9278         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9279         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9280         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9281         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9282         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9283         (__ieee754_gammaf_r): Likewise.
9284         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9285         Likewise.
9286         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9287         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9288         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9289         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9290         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9291         volatile.
9292         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9293         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9294         math_narrow_eval.
9295         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9296         Likewise.
9297         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9298         Likewise.
9299         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9300         Likewise.
9301         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9302         volatile.
9303         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9304         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9305         math_narrow_eval.
9306         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9307         Likewise.
9308         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9309         Likewise.
9311 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9313         * nptl/Versions: Remove ignored symbols.
9315 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9317         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9318         * nss/Makefile (tests): Update.
9320 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9322         * nss/bug18287.c: New file.
9323         * nss/Makefile (tests): Add bug18287.
9325 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9327         * mach/Versions (__mach_host_self_): Add symbol.
9329 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9331         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9332         vm_page_size.
9334 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9336         Really fix sysdeps/i386/fpu/s_scalbn.S build
9338         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9339         (libc: GLIBC_2_22): Remove unused version set.
9341 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9343         * config.make.in (enable-timezone-tools): New variable.
9344         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9345         (enable_timezone_tools): Export to generated files.
9346         * configure: Regenerate.
9347         * INSTALL: Regenerate.
9348         * manual/install.texi (--disable-timezone-tools): Document new flag.
9349         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9350         ifeq ($(enable-timezone-tools),yes) check.
9352 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9354         * timezone/Makefile: Revert previous change.
9356         [BZ #18980]
9357         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9358         (DEFINE_DBL_MIN): Likewise.
9359         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9360         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9361         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9362         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9363         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9364         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9365         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9366         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9367         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9368         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9369         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9370         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9371         (flt_min): Replace with use of DEFINE_FLT_MIN.
9372         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9373         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9374         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9375         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9376         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9377         (flt_min): Replace with use of DEFINE_FLT_MIN.
9378         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9379         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9380         (flt_min): Replace with use of DEFINE_FLT_MIN.
9381         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9382         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9383         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9384         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9385         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9386         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9387         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9388         (__ieee754_pow): Use DBL_NARROW_EVAL.
9389         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9390         (__ieee754_powf): Use FLT_NARROW_EVAL.
9391         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9392         (__ieee754_expf_sse2): Convert double-precision result to single
9393         precision.
9394         * sysdeps/i386/fpu/libm-test-ulps: Update.
9396 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9398         * timezone/Makefile: Ignore unused variable errors due to private.h
9399         (time_t_min) and (time_t_max).
9400         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9401         Likewise.
9403 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9405         [BZ #18981]
9406         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9407         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9408         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9409         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9410         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9411         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9412         (__scalbn): Use DBL_NARROW_EVAL.
9413         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9414         (__scalbnf): Use FLT_NARROW_EVAL.
9416 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9418         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9419         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9420         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9421         * stdio-common/printf_fp.c (___printf_fp):
9422         Use signbit to get the sign. Use isinf macro to allow inlining.
9423         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9424         * stdio-common/printf_size.c (__printf_size): Likewise.
9426 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9428         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9430 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9432         [BZ #18980]
9433         * sysdeps/generic/math_private.h: Include <float.h>.
9434         (math_narrow_eval): New macro.
9435         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9436         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9437         math_narrow_eval on overflowing return value.
9438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9439         Likewise.
9440         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9441         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9442         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9443         Likewise.
9444         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9446 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9448         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9449         * math/Makefile: Remove isinf_ns.c.
9450         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9451         * math/multc3.c (__multc3): Likewise.
9452         * math/s_casin.c (__casin): Likewise.
9453         * math/s_casinf.c (__casinf): Likewise.
9454         * math/s_casinl.c (__casinl): Likewise.
9455         * math/s_cproj.c (__cproj): Likewise.
9456         * math/s_cprojf.c (__cprojf): Likewise.
9457         * math/s_cprojl.c (__cprofl): Likewise.
9458         * math/s_ctan.c (__ctan): Likewise.
9459         * math/s_ctanf.c (__ctanf): Likewise.
9460         * math/s_ctanh.c (__ctanh): Likewise.
9461         * math/s_ctanhf.c (__ctanhf): Likewise.
9462         * math/s_ctanhl.c (__ctanhl): Likewise.
9463         * math/s_ctanl.c (__ctanl): Likewise.
9464         * math/w_fmod.c (__fmod): Likewise.
9465         * math/w_fmodf.c (__fmodf): Likewise.
9466         * math/w_fmodl.c (_fmodl): Likewise.
9467         * math/w_remainder.c (__remainder): Likewise.
9468         * math/w_remainderf.c (__remainderf): Likewise.
9469         * math/w_remainderl.c (__remainderl): Likewise.
9470         * math/w_scalb.c (__scalb): Likewise.
9471         * math/w_scalbf.c (__scalbf): Likewise.
9472         * math/w_scalbl.c (__scalbl): Likewise.
9473         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9474         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9475         with isinf.
9476         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9478         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9479         __isinf_nsf with isinf.
9480         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9481         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9482         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9483         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9484         with isinf.
9485         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9486         __isinf_nsl with isinf.
9487         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9488         with isinf.
9489         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9490         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9491         __isinf_nsl with isinf.
9492         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9493         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9494         with isinf.
9496 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9498         * resolv/base64.c (rcsid): Remove unused static.
9499         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9500         static.  (tqpi1): Likewise.
9501         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9502         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9503         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9504         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9506         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9507         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9508         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9509         Likewise.
9511 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9513         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9514         <nptl/pthreadP.h>.
9515         (_longjmp_unwind): Use __libc_ptf_call.
9516         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9518 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9520         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9521         * sysdeps/arm/__longjmp.S: Likewise.
9523 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9525         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9526         Use __builtin_signbit.
9527         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9528         Use __builtin_signbitf.
9529         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9530         Use __builtin_signbitl.
9531         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9532         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9534 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9536         [BZ #15367]
9537         [BZ #17441]
9539         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9540         * math/math.h (fpclassify): Use __builtin_fpclassify when
9541         available.  (signbit): Use __builtin_signbit(f/l).
9542         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9543         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9544         (isinf): Use __builtin_isinf_sign.
9546 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9548         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9549         * benchtests/bench-math-inlines.c: New benchmark.
9550         * benchtests/bench-util.h: New file.
9551         * benchtests/bench-util.c: New file.
9552         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9554 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9556         * elf/tst-dlmopen1.c: Define TEST_SO.
9557         (do_test): Use TEST_SO.
9559         * elf/dl-load.c: Include libc-internal.h.
9560         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9562 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9564         [BZ #17887]
9565         * time/strptime_l.c (__strptime_internal): Make %z accept
9566         [+-]HH:MM time zones.
9568 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9570         [BZ #17886]
9571         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9572         valid time zone.
9574 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9576         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9577         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9578         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9579         (__ASSUME_FDATASYNC): Delete.
9581 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9583         * conform/linknamespace.pl: Require weak undefined symbols to be
9584         in the standard namespace.
9585         (%strong_syms): Rename to %seen_syms.
9586         (%strong_seen): Rename to %seen_where.
9588 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9590         [BZ #18970]
9591         * misc/error.c (error): Replace pthread_setcancelstate with
9592         __pthread_setcancelstate.
9593         (error_at_line): Likewise.
9594         * posix/wordexp.c (parse_comm): Likewise.
9595         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9596         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9597         (__pthread_setcancelstate): This.
9598         (pthread_setcancelstate): Add an alias.
9599         * nptl/nptl-init.c (pthread_functions): Replace
9600         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9601         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9602         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9603         hidden_proto.
9604         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9605         it with hidden_def.
9606         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9607         (pthread_setcancelstate): Renamed to ...
9608         (__pthread_setcancelstate): This.
9609         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9610         __libc_ptf_call with __pthread_setcancelstate.
9612 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9613             Andreas Schwab  <schwab@suse.de>
9615         [BZ #17118]
9616         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9617         result when imaginary part of argument is infinite using sine and
9618         cosine.
9619         * math/s_ctanf.c (__ctanf): Likewise.
9620         * math/s_ctanl.c (__ctanl): Likewise.
9621         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9622         of result when real part of argument is infinite using sine and
9623         cosine.
9624         * math/s_ctanhf.c (__ctanhf): Likewise.
9625         * math/s_ctanhl.c (__ctanhl): Likewise.
9626         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9627         (ctanh_test_data): Add more tests of ctanh.
9629 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9631         [BZ #15384]
9632         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9633         bit-mask as in subtraction.
9634         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9635         Likewise.
9636         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9637         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9638         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9640         [BZ #18951]
9641         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9642         underflow exception for small results.
9643         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9644         Likewise.
9645         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9646         Likewise.
9647         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9648         Likewise.
9649         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9650         Likewise.
9651         * math/auto-libm-test-in: Add more tests of tgamma.
9652         * math/auto-libm-test-out: Regenerated.
9654 2015-09-17  Andreas Schwab  <schwab@suse.de>
9656         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9658 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9660         [BZ #18977]
9661         * math/bits/mathcalls.h
9662         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9663         not declare.
9664         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9665         Likewise.
9666         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9667         Likewise.
9668         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9669         Likewise.
9670         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9671         Likewise.
9672         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9673         Likewise.
9674         * conform/data/math.h-data
9675         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9676         function.
9677         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9678         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9679         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9680         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9681         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9682         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9683         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9684         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9685         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9686         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9687         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9689         [BZ #6803]
9690         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9691         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9692         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9693         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9694         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9695         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9696         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9697         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9698         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9699         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9700         Likewise.
9701         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9702         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9704         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9705         long_double_symbol calls.
9706         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9707         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9708         strong alias of __ldexpl.
9709         (scalbnl): Define using long_double_symbol.
9710         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9711         Remove alias.
9712         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9713         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9714         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9715         (scalbln_test_data): Add more errno expectations.
9717 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9719         Cache the host port like we cache the task port.  This way we do not
9720         need to call the kernel just to get the port.  Furthermore, we no
9721         longer increase the reference count on every invocation of
9722         `mach_host_self'.
9724         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9725         Protect declarations against the macro expansion.
9726         * mach/mach_init.c (__mach_host_self_): New variable.
9727         (mach_init): Initialize `__mach_host_self_'.
9728         * mach/mach_init.h (__mach_host_self_): New declaration.
9729         (__mach_host_self, mach_host_self): New macros.
9730         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9731         Release reference.
9733 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9735         [BZ #4404]
9736         * po/de.po: Update from Translation Project.
9738         [BZ #16415]
9739         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9740         (__expm1l): Remove code to handle positive infinity and overflow.
9741         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9742         variable.
9743         (__expm1l): Remove code to handle positive infinity and overflow.
9745 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9746             Paul Pluzhnikov  <ppluzhnikov@google.com>
9748         [BZ #18872]
9749         * stdio-common/Makefile (tst-printf-bz18872): New test.
9750         (tst-printf-bz18872-mem.out): Likewise.
9751         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9752         * stdio-common/vfprintf.c: Fix memory leaks.
9754 2015-09-16  Andreas Schwab  <schwab@suse.de>
9756         [BZ #17244]
9757         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9758         Remove extra va_start/va_end calls.
9760         [BZ #17243]
9761         * posix/execl.c (execl): Add missing va_end.
9762         * posix/execle.c (execle): Likewise.
9763         * posix/execlp.c (execlp): Likewise.
9765 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9767         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9768         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9770 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9772         [BZ #18967]
9773         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9774         undefine around includes of <bits/mathcalls.h>.
9775         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9776         not declare function.
9777         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9778         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9779         (scalb): Likewise.
9780         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9781         not define macro.
9782         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9783         variable.
9784         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9785         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9786         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9788         [BZ #18857]
9789         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9790         return non-finite argument without doing ordered comparisons on
9791         it.
9793         [BZ #16296]
9794         * math/fenv.h (fegetround): Use __attribute_pure__.
9795         * include/fenv.h (__fegetround): Likewise.
9797         [BZ #18595]
9798         * math/s_ctan.c (__ctan): Force underflow exception for results
9799         whose real or imaginary part has small absolute value.
9800         * math/s_ctanf.c (__ctanf): Likewise.
9801         * math/s_ctanh.c (__ctanh): Likewise.
9802         * math/s_ctanhf.c (__ctanhf): Likewise.
9803         * math/s_ctanhl.c (__ctanhl): Likewise.
9804         * math/s_ctanl.c (__ctanl): Likewise.
9805         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9806         and ctanh.  Add more tests of ctan and ctanh.
9808         [BZ #15918]
9809         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9810         handling of cases where one argument is an infinity.
9812         [BZ #18875]
9813         [BZ #18966]
9814         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9815         (MO): New macro.
9816         (__ieee754_exp10): For small results, force underflow exception
9817         and remove excess range and precision from return value.
9818         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9819         (MO): New macro.
9820         (__ieee754_exp10f): For small results, force underflow exception
9821         and remove excess range and precision from return value.
9822         * math/auto-libm-test-in: Add more tests of exp10.
9823         * math/auto-libm-test-out: Regenerated.
9825 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9827         [BZ #18875]
9828         [BZ #18961]
9829         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9830         (MO): New macro.
9831         (__ieee754_exp): For small results, force underflow exception and
9832         remove excess range and precision from return value.
9833         (__exp_finite): Likewise.
9834         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
9835         (MO): New macro.
9836         (__ieee754_expf): For small results, force underflow exception and
9837         remove excess range and precision from return value.
9838         (__expf_finite): Likewise.
9839         * math/auto-libm-test-in: Add more tests of exp.
9840         * math/auto-libm-test-out: Regenerated.
9842         [BZ #16521]
9843         [BZ #18875]
9844         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
9845         small results.
9846         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
9847         (MO): New macro.
9848         (__ieee754_exp2): For small results, force underflow exception and
9849         remove excess range and precision from return value.
9850         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
9851         (MO): New macro.
9852         (__ieee754_exp2f): For small results, force underflow exception
9853         and remove excess range and precision from return value.
9854         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
9855         (MO): New macro.
9856         (__ieee754_exp2l): Force underflow exception for small results.
9857         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9858         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9859         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
9860         (MO): New macro.
9861         (__ieee754_exp2l): Force underflow exception for small results.
9862         * math/auto-libm-test-in: Add more tests or exp2.
9863         * math/auto-libm-test-out: Regenerated.
9865 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
9867         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
9869         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
9870         /dev/null.
9872 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9874         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
9875         io fs process)): Drop spurious backslash.
9877 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9879         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
9880         Use sysinfo system call instead of parsing /proc/meminfo.
9881         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
9882         Likewise.
9884 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
9886         [BZ #16985]
9887         * programs/localedef.c (main): Display argv[remaining] when
9888         output_path is NULL.
9890 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9892         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9893         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
9894         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
9895         tanh.
9896         * math/auto-libm-test-out: Regenerated.
9897         * sysdeps/i386/fpu/libm-test-ulps: Update.
9898         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9899         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9902 2015-09-11  Roland McGrath  <roland@hack.frob.com>
9904         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
9905         Use 'override' keyword to freeze the value here, preventing
9906         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
9908 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
9910         [BZ #14912]
9911         * sysdeps/aarch64/bits/atomic.h: Move to ...
9912         * sysdeps/aarch64/atomic-machine.h: ...here.
9913         (_AARCH64_BITS_ATOMIC_H): Rename macro to
9914         _AARCH64_ATOMIC_MACHINE_H.
9915         * sysdeps/alpha/bits/atomic.h: Move to ...
9916         * sysdeps/alpha/atomic-machine.h: ...here.
9917         * sysdeps/arm/bits/atomic.h: Move to ...
9918         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
9919         * bits/atomic.h: Move to ...
9920         * sysdeps/generic/atomic-machine.h: ...here.
9921         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9922         * sysdeps/i386/bits/atomic.h: Move to ...
9923         * sysdeps/i386/atomic-machine.h: ...here.
9924         * sysdeps/ia64/bits/atomic.h: Move to ...
9925         * sysdeps/ia64/atomic-machine.h: ...here.
9926         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
9927         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
9928         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9929         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
9930         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
9931         * sysdeps/microblaze/bits/atomic.h: Move to ...
9932         * sysdeps/microblaze/atomic-machine.h: ...here.
9933         * sysdeps/mips/bits/atomic.h: Move to ...
9934         * sysdeps/mips/atomic-machine.h: ...here.
9935         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
9936         * sysdeps/powerpc/bits/atomic.h: Move to ...
9937         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
9938         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
9939         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
9940         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
9941         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
9942         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
9943         <atomic-machine.h> instead of <bits/atomic.h>.
9944         * sysdeps/s390/bits/atomic.h: Move to ...
9945         * sysdeps/s390/atomic-machine.h: ...here.
9946         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
9947         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
9948         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9949         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
9950         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
9951         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
9952         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
9953         * sysdeps/tile/bits/atomic.h: Move to ...
9954         * sysdeps/tile/atomic-machine.h: ...here.
9955         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
9956         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
9957         <sysdeps/tile/atomic-machine.h> instead of
9958         <sysdeps/tile/bits/atomic.h>.
9959         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9960         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
9961         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
9962         <sysdeps/tile/atomic-machine.h> instead of
9963         <sysdeps/tile/bits/atomic.h>.
9964         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9965         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
9966         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
9967         <sysdeps/arm/atomic-machine.h> instead of
9968         <sysdeps/arm/bits/atomic.h>.
9969         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
9970         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
9971         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9972         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
9973         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
9974         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
9975         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
9976         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
9977         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
9978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
9979         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
9980         * sysdeps/x86_64/bits/atomic.h: Move to ...
9981         * sysdeps/x86_64/atomic-machine.h: ...here.
9982         * include/atomic.h: Include <atomic-machine.h> instead of
9983         <bits/atomic.h>.
9985         * sysdeps/mips/mips32/libm-test-ulps: Update.
9986         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9988         [BZ #18952]
9989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
9990         not convert non-integer negative arguments to int to determine the
9991         value of signgam.
9992         * math/auto-libm-test-in: Add more tests of lgamma.
9993         * math/auto-libm-test-out: Regenerated.
9995         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
9996         cosh, csqrt, erfc, expm1 and lgamma.
9997         * math/auto-libm-test-out: Regenerated.
9998         * sysdeps/i386/fpu/libm-test-ulps: Update.
9999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10001 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10003         [BZ #2542]
10004         [BZ #2543]
10005         [BZ #2558]
10006         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10007         __lgamma_neg for arguments from -28.0 to -2.0.
10008         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10009         __lgamma_negf for arguments from -15.0 to -2.0.
10010         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10011         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10012         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10013         Call __lgamma_negl for arguments from -33.0 to -2.0.
10014         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10015         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10016         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10017         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10018         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10019         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10020         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10021         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10022         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10023         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10024         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10025         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10026         (__lgamma_neg): Likewise.
10027         (__lgamma_negl): Likewise.
10028         (__lgamma_product): Likewise.
10029         (__lgamma_productl): Likewise.
10030         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10031         * math/auto-libm-test-in: Add more tests of lgamma.
10032         * math/auto-libm-test-out: Regenerated.
10033         * sysdeps/i386/fpu/libm-test-ulps: Update.
10034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10036 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10038         [BZ #18675]
10039         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10041 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10043         [BZ #14912]
10044         * bits/libc-lock.h: Move to ...
10045         * sysdeps/generic/libc-lock.h: ...here.
10046         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10047         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10048         * sysdeps/mach/hurd/libc-lock.h: ...here.
10049         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10050         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10051         * sysdeps/mach/bits/libc-lock.h: Move to ...
10052         * sysdeps/mach/libc-lock.h: ...here.
10053         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10054         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10055         * sysdeps/nptl/libc-lock.h: ...here.
10056         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10057         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10058         * sysdeps/nptl/libc-lockP.h: ...here.
10059         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10060         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10061         <bits/libc-lock.h>.
10062         * dirent/scandir-tail.c: Likewise.
10063         * dlfcn/dlerror.c: Likewise.
10064         * elf/dl-close.c: Likewise.
10065         * elf/dl-iteratephdr.c: Likewise.
10066         * elf/dl-lookup.c: Likewise.
10067         * elf/dl-open.c: Likewise.
10068         * elf/dl-support.c: Likewise.
10069         * elf/dl-writev.h: Likewise.
10070         * elf/rtld.c: Likewise.
10071         * grp/fgetgrent.c: Likewise.
10072         * gshadow/fgetsgent.c: Likewise.
10073         * gshadow/sgetsgent.c: Likewise.
10074         * iconv/gconv_conf.c: Likewise.
10075         * iconv/gconv_db.c: Likewise.
10076         * iconv/gconv_dl.c: Likewise.
10077         * iconv/gconv_int.h: Likewise.
10078         * iconv/gconv_trans.c: Likewise.
10079         * include/link.h: Likewise.
10080         * inet/getnameinfo.c: Likewise.
10081         * inet/getnetgrent.c: Likewise.
10082         * inet/getnetgrent_r.c: Likewise.
10083         * intl/bindtextdom.c: Likewise.
10084         * intl/dcigettext.c: Likewise.
10085         * intl/finddomain.c: Likewise.
10086         * intl/gettextP.h: Likewise.
10087         * intl/loadmsgcat.c: Likewise.
10088         * intl/localealias.c: Likewise.
10089         * intl/textdomain.c: Likewise.
10090         * libidn/idn-stub.c: Likewise.
10091         * libio/libioP.h: Likewise.
10092         * locale/duplocale.c: Likewise.
10093         * locale/freelocale.c: Likewise.
10094         * locale/newlocale.c: Likewise.
10095         * locale/setlocale.c: Likewise.
10096         * login/getutent_r.c: Likewise.
10097         * login/getutid_r.c: Likewise.
10098         * login/getutline_r.c: Likewise.
10099         * login/utmp-private.h: Likewise.
10100         * login/utmpname.c: Likewise.
10101         * malloc/mtrace.c: Likewise.
10102         * misc/efgcvt.c: Likewise.
10103         * misc/error.c: Likewise.
10104         * misc/fstab.c: Likewise.
10105         * misc/getpass.c: Likewise.
10106         * misc/mntent.c: Likewise.
10107         * misc/syslog.c: Likewise.
10108         * nis/nis_call.c: Likewise.
10109         * nis/nis_callback.c: Likewise.
10110         * nis/nss-default.c: Likewise.
10111         * nis/nss_compat/compat-grp.c: Likewise.
10112         * nis/nss_compat/compat-initgroups.c: Likewise.
10113         * nis/nss_compat/compat-pwd.c: Likewise.
10114         * nis/nss_compat/compat-spwd.c: Likewise.
10115         * nis/nss_nis/nis-alias.c: Likewise.
10116         * nis/nss_nis/nis-ethers.c: Likewise.
10117         * nis/nss_nis/nis-grp.c: Likewise.
10118         * nis/nss_nis/nis-hosts.c: Likewise.
10119         * nis/nss_nis/nis-network.c: Likewise.
10120         * nis/nss_nis/nis-proto.c: Likewise.
10121         * nis/nss_nis/nis-pwd.c: Likewise.
10122         * nis/nss_nis/nis-rpc.c: Likewise.
10123         * nis/nss_nis/nis-service.c: Likewise.
10124         * nis/nss_nis/nis-spwd.c: Likewise.
10125         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10126         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10127         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10128         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10129         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10130         * nis/nss_nisplus/nisplus-network.c: Likewise.
10131         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10132         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10133         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10134         * nis/nss_nisplus/nisplus-service.c: Likewise.
10135         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10136         * nis/ypclnt.c: Likewise.
10137         * nptl/libc_pthread_init.c: Likewise.
10138         * nss/getXXbyYY.c: Likewise.
10139         * nss/getXXent.c: Likewise.
10140         * nss/getXXent_r.c: Likewise.
10141         * nss/nss_db/db-XXX.c: Likewise.
10142         * nss/nss_db/db-netgrp.c: Likewise.
10143         * nss/nss_db/nss_db.h: Likewise.
10144         * nss/nss_files/files-XXX.c: Likewise.
10145         * nss/nss_files/files-alias.c: Likewise.
10146         * nss/nsswitch.c: Likewise.
10147         * posix/regex_internal.h: Likewise.
10148         * posix/wordexp.c: Likewise.
10149         * pwd/fgetpwent.c: Likewise.
10150         * resolv/res_hconf.c: Likewise.
10151         * resolv/res_libc.c: Likewise.
10152         * shadow/fgetspent.c: Likewise.
10153         * shadow/lckpwdf.c: Likewise.
10154         * shadow/sgetspent.c: Likewise.
10155         * socket/opensock.c: Likewise.
10156         * stdio-common/reg-modifier.c: Likewise.
10157         * stdio-common/reg-printf.c: Likewise.
10158         * stdio-common/reg-type.c: Likewise.
10159         * stdio-common/vfprintf.c: Likewise.
10160         * stdio-common/vfscanf.c: Likewise.
10161         * stdlib/abort.c: Likewise.
10162         * stdlib/cxa_atexit.c: Likewise.
10163         * stdlib/fmtmsg.c: Likewise.
10164         * stdlib/random.c: Likewise.
10165         * stdlib/setenv.c: Likewise.
10166         * string/strsignal.c: Likewise.
10167         * sunrpc/auth_none.c: Likewise.
10168         * sunrpc/bindrsvprt.c: Likewise.
10169         * sunrpc/create_xid.c: Likewise.
10170         * sunrpc/key_call.c: Likewise.
10171         * sunrpc/rpc_thread.c: Likewise.
10172         * sysdeps/arm/backtrace.c: Likewise.
10173         * sysdeps/generic/ldsodefs.h: Likewise.
10174         * sysdeps/generic/stdio-lock.h: Likewise.
10175         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10176         * sysdeps/i386/backtrace.c: Likewise.
10177         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10178         * sysdeps/m68k/backtrace.c: Likewise.
10179         * sysdeps/mach/hurd/cthreads.c: Likewise.
10180         * sysdeps/mach/hurd/dirstream.h: Likewise.
10181         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10182         * sysdeps/nptl/malloc-machine.h: Likewise.
10183         * sysdeps/nptl/stdio-lock.h: Likewise.
10184         * sysdeps/posix/dirstream.h: Likewise.
10185         * sysdeps/posix/getaddrinfo.c: Likewise.
10186         * sysdeps/posix/system.c: Likewise.
10187         * sysdeps/pthread/aio_suspend.c: Likewise.
10188         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10189         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10190         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10191         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10192         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10193         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10194         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10195         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10196         * sysdeps/unix/sysv/linux/system.c: Likewise.
10197         * sysdeps/x86_64/backtrace.c: Likewise.
10198         * time/alt_digit.c: Likewise.
10199         * time/era.c: Likewise.
10200         * time/tzset.c: Likewise.
10201         * wcsmbs/wcsmbsload.c: Likewise.
10202         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10203         instead of <bits/libc-lock.h> in comment.
10205 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10207         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10208         Only use .set mips2 if the current ISA is below mips2.
10209         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10210         Likewise.
10211         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10212         mips32r2 if the current ISA is below mips32r2.
10213         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10214         (TLS_IE): Updated to use the TLD_RDHWR macro.
10215         (TLS_LE): Likewise.
10216         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10217         __ASSEMBLER__ condition.
10219 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10221         Fix parallel build of before-compile targets.
10223         * sysdeps/mach/Makefile ($(patsubst
10224         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10225         mach-before-compile target.
10226         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10227         io fs process)): Move rule to dedicated hurd-before-compile target.
10229 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10231         Fix rules generating headers in hurd/ and mach/ when initial make call
10232         has subdir= explicitly set.
10234         * sysdeps/mach/Makefile ($(patsubst
10235         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10236         calling $(MAKE).
10237         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10238         io fs process)): Force subdir to hurd when calling $(MAKE).
10239         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10240         subdir to mach when calling $(MAKE).
10242 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10244         Check sysheaders when looking for Mach and Hurd headers
10246         * sysdeps/mach/configure.ac: Add sysheaders check.
10247         * sysdeps/mach/configure: Regenerate.
10248         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10249         * sysdeps/mach/hurd/configure: Regenerate.
10251 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10253         [BZ #18921]
10254         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10255         Fix inverted sense of test of 'o_directory_works' value.
10256         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10257         Bernhard Voelker <mail@bernhard-voelker.de>.
10259 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10261         [BZ #14912]
10262         * bits/linkmap.h: Move to ...
10263         * sysdeps/generic/linkmap.h: ...here.
10264         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10265         * sysdeps/aarch64/linkmap.h: ...here.
10266         * sysdeps/arm/bits/linkmap.h: Move to ...
10267         * sysdeps/arm/linkmap.h: ...here.
10268         * sysdeps/hppa/bits/linkmap.h: Move to ...
10269         * sysdeps/hppa/linkmap.h: ...here.
10270         * sysdeps/ia64/bits/linkmap.h: Move to ...
10271         * sysdeps/ia64/linkmap.h: ...here.
10272         * sysdeps/mips/bits/linkmap.h: Move to ...
10273         * sysdeps/mips/linkmap.h: ...here.
10274         * sysdeps/s390/bits/linkmap.h: Move to ...
10275         * sysdeps/s390/linkmap.h: ...here.
10276         * sysdeps/sh/bits/linkmap.h: Move to ...
10277         * sysdeps/sh/linkmap.h: ...here.
10278         * sysdeps/x86/bits/linkmap.h: Move to ...
10279         * sysdeps/x86/linkmap.h: ...here.
10280         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10282 2015-09-04  Andreas Schwab  <schwab@suse.de>
10284         [BZ #18635]
10285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10286         (__makecontext): Terminate FDE before return label.
10287         (__novec_makecontext): Likewise.
10289 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10291         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10292         first member of struct sv in syscall macro.
10294 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10296         [BZ #14912]
10297         * bits/stdio-lock.h: Move to ...
10298         * sysdeps/generic/stdio-lock.h: ...here.
10299         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10300         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10301         * sysdeps/nptl/stdio-lock.h: ...here.
10302         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10303         * include/libio.h: Include <stdio-lock.h> instead of
10304         <bits/stdio-lock.h>.
10305         * sysdeps/nptl/fork.c: Likewise.
10306         * sysdeps/pthread/flockfile.c: Likewise.
10307         * sysdeps/pthread/ftrylockfile.c: Likewise.
10308         * sysdeps/pthread/funlockfile.c: Likewise.
10310         [BZ #14912]
10311         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10312         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10313         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10314         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10315         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10316         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10317         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10319 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10321         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10322         (test-xfail-tst-protected1b): New variable.
10324 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10326         [BZ #14912]
10327         * bits/libc-tsd.h: Move to ...
10328         * sysdeps/generic/libc-tsd.h: ...here.
10329         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10330         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10331         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10332         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10333         * include/ctype.h: Include <libc-tsd.h> instead of
10334         <bits/libc-tsd.h>.
10335         * include/rpc/rpc.h: Likewise.
10336         * locale/localeinfo.h: Likewise.
10337         * sunrpc/rpc_thread.c: Likewise.
10338         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10339         * sysdeps/nptl/malloc-machine.h: Likewise.
10341         * Makefile (headers): Remove bits/libc-lock.h.
10342         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10344         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10345         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10346         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10347         <bits/stdio-lock.h>.
10348         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10349         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10351 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10353         [BZ #18757]
10354         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10355         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10356         BZ #18757.
10358 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10360         * malloc/mtrace.pl: Filter out NULL entries.
10362 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10364         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10365         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10366         macro.
10368         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10369         (TCP_CC_INFO): Likewise.
10370         (TCP_SAVE_SYN): Likewise.
10371         (TCP_SAVED_SYN): Likewise.
10373 2015-08-31  Brett Neumeier <brett@neumeier.us>
10375         [BZ #18870]
10376         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10378 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10380         [BZ #18873]
10381         Fix broken overflow check in posix_fallocate
10382         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10383         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10384         Fix parenthesization typo.
10386 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10388         [BZ #18887]
10389         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10390         tst-mntent-blank-passno.
10391         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10392         * misc/tst-mntent-blank-corrupt.c: New test.
10393         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10394         * misc/tst-mntent.c (do_test): ... here.
10396 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10398         [BZ #4404]
10399         * po/de.po: Fix SIGALRM typo.
10401 2015-08-28  James Perkins  <james@loowit.net>
10403         * time/tst-strptime2.c (tests): Replace short list of test
10404         strings for strptime %z specifier with code which exhaustively
10405         tests every combination of sign and 0 to 5 digits. Tests for
10406         rejection of invalid strings.
10408 2015-08-28  James Perkins  <james@loowit.net>
10410         [BZ #16141]
10411         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10412         calculation, removing incorrect decimal time rounding, so that
10413         all minute values result in a valid seconds value.
10414         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10415         offset range limits to UTC-99:59 through UTC+99:59 to parse
10416         current and historical use cases.
10417         * time/tst-strptime2.c (tests): Modify and add tests for the
10418         strptime %z input field descriptor, specifically conversion of
10419         minutes to seconds and validating an offset range of -9959 to
10420         +9959.
10422 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10423             Dmitry V. Levin  <ldv@altlinux.org>
10425         [BZ #18877]
10426         * posix/Makefile (tests): Add tst-mmap-offset.
10427         * posix/tst-mmap.c: New file.
10428         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10429         offset calculation for negative values.
10431 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10433         * sysdeps/i386/init-arch.h: New file.
10434         * sysdeps/i386/i586/init-arch.h: Likewise.
10435         * sysdeps/i386/i686/init-arch.h: Likewise.
10436         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10437         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10438         * sysdeps/x86/cpu-features.h (bit_I586): New.
10439         (bit_I686): Likewise.
10440         (bit_CX8): Likewise.
10441         (bit_CMOV): Likewise.
10442         (index_CX8): Likewise.
10443         (index_CMOV): Likewise.
10444         (index_I586): Likewise.
10445         (index_I686): Likewise.
10446         (reg_CX8): Likewise.
10447         (reg_CMOV): Likewise.
10448         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10449         available at compile-time.
10450         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10451         available at compile-time.
10452         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10453         (USE_I686): Likewise.
10455 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10457         * sysdeps/i386/bcopy.S: New file.
10458         * sysdeps/i386/bzero.S: Likewise.
10459         * sysdeps/i386/memcpy.S: Likewise.
10460         * sysdeps/i386/memmove.S: Likewise.
10461         * sysdeps/i386/mempcpy.S: Likewise.
10462         * sysdeps/i386/memset.S: Likewise.
10463         * sysdeps/i386/bzero.c: Removed.
10464         * sysdeps/i386/memset.c: Likewise.
10465         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10466         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10467         * sysdeps/i386/i586/memset_chk.S: Likewise.
10468         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10469         * sysdeps/i386/memcpy_chk.S: Here.
10470         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10471         * sysdeps/i386/memmove_chk.S: Here.
10472         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10473         * sysdeps/i386/mempcpy_chk.S: Likewise.
10474         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10475         * sysdeps/i386/memset_chk.S: Likewise.
10477 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10479         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10480         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10481         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10482         * soft-fp/fmadf4.c: Ditto.
10483         * soft-fp/fmatf4.c: Ditto.
10485 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10487         * sysdeps/i386/i586/Implies: Removed.
10488         * sysdeps/i386/i686/Implies: Likewise.
10490 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10492         * sysdeps/i386/i486/strlen.S: Moved to ...
10493         * sysdeps/i386/strlen.S: Here.
10495 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10497         * sysdeps/i386/i486/strcat.S: Moved to ...
10498         * sysdeps/i386/strcat.S: Here.
10500 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10502         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10503         * sysdeps/i386/pthread_spin_trylock.S: Here.
10504         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10505         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10507 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10509         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10510         * sysdeps/i386/string-inlines.c: Here.
10512 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10514         * sysdeps/i386/i486/htonl.S: Moved ...
10515         * sysdeps/i386/htonl.S: here.
10517 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10519         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10520         * sysdeps/i386/bits/atomic.h: Here.
10522 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10524         * sysdeps/i386/i486/Versions: Removed.
10526 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10528         [BZ #2898]
10529         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10530         Based on patch by Aurelien Jarno.
10532 2015-08-26  Stan Shebs  <stanshebs@google.com>
10534         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10535         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10537 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10539         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10540         * sysdeps/powerpc/dl-procinfo.c:
10541         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10542         feature so it shows when LD_SHOW_AUXV=1.
10544 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10546         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10547         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10548         definition.  ISA 2.07B no longer requires full sync.
10550 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10552         [BZ #18863]
10553         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10554         (si_call_addr): Define.
10555         (si_syscall): Define.
10556         (si_arch): Define.
10558 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10560         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10561         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10562         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10563         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10564         (__memset_zero_constant_len_parameter): New.
10565         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10566         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10567         (__memset_zero_constant_len_parameter): Don't define if
10568         __memset_chk or USE_AS_BZERO are defined.
10570         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10571         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10572         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10574         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10575         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10576         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10577         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10578         comments.
10579         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10580         -mno-mmx for $(all-rtld-routines).
10581         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10582         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10583         i386.
10585 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10587         * sysdeps/generic/unwind.h
10588         (_Unwind_Word): Use __mode__(__unwind_word__)
10589         instead of __mode__(__word__).
10590         (_Unwind_Sword): Likewise.
10592         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10593         (MAX_NEEDED_INPUT): New define.
10594         (MAX_NEEDED_OUTPUT): New define.
10596         * NEWS: New item for IBM z13 string optimizations.
10598         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10599         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10600         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10601         * sysdeps/s390/multiarch/Makefile
10602         (sysdep_routines): Add memrchr functions.
10603         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10604         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10606         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10607         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10608         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10609         * sysdeps/s390/multiarch/Makefile
10610         (sysdep_routines): Add wmemcmp functions.
10611         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10612         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10613         * benchtests/bench-wmemcmp.c: New File.
10614         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10616         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10617         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10618         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10619         * sysdeps/s390/multiarch/Makefile
10620         (sysdep_routines): Add wmemset functions.
10621         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10622         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10623         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10624         * string/test-memset.c: Add wmemset support.
10625         * wcsmbs/test-wmemset.c: New File.
10626         * wcsmbs/Makefile (strop-tests): Add wmemset.
10627         * benchtests/bench-memset.c: Add wmemset support.
10628         * benchtests/bench-wmemset.c: New File.
10629         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10631         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10632         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10633         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10634         * sysdeps/s390/multiarch/Makefile
10635         (sysdep_routines): Add memccpy functions.
10636         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10637         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10638         * string/memccpy.c: Use MEMCCPY if defined.
10640         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10641         * sysdeps/s390/multiarch/memchr.c: Likewise.
10642         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10643         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10644         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10645         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10646         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10647         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10648         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10649         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10650         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10651         and rawmemchr functions.
10652         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10653         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10654         and wmemchr.
10655         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10656         * string/test-memchr.c: Add wmemchr support.
10657         * wcsmbs/test-wmemchr.c: New File.
10658         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10659         * benchtests/bench-memchr.c: Add wmemchr support.
10660         * benchtests/bench-wmemchr.c: New File.
10661         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10663         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10664         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10665         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10666         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10667         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10668         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10669         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10670         wcscspn functions.
10671         * sysdeps/s390/multiarch/ifunc-impl-list.c
10672         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10673         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10674         * string/test-strcspn.c: Add wcscspn support.
10675         * wcsmbs/test-wcscspn.c: New File.
10676         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10677         * benchtests/bench-strcspn.c: Add wcscspn support.
10678         * benchtests/bench-wcscspn.c: New File.
10679         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10681         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10682         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10683         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10684         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10685         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10686         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10687         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10688         wcspbrk functions.
10689         * sysdeps/s390/multiarch/ifunc-impl-list.c
10690         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10691         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10692         * string/test-strpbrk.c: Add wcspbrk support.
10693         * wcsmbs/test-wcspbrk.c: New File.
10694         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10695         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10696         * benchtests/bench-wcspbrk.c: New File.
10697         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10699         * sysdeps/s390/multiarch/strspn-c.c: New File.
10700         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10701         * sysdeps/s390/multiarch/strspn.c: Likewise.
10702         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10703         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10704         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10705         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10706         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10707         wcsspn functions.
10708         * sysdeps/s390/multiarch/ifunc-impl-list.c
10709         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10710         * string/test-strspn.c: Add wcsspn support.
10711         * wcsmbs/test-wcsspn.c: New File.
10712         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10713         * benchtests/bench-strspn.c: Add wcsspn support.
10714         * benchtests/bench-wcsspn.c: New File.
10715         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10717         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10718         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10719         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10720         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10721         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10722         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10723         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10724         wcsrchr functions.
10725         * sysdeps/s390/multiarch/ifunc-impl-list.c
10726         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10727         * benchtests/bench-wcsrchr.c: New File.
10728         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10730         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10731         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10732         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10733         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10734         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10735         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10736         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10737         wcschrnul functions.
10738         * sysdeps/s390/multiarch/ifunc-impl-list.c
10739         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10740         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10741         * string/test-strchr.c: Add wcschrnul support.
10742         * wcsmbs/test-wcschrnul.c: New File.
10743         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10744         * benchtests/bench-strchr.c: Add wcschrnul support.
10745         * benchtests/bench-wcschrnul.c: New File.
10746         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10748         * sysdeps/s390/multiarch/strchr-c.c: New File.
10749         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10750         * sysdeps/s390/multiarch/strchr.c: Likewise.
10751         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10752         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10753         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10754         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10755         wcschr functions.
10756         * sysdeps/s390/multiarch/ifunc-impl-list.c
10757         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10758         * string/strchr.c (STRCHR): Define and use macro.
10759         * benchtests/bench-wcschr.c: New File.
10760         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10762         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10763         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10764         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10765         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10766         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10767         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10768         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10769         wcsncmp functions.
10770         * sysdeps/s390/multiarch/ifunc-impl-list.c
10771         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10772         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10773         * benchtests/bench-strncmp.c: Add wcsncmp support.
10774         * benchtests/bench-wcsncmp.c: New File.
10775         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10777         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10778         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10779         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10780         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10781         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10782         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10783         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10784         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10785         wcscmp functions.
10786         * sysdeps/s390/multiarch/ifunc-impl-list.c
10787         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10788         * string/strcmp.c (STRCMP): Define and use macro.
10789         * benchtests/bench-wcscmp.c: New File.
10790         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10791         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10792         instead of _HAVE_STRING_ARCH_memchr.
10794         * sysdeps/s390/multiarch/strncat-c.c: New File.
10795         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10796         * sysdeps/s390/multiarch/strncat.c: Likewise.
10797         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10798         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10799         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10801         wcsncat functions.
10802         * sysdeps/s390/multiarch/ifunc-impl-list.c
10803         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10804         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10805         * string/test-strncat.c: Add wcsncat support.
10806         * wcsmbs/test-wcsncat.c: New File.
10807         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10808         * benchtests/bench-strncat.c: Add wcsncat support.
10809         * benchtests/bench-wcsncat.c: New File.
10810         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10812         * sysdeps/s390/multiarch/strcat-c.c: New File.
10813         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10814         * sysdeps/s390/multiarch/strcat.c: Likewise.
10815         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10816         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10817         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10818         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10819         wcscat functions.
10820         * sysdeps/s390/multiarch/ifunc-impl-list.c
10821         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10822         * string/strcat.c (STRCAT): Define and use macro.
10823         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10824         * string/test-strcat.c: Add wcscat support.
10825         * wcsmbs/test-wcscat.c: New File.
10826         * wcsmbs/Makefile (strop-tests): Add wcscat.
10827         * benchtests/bench-strcat.c: Add wcscat support.
10828         * benchtests/bench-wcscat.c: New File.
10829         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10831         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10832         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10833         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10834         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
10835         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
10836         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
10837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
10838         wcpncpy functions.
10839         * sysdeps/s390/multiarch/ifunc-impl-list.c
10840         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
10841         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
10842         * string/test-stpncpy.c: Add wcpncpy support.
10843         * wcsmbs/test-wcpncpy.c: New File.
10844         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
10845         * benchtests/bench-stpncpy.c: Add wcpncpy support.
10846         * benchtests/bench-wcpncpy.c: New File.
10847         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
10849         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
10850         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10851         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
10852         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
10853         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
10854         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
10855         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
10856         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
10857         wcsncpy functions.
10858         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
10859         * sysdeps/s390/multiarch/ifunc-impl-list.c
10860         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
10861         * string/test-strncpy.c: Add wcsncpy support.
10862         * wcsmbs/test-wcsncpy.c: New File.
10863         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
10864         * benchtests/bench-strncpy.c: Add wcsncpy support.
10865         * benchtests/bench-wcsncpy.c: New File.
10866         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
10868         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
10869         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
10870         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10871         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
10872         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
10873         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
10874         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
10875         wcpcpy functions.
10876         * string/stpcpy.c: Use STPCPY if defined.
10877         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
10878         * sysdeps/s390/multiarch/ifunc-impl-list.c
10879         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
10880         * string/test-stpcpy.c: Add wcpcpy support.
10881         * wcsmbs/test-wcpcpy.c: New File.
10882         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
10883         * benchtests/bench-stpcpy.c: Add wcpcpy support.
10884         * benchtests/bench-wcpcpy.c: New File.
10885         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
10887         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
10888         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10889         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
10890         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
10891         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
10892         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
10893         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
10894         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
10895         wcscpy functions.
10896         * sysdeps/s390/multiarch/ifunc-impl-list.c
10897         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
10898         * benchtests/bench-wcscpy.c: New File.
10899         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
10901         * sysdeps/s390/multiarch/strnlen-c.c: New File.
10902         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
10903         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10904         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
10905         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
10906         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
10907         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10908         wcsnlen functions.
10909         * sysdeps/s390/multiarch/ifunc-impl-list.c
10910         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
10911         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
10912         * string/test-strnlen.c: Add wcsnlen support.
10913         * wcsmbs/test-wcsnlen.c: New File.
10914         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
10915         * benchtests/bench-strnlen.c: Add wcsnlen support.
10916         * benchtests/bench-wcsnlen.c: New File.
10917         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
10919         * sysdeps/s390/multiarch/Makefile: New File.
10920         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
10921         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
10922         * sysdeps/s390/multiarch/strlen.c: Likewise.
10923         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
10924         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
10925         * sysdeps/s390/multiarch/wcslen.c: Likewise.
10926         * string/strlen.c (STRLEN): Define and use macro.
10927         * sysdeps/s390/multiarch/ifunc-impl-list.c
10928         (IFUNC_VX_IMPL): New macro function.
10929         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
10930         * benchtests/Makefile (wcsmbs-bench): New variable.
10931         (string-bench-all): Added wcsmbs-bench.
10932         * benchtests/bench-wcslen.c: New File.
10934         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
10935         s390_vx_libc_ifunc2): New macro function.
10937         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
10938         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
10939         assembler support.
10940         * sysdeps/s390/configure: Regenerated.
10942         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
10943         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
10945         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
10946         * sysdeps/s390/dl-procinfo.h: Add vector capability.
10947         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
10949         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10950         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
10951         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
10952         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
10953         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
10954         (memcmp, bcmp): Use __memcmp_default as alias source.
10955         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
10956         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
10957         Rename to __memcmp_default.
10958         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
10959         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
10960         (memcpy): Use __memcpy_default as alias source.
10961         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
10962         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
10963         Rename to __memcpy_default.
10964         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
10965         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
10966         (memset): Use __memset_default as alias source.
10967         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
10968         * sysdeps/s390/s390-32/memset.S (__memset_g5):
10969         Rename to __memset_default.
10970         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
10971         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
10972         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
10973         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
10974         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
10975         (memcmp, bcmp): Use __memcmp_default as alias source.
10976         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
10977         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
10978         Rename to __memcmp_default.
10979         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
10980         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
10981         (memcpy): Use __memcpy_default as alias source.
10982         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
10983         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
10984         Rename to __memcpy_default.
10985         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
10986         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
10987         (memset): Use __memset_default as alias source.
10988         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
10989         * sysdeps/s390/s390-64/memset.S (__memset_z900):
10990         Rename to __memset_default.
10991         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
10992         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
10994         [BZ #18610]
10995         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
10996         __ieee_instruction_pointer to __unused.
10997         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
10998         __ieee_instruction_pointer.
10999         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11000         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11001         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11002         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11003         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11004         Mark dxc-field as reserved.
11006 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11008         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11009         if the weak reference is not null.
11011 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11013         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11015         [BZ #11214]
11016         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11018 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11020         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11021         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11022         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11023         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11024         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11025         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11026         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11027         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11028         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11029         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11030         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11031         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11032         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11033         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11034         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11035         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11036         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11037         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11039 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11041         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11042         register other than r0 for tabort, it has special meaning.
11043         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11044         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11045         transaction before starting syscall.
11047 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11049         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11051 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11053         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11055         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11056         * sysdeps/x86_64/rtld-memset.S: Likewise.
11057         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11058         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11059         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11060         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11062         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11064 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11066         * debug/strcpy_chk.c: Improve performance.
11067         * debug/stpcpy_chk.c: Likewise.
11068         * sysdeps/x86_64/strcpy_chk.S: Remove.
11069         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11071         [BZ #18240]
11072         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11074 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11076         [BZ #15128]
11077         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11078         ifuncmain8.
11079         (modules-names): Add ifuncmod8.
11080         ($(objpfx)ifuncmain8): New rule.
11081         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11082         <cpuid.h>.
11083         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11084         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11085         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11086         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11087         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11088         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11089         * sysdeps/x86_64/ifuncmain8.c: New file.
11090         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11091         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11092         Removed.
11093         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11094         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11095         Change rtld_savespace_sse to __glibc_unused2.
11096         (RTLD_CHECK_FOREIGN_CALL): Removed.
11097         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11098         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11099         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11101 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11103         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11105 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11107         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11108         Unconditionally set __fpcr to avoid uninialized warning.
11109         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11111 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11113         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11114         is corrupt.
11116         * malloc/arena.c (arena_get2): Drop unused argument.
11117         (arena_lock): Adjust.
11118         (arena_get_retry): Likewise.
11120 2015-08-24  Andreas Schwab  <schwab@suse.de>
11122         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11123         Don't define.
11124         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11125         (__ASSUME_IPC64): Don't undef.
11126         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11127         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11128         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11129         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11130         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11131         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11132         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11133         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11134         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11135         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11136         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11137         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11138         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11139         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11140         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11141         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11142         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11143         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11144         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11145         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11146         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11148 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11150         * manual/Makefile (install): Only build manual when perl is available.
11152 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11154         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11155         '#undef memcpy' by '#undef memchr'.
11157 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11159         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11160         memchr not point to the internal __GI_memchr implementation.
11162 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11164         * timezone/Makefile (CFLAGS-zdump.c): Remove
11165         -Wno-strict-prototypes.
11166         (CFLAGS-zic.c): Likewise.
11167         (CFLAGS-ialloc.c): Likewise.
11168         (CFLAGS-scheck.c): Likewise.
11170         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11171         -Wno-error=undef.
11173 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11175         * i386/i686/multiarch/strcasestr-c.c: Removed.
11176         * x86_64/multiarch/strcasestr.c: Likewise.
11177         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11178         Remove strcasestr.
11180 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11182         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11184         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11185         variables for high and low parts before possibly modifying them.
11187 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11189         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11190         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11191         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11192         of "multiarch/init-arch.h".
11193         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11194         * sysdeps/x86/init-arch.h: This.
11196 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11198         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11199         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11201 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11203         [BZ #17787]
11204         * manual/macros.texi: Add twoexp macro.
11205         * manual/filesys.texi: Fix exponents.
11206         * manual/llio.texi: Likewise.
11207         * manual/stdio.texi: Likewise.
11209 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11211         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11212         incorrect use.
11214 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11216         [BZ #18370]
11217         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11218         whose real or imaginary part has small absolute value.
11219         * math/s_csqrtf.c (__csqrtf): Likewise.
11220         * math/s_csqrtl.c (__csqrtl): Likewise.
11221         * math/auto-libm-test-in: Add more tests of csqrt.
11222         * math/auto-libm-test-out: Regenerated.
11223         * sysdeps/i386/fpu/libm-test-ulps: Update.
11225 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11227         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11228         __ppc_set_ppr_very_low): New functions.
11229         * manual/platform.texi: Add documentation about
11230         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11232 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11234         * string/stpncpy.c (stpncpy): Improve performance using
11235         __strnlen/memcpy/memset.
11237 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11239         [BZ #18796]
11240         * scripts/test-installation.pl: Don't add -lmvec to build options if
11241         libmvec wasn't built.
11243 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11245         [BZ #14341]
11246         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11247         case when there is a gap between DT_REL and DT_JMPREL sections.
11248         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11249         (LDFLAGS-tst-split-dynreloc): New.
11250         (tst-split-dynreloc-ENV): Likewise.
11251         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11252         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11254 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11256         [BZ #18822]
11257         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11258         attribute_hidden.
11259         (__xstat64_conv): Likewise.
11260         (__xstat32_conv): Likewise.
11262 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11264         [BZ #18822]
11265         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11266         Don't load %ebx when calling __setcontext.  Call __setcontext
11267         with HIDDEN_JUMPTARGET.
11268         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11269         libc_hidden_def.
11271 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11273         * sysdeps/i386/i686/Makefile
11274         [$(subdir) == string] (sysdep_routines): Moved to ...
11275         * sysdeps/i386/Makefile: Here.
11276         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11277         * sysdeps/i386/cacheinfo.c: Here.
11278         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11279         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11280         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11281         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11283 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11285         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11286         __i586__ is defined.
11287         (HAS_I686): Defined to 1 if __i686__ is defined.
11289 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11291         * elf/Makefile [$(have-z-execstack) = yes]
11292         (CPPFLAGS-tst-execstack.c): New variable.
11294         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11295         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11296         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11297         UTMPX || _HAVE_UT_TV].
11298         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11299         UTMPX || _HAVE_UT_TV - 0].
11301 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11303         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11304         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11305         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11307 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11309         * sysdeps/powerpc/dl-procinfo.c:
11310         (_dl_powerpc_cap_flags): Added missing strings for some
11311         hwcap features.
11312         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11314 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11316         Port the 0x7efe...feff pattern to GCC 6.
11317         See Steve Ellcey's bug report in:
11318         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11319         * string/memrchr.c (MEMRCHR):
11320         * string/rawmemchr.c (RAWMEMCHR):
11321         * string/strchr.c (strchr):
11322         * string/strchrnul.c (STRCHRNUL):
11323         Rewrite code to avoid issues with signed shift overflow.
11325 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11327         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11328         whether cpuid is available only if HAS_CPUID is 0.
11329         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11330         (HAS_I586): Likewise.
11331         (HAS_I686): Likewise.
11333 2015-08-18  Zack Weinberg  <zackw@panix.com>
11335         * misc/Versions (libc): Add GLIBC_2.23.
11337 2015-08-18  Alan Modra  <amodra@gmail.com>
11339         [BZ #18421]
11340         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11341         .Lp__global.
11342         (_start): Load %dp via .Lp__global.
11343         [!SHARED]: Use .section .rodata.
11345 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11347         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11348         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11350 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11352         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11353         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11355 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11357         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11358         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11360 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11362         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11363         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11365 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11367         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11368         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11370 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11372         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11373         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11375 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11377         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11379 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11381         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11382         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11383         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11384         (__ASSUME_LWS_CAS): Delete.
11386 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11388         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11389         * sysdeps/hppa/configure: Regenerated.
11390         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11391         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11392         * sysdeps/hppa/nptl/tls.h: Likewise.
11394 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11396         [BZ #18823]
11397         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11398         for scaling up small arguments.
11399         * math/s_csqrtf.c (__csqrtf): Likewise.
11400         * math/s_csqrtl.c (__csqrtl): Likewise.
11401         * math/auto-libm-test-in: Add more tests of csqrt.
11402         * math/auto-libm-test-out: Regenerated.
11404 2015-08-17  Andreas Schwab  <schwab@suse.de>
11406         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11407         version set GLIBC_2.19.
11409 2015-08-16  Zack Weinberg  <zackw@panix.com>
11411         [BZ #18681]
11412         * misc/regexp.h: This interface is no longer supported.
11413         Remove all contents, leaving only an #error directive.
11414         * misc/regexp.c (loc1, loc2, locs, step, advance):
11415         Demote to compatibility symbols.
11417 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11419         [BZ #18084]
11420         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11421         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11422         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11423         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11424         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11425         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11426         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11427         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11428         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11430 2015-08-15  Zack Weinberg  <zackw@panix.com>
11432         [BZ #18795]
11433         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11434         buffer length is known to be too large, not if it's known to be
11435         small enough.
11436         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11437         overflow at runtime, involving a length parameter, twice: once
11438         with a compile-time constant length parameter, once without.
11440 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11442         [BZ #18824]
11443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11444         scaling x * y up instead of down.
11445         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11446         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11447         * math/auto-libm-test-in: Add more tests of fma.
11448         * math/auto-libm-test-out: Regenerated.
11450 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11454 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11457         unnecessary movq.
11458         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11459         Likewise.
11461 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11463         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11464         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11465         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11466         and tgamma.
11467         * math/auto-libm-test-out: Regenerated.
11468         * sysdeps/i386/fpu/libm-test-ulps: Update.
11469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11471         [BZ #16520]
11472         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11473         (__tanh): Force underflow exception for arguments with small
11474         absolute value.
11475         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11476         (__tanhf): Force underflow exception for arguments with small
11477         absolute value.
11478         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11479         (__tanhl): Force underflow exception for arguments with small
11480         absolute value.
11481         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11482         (__tanhl): Force underflow exception for arguments with small
11483         absolute value.
11484         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11485         (__tanhl): Force underflow exception for arguments with small
11486         absolute value.
11487         * math/auto-libm-test-in: Add more tests of tanh.
11488         * math/auto-libm-test-out: Regenerated.
11489         * sysdeps/i386/fpu/libm-test-ulps: Update.
11491 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11493         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11494         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11496 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11498         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11499         <cpuid.h>.
11501 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11503         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11504         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11506 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11508         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11509         Remove $(objpfx)init-arch.o.
11510         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11511         init-arch.
11512         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11513         (INIT_ARCH_EXT): Defined as empty.
11514         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11515         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11516         __init_cpu_features call.  Replace HAS_XXX with
11517         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11518         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11519         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11520         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11521         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11522         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11523         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11524         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11525         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11526         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11527         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11528         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11529         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11530         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11531         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11532         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11534         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11536         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11538         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11539         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11540         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11541         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11542         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11543         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11544         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11545         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11546         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11547         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11548         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11550         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11551         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11552         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11554 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11556         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11557         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11558         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11559         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11560         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11561         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11562         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11563         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11564         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11565         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11566         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11567         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11568         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11569         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11570         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11571         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11572         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11573         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11574         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11575         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11576         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11577         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11578         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11579         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11580         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11581         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11582         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11583         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11584         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11585         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11586         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11587         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11588         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11589         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11590         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11591         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11592         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11593         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11594         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11595         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11596         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11597         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11598         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11600 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11602         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11603         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11604         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11605         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11606         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11607         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11608         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11609         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11610         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11611         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11612         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11613         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11614         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11615         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11616         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11617         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11618         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11619         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11620         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11621         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11623         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11624         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11625         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11626         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11627         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11628         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11629         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11630         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11631         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11632         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11633         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11634         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11635         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11636         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11637         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11638         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11639         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11640         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11641         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11642         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11643         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11644         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11646 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11648         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11649         (dl_platform_init): Call init_cpu_features.
11650         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11651         * sysdeps/i386/i686/cacheinfo.c
11652         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11653         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11654         * sysdeps/i386/i686/multiarch/Versions: Removed.
11655         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11656         Removed.
11657         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11658         * sysdeps/unix/sysv/linux/x86/Makefile
11659         (libpthread-sysdep_routines): Remove init-arch.
11660         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11661         <sysdeps/x86_64/dl-procinfo.c> instead of
11662         sysdeps/generic/dl-procinfo.c>.
11663         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11664         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11665         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11666         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11667         [$(subdir) == elf] (tests-static): Add
11668         tst-get-cpu-features-static.
11669         * sysdeps/x86/Versions: New file.
11670         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11671         * sysdeps/x86/cpu-features.c: Likewise.
11672         * sysdeps/x86/cpu-features.h: Likewise.
11673         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11674         * sysdeps/x86/libc-start.c: Likewise.
11675         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11676         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11677         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11678         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11679         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11680         Assume USE_MULTIARCH is defined and don't check it.
11681         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11682         (is_amd): Likewise.
11683         (max_cpuid): Likewise.
11684         (intel_check_word): Likewise.
11685         (__cache_sysconf): Don't call __init_cpu_features.
11686         (__x86_preferred_memory_instruction): Removed.
11687         (init_cacheinfo): Don't call __init_cpu_features. Replace
11688         __cpu_features with GLRO(dl_x86_cpu_features).
11689         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11690         (dl_platform_init): Call init_cpu_features.
11691         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11692         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11693         * sysdeps/x86_64/multiarch/Versions: Removed.
11694         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11695         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11696         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11697         Removed.
11698         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11700 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11702         [BZ #18820]
11703         * libio/Makefile (test-fmemopen-mem): New test.
11704         * libio/test-fmemopen.c (do_bz18820): New test.
11705         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11706         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11708 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11710         [BZ #16734]
11711         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11712         (FREE_BUF): Delete.
11713         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11714         * libio/genops.c (_IO_setb): Use malloc and free directly.
11715         (_IO_default_doallocate, _IO_default_finish): Likewise.
11716         ( _IO_unbuffer_all): Likewise.
11717         ( libc_freeres_fn): Likewise.
11718         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11719         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11720         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11721         (_IO_wdefault_doallocate): Likewise.
11723 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11725         [BZ #18086]
11726         * sysdeps/posix/nice.c (nice): Restore old errno.
11727         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11729 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11731         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11733 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11735         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11736         __bcopy and add a weak_alias to bcopy.
11737         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11738         for static build.
11740         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11741         cleanup macro usage.
11742         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11744         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11745         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11746         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11747         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11748         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11749         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11750         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11751         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11752         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11753         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11754         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11755         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11756         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11757         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11758         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11759         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11760         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11762         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11763         libc_hidden_def.
11764         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11766         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11767         (sysdep_routines): Add strstr-ppc64.
11768         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11770 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11772         [BZ #18778]
11773         * elf/Makefile (tests): Add Add tst-nodelete2.
11774         (modules-names): Add tst-nodelete2mod.
11775         (tst-nodelete2mod.so-no-z-defs): New.
11776         ($(objpfx)tst-nodelete2): Likewise.
11777         ($(objpfx)tst-nodelete2.out): Likewise.
11778         (LDFLAGS-tst-nodelete2): Likewise.
11779         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11780         out of loop through all loaded libraries.
11781         * elf/tst-nodelete2.c: New file.
11782         * elf/tst-nodelete2mod.c: Likewise.
11783         * elf/tst-znodelete-zlib.cc: Delete.
11785 2015-08-11  Andreas Schwab  <schwab@suse.de>
11787         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11788         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11789         (__openat64_nocancel): Likewise.
11791 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11793         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11794         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11795         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11796         * math/auto-libm-test-out: Regenerated.
11797         * sysdeps/i386/fpu/libm-test-ulps: Update.
11798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11800 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11802         [BZ #18790]
11803         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11804         threshold for returning +/- 1.
11805         * math/auto-libm-test-in: Add more tests of tanh.
11806         * math/auto-libm-test-out: Regenerated.
11807         * sysdeps/i386/fpu/libm-test-ulps: Update.
11809 2015-08-10  Andreas Schwab  <schwab@suse.de>
11811         [BZ #18781]
11812         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11813         MORE_OFLAGS to oflag.
11814         * io/test-lfs.c (do_test): Test openat64.
11816 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11818         [BZ #18789]
11819         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11820         smaller threshold for returning the argument.
11821         * math/auto-libm-test-in: Add more tests of sinh.
11822         * math/auto-libm-test-out: Regenerated.
11823         * sysdeps/i386/fpu/libm-test-ulps: Update.
11825 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11827         [BZ #18674]
11828         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11829         break.
11831 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11833         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11834         (generated): Don't add $(addprefix z.,$(tzfiles)).
11836 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11838         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
11839         * scripts/sysd-rules.awk: Likewise.
11841 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11843         * iconvdata/tst-tables.sh: Change echo -n to printf.
11844         * nss/db-Makefile: Likewise.
11845         * posix/tst-getconf.sh: Likewise.
11846         * stdio-common/tst-unbputc.sh: Likewise.
11848 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
11850         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
11851         MADV_*_PAGES defines behind this feature check.
11853 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
11855         [BZ #18480]
11856         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
11857         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
11858         Define.
11859         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
11860         LOAD_REGS_5, LOAD_REGS_6): Update.
11861         (INTERNAL_SYSCALL): Update using new LOAD defines.
11862         (INTERNAL_SYSCALL_NCS): Likewise.
11863         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
11865 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11867         [BZ #16734]
11868         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
11870 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11872         [BZ #17905]
11873         * catgets/Makefile (tst-catgets-mem): New test.
11874         * catgets/catgets.c (catopen): Don't use unbounded alloca.
11875         * catgets/open_catalog.c (__open_catalog): Likewise.
11876         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
11878 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
11880         [BZ #18787]
11881         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
11882         clobber registers.
11883         (atomic_compare_and_exchange_val_acq): Use register asms to assign
11884         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
11885         Cast return to __typeof (oldval).
11887 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
11889         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
11890         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
11891         and delete sys/syscall.h include.
11893 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
11895         [BZ #16517]
11896         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
11897         (tan): Force underflow exception for arguments with small absolute
11898         value.
11899         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
11900         (__kernel_tanf): Force underflow exception for arguments with
11901         small absolute value.
11902         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
11903         (__kernel_tanl): Force underflow exception for arguments with
11904         small absolute value.
11905         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
11906         (__kernel_tanl): Force underflow exception for arguments with
11907         small absolute value.
11908         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
11909         (__kernel_tanl): Force underflow exception for arguments with
11910         small absolute value.
11911         * math/auto-libm-test-in: Add more tests of tan.
11912         * math/auto-libm-test-out: Regenerated.
11914 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11916         Fix sysdeps/i386/fpu/s_scalbn.S build
11918         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
11920 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
11922         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11924 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11926         Fix gcrt0.o compilation
11928         When static-start-installed-name is different from
11929         start-installed-name, we must not use the shared objects.
11931         * csu/Makefile
11932         (extra-objs): Add gmon-start.o when building shared library and
11933         $(static-start-installed-name) is different from
11934         $(start-installed-name).
11935         $(objpfx)g$(static-start-installed-name): When building shared
11936         library and $(static-start-installed-name) is different from
11937         $(static-start-installed-name), revert to non-shared rule,
11938         i.e. using $(objpfx)% and gmon-start.o.
11940 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
11942         [BZ #16519]
11943         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
11944         (__ieee754_sinh): Force underflow exception for arguments with
11945         small absolute value.
11946         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
11947         (__ieee754_sinhf): Force underflow exception for arguments with
11948         small absolute value.
11949         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
11950         (__ieee754_sinhl): Force underflow exception for arguments with
11951         small absolute value.
11952         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
11953         (__ieee754_sinhl): Force underflow exception for arguments with
11954         small absolute value.
11955         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
11956         (__ieee754_sinhl): Force underflow exception for arguments with
11957         small absolute value.
11958         * math/auto-libm-test-in: Add more tests of sinh.
11959         * math/auto-libm-test-out: Regenerated.
11960         * sysdeps/i386/fpu/libm-test-ulps: Update.
11962 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
11964         * libio/oldfileops.c: Include unistd.h.
11966 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
11968         * stdlib/isomac.c: Include ctype.h.
11970 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
11972         * dirent/tst-seekdir.c (main): Converted to ...
11973         (do_test): ... this.
11974         (TEST_FUNCTION): New macro.
11975         Include test-skeleton.c.
11976         * elf/tst-dlmodcount.c (main): Converted to ...
11977         (do_test): ... this.
11978         (TEST_FUNCTION): New macro.
11979         Include test-skeleton.c.
11980         * elf/tst-order-main.c (main): Converted to ...
11981         (do_test): ... this.
11982         (TEST_FUNCTION): New macro.
11983         Include test-skeleton.c.
11984         * elf/tst-pie2.c (main): Converted to ...
11985         (do_test): ... this.
11986         (TEST_FUNCTION): New macro.
11987         Include test-skeleton.c.
11988         * inet/tst-ether_aton.c (main): Converted to ...
11989         (do_test): ... this.
11990         (TEST_FUNCTION): New macro.
11991         Include test-skeleton.c.
11992         * misc/tst-mntent.c (main): Converted to ...
11993         (do_test): ... this.
11994         (TEST_FUNCTION): New macro.
11995         Include test-skeleton.c.
11996         * misc/tst-tsearch.c (main): Converted to ...
11997         (do_test): ... this.
11998         (TEST_FUNCTION): New macro.
11999         Include test-skeleton.c.
12000         * posix/tst-regexloc.c (main): Converted to ...
12001         (do_test): ... this.
12002         (TEST_FUNCTION): New macro.
12003         Include test-skeleton.c.
12004         * resolv/tst-aton.c (main): Converted to ...
12005         (do_test): ... this.
12006         (TEST_FUNCTION): New macro.
12007         Include test-skeleton.c.
12008         * stdio-common/test-fwrite.c (main): Converted to ...
12009         (do_test): ... this.
12010         (TEST_FUNCTION): New macro.
12011         Include test-skeleton.c.
12012         * stdio-common/tst-ferror.c (main): Converted to ...
12013         (do_test): ... this.
12014         (TEST_FUNCTION): New macro.
12015         Include test-skeleton.c.
12016         * stdio-common/tst-printf.c (main): Converted to ...
12017         (do_test): ... this.
12018         (TEST_FUNCTION): New macro.
12019         Include test-skeleton.c.
12020         * stdio-common/tst-printfsz.c (main): Converted to ...
12021         (do_test): ... this.
12022         (TEST_FUNCTION): New macro.
12023         Include test-skeleton.c.
12024         * stdlib/tst-strtod.c (main): Converted to ...
12025         (do_test): ... this.
12026         (TEST_FUNCTION): New macro.
12027         Include test-skeleton.c.
12028         * string/tst-strlen.c (main): Converted to ...
12029         (do_test): ... this.
12030         (TEST_FUNCTION): New macro.
12031         Include test-skeleton.c.
12032         * string/tst-svc.c (main): Converted to ...
12033         (do_test): ... this.
12034         (TEST_FUNCTION): New macro.
12035         Include test-skeleton.c.
12036         * time/tst-strptime.c (main): Converted to ...
12037         (do_test): ... this.
12038         (TEST_FUNCTION): New macro.
12039         Include test-skeleton.c.
12040         * timezone/tst-timezone.c (main): Converted to ...
12041         (do_test): ... this.
12042         (TEST_FUNCTION): New macro.
12043         Include test-skeleton.c.
12045 2015-08-05  Zack Weinberg  <zackw@panix.com>
12047         * misc/regexp.h: Update comments.
12049 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12051         [BZ #18635]
12052         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12053         before return label.
12055 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12057         [BZ #18661]
12058         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12059         when calling __errno_location.
12060         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12061         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12063 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12065         [BZ #18661]
12066         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12067         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12068         __gettimeofday.
12070 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12072         [BZ #18661]
12073         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12074         (__start_context): Don't use pop to restore %rdi so that stack
12075         is aligned to 16 bytes when calling __setcontext.
12077 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12079         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12080         only for libc.
12081         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12083 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12085         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12086         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12087         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12089 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12091         * string/memccpy.c (memccpy):
12092         Improve performance by using memchr/memcpy/__mempcpy.
12094 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12096         * string/strncpy.c (strncpy):
12097         Improve performance by using __strnlen/memcpy.
12099 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12101         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12102         Optimize to avoid an unnecessary FPCR read.
12104 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12106         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12107         Optimize to reduce FPCR/FPSR accesses.
12109 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12111         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12112         dead->data[category] != NULL.
12114 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12116         [BZ #18647]
12117         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12118         and |x| close to 1, use absolute value of x when computing log.
12119         * math/auto-libm-test-in: Add more tests of pow.
12120         * math/auto-libm-test-out: Regenerated.
12122 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12124         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12125         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12126         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12128 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12130         [BZ #18525]
12131         * locales/km_KH: Remove timezone definition.
12132         * locales/lo_LA: Likewise.
12133         * locales/my_MM: Likewise.
12134         * locales/nan_TW@latin: Likewise.
12135         * locales/th_TH: Likewise.
12136         * locales/uk_UA: Likewise.
12138 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12140         [BZ #18265]
12141         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12142         (wcsncat): Likewise.
12143         (wcscmp): Likewise.
12144         (wcsncmp): Likewise.
12146 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12148         * test-skeleton.c (usage): New function.
12149         (main): Call usage when opt is '?'.
12151 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12153         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12154         before first use.
12156 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12158         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12159         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12160         in there too.
12162 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12164         * version.h (RELEASE): Set to "development".
12165         (VERSION): Set to "2.22.90"
12167         * version.h (RELEASE): Set to "stable".
12168         (VERSION): Set to "2.22"
12169         * include/features.h (__GLIBC_MINOR__): Set to 22.
12171 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12173         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12174         Restructure macro to avoid "value computed is not used" warning.
12175         (atomic_compare_and_exchange_val_acq): Likewise.
12177 2015-08-04  Andreas Schwab  <schwab@suse.de>
12179         [BZ #18635]
12180         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12181         ret.
12182         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12184 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12186         * po/pl.po: Updated translation.
12187         * po/uk.po: Likewise.
12188         * po/fi.po: Likewise.
12189         * po/ko.po: Likewise.
12190         * po/ru.po: Likewise.
12191         * po/vi.po: Likewise.
12193 2015-07-31  Zack Weinberg  <zackw@panix.com>
12195         [BZ #18681]
12196         * regexp.h: Add unconditional #warning stating that this header
12197         will be removed soon.  Revise banner comment to match.
12198         (compile): Consistently use ERROR instead of RETURN to report
12199         errors (partial fix for bz#18681).
12200         * regexp.c: Don't include regexp.h. Remove some unnecessary
12201         declarations.
12203 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12205         * po/libc.pot: Regenerated.
12207 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12209         [BZ #18740]
12210         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12211         float-vlen4-arch-ext-cflags): Removed.
12212         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12213         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12215 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12217         [BZ #14113]
12218         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12219         aligned to __aligned__.
12220         (pthread_cond_t, pthread_rwlock_t): Likewise.
12222 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12224         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12226 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12228         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12229         (struct sigaction): Change sa_flags from a long to an int, and add
12230         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12232 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12234         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12235         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12236         sysdeps/generic/sysdep.h include.
12237         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12238         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12239         sysdeps/hppa/sysdep.h.
12240         (ENTRY, PSEUDO): Undefine before defining.
12242 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12244         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12245         from scratch to use INTERNAL_SYSCALL.
12247 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12249         [BZ #18078]
12250         * scripts/check-localplt.awk: Support alternate relocations.
12251         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12252         sections.
12253         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12254         malloc entries with + REL R_386_GLOB_DAT.
12255         * sysdeps/x86_64/localplt.data: New file.
12257 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12259         [BZ #18731]
12260         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12261         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12262         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12264 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12266         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12268 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12270         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12271         directly in terms of __sync_fetch_and_add and delete (int) cast.
12273 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12275         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12276         the -D_ASM_IA64_CURRENT_H flag.
12278 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12280         [BZ #18641]
12281         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12283 2015-07-27  Andreas Schwab  <schwab@suse.de>
12285         * conform/conformtest.pl (checknamespace): Filter out string
12286         literals while tokenizing.
12288 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12290         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12291         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12292         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12294 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12296         * nptl/tst-join7mod.c: Add #include <string.h>.
12298 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12300         * sysdeps/nios2/libm-test-ulps: Update.
12302 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12304         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12305         Fix order of arguments to the rt_sigprocmask syscall.
12306         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12307         Likewise.
12309 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12311         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12313 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12315         [BZ #18457]
12316         * nptl/Makefile (tests): New test case tst-join7.
12317         (modules-names): New test case module tst-join7mod.
12318         * nptl/tst-join7.c: New file.
12319         * nptl/tst-join7mod.c: New file.
12320         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12321         all translation units in libc.so, libpthread.so and rtld.
12323 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12327 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12330         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12331         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12332         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12336         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12338         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12340         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12341         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12342         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12343         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12344         implementation.
12346 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12348         [BZ #17711]
12349         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12350         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12351         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12352         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12353         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12354         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12356 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12358         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12359         instead of just saying load lock in the comments.
12361 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12363         * sysdeps/unix/Subdirs: Moved ...
12364         * sysdeps/posix/Subdirs: ... here.
12365         * login/pty.h (struct termios, struct winsize): Add forward decls.
12366         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12367         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12368         * sysdeps/arm/nacl/libc.abilist: Updated.
12369         * sysdeps/nacl/libutil.abilist: New file.
12371         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12372         (SIGWINCH): New macro.
12374         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12375         * sysdeps/arm/nacl/libc.abilist: Add it.
12377 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12379         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12381 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12383         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12384         Swap __glibc_reserved0 and sa_flags order.
12386 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12388         [BZ #18657]
12389         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12390         are pending TLS destructor calls.
12391         * include/link.h (struct link_map): Add concurrency note for
12392         L_TLS_DTOR_COUNT.
12393         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12394         Don't touch the link map flag.  Atomically increment
12395         l_tls_dtor_count.
12396         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12397         Avoid taking the load lock and don't touch the link map flag.
12398         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12399         * stdlib/Makefile (tests): Use it.
12400         * stdlib/tst-tls-atexit.c (do_test): dlopen
12401         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12402         to allow tst-tls-atexit-nodelete test case to use it.
12404 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12406         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12407         to bits/types.h.
12408         (msgqnum_t): New typedef.
12409         (msglen_t): Likewise.
12410         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12411         and msg_qbytes type to msglen_t.
12413 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12415         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12416         pad0 to __glibc_reserved0.
12417         (struct stat64): Likewise.
12419 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12421         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12422         Change sa_flags from a long to an int and add __glibc_reserved0 before
12423         it for padding.
12425 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12427         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12428         anonymous by deleting "siginfo" name.
12430 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12432         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12433         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12434         rather than __nacl_irt_filename.
12435         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12437         * NEWS: New item for arm-nacl port.
12438         * sysdeps/arm/nacl/libc.abilist: New file.
12439         * sysdeps/nacl/ld.abilist: New file.
12440         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12441         * sysdeps/nacl/libanl.abilist: New file.
12442         * sysdeps/nacl/libcrypt.abilist: New file.
12443         * sysdeps/nacl/libdl.abilist: New file.
12444         * sysdeps/nacl/libm.abilist: New file.
12445         * sysdeps/nacl/libpthread.abilist: New file.
12446         * sysdeps/nacl/libresolv.abilist: New file.
12447         * sysdeps/nacl/librt.abilist: New file.
12449 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12451         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12452         __startcontext to initialize the new context.
12453         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12454         up CFI directive to forbid further backtracing.
12456 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12458         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12459         reference.
12460         * charmaps/ANSI_X3.4-1968: Likewise.
12461         * charmaps/BS_4730: Likewise.
12462         * charmaps/BS_VIEWDATA: Likewise.
12463         * charmaps/CP1250: Likewise.
12464         * charmaps/CP1251: Likewise.
12465         * charmaps/CP1252: Likewise.
12466         * charmaps/CP1253: Likewise.
12467         * charmaps/CP1254: Likewise.
12468         * charmaps/CP1255: Likewise.
12469         * charmaps/CP1256: Likewise.
12470         * charmaps/CSN_369103: Likewise.
12471         * charmaps/EBCDIC-DK-NO: Likewise.
12472         * charmaps/GB_1988-80: Likewise.
12473         * charmaps/GREEK-CCITT: Likewise.
12474         * charmaps/GREEK7: Likewise.
12475         * charmaps/INIS-8: Likewise.
12476         * charmaps/ISIRI-3342: Likewise.
12477         * charmaps/ISO_2033-1983: Likewise.
12478         * charmaps/ISO_5427-EXT: Likewise.
12479         * locales/POSIX: Likewise.
12480         * locales/ar_SA: Likewise.
12481         * locales/be_BY: Likewise.
12482         * locales/be_BY@latin: Likewise.
12483         * locales/ca_ES: Likewise.
12484         * locales/cs_CZ: Likewise.
12485         * locales/da_DK: Likewise.
12486         * locales/de_BE: Likewise.
12487         * locales/de_CH: Likewise.
12488         * locales/de_LU: Likewise.
12489         * locales/en_AU: Likewise.
12490         * locales/en_BW: Likewise.
12491         * locales/en_CA: Likewise.
12492         * locales/en_DK: Likewise.
12493         * locales/en_GB: Likewise.
12494         * locales/en_IE: Likewise.
12495         * locales/en_NZ: Likewise.
12496         * locales/en_ZA: Likewise.
12497         * locales/en_ZW: Likewise.
12498         * locales/es_AR: Likewise.
12499         * locales/es_BO: Likewise.
12500         * locales/es_CL: Likewise.
12501         * locales/es_CO: Likewise.
12502         * locales/es_DO: Likewise.
12503         * locales/es_EC: Likewise.
12504         * locales/es_ES: Likewise.
12505         * locales/es_HN: Likewise.
12506         * locales/es_MX: Likewise.
12507         * locales/es_PA: Likewise.
12508         * locales/es_PE: Likewise.
12509         * locales/es_PY: Likewise.
12510         * locales/es_SV: Likewise.
12511         * locales/es_US: Likewise.
12512         * locales/es_UY: Likewise.
12513         * locales/es_VE: Likewise.
12514         * locales/et_EE: Likewise.
12515         * locales/fa_IR: Likewise.
12516         * locales/fo_FO: Likewise.
12517         * locales/fr_CA: Likewise.
12518         * locales/fr_CH: Likewise.
12519         * locales/gv_GB: Likewise.
12520         * locales/he_IL: Likewise.
12521         * locales/hr_HR: Likewise.
12522         * locales/id_ID: Likewise.
12523         * locales/is_IS: Likewise.
12524         * locales/it_CH: Likewise.
12525         * locales/iw_IL: Likewise.
12526         * locales/kl_GL: Likewise.
12527         * locales/ko_KR: Likewise.
12528         * locales/kw_GB: Likewise.
12529         * locales/lg_UG: Likewise.
12530         * locales/lt_LT: Likewise.
12531         * locales/lv_LV: Likewise.
12532         * locales/mi_NZ: Likewise.
12533         * locales/nhn_MX: Likewise.
12534         * locales/nl_BE: Likewise.
12535         * locales/pl_PL: Likewise.
12536         * locales/sk_SK: Likewise.
12537         * locales/sl_SI: Likewise.
12538         * locales/sv_FI: Likewise.
12539         * locales/tl_PH: Likewise.
12540         * locales/tr_TR: Likewise.
12541         * locales/vi_VN: Likewise.
12543 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12545         [BZ #17475]
12546         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12547         of tu_IN and bh_IN.
12549 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12551         [BZ #18694]
12552         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12553         bits/wordsize.h.
12554         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12556 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12558         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12559         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12560         (spawn_thread): New function.
12561         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12562         (do_test): ... here.  Use IS_LOADED to test for its
12563         availability.
12565 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12567         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12569 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12571         [BZ #18696]
12572         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12573         si_addr_bnd.
12574         (si_lower): New.
12575         (si_upper): Likewise.
12577 2015-07-16  David S. Miller  <davem@davemloft.net>
12579         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12581 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12583         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12584         buffer.
12585         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12586         fail output information.
12588 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12591         and strstr-ppc64..
12592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12593         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12594         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12595         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12596         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12598 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12600         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12601         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12602         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12603         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12605 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12607         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12608         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12609         rtld_hidden_proto.
12610         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12612 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12614         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12615         the test can fail.
12617         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12619         [BZ #18676]
12620         * elf/tst-nodelete-opened.c: New test case.
12621         * elf/tst-nodelete-opened-lib.c: New test case module.
12622         * elf/Makefile (tests, modules-names): Use them.
12623         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12624         early.
12626 2015-07-15  David S. Miller  <davem@davemloft.net>
12628         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12629         futex-intenal.h
12630         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12631         * sysdeps/sparc/sparc64/Makefile: Likewise.
12632         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12633         Remove space from macro define.
12634         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12636 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12638         [BZ #17475]
12639         * locale/iso-639.def: Update Bhili and Tulu language codes as
12640         per iso639-3.
12642 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12644         * elf/tst-leaks1.c (main): Converted to ...
12645         (do_test): ... this.
12646         (TEST_FUNCTION): New macro.
12647         Include test-skeleton.c.
12648         * localedata/tst-langinfo.c (main): Converted to ...
12649         (do_test): ... this.
12650         (TEST_FUNCTION): New macro.
12651         Include test-skeleton.c.
12652         * math/test-fpucw.c (main): Converted to ...
12653         (do_test): ... this.
12654         (TEST_FUNCTION): New macro.
12655         Include test-skeleton.c.
12656         * math/test-tgmath.c (main): Converted to ...
12657         (do_test): ... this.
12658         (TEST_FUNCTION): New macro.
12659         Include test-skeleton.c.
12660         * math/test-tgmath2.c (main): Converted to ...
12661         (do_test): ... this.
12662         (TEST_FUNCTION): New macro.
12663         Include test-skeleton.c.
12664         * setjmp/tst-setjmp.c (main): Converted to ...
12665         (do_test): ... this.
12666         (TEST_FUNCTION): New macro.
12667         Include test-skeleton.c.
12668         * stdio-common/tst-sscanf.c (main): Converted to ...
12669         (do_test): ... this.
12670         (TEST_FUNCTION): New macro.
12671         Include test-skeleton.c.
12672         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12673         (do_test): ... this.
12674         (TEST_FUNCTION): New macro.
12675         Include test-skeleton.c.
12677         * elf/tst-audit9.c (main): Converted to ...
12678         (do_test): ... this.
12679         (TEST_FUNCTION): New macro.
12680         Include test-skeleton.c.
12682 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12684         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12686 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12688         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12689         New variable.
12691 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12693         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12695 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12697         * sysdeps/generic/dl-fileid.h: New file.
12698         * sysdeps/posix/dl-fileid.h: New file.
12699         * sysdeps/nacl/dl-fileid.h: New file.
12700         * include/link.h: Include <dl-fileid.h>.
12701         (struct link_map): Replace l_dev and l_ino with l_file_id.
12702         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12703         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12704         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12706 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12708         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12710 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12712         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12713         Add iff $CXX is set.
12714         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12715         Likewise.
12716         (tst-nodelete-zmodiff): Likewise.
12717         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12719 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12721         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12723 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12725         * sysdeps/aarch64/fpu/math_private.h
12726         (define math_opt_barrier): Add AArch64 version.
12727         (math_force_eval): Likewise.
12729 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12731         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12733 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12735         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12736         %ld with %jd and cast to intmax_t.
12737         (do_test_length_zero): Likewise.
12739 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12741         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12743 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12745         * sysdeps/tile/libm-test-ulps: Regenerated.
12747         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12748         Comment out the whole function, not just its body.
12750 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12752         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12753         locks.
12755         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12757 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12759         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12760         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12762 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12764         * sysdeps/nptl/futex-internal.h: New file.
12765         * sysdeps/nacl/futex-internal.h: New file.
12766         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12767         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12768         error checking.
12769         (setxid_unmark_thread): Likewise.
12770         (__nptl_setxid): Likewise.
12771         (__wait_lookup_done): Likewise.
12772         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12773         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12774         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12775         * nptl/pthread_once.c (clear_once_control): Likewise.
12776         (__pthread_once_slow): Likewise.
12777         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12778         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12779         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12780         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12781         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12782         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12783         Likewise.
12784         (__pthread_rwlock_rdlock): Likewise.
12785         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12786         Likewise.
12787         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12788         Likewise.
12789         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12790         Likewise.
12791         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12792         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12793         Likewise.
12794         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12795         __ASSUME_PRIVATE_FUTEX check.
12796         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12797         Check that shared futexes are supported.
12798         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12799         wrappers with error checking.
12800         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12801         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12802         * nptl/pthread_barrierattr_setpshared.c
12803         (pthread_barrierattr_setpshared): Check that shared futexes are
12804         supported.
12805         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12806         Likewise.
12807         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12808         Likewise.
12809         * nptl/sem_init.c (futex_private_if_supported): Remove.
12810         (__new_sem_init): Adapt and check that shared futexes are supported.
12811         * nptl/sem_open.c (sem_open): Likewise.
12812         * nptl/sem_post.c (futex_wake): Remove.
12813         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12814         (do_futex_wait): Use futex wrappers with error checking.
12815         * nptl/sem_wait.c: Include lowlevellock.h.
12816         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12817         Use futex_supports_pshared.
12818         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12819         Use futex wrappers with error checking.
12820         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12821         Likewise.
12822         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12823         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12824         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12825         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12826         (futex_wake): Likewise.
12827         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12828         (do_futex_wait): Use futex wrappers with error checking.
12829         (__new_sem_wait_slow): Update EINTR handling.
12830         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12832 2015-07-09  Martin Sebor  <msebor@redhat.com>
12834         [BZ #18435]
12835         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
12836         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
12837         * nptl/Makefile (test-xfail-tst-once5): Define.
12839 2015-07-09  Roland McGrath  <roland@hack.frob.com>
12841         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
12842         * elf/dl-minimal.c: For readability, reorder some definitions and
12843         introduce more page breaks.  Include <stdio.h>.
12844         (__libc_fatal): New function.
12846         * include/unistd.h: Add rtld_hidden_proto for _exit.
12847         * posix/_exit.c: Add rtld_hidden_def.
12848         * sysdeps/mach/hurd/_exit.c: Likewise.
12849         * sysdeps/nacl/_exit.c: Likewise.
12850         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
12851         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
12853 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
12855         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
12856         bndmov encoding with zero displacement.
12858 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12859             H.J. Lu  <hongjiu.lu@intel.com>
12861         [BZ #18134]
12862         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
12863         * sysdeps/i386/configure: Regenerated.
12864         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12865         (_dl_runtime_profile): Save and restore Intel MPX return bound
12866         registers when calling _dl_call_pltexit.  Add
12867         PRESERVE_BND_REGS_PREFIX before return.
12868         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
12869         (LRV_BND1_OFFSET): Likewise.
12870         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
12871         lrv_bnd1.
12872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
12873         typo in bndmov encoding.
12874         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
12875         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
12876         branch instructions to preserve bounds.
12878 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12881         [GLIBC_2.22]: Add fmemopen.
12883 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12885         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
12886         returns an error, also try to use host port from __mach_host_self for
12887         the __vm_wire call.
12888         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
12890 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12892         [BZ #18400]
12893         [BZ #18648]
12894         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
12895         Fix pr_uid and pr_gid members.
12896         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
12897         definition to elf_greg_t.
12899 2015-07-08  Roland McGrath  <roland@hack.frob.com>
12901         [BZ #18383]
12902         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
12903         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
12904         * sysdeps/arm/configure: Regenerated.
12905         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
12906         (test-xfail-tst-tlsalign-static): Variable removed.
12908         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
12909         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12910         rather than explicit 'ln -s'.
12912         * resolv/rpc/netdb.h: New file.
12913         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
12915 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12917         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
12918         length buffers.
12919         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12920         test-skeleton.c.
12922         [BZ #6544]
12923         [BZ #11216]
12924         [BZ #12836]
12925         [BZ #13151]
12926         [BZ #13152]
12927         [BZ #14292]
12928         * include/stdio.h (fmemopen): Remove hidden prototype.
12929         (__fmemopen): Add new hidden prototype.
12930         * libio/Makefile: Add oldfmemopen object.
12931         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
12932         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
12933         compliance.
12934         * libio/oldfmemopen.c: New file: old fmemopen implementation for
12935         symbol compatibility.
12936         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
12937         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
12938         fmemopen.
12939         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
12940         on append and read mode.
12941         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
12942         fmemopen.
12943         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
12944         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
12945         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
12946         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
12947         Likewise.
12948         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12949         [GLIBC_2.22]: Likewise.
12950         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
12951         Likewise.
12952         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
12953         Likewise.
12954         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12955         [GLIBC_2.22]: Likewise.
12956         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12957         [GLIBC_2.22]: Likewise.
12958         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12959         [GLIBC_2.22]: Likewise.
12960         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12961         [GLIBC_2.22]: Likewise.
12962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12963         [GLIBC_2.22]: Likewise.
12964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12965         [GLIBC_2.22]: Likewise.
12966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12967         [GLIBC_2.22]: Likewise.
12968         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
12969         Likewise.
12970         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
12971         Likewise.
12972         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
12973         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12974         [GLIBC_2.22]: Likewise.
12975         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12976         [GLIBC_2.22]: Likewise.
12977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12978         [GLIBC_2.22]: Likewise.
12979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12980         [GLIBC_2.22]: Likewise.
12981         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
12982         Likewise.
12983         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
12984         Likewise.
12985         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
12986         Likewise.
12987         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
12988         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
12990 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
12992         [BZ #18643]
12993         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
12994         IPV6_PATHMTU, and IPV6_DONTFRAG.
12996 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
12998         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
12999         and _IO_UNBUFFERED.
13000         * libio/oldfileops.c: Likewise.
13001         * libio/wfileops.c: Likewise.
13003 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13005         * nscd/selinux.c: Delete selinux/flask.h include.
13007 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13009         [BZ #18641]
13010         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13011         (putpwent): Likewise.
13012         (getpwnam): Likewise.
13013         (getpwent_r): Likewise.
13014         (getpwuid_r): Likewise.
13015         (getpwnam_r): Likewise.
13016         (fgetpwent_r): Likewise.
13018 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13020         [BZ #18557]
13021         * inet/rcmd.c (__validuser2_sa): Check user first to
13022         short-circuit host check.
13024 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13025             Mikhail Ilin  <m.ilin@samsung.com>
13027         [BZ #17833]
13028         * elf/Makefile (tests): Add tst-nodelete.
13029         (modules-names): Add tst-nodelete-uniquemod.
13030         (tst-nodelete-uniquemod.so-no-z-defs): New.
13031         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13032         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13033         ($(objpfx)tst-nodelete): Likewise.
13034         ($(objpfx)tst-nodelete.out): Likewise.
13035         (LDFLAGS-tst-nodelete): Likewise.
13036         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13037         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13038         implement forced object deletion.
13039         (_dl_close): Pass false to _dl_close_worker.
13040         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13041         * elf/tst-nodelete.cc: New file.
13042         * elf/tst-nodeletelib.cc: Likewise.
13043         * elf/tst-znodeletelib.cc: Likewise.
13044         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13046 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13048         [BZ #18508]
13049         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13050         Depend on $(libdl).
13051         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13052         is not called infinitely times.
13053         (backtrace_helper): New function.
13054         (trace_arg): New struct.
13055         (st1): Enlarge stack size.
13056         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13057         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13058         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13059         Likewise.
13061 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13063         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13065 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13067         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13068         Include sys/types.h instead of bits/types.h.
13069         Remove inclusion of bits/wordsize.h.
13071 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13073         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13074         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13075         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13076         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13077         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13078         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13080 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13082         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13083         link-defines.sym.
13084         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13085         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13086         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13087         and LR_SIZE.
13088         * sysdeps/i386/link-defines.sym: New file.
13090 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13092         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13093         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13094         ($(objpfx)tst-audit3): New rule.
13095         ($(objpfx)tst-audit3.out): Likewise.
13096         * sysdeps/i386/tst-audit3.c: New file.
13097         * sysdeps/i386/tst-audit3.h: Likewise.
13098         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13099         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13101 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13103         [BZ #18633]
13104         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13105         pointer in C code.
13106         (__strcat_c): Likewise.
13107         (__strcat_g): Likewise.
13109 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13111         [BZ #18592]
13112         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13114 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13116         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13117         New function.  (__ieee754_sqrtf): New function.
13118         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13119         New function.
13120         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13121         New function.
13123 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13125         * sysdeps/ieee754/support.c: Remove unused file.
13127 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13129         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13130         registers instead of d ones so the layout is kernel abi compatible.
13131         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13132         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13133         Likewise.
13135 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13137         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13139 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13141         [BZ #18619]
13142         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13143         and return argument in case of subnormal argument.
13145 2015-07-01  Martin Sebor  <msebor@redhat.com>
13147         [BZ #18435]
13148         * nptl/Makefile: Add tst-once5.cc.
13149         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13150         Remove macro redefinitions.
13151         * nptl/tst-once5.cc: New test.
13153 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13155         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13157         * sysdeps/arm/libm-test-ulps: Regenerated.
13159         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13160         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13162 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13164         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13165         lll_lock_wait_private and lll_futex_wake probes.
13167         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13169         Likewise.
13170         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13171         atomic_spin_nop.
13172         * sysdeps/x86_64/bits/atomic.h: Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13174         to atomic_spin_nop and move ...
13175         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13176         ... here and ...
13177         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13178         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13179         atomic_spin_nop instead of BUSY_WAIT_NOP.
13180         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13181         Likewise.
13182         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13183         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13184         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13185         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13186         instead of atomic_delay.
13188 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13190         [BZ #18613]
13191         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13192         X_ADJ not X when adjusting exponent.
13193         (__ieee754_gamma_r): Do intermediate computations in
13194         round-to-nearest then adjust overflowing and underflowing results
13195         as needed.
13196         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13197         of X_ADJ not X when adjusting exponent.
13198         (__ieee754_gammaf_r): Do intermediate computations in
13199         round-to-nearest then adjust overflowing and underflowing results
13200         as needed.
13201         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13202         log of X_ADJ not X when adjusting exponent.
13203         (__ieee754_gammal_r): Do intermediate computations in
13204         round-to-nearest then adjust overflowing and underflowing results
13205         as needed.  Use 1.0L not 1.0f as numerator of division.
13206         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13207         log of X_ADJ not X when adjusting exponent.
13208         (__ieee754_gammal_r): Do intermediate computations in
13209         round-to-nearest then adjust overflowing and underflowing results
13210         as needed.  Use 1.0L not 1.0f as numerator of division.
13211         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13212         of X_ADJ not X when adjusting exponent.
13213         (__ieee754_gammal_r): Do intermediate computations in
13214         round-to-nearest then adjust overflowing and underflowing results
13215         as needed.  Use 1.0L not 1.0f as numerator of division.
13216         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13217         to auto-libm-test-in.
13218         (tgamma_test): Use ALL_RM_TEST.
13219         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13220         tests of tgamma with spurious-overflow.
13221         * math/auto-libm-test-out: Regenerated.
13222         * math/gen-libm-have-vector-test.sh: Do not check for START.
13223         * sysdeps/i386/fpu/libm-test-ulps: Update.
13224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13226         [BZ #18612]
13227         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13228         arguments, just return 0.5 times the argument, with underflow
13229         forced as needed.
13230         * math/auto-libm-test-in: Add more tests of j1.
13231         * math/auto-libm-test-out: Regenerated.
13233         [BZ #16559]
13234         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13235         (__ieee754_j1): Force underflow exception for small results.
13236         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13237         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13238         (__ieee754_j1f): Force underflow exception for small results.
13239         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13240         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13241         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13242         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13243         (__ieee754_j1l): Force underflow exception for small results.
13244         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13245         * math/auto-libm-test-in: Add more tests of j1 and jn.
13246         * math/auto-libm-test-out: Regenerated.
13248         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13249         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13250         (PF_MPLS): Likewise.
13251         (AF_IB): Likewise.
13252         (AF_MPLS): Likewise.
13253         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13254         value and macro.
13255         (MS_RMT_MASK): Include MS_LAZYTIME.
13257 2015-06-26  Mel Gorman  <mgorman@suse.de>
13259         [BZ #18502]
13260         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13261         already minimal.
13263 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13265         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13266         (DT_MIPS_NUM): Update.
13267         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13268         DT_MIPS_RLD_MAP_REL.
13270 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13272         [BZ #16559]
13273         [BZ #18602]
13274         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13275         round-to-nearest internally then recompute results that
13276         underflowed to zero in the original rounding mode.
13277         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13278         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13279         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13280         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13281         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13282         * sysdeps/i386/fpu/libm-test-ulps: Update.
13283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13285 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13287         * NEWS: Fixed description of link with vector math library.
13289 2015-06-25  Andreas Schwab  <schwab@suse.de>
13291         [BZ #18549]
13292         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13293         * libio/test-fmemopen.c (do_test): Add test for it.
13295 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13297         [BZ #17841]
13298         * Makeconfig (no-pie-ldflag): New.
13299         (+link): Set to $(+link-pie) if default to PIE.
13300         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13301         * config.make.in (build-pie-default): New.
13302         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13303         is default.  AC_SUBST.
13304         * configure: Regenerated.
13305         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13307 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13309         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13310         to 'unsigned int'.
13312         * resolv/gai_misc.h (struct waitlist): Change type of field
13313         counterp to 'volatile unsigned int *'.
13314         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13315         FUTEXADDR and OLDVAL.
13316         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13317         Give local variable TOTAL type 'volatile unsigned int'.
13318         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13319         * resolv/gai_suspend.c (gai_suspend):
13320         Give local variable CNTR type 'unsigned int'.
13322         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13323         counterp to 'volatile unsigned int *'.
13324         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13325         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13326         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13327         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13328         Give local variable TOTAL type 'volatile unsigned int'.
13329         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13331 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13333         [BZ #18383]
13334         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13335         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13336         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13337         comment for i386/x86-64.
13338         (test-xfail-tst-tlsalign-extern-static): Removed.
13340 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13342         * math/test-double.h: New file.
13343         * math/test-float.h: Likewise.
13344         * math/test-ldouble.h: Likewise.
13345         * math/test-math-inline.h: Likewise.
13346         * math/test-math-no-inline.h: Likewise.
13347         * math/test-math-scalar.h: Likewise.
13348         * math/test-math-vector.h: Likewise.
13349         * math/test-vec-loop.h: Remove file.  Contents moved into
13350         test-math-vector.h.
13351         * math/libm-test.inc (MATHCONST): Do not document macro.
13352         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13353         and test-math-scalar.h.
13354         (FUNC): Remove macro.
13355         (FUNC_TEST): Likewise.
13356         (FLOAT): Likewise.
13357         (MATHCONST): Likewise.
13358         (PRINTF_EXPR): Likewise.
13359         (PRINTF_XEXPR): Likewise.
13360         (PRINTF_NEXPR): Likewise.
13361         (TEST_DOUBLE): Likewise.
13362         (TEST_MATHVEC): Likewise.
13363         (__NO_MATH_INLINES): Likewise.
13364         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13365         and test-math-scalar.h.
13366         (FUNC): Remove macro.
13367         (FUNC_TEST): Likewise.
13368         (FLOAT): Likewise.
13369         (MATHCONST): Likewise.
13370         (PRINTF_EXPR): Likewise.
13371         (PRINTF_XEXPR): Likewise.
13372         (PRINTF_NEXPR): Likewise.
13373         (TEST_FLOAT): Likewise.
13374         (TEST_MATHVEC): Likewise.
13375         (__NO_MATH_INLINES): Likewise.
13376         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13377         and test-math-scalar.h.
13378         (FUNC): Remove macro.
13379         (FUNC_TEST): Likewise.
13380         (FLOAT): Likewise.
13381         (MATHCONST): Likewise.
13382         (PRINTF_EXPR): Likewise.
13383         (PRINTF_XEXPR): Likewise.
13384         (PRINTF_NEXPR): Likewise.
13385         (TEST_DOUBLE): Likewise.
13386         (TEST_MATHVEC): Likewise.
13387         (TEST_INLINE): Likewise.
13388         (__NO_MATH_INLINES): Likewise.
13389         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13390         test-math-scalar.h.
13391         (FUNC): Remove macro.
13392         (FUNC_TEST): Likewise.
13393         (FLOAT): Likewise.
13394         (MATHCONST): Likewise.
13395         (PRINTF_EXPR): Likewise.
13396         (PRINTF_XEXPR): Likewise.
13397         (PRINTF_NEXPR): Likewise.
13398         (TEST_FLOAT): Likewise.
13399         (TEST_MATHVEC): Likewise.
13400         (TEST_INLINE): Likewise.
13401         (__NO_MATH_INLINES): Likewise.
13402         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13403         and test-math-scalar.h.
13404         (FUNC): Remove macro.
13405         (FUNC_TEST): Likewise.
13406         (FLOAT): Likewise.
13407         (MATHCONST): Likewise.
13408         (PRINTF_EXPR): Likewise.
13409         (PRINTF_XEXPR): Likewise.
13410         (PRINTF_NEXPR): Likewise.
13411         (TEST_LDOUBLE): Likewise.
13412         (TEST_MATHVEC): Likewise.
13413         (TEST_INLINE): Likewise.
13414         (__NO_MATH_INLINES): Likewise.
13415         * math/test-ldouble.c: Include test-ldouble.h,
13416         test-math-no-inline.h and test-math-scalar.h.
13417         (FUNC): Remove macro.
13418         (FUNC_TEST): Likewise.
13419         (FLOAT): Likewise.
13420         (MATHCONST): Likewise.
13421         (PRINTF_EXPR): Likewise.
13422         (PRINTF_XEXPR): Likewise.
13423         (PRINTF_NEXPR): Likewise.
13424         (TEST_LDOUBLE): Likewise.
13425         (TEST_MATHVEC): Likewise.
13426         (__NO_MATH_INLINES): Likewise.
13427         * math/test-double-vlen2.h: Include test-double.h,
13428         test-math-no-inline.h and test-math-vector.h.
13429         (FLOAT): Remove macro.
13430         (FUNC): Likewise.
13431         (MATHCONST): Likewise.
13432         (PRINTF_EXPR): Likewise.
13433         (PRINTF_XEXPR): Likewise.
13434         (PRINTF_NEXPR): Likewise.
13435         (TEST_DOUBLE): Likewise.
13436         (TEST_MATHVEC): Likewise.
13437         (__NO_MATH_INLINES): Likewise.
13438         (CNCT): Likewise.
13439         (CONCAT): Likewise.
13440         (WRAPPER_NAME): Likewise.
13441         (WRAPPER_DECL): Likewise.
13442         (WRAPPER_DECL_ff): Likewise.
13443         (WRAPPER_DECL_fFF): Likewise.
13444         (VECTOR_WRAPPER): Likewise.
13445         (VECTOR_WRAPPER_ff): Likewise.
13446         (VECTOR_WRAPPER_fFF): Likewise.
13447         (VEC_LEN): New macro.
13448         * math/test-double-vlen4.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-vlen8.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-float-vlen4.h: Include test-float.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_FLOAT): 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-vlen8.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-vlen16.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         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13554         test-vec-loop.h.
13555         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13556         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13557         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13558         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13559         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13560         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13561         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13563 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13565         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13566         (__getlogin_r): ... this.
13568 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13570         [BZ #18594]
13571         * math/s_ccosh.c (__ccosh): Compare with least normal value
13572         instead of comparing class with FP_SUBNORMAL.
13573         * math/s_ccoshf.c (__ccoshf): Likewise.
13574         * math/s_ccoshl.c (__ccoshl): Likewise.
13575         * math/s_cexp.c (__cexp): Likewise.
13576         * math/s_cexpf.c (__cexpf): Likewise.
13577         * math/s_cexpl.c (__cexpl): Likewise.
13578         * math/s_csin.c (__csin): Likewise.
13579         * math/s_csinf.c (__csinf): Likewise.
13580         * math/s_csinh.c (__csinh): Likewise.
13581         * math/s_csinhf.c (__csinhf): Likewise.
13582         * math/s_csinhl.c (__csinhl): Likewise.
13583         * math/s_csinl.c (__csinl): Likewise.
13584         * math/s_ctan.c (__ctan): Likewise.
13585         * math/s_ctanf.c (__ctanf): Likewise.
13586         * math/s_ctanh.c (__ctanh): Likewise.
13587         * math/s_ctanhf.c (__ctanhf): Likewise.
13588         * math/s_ctanhl.c (__ctanhl): Likewise.
13589         * math/s_ctanl.c (__ctanl): Likewise.
13590         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13591         csin, csinh, ctan and ctanh.
13592         * math/auto-libm-test-out: Regenerated.
13593         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13594         * sysdeps/i386/fpu/libm-test-ulps: Update.
13595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13597 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13599         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13600         return value is wrong, print the expected value too.
13602 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13604         [BZ #18585]
13605         * elf/readlib.c (is_gdb_python_file): New.
13606         (process_file): Don't issue errors on filenames with -gdb.py
13607         suffix.
13609 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13611         * math/auto-libm-test-in: Add more tests of csin and csinh.
13612         * math/auto-libm-test-out: Regenerated.
13613         * math/libm-test.inc (csin_test_data): Remove tests moved to
13614         auto-libm-test-in.
13615         (csinh_test_data): Likewise.
13617         [BZ #18593]
13618         * math/s_csin.c (__csin): Negate before rather than after possibly
13619         overflowing multiplication.
13620         * math/s_csinf.c (__csinf): Likewise.
13621         * math/s_csinh.c (__csinh): Likewise.
13622         * math/s_csinhf.c (__csinhf): Likewise.
13623         * math/s_csinhl.c (__csinhl): Likewise.
13624         * math/s_csinl.c (__csinl): Likewise.
13625         * math/auto-libm-test-in: Add some tests of csin and csinh.
13626         * math/auto-libm-test-out: Regenerated.
13627         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13628         (csinh_test_data): Likewise.
13629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13631         [BZ #18586]
13632         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13633         underflow exception for small results.
13635 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13637         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13639         variable and included header.
13640         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13645         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13646         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13647         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13648         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13649         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13650         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13651         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13652         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13653         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13654         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13655         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13657 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13659         [BZ #16526]
13660         [BZ #16538]
13661         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13662         (__sin): Force underflow exception for arguments with small
13663         absolute value.
13664         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13665         (__kernel_sinf): Force underflow exception for arguments with
13666         small absolute value.
13667         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13668         (__kernel_sincosl): Force underflow exception for arguments with
13669         small absolute value.
13670         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13671         (__kernel_sinl): Force underflow exception for arguments with
13672         small absolute value.
13673         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13674         (__kernel_sincosl): Force underflow exception for arguments with
13675         small absolute value.
13676         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13677         (__kernel_sinl): Force underflow exception for arguments with
13678         small absolute value.
13679         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13680         (__kernel_sinl): Force underflow exception for arguments with
13681         small absolute value.
13682         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13683         (__kernel_sinf): Force underflow exception for arguments with
13684         small absolute value.
13685         * math/auto-libm-test-in: Add more tests of sin and sincos.
13686         * math/auto-libm-test-out: Regenerated.
13688         [BZ #18245]
13689         [BZ #18583]
13690         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13691         (__kernel_standard_l): Use feholdexcept and fesetenv around
13692         conversion to double instead of special-casing overflow and
13693         underflow.
13694         * math/libm-test.inc (fmod_test_data): Add more tests.
13695         (remainder_test_data): Likewise.
13696         (sqrt_test_data): Likewise.
13698 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13700         [BZ #17403]
13701         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13702         atomic_read_barrier, atomic_write_barrier): Define.
13703         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13704         atomic_read_barrier, atomic_write_barrier): Define.
13706 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13708         * math/Makefile [$(PERL) != no]
13709         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13710         dependency on libm-test.stmp below the inclusion of Rules.
13712 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13716         and included header.
13717         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13719         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13721         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13722         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13723         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13724         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13725         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13726         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13727         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13728         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13729         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13730         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13731         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13732         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13733         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13734         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13735         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13737 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13739         [BZ #18371]
13740         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13741         intermediate but not final result might underflow.
13742         * math/s_csqrtf.c (__csqrtf): Likewise.
13743         * math/s_csqrtl.c (__csqrtl): Likewise.
13744         * math/auto-libm-test-in: Add more tests of csqrt.
13745         * math/auto-libm-test-out: Regenerated.
13746         * sysdeps/i386/fpu/libm-test-ulps: Update.
13748         [BZ #18219]
13749         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13750         threshold on absolute value of exponent for which scaling is used.
13751         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13752         * math/auto-libm-test-in: Add more tests of exp2.
13753         * math/auto-libm-test-out: Regenerated.
13755 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13757         [BZ #17977]
13758         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13759         when initializing interface list, based on the bug analysis
13760         and the patch proposed by Eric Newton.
13761         * resolv/tst-res_hconf_reorder.c: New test.
13762         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13763         tst-res_hconf_reorder.
13764         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13765         and $(shared-thread-library).
13766         (tst-res_hconf_reorder-ENV): New variable.
13768         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13769         in comment.
13771 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13773         [BZ #16353]
13774         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13775         (__expm1): Force underflow exception for arguments with small
13776         absolute value.
13777         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13778         (__expm1f): Force underflow exception for arguments with small
13779         absolute value.
13780         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13781         (__expm1): Force underflow exception for arguments with small
13782         absolute value.
13783         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13784         (__expm1f): Force underflow exception for arguments with small
13785         absolute value.
13786         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13787         Check for small arguments before calling __expm1.
13788         * math/auto-libm-test-in: Do not mark underflow exceptions as
13789         possibly missing for bug 16353.
13790         * math/auto-libm-test-out: Regenerated.
13792 2015-06-22  Andreas Schwab  <schwab@suse.de>
13794         [BZ #18513]
13795         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13796         PTR queries.
13798 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13800         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13802         * string/strcoll_l.c: Remove unused struct element idxnow.
13804 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13806         [BZ #18569]
13807         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13808         underflow and return argument in case of subnormal argument.
13809         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13810         Likewise.
13811         * math/auto-libm-test-in: Add more tests of expm1.
13812         * math/auto-libm-test-out: Regenerated.
13814         [BZ #16361]
13815         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13816         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13817         tiny results.
13818         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13819         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13820         tiny results.
13821         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13822         mark underflow exceptions as possibly missing for bug 16361.
13823         * math/auto-libm-test-out: Regenerated.
13825 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13827         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13828         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13829         Remove variable.
13830         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13831         (test-xfail-XOPEN2K8/utmpx.h/conform).
13833         * conform/conformtest.pl ($xerrors): New variable.
13834         (note_error): New function.
13835         (compiletest): New argument $xfail.  Use not_error.
13836         (runtest): Likewise.
13837         (top level): Handle xfail- lines.  Update calls to compiletest and
13838         runtest.  Handle xfail- and optional- in headers listed with
13839         allow-header.
13840         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
13841         (O_EXEC): Likewise.
13842         (O_SEARCH): Likewise.
13843         * conform/data/stropts.h-data (ioctl): Likewise.
13844         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
13845         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
13846         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
13847         (msghdr.msg_controllen): Likewise.
13848         (cmsghdr.cmsg_len): Likewise.
13849         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
13850         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
13851         variable.
13852         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13853         (test-xfail-XPG4/stropts.h/conform): Likewise.
13854         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13855         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13856         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13857         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13858         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13859         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13860         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13861         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13862         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13863         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13864         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13865         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13866         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13867         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13868         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13869         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13870         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13871         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13872         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13874 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13876         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
13877         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
13878         definitions for proper unfolding of __MATHDECL_VEC.
13880 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13882         * benchtests/bench-strcoll.c:
13883         Include string.h.
13884         (main): Remove unused variable res.
13886 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13888         * timezone/Makefile (%/UTC %/Universal):
13889         Generate test-result files for UTC and Universal.
13891 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13893         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13895 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
13897         [BZ #16350]
13898         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
13899         for arguments with small absolute value.
13900         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
13901         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
13902         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
13903         (__asinh): Force underflow exception for arguments with small
13904         absolute value.
13905         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
13906         (__asinhf): Force underflow exception for arguments with small
13907         absolute value.
13908         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
13909         (__asinhl): Force underflow exception for arguments with small
13910         absolute value.
13911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
13912         (__asinhl): Force underflow exception for arguments with small
13913         absolute value.
13914         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
13915         (__asinhl): Force underflow exception for arguments with small
13916         absolute value.
13917         * math/auto-libm-test-in: Do not mark underflow exceptions as
13918         possibly missing for bug 16350.
13919         * math/auto-libm-test-out: Regenerated.
13921         * include/bits/ipc.h: Remove file.
13922         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
13923         variable.
13924         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13925         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13926         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13927         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13928         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13929         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13930         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13931         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13932         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13934         * math/auto-libm-test-in: Remove spurious underflow allowance for
13935         tests of cexp.
13936         * math/auto-libm-test-out: Regenerated.
13938         [BZ #18558]
13939         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
13940         unconditional definition.
13941         (MCAST_BLOCK_SOURCE): Likewise.
13942         (MCAST_UNBLOCK_SOURCE): Likewise.
13943         (MCAST_LEAVE_GROUP): Likewise.
13944         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13945         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13946         (MCAST_MSFILTER): Likewise.
13947         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
13948         Remove variable.
13949         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13950         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13951         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13952         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13953         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13955 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
13957         * NEWS: Mention addition of x86_64 vector sincosf.
13958         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
13959         * math/test-float-vlen4.h: Likewise.
13960         * math/test-float-vlen8.h: Likewise.
13961         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
13962         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
13963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13964         * sysdeps/x86_64/fpu/Versions: New versions added.
13965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13967         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
13969         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13970         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
13971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13972         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
13973         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13974         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
13975         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
13976         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
13977         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
13978         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
13979         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
13980         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
13981         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
13982         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13983         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13984         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
13985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
13987         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13988         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13990         * NEWS: Mention addition of x86_64 vector sincos.
13991         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
13992         * math/math.h (__MATHDECL_VEC): New macro.
13993         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
13994         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
13995         declaration under condition.
13996         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
13997         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
13998         TEST_VEC_LOOP change.
13999         * math/test-double-vlen4.h: Likewise.
14000         * math/test-double-vlen8.h: Likewise.
14001         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14002         * math/test-float-vlen4.h: Likewise.
14003         * math/test-float-vlen8.h: Likewise.
14004         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14005         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14007         * sysdeps/x86_64/fpu/Versions: New versions added.
14008         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14009         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14010         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14011         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14012         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14013         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14016         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14017         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14018         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14019         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14020         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14021         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14022         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14023         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14024         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14025         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14026         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14027         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14028         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14029         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14030         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14031         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14035         redirections for powf.
14036         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14037         * sysdeps/x86_64/fpu/Versions: New versions added.
14038         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14039         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14040         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14041         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14042         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14043         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14044         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14045         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14046         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14047         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14048         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14049         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14050         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14051         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14052         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14053         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14054         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14055         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14056         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14057         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14058         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14059         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14060         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14061         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14062         * math/test-float-vlen16.h: Fixed 2 argument macro.
14063         * math/test-float-vlen4.h: Likewise.
14064         * math/test-float-vlen8.h: Likewise.
14065         * NEWS: Mention addition of x86_64 vector powf.
14067 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14069         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14070         and redefine.
14071         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14072         and redefine.
14073         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14074         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14075         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14077         [BZ #18553]
14078         * resource/getpriority.c (getpriority): Rename to __getpriority
14079         and define as weak alias of __getpriority.
14080         * resource/setpriority.c (setpriority): Rename to __setpriority
14081         and define as weak alias of __setpriority.
14082         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14083         __getpriority and define as weak alias of __getpriority.
14084         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14085         __setpriority and define as weak alias of __setpriority.
14086         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14087         strong name.
14088         (setpriority): Use __setpriority as strong name.
14089         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14090         __getpriority and define as weak alias of __getpriority.
14091         * include/sys/resource.h (__getpriority): Declare.  Use
14092         libc_hidden_proto.
14093         (__setpriority): Likewise.
14094         (getpriority): Don't use libc_hidden_proto.
14095         (setpriority): Likewise.
14096         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14097         getpriority.  Call __setpriority instead of setpriority.
14098         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14099         Remove variable.
14101         [BZ #18547]
14102         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14103         as weak alias of __getttynam.  Use prototype function definition.
14104         Call __setttyent, __getttyent and __endttyent instead of
14105         setttyent, getttyent and endttyent.
14106         (getttyent): Rename to __getttyent and define as weak alias of
14107         __getttyent.  Call __setttyent instead of setttyent.  Call
14108         __fgets_unlocked instead of fgets_unlocked.
14109         (setttyent): Rename to __setttyent and define as weak alias of
14110         __setttyent.
14111         (endttyent): Rename to __endttyent and define as weak alias of
14112         __endttyent.
14113         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14114         (__setttyent): Likewise.
14115         (__endttyent): Likewise.
14116         (getttyent): Don't use libc_hidden_proto.
14117         (setttyent): Likewise.
14118         (endttyent): Likewise.
14119         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14120         __endttyent instead of setttyent, getttyent and endttyent.
14121         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14122         Remove variable.
14124         [BZ #18546]
14125         * socket/recv.c (__recv): Use libc_hidden_def.
14126         * socket/socket.c (__socket): Likewise.
14127         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14128         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14129         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14130         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14131         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14132         libc_hidden_def.
14133         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14134         libc_hidden_weak.
14135         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14136         Use libc_hidden_proto.
14137         (__recv): Likewise.
14138         * socket/Versions (libc): Export __recv and __socket at version
14139         GLIBC_PRIVATE.
14140         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14141         instead of recv.
14142         (init_mq_netlink): Call __socket instead of socket.
14143         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14144         Remove variable.
14146         [BZ #18545]
14147         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14148         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14149         hidden_weak.
14150         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14151         define as alias of __mq_timedsend.  Use hidden_weak.
14152         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14153         __mq_timedsend as strong name.
14154         (mq_timedreceive): Use __mq_timedreceive as strong name.
14155         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14156         (__mq_timedreceive): Likewise.
14157         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14158         __mq_timedreceive instead of mq_timedreceive.
14159         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14160         instead of mq_timedsend.
14161         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14162         Remove variable.
14164         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14165         hidden_def and hidden_weak instead of libc_hidden_def and
14166         libc_hidden_weak.
14167         (top level): Refer to hidden_def in comment.
14168         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14169         macro.  Use it instead of libc_hidden_def.
14170         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14171         specify __GI_* name explicitly.
14172         (mq_timedreceive): Likewise.
14173         (mq_setattr): Likewise.
14175         [BZ #18544]
14176         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14177         __pthread_barrier_init and define as weak alias of
14178         __pthread_barrier_init.
14179         * sysdeps/sparc/nptl/pthread_barrier_init.c
14180         (pthread_barrier_init): Likewise.
14181         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14182         __pthread_barrier_wait and define as weak alias of
14183         __pthread_barrier_wait.
14184         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14185         (pthread_barrier_wait): Likewise.
14186         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14187         (pthread_barrier_wait): Likewise.
14188         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14189         (pthread_barrier_wait): Likewise.
14190         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14191         (pthread_barrier_wait): Likewise.
14192         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14193         __pthread_barrier_wait at version GLIBC_PRIVATE.
14194         * include/pthread.h (__pthread_barrier_init): Declare.
14195         (__pthread_barrier_wait): Likewise.
14196         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14197         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14198         (helper_thread): Likewise.
14199         (init_mq_netlink): Call __pthread_barrier_init instead of
14200         pthread_barrier_init.
14202         [BZ #18542]
14203         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14204         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14205         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14206         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14207         vswscanf.
14208         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14209         Remove variable.
14211         [BZ #18540]
14212         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14213         strong alias of _IO_fflush.  Use libc_hidden_def.
14214         * libio/iofflush_u.c (fflush_unlocked): Rename to
14215         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14216         Use libc_hidden_weak.
14217         * include/stdio.h (__fflush_unlocked): Declare.  Use
14218         libc_hidden_proto.
14219         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14220         fflush_unlocked.
14221         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14222         Remove variable.
14224         [BZ #18539]
14225         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14226         define as weak alias of __addseverity.
14227         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14228         Remove variable.
14229         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14230         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14231         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14233         [BZ #18536]
14234         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14235         (__tfind): Likewise.
14236         (__tdelete): Likewise.
14237         (__twalk): Likewise.
14238         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14239         __twalk to GLIBC_PRIVATE.
14240         * include/search.h (__tsearch): Use libc_hidden_proto.
14241         (__tfind): Likewise.
14242         (__tdelete): Likewise.
14243         (__twalk): Likewise.
14244         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14245         Call __tdelete instead of tdelete.
14246         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14247         tfind.  Call __tsearch instead of tsearch.
14248         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14249         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14250         Remove variable.
14251         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14253         [BZ #18534]
14254         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14255         (dprintf): Define as a weak alias of __dprintf, not a strong
14256         alias.
14257         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14258         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14259         dprintf.
14260         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14261         Remove variable.
14262         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14263         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14265         [BZ #18533]
14266         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14267         not a strong alias.
14268         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14269         Remove variable.
14271         [BZ #18532]
14272         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14273         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14274         (in6addr_loopback): Rename to __in6addr_loopback and define as
14275         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14276         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14277         libc_hidden_proto.
14278         (__in6addr_any): Likewise.
14279         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14280         in6addr_any.
14281         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14282         variable.
14283         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14285 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14287         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14288         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14289         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14290         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14291         redirections for pow.
14292         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14293         * sysdeps/x86_64/fpu/Versions: New versions added.
14294         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14295         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14296         build of SSE, AVX2 and AVX512 IFUNC versions.
14297         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14298         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14299         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14300         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14301         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14302         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14303         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14304         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14305         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14306         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14307         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14308         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14309         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14310         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14311         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14312         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14313         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14314         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14315         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14316         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14317         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14318         * NEWS: Mention addition of x86_64 vector pow.
14320         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14321         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14322         redirections for expf.
14323         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14324         * sysdeps/x86_64/fpu/Versions: New versions added.
14325         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14326         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14327         build of SSE, AVX2 and AVX512 IFUNC versions.
14328         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14329         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14330         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14331         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14332         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14333         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14334         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14335         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14336         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14337         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14338         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14339         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14340         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14341         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14342         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14343         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14344         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14345         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14346         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14347         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14348         * NEWS: Mention addition of x86_64 vector expf.
14350         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14351         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14352         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14353         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14354         redirections for exp.
14355         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14356         * sysdeps/x86_64/fpu/Versions: New versions added.
14357         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14358         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14359         build of SSE, AVX2 and AVX512 IFUNC versions.
14360         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14361         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14362         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14363         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14364         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14365         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14366         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14367         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14368         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14369         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14370         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14371         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14372         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14373         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14374         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14375         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14376         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14377         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14378         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14379         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14380         * NEWS: Mention addition of x86_64 vector exp.
14382         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14383         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14384         redirections for logf.
14385         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14386         * sysdeps/x86_64/fpu/Versions: New versions added.
14387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14388         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14389         build of SSE, AVX2 and AVX512 IFUNC versions.
14390         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14391         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14392         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14393         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14396         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14397         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14398         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14399         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14400         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14401         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14402         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14403         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14404         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14405         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14406         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14407         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14408         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14409         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14410         * NEWS: Mention addition of x86_64 vector logf.
14412         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14413         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14415         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14416         redirections for log.
14417         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14418         * sysdeps/x86_64/fpu/Versions: New versions added.
14419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14421         build of SSE, AVX2 and AVX512 IFUNC versions.
14422         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14423         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14424         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14425         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14426         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14427         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14428         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14429         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14430         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14431         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14432         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14433         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14434         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14435         test.
14436         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14437         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14438         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14439         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14440         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14441         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14442         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14443         * NEWS: Mention addition of x86_64 vector log.
14445 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14447         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14448         cfi_adjust_cfa_offset argument.
14449         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14450         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14452         [BZ #18034]
14453         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14454         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14455         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14456         ordering using ldar.
14457         (_dl_tlsdesc_dynamic): Likewise.
14458         (_dl_tlsdesc_return_lazy): Likewise.
14459         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14460         relaxed atomics instead of volatile and synchronize with release store.
14461         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14462         volatile.
14463         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14465 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14467         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14468         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14469         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14470         * sysdeps/x86_64/fpu/Versions: New versions added.
14471         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14472         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14473         build of SSE, AVX2 and AVX512 IFUNC versions.
14474         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14476         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14478         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14479         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14480         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14481         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14482         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14483         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14484         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14485         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14486         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14487         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14488         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14489         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14490         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14491         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14492         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14493         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14494         * NEWS: Mention addition of x86_64 vector sinf.
14496 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14498         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14499         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14500         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14501         Remove variable.
14502         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14503         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14505 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14507         [BZ #18530]
14508         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14509         strong alias of _IO_fputs.  Use libc_hidden_def.
14510         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14511         and define as weak alias of __fputs_unlocked.  Use
14512         libc_hidden_weak.
14513         * include/stdio.h (__fputs_unlocked): Declare.  Use
14514         libc_hidden_proto.
14515         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14516         fputs_unlocked.
14518         [BZ #18529]
14519         * resolv/netdb.h [__USE_POSIX]: Change condition to
14520         [__USE_XOPEN2K].
14521         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14522         not expect.
14523         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14524         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14525         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14526         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14527         [XPG4 || UNIX98] (AI_ALL): Likewise.
14528         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14529         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14530         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14531         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14532         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14533         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14534         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14535         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14536         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14537         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14538         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14539         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14540         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14541         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14542         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14543         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14544         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14545         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14546         [XPG4 || UNIX98] (gai_strerror): Likewise.
14547         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14548         [XPG4 || UNIX98] (getnameinfo): Likewise.
14550         [BZ #18528]
14551         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14552         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14553         __USE_XOPEN2K8].
14554         (getgrent): Likewise.
14555         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14556         expect.
14557         [XPG3 || POSIX2008] (endgrent): Likewise.
14558         [XPG3] (setgrent): Likewise.
14559         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14560         variable.
14561         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14563         [BZ #18527]
14564         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14565         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14566         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14567         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14568         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14569         * include/unistd.h (__getlogin_r): Declare.  Use
14570         libc_hidden_proto.
14571         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14572         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14573         variable.
14574         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14575         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14576         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14578 2015-06-12  Martin Sebor  <msebor@redhat.com>
14580         [BZ #18512]
14581         * Makerules (check-install-supported): New target.
14582         (install): Add check-install-supported as a dependency.
14583         * manual/install.texi (Installing the C Library): Document
14584         that overriding prefix and exec_prefix is not supported.
14585         Mention DESTDIR.
14586         * INSTALL: Regenerate from the above.
14588 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14590         [BZ #18519]
14591         * posix/Versions (libc): Export __libc_pread at version
14592         GLIBC_PRIVATE.
14593         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14594         instead of pread.
14595         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14596         variable.
14598         [BZ #18522]
14599         * misc/efgcvt_r.c
14600         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14601         (cvt_symbol): Use weak_alias instead of strong_alias.
14602         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14603         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14604         Remove variable.
14605         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14606         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14608         [BZ #18520]
14609         * inet/herrno.c (h_errno): Rename to __h_errno.
14610         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14611         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14612         to __h_errno instead of h_errno.
14613         * nptl/herrno.c (h_errno): Rename to __h_errno.
14614         (__h_errno_location): Refer to __h_errno not h_errno.
14615         * resolv/Versions (h_errno): Rename to __h_errno.
14616         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14617         Remove variable.
14618         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14620 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14622         * configure.ac: More strict check for AVX512 assembler support.
14623         * configure: Regenerated.
14625         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14626         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14627         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14628         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14629         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14630         * sysdeps/x86_64/fpu/Versions: New versions added.
14631         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14632         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14633         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14634         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14635         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14636         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14639         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14640         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14641         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14642         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14643         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14644         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14645         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14646         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14647         test.
14648         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14649         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14650         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14651         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14652         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14653         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14654         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14655         * NEWS: Mention addition of x86_64 vector sin.
14657 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14659         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14660         comment.
14662 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14664         [BZ #18479]
14665         * nptl/pt-interp.c: New file.
14666         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14667         Add pt-interp.
14668         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14669         $(common-objpfx)runtime-linker.h.
14671 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14673         * Makeconfig (+interp): Remove unused variable.
14674         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14675         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14676         $(elf-objpfx)runtime-linker.h.
14677         ($(elf-objpfx)runtime-linker.h): Rename to
14678         $(common-objpfx)runtime-linker.h and move ...
14679         * Makerules [$(build-shared) = yes]: ... here.
14680         * elf/interp.c: Include <runtime-linker.h> instead of
14681         <elf/runtime-linker.h>.
14683 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14685         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14686         (__gettimeofday_syscall): Remove vsyscall fallback.
14687         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14688         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14689         Add syscall fallback function.
14690         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14691         if vDSO is not present.
14692         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14693         fallback function.
14694         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14695         present.
14696         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14697         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14699 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14701         [BZ #18497]
14702         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14703         of wcscmp.
14704         (wcscmp): Define as weak alias of WCSCMP.
14705         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14706         wcscoll.
14707         (USE_HIDDEN_DEF): Define.
14708         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14709         __wcscoll.  Don't use libc_hidden_weak.
14710         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14711         wcscmp.
14712         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14713         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14714         __GI_wcscmp.
14715         (weak_alias): Undefine and redefine.
14716         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14717         __wcscmp and define as weak alias of __wcscmp.
14718         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14719         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14720         (__wcscoll): Likewise.
14721         (wcscmp): Don't use libc_hidden_proto.
14722         (wcscoll): Likewise.
14723         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14724         wcscoll.
14725         * posix/regexec.c (check_node_accept_bytes): Likewise.
14726         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14727         variable.
14728         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14729         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14731         [BZ #18507]
14732         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14733         __fstatvfs and define as weak alias of __fstatvfs.  Use
14734         libc_hidden_weak.
14735         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14736         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14737         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14738         Define as alias of __fstatvfs, not fstatvfs.
14739         (fstatvfs64): Likewise.
14740         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14741         Define as alias of __statvfs, not statvfs.
14742         (statvfs64): Likewise.
14743         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14744         Remove variable.
14746 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14749         (HAVE_GETCPU_VSYSCALL): Define.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14751         (HAVE_GETCPU_VSYSCALL): Likewise.
14752         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14753         * sysdeps/unix/sysv/linux/sched_getcpu.c
14754         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14755         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14756         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14757         prototype.
14758         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14759         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14760         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14762         Define.
14763         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14764         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14765         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14766         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14768 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14770         * sysdeps/x86_64/fpu/Makefile: New file.
14771         * sysdeps/x86_64/fpu/Versions: New file.
14772         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14773         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14774         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14775         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14776         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14777         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14778         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14779         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14780         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14781         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14783         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14784         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14785         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14786         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14787         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14788         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14789         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14790         * sysdeps/x86_64/configure: Regenerated.
14791         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14793         * manual/install.texi (Configuring and compiling): Document
14794         --disable-mathvec.
14795         * INSTALL: Regenerated.
14796         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14798         * math/Makefile: Added rules for vector tests.
14799         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14800         declaration under condition.
14801         * math/test-double-vlen2.h: New file.
14802         * math/test-double-vlen4.h: New file.
14803         * math/test-double-vlen8.h: New file.
14804         * math/test-vec-loop.h: Added initialization macro.
14805         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14807         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14808         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14809         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14810         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14811         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14812         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14813         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14814         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14815         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14817         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14818         * sysdeps/x86_64/fpu/Versions: New versions added.
14819         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14820         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14821         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14822         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14823         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14824         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14825         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14826         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14827         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14828         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14829         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14830         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14831         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14832         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14833         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14834         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14835         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
14836         * NEWS: Mention addition of x86_64 vector cosf.
14838         * math/Makefile: Added CFLAGS for new tests.
14839         * math/test-float-vlen16.h: New file.
14840         * math/test-float-vlen4.h: New file.
14841         * math/test-float-vlen8.h: New file.
14842         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
14843         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
14844         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14845         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
14846         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
14847         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
14848         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
14849         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
14850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
14851         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
14852         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
14854 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
14856         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
14857         * locale/programs/ld-ctype.c: Likewise.
14859 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
14861         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
14862         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
14863         bit_ZMM16_31_state): New macro.
14864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14865         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
14867 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
14869         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
14871 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
14873         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
14875 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #18498]
14878         * libio/memstream.c (open_memstream): Rename to __open_memstream
14879         and define as weak alias of __open_memstream.
14880         * include/stdio.h (__open_memstream): Declare.  Use
14881         libc_hidden_proto.
14882         (open_memstream): Don't use libc_hidden_proto.
14883         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
14884         open_memstream.
14885         * posix/getopt.c (_getopt_internal_r): Likewise.
14886         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
14887         variable.
14888         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14889         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14890         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14892         [BZ #18496]
14893         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
14894         instead of wcrtomb.
14896         [BZ #18483]
14897         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
14898         [__USE_XOPEN2K8].  Remove redundant #endif.
14899         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
14900         Remove redundant #if.
14901         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
14902         Remove variable.
14903         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14904         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14906         [BZ #18495]
14907         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
14908         (__iswlower): Likewise.
14909         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
14910         (__iswlower): Likewise.
14911         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
14912         instead of towlower.
14913         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
14914         instead of iswlower.  Call __towupper instead of towupper.
14915         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
14916         instead of iswalnum.
14918 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14920         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
14921         errors to stderr.
14923 2015-06-05  Florian Weimer  <fweimer@redhat.com>
14925         [BZ #15661]
14926         [BZ #17322]
14927         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14928         Check for overflow properly.  Check for O_APPEND.  Ignore large
14929         file system block sizes.  Add comments about problems.
14930         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
14931         * manual/filesys.texi (Storage Allocation): New node.
14933 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14935         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
14936         cancellable syscalls.
14937         (SYS_ify): Add guard to no redefine it.
14938         (INLINE_SYSCALL): Likewise.
14939         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
14940         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
14941         SYSCALL_CANCEL instead.
14942         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
14943         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14944         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14945         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14946         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14947         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
14948         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
14949         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
14950         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14951         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14952         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
14953         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
14954         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
14955         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
14956         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
14957         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14958         Likewise.
14959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14960         (__libc_pread64): Likewise.
14961         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
14962         (__libc_preadv): Likewise.
14963         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
14964         (__libc_readv64): Likewise.
14965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14966         (__libc_pwrite): Likewise.
14967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14968         (__libc_pwrite64): Likewise.
14969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
14970         (__libc_pwritev): Likewise.
14971         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
14972         (__libc_pwritev64): Likewise.
14973         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
14974         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14975         (sync_file_range): Likewise.
14976         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
14977         Likewise.
14978         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
14979         Likewise.
14980         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14981         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14982         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14983         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14984         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14985         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14986         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14987         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
14988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14989         Likewise.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14991         (__libc_read64): Likewise.
14992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
14993         Likewise.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
14995         Likewise.
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
14997         Likewise.
14998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
14999         Likewise.
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15001         (__libc_pread64): Likewise.
15002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15003         Likewise.
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15005         (__libc_pwrite64): Likewise.
15006         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15007         (sync_file_range): Likewise.
15008         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15009         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15010         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15011         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15012         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15013         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15014         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15015         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15016         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15017         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15018         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15019         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15020         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15021         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15022         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15023         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15024         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15025         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15026         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15027         Likewise.
15028         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15029         Likewise.
15030         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15031         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15032         Likewise.
15033         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15034         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15035         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15036         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15037         Likewise.
15038         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15039         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15040         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15041         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15042         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15044 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15046         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15047         Include dl-vdso.
15048         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15049         Use VDSO routines for gettimeofday, clock_gettime if
15050         available.
15051         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15052         Declare VDSO symbols.
15053         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15054         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15055         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15056         * sysdeps/unix/sysv/linux/arm/Versions: Add
15057         __vdso_clock_gettime.
15059 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15061         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15062         be an inline implementation regardless of library is built within.
15063         (open_not_cancel_2): Likewise.
15064         (__read_nocancel): Likewise.
15065         (__write_nocancel): Likewise.
15066         (openat_not_cancel): Likewise.
15067         (openat_not_cancel_3): Likewise.
15068         (openat64_not_cancel): Likewise.
15069         (openat64_not_cancel_3): Likewise.
15070         (__close_nocancel): Likewise.
15071         (pause_not_cancel): Likewise.
15072         (nanosleep_not_cancel): Likewise.
15073         (sigsuspend_not_cancel): Likewise.
15075 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15077         [BZ #14958]
15078         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15079         wake-up.
15080         (__pthread_rwlock_rdlock_slow): Likewise.
15081         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15082         Likewise.
15083         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15084         Likewise.
15085         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15086         * nptl/tst-rwlock16.c: New file.
15087         * nptl/Makefile (tests): Add new test.
15089 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15091         [BZ #18324]
15092         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15093         missing wake-up of readers.
15094         * nptl/tst-rwlock15.c: New file.
15095         * nptl/Makefile (tests): Add new test.
15097 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15099         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15100         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15101         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15102         and __nacl_supply_interface_rtld.
15103         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15104         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15105         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15106         Add __nacl_supply_interface_rtld.
15107         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15109 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15111         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15112         isfinite.
15113         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15114         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15116 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15118         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15119         __signbit* with standard C99 macros.
15120         * math/e_exp10l.c: Likewise.
15121         * math/e_exp2l.c: Likewise.
15122         * math/e_scalb.c: Likewise.
15123         * math/e_scalbf.c: Likewise.
15124         * math/e_scalbl.c: Likewise.
15125         * math/s_ldexp.c: Likewise.
15126         * math/s_ldexpf.c: Likewise.
15127         * math/s_ldexpl.c: Likewise.
15128         * math/w_atan2.c: Likewise.
15129         * math/w_atan2f.c: Likewise.
15130         * math/w_atan2l.c: Likewise.
15131         * math/w_cosh.c: Likewise.
15132         * math/w_coshf.c: Likewise.
15133         * math/w_coshl.c: Likewise.
15134         * math/w_exp10.c: Likewise.
15135         * math/w_exp10f.c: Likewise.
15136         * math/w_exp10l.c: Likewise.
15137         * math/w_exp2.c: Likewise.
15138         * math/w_exp2f.c: Likewise.
15139         * math/w_exp2l.c: Likewise.
15140         * math/w_fmod.c: Likewise.
15141         * math/w_fmodf.c: Likewise.
15142         * math/w_fmodl.c: Likewise.
15143         * math/w_hypot.c: Likewise.
15144         * math/w_hypotf.c: Likewise.
15145         * math/w_hypotl.c: Likewise.
15146         * math/w_jnl.c: Likewise.
15147         * math/w_lgamma.c: Likewise.
15148         * math/w_lgamma_r.c: Likewise.
15149         * math/w_lgammaf.c: Likewise.
15150         * math/w_lgammaf_r.c: Likewise.
15151         * math/w_lgammal.c: Likewise.
15152         * math/w_lgammal_r.c: Likewise.
15153         * math/w_pow.c: Likewise.
15154         * math/w_powf.c: Likewise.
15155         * math/w_powl.c: Likewise.
15156         * math/w_remainder.c: Likewise.
15157         * math/w_remainderf.c: Likewise.
15158         * math/w_remainderl.c: Likewise.
15159         * math/w_scalb.c: Likewise.
15160         * math/w_scalbf.c: Likewise.
15161         * math/w_scalbl.c: Likewise.
15162         * math/w_scalbln.c: Likewise.
15163         * math/w_scalblnf.c: Likewise.
15164         * math/w_scalblnl.c: Likewise.
15165         * math/w_sinh.c: Likewise.
15166         * math/w_sinhf.c: Likewise.
15167         * math/w_sinhl.c: Likewise.
15168         * math/w_tgamma.c: Likewise.
15169         * math/w_tgammaf.c: Likewise.
15170         * math/w_tgammal.c: Likewise.
15171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15172         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15173         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15177         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15178         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15179         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15180         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15181         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15182         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15183         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15184         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15185         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15186         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15188         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15189         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15191         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15192         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15193         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15194         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15195         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15196         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15197         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15198         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15199         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15200         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15201         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15202         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15203         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15204         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15205         * stdio-common/printf_fp.c: Likewise.
15206         * stdio-common/printf_fphex.c: Likewise.
15207         * stdio-common/printf_size.c: Likewise.
15209 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15211         [BZ #18470]
15212         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15213         strnlen.
15214         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15215         Remove variable.
15216         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15217         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15218         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15219         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15220         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15221         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15222         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15223         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15224         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15225         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15227         [BZ #18468]
15228         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15229         weak alias of __wmemchr.  Use libc_hidden_weak.
15230         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15231         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15232         instead of wmemchr.
15234 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15236         [BZ #18383]
15237         * elf/tst-tlsalign-extern.c: New file.
15238         * elf/tst-tlsalign-extern-static.c: New file.
15239         * elf/tst-tlsalign-vars.c: New file.
15240         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15241         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15242         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15243         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15244         (test-xfail-tst-tlsalign-extern-static): New variable.
15246 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15248         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15249         Use variable name _sc_err instead of err.
15250         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15251         instead of ret.
15252         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15253         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15254         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15255         (INLINE_SYSCALL): Likewise.
15257         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15258         * include/string.h (__strnlen): Use libc_hidden_proto.
15259         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15260         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15261         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15262         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15263         (libc_hidden_def): Undefine and redefine.
15264         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15265         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15266         __GI_strnlen.
15267         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15268         libc_hidden_def.
15269         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15271         [BZ #18469]
15272         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15273         weak alias of __towlower.  Use libc_hidden_weak.
15274         (towupper): Rename to __towupper and define as weak alias of
15275         __towupper.  Use libc_hidden_weak.
15276         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15277         (__towupper): Likewise.
15278         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15279         __towlower instead of towlower.
15281 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15283         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15284         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15286 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15288         * sysdeps/aarch64/libm-test-ulps: Update.
15290 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15292         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15293         Define.
15294         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15296         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15297         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15298         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15299         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15300         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15302 2015-06-01  Martin Sebor  <msebor@redhat.com>
15304         [BZ #18116]
15305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15306         (__setcontext): Use extended four-operand version of mtsf whenever
15307         possible.
15308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15309         (__novec_swapcontext): Likewise.
15311 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15313         * benchtests/scripts/compare_bench.py: New file.
15314         * benchtests/scripts/import_bench.py (mean): New function.
15315         (split_list): Likewise.
15316         (do_for_all_timings): Likewise.
15317         (compress_timings): Likewise.
15319         * benchtests/scripts/import_bench.py: New file.
15320         * benchtests/scripts/validate_benchout.py: Import import_bench
15321         instead of jsonschema.
15322         (validate_bench): Remove function.
15323         (main): Use import_bench.
15325 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15327         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15328         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15330 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15334 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15336         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15337         set THREAD_SELF->tid to a magic value and futex-wake it.
15338         Pass its address to the thread_exit system call.
15339         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15340         bit is clear.
15341         * sysdeps/nacl/lowlevellock.h: New file.
15342         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15344         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15345         Add TIMEOUT to current time, don't subtract it.
15347 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15349         [BZ #2981]
15350         [BZ #18422]
15351         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15352         ($(objpfx)tst-audit2.out): Also depend on
15353         $(objpfx)tst-auditmod9b.so.
15354         * elf/tst-audit2.c: Include <dlfcn.h>.
15355         (calloc_called): New.
15356         (calloc): Allow to be called more than once.
15357         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15359 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15361         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15362         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15364 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15366         * stdlib/monetary.h: Fix comment.
15368 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15370         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15371         Avoid using variables in #defines that might cause shadowing.
15372         (INTERNAL_VSYSCALL_CALL): Likewise.
15374 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15376         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15378         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15379         * nptl/lll_timedlock_wait.c: ... to this new file.
15380         * nptl/Makefile (libpthread-routines): Add it.
15381         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15382         * nptl/lll_timedwait_tid.c: ... to this new file.
15383         * nptl/Makefile (libpthread-routines): Add it.
15384         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15385         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15386         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15387         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15388         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15389         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15390         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15391         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15392         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15393         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15395 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15397         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15398         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15399         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15401         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15402         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15403         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15404         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15405         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15406         * sysdeps/unix/sysv/linux/tile/sysdep.h
15407         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15408         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15409         using vDSO syscall macro.
15411 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15413         [BZ #17293]
15414         * uk_UA: Fix sorting order for Ukrainian locale
15416 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15418         * stdlib/monetary.h: Fix comment.
15420 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15422         [BZ #18234]
15423         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15424         st_mtim and st_ctim members.
15425         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15426         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15427         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15428         (struct stat64): Likewise.
15429         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15430         (struct stat64): Likewise.
15431         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15432         (struct stat64): Likewise.
15434 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15436         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15437         Define and include sysdep-vdso.h.
15438         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15439         Likewise.
15440         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15441         Likewise.
15442         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15443         Define with VDSO_SYMBOL and use PTR_MANGLE.
15444         (__vdso_clock_gettime): Likewise.
15445         (__vdso_clock_getres): Likewise.
15446         (_libc_vdso_platform_setup): Likewise.
15447         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15448         Likewise.
15449         (_libc_vdso_platform_setup): Likewise.
15450         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15451         Likewise.
15452         (__vdso_clock_gettime): Likewise.
15453         (__vdso_clock_getres): Likewise.
15454         (__vdso_get_tbfreq): Likewise.
15455         (__vdso_getcpu): Likewise.
15456         (__vdso_time): Likewise.
15457         (__vdso_sigtramp_rt64): Likewise.
15458         (__vdso_signtramp32): Likewise.
15459         (__vdso_sigtramp_rt32): Likewise.
15460         (_libc_vdso_platform_setup): Likewise.
15461         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15462         Likewise.
15463         (__vdso_clock_gettime): Likewise.
15464         (__vdso_clock_getres): Likewise.
15465         (_libc_vdso_platform_setup): Likewise.
15466         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15467         Likewise.
15468         (__vdso_clock_gettime): Likewise.
15469         (_libc_vdso_platform_setup): Likewise.
15470         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15471         Likewise.
15472         (__vdso_getcpu): Likewise.
15473         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15474         Use VDSO_SYMBOL macro to define.
15475         (__vdso_clock_gettime): Likewise.
15476         (__vdso_clock_getres): Likewise.
15477         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15478         Likewise.
15479         (__vdso_clock_gettime): Likewise.
15480         (__vdso_clock_getres): Likewise.
15481         (__vdso_get_tbfreq): Likewise.
15482         (__vdso_getcpu): Likewise.
15483         (__vdso_time): Likewise.
15484         (__vdso_sigtramp_rt64): Likewise.
15485         (__vdso_signtramp32): Likewise.
15486         (__vdso_sigtramp_rt32): Likewise.
15487         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15488         Likewise.
15489         (__vdso_clock_gettime): Likewise.
15490         (__vdso_clock_getres): Likewise.
15491         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15492         Likewise.
15493         (__vdso_clock_gettime): Likewise.
15494         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15495         Likewise.
15496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15497         macro.
15498         (INTERNAL_VSYSCALL): Likewise.
15499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15500         Remove macro.
15501         (INTERNAL_VSYSCALL): Likewise.
15502         (INTERNAL_VSYSCALL_NCS): Likewise.
15503         (INTERNAL_VSYSCALL_CALL): New macro.
15504         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15506         Likewise.
15507         (INTERNAL_VSYSCALL): Likewise.
15508         (INTERNAL_VSYSCALL_NCS): Likewise.
15509         (INTERNAL_VSYSCALL_CALL): New macro.
15510         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15512         (INLINE_VSYSCALL): Remove macro.
15513         (INTERNAL_VSYSCALL): Remove macro.
15514         (INTERNAL_VSYSCALL_NCS): Remove macro.
15515         (INTERNAL_VSYSCALL_CALL): New macro.
15516         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15517         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15518         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15519         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15520         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15522         (INLINE_VSYSCALL): Remove macro.
15523         (INTERNAL_VSYSCALL): Likewise.
15524         (INTERNAL_VSYSCALL_NCS): Likewise.
15525         (INTERNAL_VSYSCALL_CALL): New macro.
15526         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15527         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15528         PTR_DEMANGLE on vDSO pointer.
15529         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15530         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15531         macro.
15532         (INTERNAL_SYSCALL): Likewise.
15533         (INTERNAL_VSYSCALL_NCS): Remove macro.
15534         (INTERNAL_VSYSCALL_CALL): New macro.
15535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15536         Remove macro.
15537         (INTERNAL_VSYSCALL): Likewise.
15538         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15539         sysdep-vdso.h instead of libc-vdso.h.
15540         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15541         definition.
15542         (INLINE_VSYSCALL): Likewise.
15543         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15544         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15545         definition.
15546         (INLINE_VSYSCALL): Likewise.
15547         (INTERNAL_VSYSCALL): Likewise.
15548         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15549         * sysdeps/unix/sysv/linux/timespec_get.c
15550         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15551         (timespec_get): Use ANSI prototype.
15552         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15553         and definition for Linux.
15555 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15557         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15558         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15560 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15562         [BZ #2981]
15563         [BZ #18410]
15564         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15565         for missing DT_PLTRELSZ.
15567 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15569         Remove obsolete aliases that broke 'locale -a'
15570         [BZ #18412]
15571         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15572         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15573         breaking some applications that use 'locale -a' output.
15574         Change the encoding of this file from Latin-1 to ASCII to avoid
15575         other potential problems with people grepping this file.
15577 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15579         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15580         -fasynchronous-unwind-tables.
15581         (CFLAGS-sendto.c): Likewise.
15582         (CFLAGS-sendmsg.c): Likewise.
15583         (CFLAGS-connect.c): Likewise.
15584         (CFLAGS-recvmsg.c): Likewise.
15585         (CFLAGS-recvfrom.c): Likewise.
15586         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15587         (SOCKETCALL): New macro: non-cancellable socketcall.
15588         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15589         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15590         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15591         * sysdeps/unix/sysv/linux/accept.c: New file.
15592         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15593         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15594         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15595         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15596         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15597         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15598         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15599         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15600         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15601         * sysdeps/unix/sysv/linux/send.c: Likewise.
15602         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15603         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15604         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15605         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15606         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15607         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15608         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15609         prototype.
15610         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15611         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15612         instead of __internal_xxx function.
15613         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15614         prototype.
15615         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15616         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15617         instead of __internal_xxx function.
15618         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15619         prototype.
15620         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15621         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15622         instead of __internal_xxx function.
15623         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15624         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15625         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15626         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15627         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15628         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15629         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15630         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15631         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15632         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15633         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15634         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15635         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15636         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15637         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15638         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15639         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15640         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15641         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15642         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15645         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15646         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15647         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15648         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15649         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15650         * sysdeps/unix/sysv/linux/send.S: Likewise.
15651         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15652         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15653         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15654         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15655         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15656         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15657         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15658         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15659         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15660         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15661         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15662         socketcall is implemented in GLIBC.
15664 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15666         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15667         (__fma): Ignore uninitialized warnings around packing.
15668         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15669         (__fmaf): Ignore uninitialized warnings around packing.
15670         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15671         (__fmal): Ignore uninitialized warnings around packing.
15673         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15674         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15675         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15676         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15678         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15679         switch statement into default case.
15680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15682         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15683         a conditional in forcing "inexact".
15684         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15685         Likewise.
15687 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15689         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15690         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15691         for each INTERNAL_SYSCALL use.
15693 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15695         [BZ #438]
15696         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15697         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15698         variable.
15700         [BZ #18444]
15701         * string/basename.c (basename): Rename to __basename and define as
15702         weak alias of __basename.  Use libc_hidden_weak.
15703         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15704         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15705         __basename instead of basename.
15706         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15707         Remove variable.
15708         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15710 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15712         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15713         (_IO_JUMPS_FILE_plus): New.
15714         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15715         _IO_CAST_FIELD_ACCESS.
15716         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15717         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15718         * libio/freopen.c (freopen): Likewise.
15719         * libio/freopen64.c (freopen64): Likewise.
15720         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15721         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15722         * libio/iofwide.c (_IO_fwide): Likewise.
15723         * libio/memstream.c (open_memstream): Likewise.
15724         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15725         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15726         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15728 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15730         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15731         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15732         NADJ.
15733         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15734         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15735         NADJ.
15736         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15737         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15738         NADJ.
15740         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15741         (p == 4) case.
15743         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15744         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15745         Remove variable.
15746         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15747         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15748         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15750 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15752         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15753         Adjust jump table label generation macros.
15755 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15757         * stdio-common/vfprintf.c (vfprintf): Move local variables
15758         args_malloced, specs, specs_malloced, and the code after
15759         do_positional to the printf_positional function.
15760         (printf_positional): New function.
15762 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15764         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15765         function.
15766         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15767         STEP4_TABLE, process_arg): Move macro definitions
15768         out of the vfprintf function.  (Cosmetic change only.)
15770 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15772         * benchtests/Makefile (stdio-common-bench): Define.
15773         (benchset): Add stdio-common-bench.
15774         * sprintf-inputs: New file.
15775         * sprintf-source.c: New file.
15777 2015-05-21  Andreas Schwab  <schwab@suse.de>
15779         [BZ #13028]
15780         [BZ #17053]
15781         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15782         of struct __res_state.
15783         * resolv/res_send.c (__libc_res_nsend): Likewise.
15784         (get_nsaddr): New function.
15785         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15786         statp directly.
15788 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15790         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15791         -D_POSIX_C_SOURCE=199506L.
15793         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15795         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15796         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15797         Do not mention otherwise.
15798         [POSIX] (_XOPEN_VERSION): Do not expect.
15799         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15800         [POSIX] (_POSIX2_C_BIND): Likewise.
15801         [POSIX] (_POSIX2_VERSION): Likewise.
15802         [POSIX] (_XOPEN_XPG2): Likewise.
15803         [POSIX] (_XOPEN_XPG3): Likewise.
15804         [POSIX] (_XOPEN_XPG4): Likewise.
15805         [POSIX] (_XOPEN_UNIX): Likewise.
15806         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15807         [POSIX] (_POSIX_BARRIERS): Likewise.
15808         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15809         [POSIX] (_POSIX_CPUTIME): Likewise.
15810         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15811         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15812         [POSIX] (_POSIX_SHELL): Likewise.
15813         [POSIX] (_POSIX_SPAWN): Likewise.
15814         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15815         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15816         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15817         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15818         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15819         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15820         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15821         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15822         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15823         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15824         [POSIX] (_POSIX2_PBS): Likewise.
15825         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15826         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15827         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15828         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15829         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15830         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15831         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15832         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15833         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15834         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
15835         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
15836         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
15837         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
15838         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
15839         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
15840         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
15841         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
15842         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
15843         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
15844         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
15845         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
15846         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
15847         [POSIX] (_SC_2_C_BIND): Likewise.
15848         [POSIX] (_SC_2_C_VERSION): Likewise.
15849         [POSIX] (_SC_2_PBS): Likewise.
15850         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
15851         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
15852         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
15853         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
15854         [POSIX] (_SC_2_PBS_TRACK): Likewise.
15855         [POSIX] (_SC_ATEXIT_MAX): Likewise.
15856         [POSIX] (_SC_BARRIERS): Likewise.
15857         [POSIX] (_SC_BASE): Likewise.
15858         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
15859         [POSIX] (_SC_DEVICE_IO): Likewise.
15860         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
15861         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
15862         [POSIX] (_SC_FD_MGMT): Likewise.
15863         [POSIX] (_SC_FIFO): Likewise.
15864         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
15865         [POSIX] (_SC_FILE_LOCKING): Likewise.
15866         [POSIX] (_SC_FILE_SYSTEM): Likewise.
15867         [POSIX] (_SC_IOV_MAX): Likewise.
15868         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
15869         [POSIX] (_SC_NETWORKING): Likewise.
15870         [POSIX] (_SC_PAGE_SIZE): Likewise.
15871         [POSIX] (_SC_PASS_MAX): Likewise.
15872         [POSIX] (_SC_PIPE): Likewise.
15873         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
15874         [POSIX] (_SC_REGEXP): Likewise.
15875         [POSIX] (_SC_SHELL): Likewise.
15876         [POSIX] (_SC_SIGNALS): Likewise.
15877         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
15878         [POSIX] (_SC_SPIN_LOCKS): Likewise.
15879         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
15880         [POSIX] (_SC_USER_GROUPS): Likewise.
15881         [POSIX] (_SC_USER_GROUPS_R): Likewise.
15882         [POSIX] (_SC_STREAMS): Likewise.
15883         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
15884         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
15885         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
15886         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
15887         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
15888         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
15889         [POSIX] (_PC_FILESIZEBITS): Likewise.
15890         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
15891         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
15892         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
15893         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
15894         [POSIX] (uid_t): Likewise.
15895         [POSIX] (gid_t): Likewise.
15896         [POSIX] (off_t): Likewise.
15897         [POSIX] (pid_t): Likewise.
15898         [POSIX] (cuserid): Allow.
15899         (_SC_2_CHAR_TERM): Require constant.
15900         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
15901         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
15902         variable.
15904 2015-05-20  Roland McGrath  <roland@hack.frob.com>
15906         * sysdeps/nacl/pthread-pids.h: New file.
15907         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
15908         (create_thread): Use __nacl_get_tid to initialize PD->tid.
15910         * nptl/pthread-pids.h: New file.
15911         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
15912         * nptl/nptl-init.c: Include <pthread-pids.h>.
15913         (__pthread_initialize_minimal_internal):
15914         Call __pthread_initialize_pids instead of set_tid_address syscall.
15916         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
15917         * sysdeps/posix/usleep.c: ... here.
15919 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15921         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
15922         call_pselect6 object.
15923         [$(subdir) = io]: Remove call_sync_file_range object.
15924         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
15925         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
15926         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
15927         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
15929 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
15931         * math/s_cproj.c: Add include "math_private.h".
15932         * math/s_cprojf.c: Likewise.
15933         * math/s_cprojl.c: Likewise.
15935 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
15937         [BZ #18244]
15938         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
15939         high mantissa bit when testing whether P is a NaN.
15940         * math/libm-test.inc (remainder_test_data): Add more tests.
15941         (remquo_test_data): Likewise.
15943         [BZ #18049]
15944         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
15945         below -32, return the argument, with underflow if subnormal.
15946         * math/auto-libm-test-in: Add more tests of atanh.
15947         * math/auto-libm-test-out: Regenerated.
15949 2015-05-19  Roland McGrath  <roland@hack.frob.com>
15951         [BZ #18434]
15952         * nptl/tst-sem15.c: New file.
15953         * nptl/Makefile (tests): Add it.
15954         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
15955         s/<</>>/ to fix typo in EOVERFLOW check.
15956         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
15958 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15960         * manual/strings.texi (envz_remove): Fix typo in safety
15961         annotations.
15963 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
15964             Steve Ellcey  <sellcey@imgtec.com>
15966         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
15967         in order to avoid strict alias warnings.
15968         (iruserok_af): Ditto for ra.
15970 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
15972         [BZ #17581]
15973         * malloc/hooks.c
15974         (magicbyte): Convert to a function and avoid returning 0x01.
15975         (mem2mem_check): Avoid using a length byte equal to the magic byte.
15976         (mem2chunk_check): Fix unsigned comparisons to zero.
15977         Hoist defs of sz and magic.
15979 2015-05-19  Richard Henderson  <rth@redhat.com>
15981         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
15983         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15985 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15987         [BZ #16159]
15988         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
15989         * malloc/arena.c (arena_lock): Check if arena is corrupt.
15990         (reused_arena): Find a non-corrupt arena.
15991         (heap_trim): Pass arena to unlink.
15992         * malloc/hooks.c (malloc_check_get_size): Pass arena to
15993         malloc_printerr.
15994         (top_check): Likewise.
15995         (free_check): Likewise.
15996         (realloc_check): Likewise.
15997         * malloc/malloc.c (malloc_printerr): Add arena argument.
15998         (unlink): Likewise.
15999         (munmap_chunk): Adjust.
16000         (ARENA_CORRUPTION_BIT): New macro.
16001         (arena_is_corrupt): Likewise.
16002         (set_arena_corrupt): Likewise.
16003         (sysmalloc): Use mmap if there are no usable arenas.
16004         (_int_malloc): Likewise.
16005         (__libc_malloc): Don't fail if arena_get returns NULL.
16006         (_mid_memalign): Likewise.
16007         (__libc_calloc): Likewise.
16008         (__libc_realloc): Adjust for additional argument to
16009         malloc_printerr.
16010         (_int_free): Likewise.
16011         (malloc_consolidate): Likewise.
16012         (_int_realloc): Likewise.
16013         (_int_memalign): Don't touch corrupt arenas.
16014         * malloc/tst-malloc-backtrace.c: New test case.
16016         * Makefile (summarize-tests): Fix return value on success.
16018         * manual/string.texi (Envz Functions): Add envz_remove.
16020 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16022         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16023         (invalid_name): New function, broken out of ...
16024         (__opendirat): ... here.  Call it.
16025         (need_isdir_precheck): New function, broken out of ...
16026         (__opendirat): ... here.  Call it.
16027         Use __fxstatat64, not __xstatat64.
16028         (opendir_oflags): New function, broken out of ...
16029         (__opendirat): ... here.  Call it.
16030         (opendir_tail): New function, broken out of ...
16031         (__opendirat): ... here.  Call it.
16032         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16033         opendir_tail, rather than punting to __opendirat.
16034         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16036 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16038         * .gitignore: Ignore generated *.pyc.
16040 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16042         * include/stdio.h: Define __need_wint_t.
16043         * test-skeleton.c: Avoid `for' loop initial declaration.
16044         * nptl/tst-initializers1.c: Use test-skeleton.c.
16046 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16048         [BZ #18418]
16049         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16051 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16053         [BZ #16352]
16054         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16055         (__ieee754_atanh): Force underflow exception for results with
16056         small absolute value.
16057         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16058         (__ieee754_atanhf): Force underflow exception for results with
16059         small absolute value.
16060         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16061         (__ieee754_atanh): Force underflow exception for results with
16062         small absolute value.
16063         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16064         (__ieee754_atanhf): Force underflow exception for results with
16065         small absolute value.
16066         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16067         (__ieee754_atanhl): Force underflow exception for results with
16068         small absolute value.
16069         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16070         (__ieee754_atanhl): Force underflow exception for results with
16071         small absolute value.
16072         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16073         (__ieee754_atanhl): Force underflow exception for results with
16074         small absolute value.
16075         * math/auto-libm-test-in: Do not allow missing underflow
16076         exceptions from atanh.
16077         * math/auto-libm-test-out: Regenerated.
16079         [BZ #18221]
16080         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16081         2**-28 as threshold for returning x or +/- 1/x.
16082         * math/auto-libm-test-in: Add more tests of tan.
16083         * math/auto-libm-test-out: Regenerated.
16085         [BZ #18220]
16086         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16087         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16088         * math/auto-libm-test-in: Add another test of lgamma.
16089         * math/auto-libm-test-out: Regenerated.
16091 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16093         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16094         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16095         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16096         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16097         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16098         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16099         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16100         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16101         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16102         (log1): Use fabs.  (my_log2): Use fabs.
16103         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16104         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16105         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16106         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16108         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16109         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16110         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16111         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16112         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16113         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16115 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16117         [BZ #18217]
16118         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16119         as threshold for returning 1 - x.
16120         * math/auto-libm-test-in: Add more tests of erfc.
16121         * math/auto-libm-test-out: Regenerated.
16123 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16125         [BZ #18196]
16126         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16127         threshold for large arguments.
16128         * math/auto-libm-test-in: Add another test of atan.
16129         * math/auto-libm-test-out: Regenerated.
16131         [BZ #16339]
16132         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16133         (__log1p): Force underflow exception for results with small
16134         absolute value.
16135         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16136         (__log1pf): Force underflow exception for results with small
16137         absolute value.
16138         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16139         (__log1p): Force underflow exception for results with small
16140         absolute value.
16141         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16142         (__log1pf): Force underflow exception for results with small
16143         absolute value.
16144         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16145         (__log1pl): Force underflow exception for results with small
16146         absolute value.
16147         * math/auto-libm-test-in: Do not allow missing underflow
16148         exceptions from log1p.
16149         * math/auto-libm-test-out: Regenerated.
16151 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16152             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16154         [BZ #16704]
16155         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16157 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16159         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16160         (libmvec): New variable.
16161         * configure.ac: Added option for mathvec build.
16162         * configure: Regenerated.
16163         * mathvec/Depend: New file.
16164         * mathvec/Makefile: New file.
16165         * shlib-versions: Added libmvec.
16166         * math/Makefile: Added rule for libm.so installation.
16168         * bits/math-vector.h: New file.
16169         * bits/libm-simd-decl-stubs.h: New header.
16170         * math/Makefile (headers): Added new header
16171         libm-simd-decl-stubs.h.
16172         * math/math.h (__MATHCALL_VEC): New macro.
16174         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16175         for conditions in testing functions.
16176         * math/Makefile: Added call of libm-have-vector-test.sh.
16177         * math/libm-test.inc (HAVE_VECTOR): New macros.
16179         * math/libm-test.inc: START refactored.
16180         * math/test-double.c (TEST_MATHVEC): Add define.
16181         * math/test-float.c: Likewise.
16182         * math/test-idouble.c: Likewise.
16183         * math/test-ifloat.c: Likewise.
16184         * math/test-ildoubl.c: Likewise.
16185         * math/test-ldouble.c: Likewise.
16186         * sysdeps/generic/math-tests-arch.h
16187         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16188         architecture check.
16190         * math/test-double.c (FUNC_TEST): New macro.
16191         * math/test-float.c: Likewise.
16192         * math/test-idouble.c: Likewise.
16193         * math/test-ifloat.c: Likewise.
16194         * math/test-ildoubl.c: Likewise.
16195         * math/test-ldouble.c: Likewise.
16196         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16198 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16200         * sysdeps/nacl/fdopendir.c: New file.
16202         * dirent/scandir-tail.c: New file.
16203         * dirent/scandir64-tail.c: New file.
16204         * dirent/Makefile (routines): Add them.
16205         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16206         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16207         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16208         [!SCANDIR] (SCANDIR_TAIL): New macro.
16209         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16210         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16211         (SCANDIRAT): Macro removed.
16212         (SCANDIR_TAIL): New macro.
16213         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16214         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16215         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16216         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16217         (READDIR): Macro removed.
16218         (SCANDIR_TAIL): New macro.
16219         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16220         (SCANDIR_TAIL): New macro.
16222         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16223         * dirent/scandir-cancel.c: ... to this new file.
16224         * dirent/Makefile (routines): Add it.
16225         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16226         * sysdeps/unix/sysv/linux/i386/scandir64.c
16227         (SKIP_SCANDIR_CANCEL): Macro removed.
16228         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16230         * dirent/tst-scandir.c: New file.
16231         * dirent/tst-scandir64.c: New file.
16232         * dirent/Makefile (tests): Add them.
16234 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16236         [BZ #18409]
16237         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16239 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16241         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16242         list.
16244 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16246         * benchtests/bench-strcoll.c: New benchmark.
16247         * benchtests/Makefile: Generate locales and run benchmark.
16248         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16249         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16250         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16251         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16252         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16253         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16254         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16255         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16256         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16257         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16258         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16259         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16260         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16261         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16262         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16263         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16264         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16265         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16266         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16267         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16268         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16269         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16270         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16271         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16273 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16275         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16276         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16278 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16280         * posix/uname-values.h: New file.
16281         * posix/uname.c: Include that instead of <config-name.h>.
16282         * sysdeps/nacl/uname-values.h: New file.
16283         * sysdeps/arm/nacl/uname-values.h: New file.
16285 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16287         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16288         splitting into fields.
16290 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16292         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16293         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16294         * locale/localeinfo.h: Add enum collation_encoding_type.
16295         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16296         * programs/ld-collate.c (collate_output): Add encoding type info.
16297         * string/strcoll_l.c (STRDIFF): New function.
16298         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16299         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16301 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16303         [BZ #18397]
16304         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16305         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16306         <fpu_control.h> instead of <math/fpu_control.c>.
16307         * sysdeps/mips/mips32/fpu/Makefile: New file.
16309 2015-05-11  Andreas Schwab  <schwab@suse.de>
16311         [BZ #18007]
16312         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16313         nss_endgrent.
16314         (_nss_compat_endgrent): Call nss_endgrent.
16315         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16316         nss_endpwent.
16317         (_nss_compat_endpwent): Call nss_endpwent.
16318         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16319         needent, call nss_setspent only if non-zero.
16320         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16321         (internal_endspent): Don't call nss_endspent.
16322         (_nss_compat_endspent): Call nss_endspent.
16323         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16324         Remove.  All uses removed.
16325         (internal_setent): Remove parameter stayopen, add parameter
16326         stream.  Use it instead of global variable.
16327         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16328         (internal_endent, internal_getent): Add parameter stream.  Use it
16329         instead of global variable.
16330         (CONCAT(_nss_files_end,ENTNAME))
16331         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16332         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16333         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16334         uses removed.
16335         (internal_setent, internal_endent): Add parameter stream.  Use it
16336         instead of global variable.
16337         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16338         stream.
16339         (get_next_alias): Add parameter stream.
16340         (_nss_files_getaliasent_r): Pass global stream.
16341         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16342         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16343         (_nss_files_gethostbyname4_r): Pass local stream to
16344         internal_setent, internal_getent and internal_endent.  Remove
16345         locking.
16347 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16349         * tst-strfmon1.c (tests): Update expected currency symbol.
16351 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16353         * sysdeps/nacl/gethostname.c: New file.
16355 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16357         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16358         and sinh.
16359         * math/auto-libm-test-out: Regenerated.
16360         * sysdeps/i386/fpu/libm-test-ulps: Update.
16361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16363 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16365         [BZ #18125]
16366         * stdlib/tst-setcontext3.c: New file.
16367         * stdlib/tst-setcontext3.sh: New file.
16368         * stdlib/Makefile (tests): Add tst-setcontext3.
16369         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16370         to verify test program created output file.
16371         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16372         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16373         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16374         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16376 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16378         [BZ #18383]
16379         * elf/tst-tlsalign.c: New file.
16380         * elf/tst-tlsalign-static.c: New file.
16381         * elf/tst-tlsalign-lib.c: New file.
16382         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16383         (tests-static): Add tst-tlsalign-static.
16384         (modules-names): Add tst-tlsalign-lib.
16385         (test-xfail-tst-tlsalign): New variable.
16386         (test-xfail-tst-tlsalign-static): New variable.
16388         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16389         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16391 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16393         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16394         csqrt, erfc, sin and sincos.
16395         * math/auto-libm-test-out: Regenerated.
16396         * sysdeps/i386/fpu/libm-test-ulps: Update.
16397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16399 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16401         * sysdeps/aarch64/libm-test-ulps: Update.
16403 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16405         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16406         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16407         * math/auto-libm-test-out: Regenerated.
16408         * sysdeps/i386/fpu/libm-test-ulps: Update.
16409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16411 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16413         [BZ #18265]
16414         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16415         (wcsncpy): Likewise.
16417 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16419         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16420         Assume __ASSUME_FALLOCATE is always true.
16421         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16422         (__posix_fallocate64_l64): Likweise.
16423         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16424         (posix_fallocate): Likewise.
16425         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16426         (__posix_fallocate64_l64): Likewise.
16427         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16428         [!__ASSUME_FALLOCATE]: Add comment.
16430 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16432         * sysdeps/unix/sysv/linux/i386/Makefile
16433         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16434         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16435         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16436         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16437         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16438         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16439         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16441 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16443         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16444         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16445         tgamma.
16446         * math/auto-libm-test-out: Regenerated.
16447         * sysdeps/i386/fpu/libm-test-ulps: Update.
16448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16450 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16452         * math/auto-libm-test-in: Add more tests of tgamma.
16453         * math/auto-libm-test-out: Regenerated.
16454         * sysdeps/i386/fpu/libm-test-ulps: Update.
16455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16457         * math/auto-libm-test-in: Add more tests of tanh.
16458         * math/auto-libm-test-out: Regenerated.
16459         * sysdeps/i386/fpu/libm-test-ulps: Update.
16460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16462         * math/auto-libm-test-in: Add more tests of tan.
16463         * math/auto-libm-test-out: Regenerated.
16464         * sysdeps/i386/fpu/libm-test-ulps: Update.
16465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16467         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16468         * math/auto-libm-test-out: Regenerated.
16469         * sysdeps/i386/fpu/libm-test-ulps: Update.
16470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16472         * math/auto-libm-test-in: Add another test of pow.
16473         * math/auto-libm-test-out: Regenerated.
16474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16476         * math/auto-libm-test-in: Add more tests of lgamma.
16477         * math/auto-libm-test-out: Regenerated.
16478         * sysdeps/i386/fpu/libm-test-ulps: Update.
16479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16481         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16482         log1p.
16483         * math/auto-libm-test-out: Regenerated.
16484         * sysdeps/i386/fpu/libm-test-ulps: Update.
16485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16487 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16489         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16490         Elf64_Chdr structs and ELFCOMPRESS constants.
16492 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16494         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16495         expm1.
16496         * math/auto-libm-test-out: Regenerated.
16497         * sysdeps/i386/fpu/libm-test-ulps: Update.
16498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500         * math/auto-libm-test-in: Add more tests of erf and erfc.
16501         * math/auto-libm-test-out: Regenerated.
16502         * sysdeps/i386/fpu/libm-test-ulps: Update.
16503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16505 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16507         * config.h.in (HAVE_AARCH64_BE): Add.
16509 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16511         * math/auto-libm-test-in: Add more tests of csqrt.
16512         * math/auto-libm-test-out: Regenerated.
16513         * sysdeps/i386/fpu/libm-test-ulps: Update.
16514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16516         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16523 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16525         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16526         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16528         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16529         (euidaccess, eaccess): Define as weak aliases.
16531         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16532         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16533         but __suseconds_t is often 'long int' so some sources assume that
16534         type is being used (e.g. they use %ld to print tv_usec).
16536 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16538         [BZ #18007]
16539         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16540         (CVE-2014-8121)
16541         * nss/tst-nss-getpwent.c: New file.
16542         * nss/Makefile (tests): Add new test.
16544 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16546         [BZ #18346]
16547         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16548         exponents less than 48 as cases where high part of mantissa needs
16549         examining to determine whether argument is integral.
16550         * math/libm-test.inc (round_test_data): Add more tests.
16552 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16554         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16556 2015-04-27  David S. Miller  <davem@davemloft.net>
16558         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16559         __tls_get_addr.
16560         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16562 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16564         [BZ#18333]
16565         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16567 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16569         [BZ#18333]
16570         * time/tzset.c (parse_tzname): Return error on memory allocation
16571         failure.
16572         * test-skeleton.c (struct temp_name_list): Change type of name
16573         member to non-const.
16574         (add_temp_file): Create a copy of the file name.
16575         (delete_temp_files): Deallocate memory.
16576         (create_temp_file): Add comment.
16578 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16580         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16581         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16583 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16585         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16586         * sysdeps/arm/configure: Regenerated.
16588 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16590         [BZ #17715]
16591         * time/tzfile.c (__tzfile_read): Check for large values of
16592         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16593         * time/tzset.c (__tzstring_len): New function, based on the old
16594         __tzstring function.
16595         (__tzstring): Call __tzstring_len.
16596         (parse_tzname): New helper function extracted from
16597         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16598         the input string.
16599         (parse_offset): New helper function extracted from
16600         __tzset_parse_tz.  Replace switch with fallthrough with
16601         initialization before sscanf.
16602         (parse_rule): Likewise.
16603         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16604         new-style function definition.
16605         * timezone/Makefile (tests): Add tst-tzset.
16606         (tst-tzset.out): Dependencies on time zone files.
16607         (tst-tzset-ENV): Set TZDIR.
16608         (testdata/XT%): Copy crafted time zone files.
16609         * timezone/README: Mention crafted time zone files.
16610         * timezone/testdata/XT1, timezone/testdata/XT2,
16611         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16612         files.
16613         * timezone/tst-tzset.c: New test.
16615 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16617         * Makeconfig (+gccwarn): Remove -Winline.
16619 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16621         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16623 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16625         * NEWS: Mention sysconf() cache information support for s390.
16626         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16628 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16630         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16631         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16632         (__nearbyint): Likewise.
16633         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16634         (copysignl): Likewise.
16636 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16638         [BZ #18287]
16639         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16640         based on padding.  (CVE-2015-1781)
16642 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16644         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16645         libc-vdso.h.
16646         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16647         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16648         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16649         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16650         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16651         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16652         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16653         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16654         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16655         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16656         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16657         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16658         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16659         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16660         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16661         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16662         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16663         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16664         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16665         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16666         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16667         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16668         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16670 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16672         * stdlib/setenv.c (__add_to_environ):
16673         Dump core quickly if setenv (..., NULL, ...) is called.
16674         This time, do it the right way, and pacify GCC with a pragma.
16676 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16678         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16679         IMAP->l_prev cannot be null, and #if out the code for the contrary
16680         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16681         believe that NS (&_dl_ns[NSID]) could point outside the array.
16683         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16684         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16685         before using NSID as an index.
16687 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16689         [BZ #17825]
16690         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16691         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16692         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16694 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16696         Add preliminary port to Google Native Client on ARM.
16697         * abi-tags (.*-.*-nacl.*): New entry.
16698         * sysdeps/arm/nacl: New directory.
16699         * sysdeps/nacl: New directory.
16701 2015-04-16  David S. Miller  <davem@davemloft.net>
16703         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16704         lowlevellock-futex.h
16706 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16708         * sysdeps/tile/configure.ac: New file.
16709         * sysdeps/tile/configure: Regenerated.
16711 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16713         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16714         conditionals for weak_alias and libc_hidden_weak.
16715         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16716         libc_hidden_weak and weak_alias.
16717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16718         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16719         and weak_alias for static one.
16721 2015-04-15  David S. Miller  <davem@davemloft.net>
16723         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16725 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16727         [BZ #18206]
16728         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16729           Use signed comparision instead of substraction to avoid
16730           overflow bug.
16731         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16732           Take the sign of ret.
16733         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16734           Do not expect precise return values. Only the sign matters.
16735         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16736         * wcsmbs/test-wcsncmp.c: New File.
16737         * string/test-strncmp.c: Add wcsncmp support.
16739 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16741         [BZ #6792]
16742         * math/w_log1p.c: New file.
16743         * math/w_log1pf.c: Likewise.
16744         * math/w_log1pl.c: Likewise.
16745         * math/Makefile (libm-calls): Add w_log1p.
16746         * math/s_log1pl.c (log1pl): Remove weak_alias.
16747         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16748         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16749         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16750         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16751         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16752         [NO_LONG_DOUBLE] (log1pl): Likewise.
16753         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16754         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16755         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16756         (log1p): Remove long_double_symbol.
16757         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16758         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16759         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16760         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16761         remove weak_alias for corresponding log1p function.
16762         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16763         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16764         * sysdeps/ia64/fpu/w_log1p.c: New file.
16765         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16766         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16767         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16769 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16771         [BZ #18247]
16772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16773         decimal exponent by 1.
16774         * stdlib/tst-strtod-round-data: Add more tests.
16775         * stdlib/tst-strtod-round.c (tests): Regenerated.
16777 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16779         * math/auto-libm-test-in: Add more tests of clog and clog10.
16780         * math/auto-libm-test-out: Regenerated.
16781         * sysdeps/i386/fpu/libm-test-ulps: Update.
16782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16784 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16786         * Makeconfig (module-cppflags): Exclude all .v.i files.
16787         (skip-module-cppflags): Variable removed.
16789         * configure.ac (libc_config_ok): Initialize before reading
16790         preconfigure scripts, not after.
16791         * configure: Regenerated.
16793         * test-skeleton.c (TIMEOUT): Move #define to top level.
16794         (main): Grok environment variable TEST_DIRECT.  If set, print
16795         test expectation details into that file and then behave as if
16796         given --direct.
16798 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16800         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16801         warning on 32-bit.
16803 2015-04-08  David S. Miller  <davem@davemloft.net>
16805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16807 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16809         * math/auto-libm-test-in: Add more tests of atanh.
16810         * math/auto-libm-test-out: Regenerated.
16811         * sysdeps/i386/fpu/libm-test-ulps: Update.
16812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16814         * math/auto-libm-test-in: Add more tests of atan.
16815         * math/auto-libm-test-out: Regenerated.
16816         * sysdeps/i386/fpu/libm-test-ulps: Update.
16817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16819 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16821         * elf/pldd.c (main): Rewrite to use struct
16822         scratch_buffer instead of extend_alloca.
16823         * elf/pldd-xx.c (find_maps): Likewise.
16824         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16825         <alloca.h>.
16826         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16827         scratch_buffer instead of extend_alloca.
16828         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16829         grp/compat-initgroups.c.
16830         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16831         Rewrite to use struct scratch_buffer instead of extend_alloca.
16832         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16833         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16835 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16837         * math/auto-libm-test-in: Add more tests of cbrt.
16838         * math/auto-libm-test-out: Regenerated.
16839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16841         * math/auto-libm-test-in: Add more tests of cabs.
16842         * math/auto-libm-test-out: Regenerated.
16843         * sysdeps/i386/fpu/libm-test-ulps: Update.
16844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16846         [BZ #18210]
16847         [BZ #18211]
16848         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
16849         (__ieee754_atan2): Set FE_TONEAREST mode for internal
16850         computations.
16851         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
16852         clog10.
16853         * math/auto-libm-test-out: Regenerated.
16854         * sysdeps/i386/fpu/libm-test-ulps: Update.
16855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16857         [BZ #18197]
16858         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
16859         (atan): Set FE_TONEAREST mode for internal computations.
16860         * math/auto-libm-test-in: Add more tests of atan.
16861         * math/auto-libm-test-out: Regenerated.
16863 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
16865         [BZ #17930]
16866         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
16868 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16870         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
16872 2015-04-07  Florian Weimer  <fweimer@redhat.com>
16874         * include/scratch_buffer.h: New file.
16875         * malloc/scratch_buffer_grow.c: Likewise.
16876         * malloc/scratch_buffer_grow_preserve.c: Likewise.
16877         * malloc/scratch_buffer_set_array_size.c: Likewise.
16878         * malloc/tst-scratch_buffer.c: Likewise.
16879         * malloc/Makefile (routines): Add scratch_buffer_grow.
16880         (tests): Add test case.
16881         * malloc/Versions (GLIBC_PRIVATE): Export
16882         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
16883         __libc_scratch_buffer_set_array_size.
16885 2015-04-06  Richard Henderson  <rth@redhat.com>
16887         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
16888         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16890         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
16891         unsigned int before printing.
16893 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16895         [BZ #17596]
16896         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
16897         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16899 2015-04-02  Florian Weimer  <fweimer@redhat.com>
16901         * include/libc-internal.h (libc_max_align_t): Define.
16903 2015-04-02  Andreas Schwab  <schwab@suse.de>
16905         [BZ #16850]
16906         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
16908 2015-04-02  Mel Gorman  <mgorman@suse.de>
16910         [BZ #17195]
16911         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
16912         as well as the main arena.
16914 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16916         [BZ #18185]
16917         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
16918         sharing L2 cache to 2 for Silvermont/Knights Landing.
16920 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16922         [BZ #17711]
16923         * config.make.in (have-protected-data): New.
16924         * configure.ac: Check linker support for protected data symbol.
16925         * configure: Regenerated.
16926         * elf/Makefile (modules-names): Add tst-protected1moda and
16927         tst-protected1modb if $(have-protected-data) is yes.
16928         (tests): Add tst-protected1a and tst-protected1b if
16929         $(have-protected-data) is yes.
16930         ($(objpfx)tst-protected1a): New.
16931         ($(objpfx)tst-protected1b): Likewise.
16932         (tst-protected1modb.so-no-z-defs): Likewise.
16933         * elf/tst-protected1a.c: New file.
16934         * elf/tst-protected1b.c: Likewise.
16935         * elf/tst-protected1mod.h: Likewise.
16936         * elf/tst-protected1moda.c: Likewise.
16937         * elf/tst-protected1modb.c: Likewise.
16939 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
16941         [BZ #17711]
16942         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
16943         indicates it is called from do_lookup_x on relocation against
16944         protected data, skip the data definion in the executable from
16945         copy reloc.
16946         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
16947         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
16948         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
16949         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
16950         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
16951         otherwise to 0.
16952         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16953         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
16954         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
16955         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
16956         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
16957         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
16959 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
16961         * sysdeps/nptl/pthread.h: Remove duplicate definition of
16962         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
16964 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
16966         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
16967         THREAD_SETMEM_NC.
16968         * sysdeps/x86_64/nptl/tls.h: Ditto.
16970 2015-03-27  Roland McGrath  <roland@hack.frob.com>
16972         * dlfcn/tststatic.c (main): Converted to ...
16973         (do_test): ... this.
16974         (TEST_FUNCTION): New macro.
16975         Include test-skeleton.c.
16977 2015-03-26  Alan Modra  <amodra@gmail.com>
16979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
16980         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
16981         zero for undefined weak.
16982         (elf_machine_plt_conflict): Similarly.
16984 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
16986         * math/auto-libm-test-in: Add more tests of acosh, asinh and
16987         atanh.
16988         * math/auto-libm-test-out: Regenerated.
16989         * sysdeps/i386/fpu/libm-test-ulps: Update.
16990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16992         * math/auto-libm-test-in: Add another test of asin.
16993         * math/auto-libm-test-out: Regenerated.
16994         * sysdeps/i386/fpu/libm-test-ulps: Update.
16995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16997         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
16998         Remove macro.
16999         (LLL_EBX_REG): Likewise.
17000         (LLL_ENTER_KERNEL): Likewise.
17002         * math/auto-libm-test-in: Add more tests of asin.
17003         * math/auto-libm-test-out: Regenerated.
17004         * sysdeps/i386/fpu/libm-test-ulps: Update.
17005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17007         [BZ #18138]
17008         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17009         libc_do_syscall_args): New structure.
17010         (INTERNAL_SYSCALL_MAIN_0): New macro.
17011         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17012         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17013         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17014         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17015         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17016         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17017         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17018         Replace conditional definitions by conditional definitions of ....
17019         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17020         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17021         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17022         (libpthread-sysdep_routines): Add libc-do-syscall.
17023         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17025         to __NR_futex not 240.
17027 2015-03-25  Alan Modra  <amodra@gmail.com>
17029         * NEWS: Advertise TLS optimization.
17030         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17031         (DT_PPC_NUM): Increment.
17032         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17033         (CHECK_STATIC_TLS): Use here.
17034         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17035         TLS descriptors.
17036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17037         * sysdeps/powerpc/dl-tls.c: New file.
17038         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17039         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17040         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17041         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17046 2015-03-25  Alan Modra  <amodra@gmail.com>
17048         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17049         for overlapping .opd entries" to "support...".
17050         * sysdeps/powerpc/powerpc64/configure: Regenerate
17052 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17054         * math/auto-libm-test-in: Add more tests of acos.
17055         * math/auto-libm-test-out: Regenerated.
17056         * sysdeps/i386/fpu/libm-test-ulps: Update.
17057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17059         * math/auto-libm-test-in: Add more tests of expm1.
17060         * math/auto-libm-test-out: Regenerated.
17061         * sysdeps/i386/fpu/libm-test-ulps: Update.
17062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17064 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17066         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17067         * math/auto-libm-test-out: Regenerated.
17068         * sysdeps/i386/fpu/libm-test-ulps: Update.
17069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17071         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17074         * math/auto-libm-test-in: Add more tests of log2.
17075         * math/auto-libm-test-out: Regenerated.
17076         * sysdeps/i386/fpu/libm-test-ulps: Update.
17077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17079 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17081         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17082         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17083         _IO_IS_APPENDING bit in READ_WRITE instead.
17085 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17087         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17088         (__determine_cpumask_size): Replace extend_alloca with a
17089         variable-length array.  Do not treat res == 0 as an error.
17091 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17093         [BZ #18100]
17094         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17095         and integer overflow.
17096         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17097         (main): Add integer overflow tests.
17098         * manual/pattern.texi (Calling Wordexp): Document additional use
17099         for WRDE_SYNTAX.
17101 2015-03-23  Alan Modra  <amodra@gmail.com>
17103         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17104         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17105         and false branch of conditional.
17106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17107         Likewise.
17109 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17111         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17112         libc-modules.h
17113         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17114         unused declaration of _hurd_intr_rpc_msg_in_trap.
17115         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17116         defined instead of whether it is non-zero.
17117         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17118         input constraint instead of both input and output constraint.  Use ecx
17119         clobber instead of %ecx.
17120         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17121         mutex_unlock): Use a statement expression instead of an expression list.
17122         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17123         type to vm_size_t instead of vm_address_t.
17124         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17125         defined instead of whether it is non-zero.
17126         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17127         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17128         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17129         comparisons with mapaddr.
17130         * nscd/nscd-client.h: Include <time.h>.
17131         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17132         9th parameter to __vm_region instead of int.
17133         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17134         * scripts/check-local-headers.sh (exclude): Add device/,
17135         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17136         cthreads.h.
17138 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17140         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17141         to account for alignment padding.
17142         * sysdeps/arm/memmove.S: Likewise.
17144 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17146         * sysdeps/unix/sysv/linux/generic/README: New file.
17148 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #18138]
17151         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17152         (futex_abstimed_wait)
17153         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17154         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17155         of lll_futex_timed_wait.
17157 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17159         [BZ #17542]
17160         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17162 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17164         [BZ #17090]
17165         [BZ #17620]
17166         [BZ #17621]
17167         [BZ #17628]
17168         * NEWS: Update.
17169         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17170         entries with Static TLS too.  Skip entries past the end of the
17171         allocated DTV, from Alan Modra.
17172         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17173         Static TLS DTV entry set up from...
17174         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17175         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17176         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17177         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17178         for Static TLS.
17179         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17180         that the slot we find is associated with the given map before
17181         using its generation count.
17182         * nptl_db/db_info.c: Include ldsodefs.h.
17183         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17184         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17185         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17186         (link_map::l_tls_offset): New struct field.
17187         (dtv_t::counter): Likewise.
17188         (rtld_global): New struct.
17189         (_rtld_global): New rtld variable.
17190         (dl_tls_dtv_slotinfo_list): New rtld global field.
17191         (dtv_slotinfo_list): New struct.
17192         (dtv_slotinfo): Likewise.
17193         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17194         (td_lookup): Rename to...
17195         (td_mod_lookup): ... this.  Use new mod parameter instead of
17196         LIBPTHREAD_SO.
17197         * nptl_db/td_thr_tlsbase.c: Include link.h.
17198         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17199         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17200         addresses even if the DTV is out of date or missing them.
17201         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17202         index zero-length arrays.
17203         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17204         (td_lookup): Make it a macro implemented in terms of...
17205         (td_mod_lookup): ... this declaration.
17206         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17207         (DB_MAIN_VARIABLE): Likewise.
17209 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17211         [BZ #18134]
17212         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17214 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17216         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17218 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17220         [BZ #18128]
17221         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17222         (atomic_add, atomic_increment_and_test)
17223         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17225 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17227         * stdlib/setenv.c (__add_to_environ):
17228         Dump core quickly if setenv (..., NULL, ...) is called.
17230 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17232         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17233         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17234         all the necessary asm magic in one place.
17235         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17236         using those.
17238 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17240         [BZ #14906]
17241         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17242         traced file mtime. Use consistent log message.
17243         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17244         (register_traced_file): Call install_watches. Always set mtime.
17245         (invalidate_cache): Iterate over all trace files. Call install_watches.
17246         (inotify_check_files): Don't inline. Handle watching parent
17247         directories and configuration file movement in and out.
17248         (handle_inotify_events): New function.
17249         (main_loop_poll): Call handle_inotify_events.
17250         (main_loop_epoll): Likewise.
17251         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17252         (struct traced_file): Use array of inotify fds. Add parent directory,
17253         and basename.
17254         (struct database_dyn): Remove unused file_mtime.
17255         (init_traced_file): New inline function.
17256         (define_traced_file): New macro.
17257         * nss/nss_db/db-init.c: Use define_traced_file.
17258         (_nss_db_init): Use init_traced_file.
17259         * nss/nss_files/files-init.c: Use define_traced_file.
17260         (_nss_files_init): Use init_traced_file.
17262 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17264         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17265         [_LIBC]: Do not include <stdlib.h>.
17266         [!_LIBC] (abort): Remove declaration.
17267         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17268         _FP_STATIC_ASSERT instead of conditionally calling abort.
17269         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17270         (_FP_EXTEND_CNAN): Likewise.
17271         (FP_TRUNC): Likewise.
17272         (__FP_CLZ): Likewise.
17273         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17275 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17277         * manual/string.texi (XPG basename): Fix prototype.
17279 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17281         [BZ #18080]
17282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17283         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17284         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17285         (__setcontext): Likewise.
17286         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17287         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17288         Call rt_sigprocmask syscall one time to set new signal mask
17289         and retrieve the current signal mask instead of two calls.
17290         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17291         (__swapcontext): Likewise.
17292         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17293         * stdlib/tst-setcontext2.c: New file.
17295 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17297         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17299 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17301         [BZ #18093]
17302         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17303         the wrong size.
17305 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17307         [BZ #18043]
17308         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17310 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17312         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17313         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17314         Remove define.
17315         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17316         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17317         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17318         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17319         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17320         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17321         define.
17322         * nptl_db/td_symbol_list.c (td_lookup): Remove
17323         HAVE_ASM_GLOBAL_DOT_NAME code.
17324         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17325         HAVE_ASM_GLOBAL_DOT_NAME check.
17326         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17327         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17328         (DOT_LABEL): Remove define.
17329         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17330         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17331         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17332         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17333         (__TLS_GET_ADDR): Likewise.
17334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17335         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17337 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17339         [BZ #18111]
17340         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17341         (_FPU_SETCW): Initialize cw from fpsr before storing.
17342         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17343         (fesetexceptflag): Rewrite using fpu_control.h.
17344         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17346 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17348         [BZ #18110]
17349         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17350         asms.
17351         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17353 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17355         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17356         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17357         abort.
17358         (_FP_FMA): Likewise.
17359         (_FP_DIV): Likewise.
17361 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17363         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17364         with 0 in that case.
17365         * Makefile (summarize-tests): New canned sequence, factored out of
17366         commands for targets tests and xtests.  Display summary lines that
17367         don't start with PASS: or XFAIL: rather than ones that do start with
17368         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17369         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17370         do start with ERROR: or FAIL:.
17371         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17372         (except for [$(build-shared) = yes]).
17373         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17374         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17375         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17376         * nptl/Makefile: Revert 2015-03-04 changes.
17377         [$(CXX) empty] (tests-unsupported): New variable.
17378         * debug/Makefile: Likewise.
17380         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17381         gnulib file.  Replace __attribute with __attribute__ throughout.
17383 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17385         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17387 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17389         [BZ #18104]
17390         * math/auto-libm-test-in: Add another test of pow.
17391         * math/auto-libm-test-out: Regenerated.
17393 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17395         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17396         $(config-cflags-nofma).
17398 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17400         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17401         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17402         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17403         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17404         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17405         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17406         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17407         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17408         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17409         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17410         Add comment on closing #endif.
17412 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17414         * posix/wordexp.c (CHAR_IN_SET): New macro.
17415         (parse_param): Use it.
17417 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17419         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17421 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17423         [BZ #18043]
17424         * posix/wordexp.c (parse_param): Fix buffer overflow.
17425         * posix/wordexp-test.c (test_case): Add test case.
17427 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17429         [BZ #18042]
17430         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17431         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17433 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17435         [BZ #18043]
17436         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17437         (do_bz18043): Delete.
17438         (at_page_end): New.
17439         (testit): Refactor to have words at the edge of unreadable page.
17441 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17443         [BZ #16734]
17444         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17445         Cleanup read-only streams as well.
17446         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17448 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17450         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17451         <bits/libc-lockP.h>
17453 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17455         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17456         on [__KERNEL__].
17457         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17458         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17459         * soft-fp/op-common.h (_FP_DECL): Likewise.
17461 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17463         * elf/ifuncdep2.c (global): Replace
17464         __attribute__((visibility("protected"))) with
17465         asm (".protected global").
17466         * elf/ifuncmod1.c (global): Likewise.
17467         * elf/ifuncmod5.c (global): Likewise.
17469 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17471         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17472         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17474 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17476         * manual/install.texi (Configuring and compiling):
17477         Document test-wrapper-env-only.
17478         * INSTALL: Regenerated.
17480 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17482         [BZ #18043]
17483         * posix/wordexp.c (parse_param): Fix buffer overflow.
17484         * posix/wordexp-test.c (do_bz18043): Add test case.
17486 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17488         * time/tst-strptime2.c (do_test): Ensure failing tests are
17489         reported correctly.
17490         * time/tst-strptime3.c (do_test): Likewise.
17492 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17494         Fix aio_error thread-safety.
17495         * sysdeps/pthread/aio_error.c: New file
17496         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17497         synchronization.
17499 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17501         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17502         (group_number, vfprintf): Use it.
17503         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17504         (JUMP, REF): Use it.
17505         (WORK_BUFFER_SIZE): New enum constant.
17506         (process_arg, vfprintf): Use it.
17508 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17510         * manual/errno.texi (Error Messages): Complete example function
17511         by adding missing #define.
17512         (program_invocation_name): Add statement indicating GNU
17513         extension and reference which header file declares the variable.
17514         (program_invocation_short_name): Likewise.
17516 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17518         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17519         compatibility note.
17521 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17523         * Makeconfig (test-wrapper-env-only): New variable.
17524         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17525         then use that with $(test-wrapper-env-only) rather than using
17526         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17528 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17530         [BZ #18082]
17531         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17532         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17533         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17534         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17535         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17536         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17537         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17538         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17539         Likewise.
17540         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17541         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17542         Likewise.
17543         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17544         Likewise.
17545         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17546         Likewise.
17547         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17548         Likewise.
17549         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17550         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17551         Likewise.
17552         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17553         Likewise.
17554         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17555         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17557 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17559         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17560         (ETH_ALEN): New macro.
17561         (struct ether_addr): Use it for length of ether_addr_octet.
17563         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17564         (setdb): Don't call __nss_configure_lookup for "rpc".
17565         (do_test): Don't call test_rpc.
17566         (output_rpcent, test_rpc): Functions moved ...
17567         * sunrpc/test-rpcent.c: ... to this new file.
17568         * sunrpc/Makefile (tests): Add it.
17570         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17571         __xpg_sigpause.
17572         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17573         * nptl/tst-signal6.c: Likewise.
17574         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17575         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17577         * configure.ac (libc_cv_cxx_link_ok): New check.
17578         Reset CXX to empty if it fails to link.
17579         * configure: Regenerated.
17580         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17581         bug-atexit3-lib only if $(CXX) is nonempty.
17582         * nptl/Makefile (tests): Likewise for tst-cancel24.
17583         (tests, tests-static): Likewise for tst-cancel24-static.
17584         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17585         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17586         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17587         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17589 2015-03-04  Andreas Schwab  <schwab@suse.de>
17591         [BZ #17631]
17592         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17593         for non-GCC compilers.
17594         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17595         Likewise.
17597 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17599         [BZ #17776]
17600         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17601         integer before bitwise and assembly operations.
17602         (feclearexcept): Likewise.
17603         * math/test-fenvinline.c: New file.
17604         * math/Makefile: Add test-fenvinline test.
17606 2015-03-03  Alan Modra  <amodra@gmail.com>
17608         [BZ #16512]
17609         * scripts/localplt.awk: Strip off symbol version.
17610         * NEWS: Mention bug fix.
17612 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17614         * sysdeps/pthread/timer_routines.c
17615         (timer_free_list, thread_free_list, thread_active_list): Make static.
17617 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17619         [BZ #17779]
17620         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17621         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17622         Undefine.
17623         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17624         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17625         Likewise.
17626         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17627         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17628         Likewise.
17630 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17632         [BZ #18036]
17633         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17634         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17636 2015-03-02  Andreas Schwab  <schwab@suse.de>
17638         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17639         variable name.
17641 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17643         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17644         Return error status.
17646 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17648         [BZ #15969]
17649         * locale/findlocale.c (_nl_find_locale): Introduce const
17650         version of loc_name and drop unsafe type casts.
17652 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17654         * dlfcn/tststatic2.c (main): Converted to ...
17655         (do_test): ... this.
17656         (TEST_FUNCTION): New macro.
17657         Include test-skeleton.c.
17659 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17661         [BZ #17711]
17662         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17663         (tests-pie): Add vismain.
17664         (CFLAGS-vismain.c): New.
17665         * elf/vismain.c: Add comments for PIE requirement.
17667 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17669         [BZ #18046]
17670         [BZ #18047]
17671         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17672         0x1p-56L as threshold for just returning the argument.
17673         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17674         0x1p-32L as threshold for just returning the argument.
17675         * math/auto-libm-test-in: Add more tests of atanh.
17676         * math/auto-libm-test-out: Regenerated.
17677         * sysdeps/i386/fpu/libm-test-ulps: Update.
17678         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17680 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17682         * string/bcopy.c (bcopy): Call memmove for performance.
17684 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17686         * string/bzero.c (__bzero): Call memset for performance.
17688 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17690         [BZ #18068]
17691         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17692         to 00100000.
17694 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17696         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17698 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17700         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17701         (__kernel_standard): Use CSTR macro when setting exc.name.
17702         * sysdeps/ieee754/Makefile [$(subdir) = math]
17703         (CFLAGS-k_standard.c): Remove variable.
17705         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17706         setting p and q from "else if" to "else".
17707         (qzero): Likewise.
17708         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17709         (qone): Likewise.
17710         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17711         (qzerof): Likewise.
17712         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17713         (qonef): Likewise.
17714         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17715         (qzero): Likewise.
17716         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17717         (qone): Likewise.
17719         [BZ #18038]
17720         [BZ #18039]
17721         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17722         return pi/2 for arguments below 0x1p-113L.
17723         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17724         return pi/2 for arguments below 0x1p-106L.
17725         * math/auto-libm-test-in: Add more tests of acos.
17726         * math/auto-libm-test-out: Regenerated.
17728         [BZ #16351]
17729         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17730         (MO): New macro.
17731         (__ieee754_asin): Force underflow exception for results with small
17732         absolute value.
17733         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17734         (MO): New macro.
17735         (__ieee754_asinf): Force underflow exception for results with
17736         small absolute value.
17737         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17738         (__ieee754_asin): Force underflow exception for results with small
17739         absolute value.
17740         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17741         (__ieee754_asinf): Force underflow exception for results with
17742         small absolute value.
17743         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17744         (__ieee754_asinl): Force underflow exception for results with
17745         small absolute value.
17746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17747         (__ieee754_asinl): Force underflow exception for results with
17748         small absolute value.
17749         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17750         (__ieee754_asinl): Force underflow exception for results with
17751         small absolute value.
17752         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17753         Include <math.h>.
17754         * math/auto-libm-test-in: Do not mark underflow exceptions as
17755         possibly missing for bug 16351.
17756         * math/auto-libm-test-out: Regenerated.
17758         [BZ #18030]
17759         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17760         of power of 2 down when low part has opposite sign.
17761         * math/libm-test.inc (logb_test_data): Add more tests.
17763 2015-02-26  Andreas Schwab  <schwab@suse.de>
17765         [BZ #18032]
17766         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17767         over collating symbol inside a bracket expression.  Minor cleanup.
17768         * posix/tst-fnmatch3.c (do_test): Add test case.
17770 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17772         [BZ #18029]
17773         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17774         Adjust exponent of power of 2 down when low part has opposite
17775         sign.
17776         * math/libm-test.inc (ilogb_test_data): Add more tests.
17778 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17780         [BZ #15969]
17781         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17782         the previous change.
17784         [BZ #15969]
17785         * locale/findlocale.c (_nl_find_locale): Retry archive search
17786         after alias expansion.
17788 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17790         * iconv/tst-iconv3.c (main): Converted to ...
17791         (do_test): ... this.
17792         (TEST_FUNCTION): New macro.
17793         Include test-skeleton.c.
17795         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17796         (convert): Make function static.
17797         (test_unalign): Likewise.  Add const to argument pointee types.
17798         (main): Replace with static function do_test.
17799         Print "Succeeded." only if RET is zero.
17800         (TEST_FUNCTION): New macro.
17801         Include test-skeleton.c.
17803         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17804         returns a null pointer.
17806 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17808         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17809         to __memcpy_ppc only for static builds.
17811 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17813         [BZ #18020]
17814         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17815         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17816         * math/auto-libm-test-in: Add more tests of asinh.
17817         * math/auto-libm-test-out: Regenerated.
17818         * sysdeps/i386/fpu/libm-test-ulps: Update.
17819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17821 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17823         [BZ #15850]
17824         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17825         and ip6_mtuinfo definitions here.
17826         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17827         in this define too.  Update comment.
17829 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17831         * elf/sprof.c (load_shobj): Tweak error message to match others.
17833 2015-02-24  Kevin Easton  <kevin@guarana.org>
17835         [BZ #16145] (partial fix)
17836         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
17837         to reduce lock contention.
17839 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
17841         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
17842         (struct timex): Update time comment.
17843         (ADJ_SETOFFSET): Define.
17845 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17847         [BZ #18019]
17848         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17849         2**56 not 2**28 as threshold for log (2x) formula.
17850         * math/auto-libm-test-in: Add more tests of acosh.
17851         * math/auto-libm-test-out: Regenerated.
17852         * sysdeps/i386/fpu/libm-test-ulps: Update.
17853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17855 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17857         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
17858         parenthesis around the buf assignment.
17859         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
17861 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
17863         [BZ #16783]
17864         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
17865         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
17866         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
17867         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17868         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
17869         * math/libm-test.inc (scalb_test_data): Add more tests.
17871 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
17873         [BZ #17916]
17874         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
17875         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
17877 2015-02-24  Eric Rannaud  <e@nanocritical.com>
17879         [BZ #17523]
17880         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
17881         * io/bits/fcntl2.h (open): Use it.
17882         (openat): Likewise.
17883         * io/open.c (__libc_open): Likewise.
17884         * io/open64.c (__libc_open64): Likewise.
17885         * io/open64_2.c (__open64_2): Likewise.
17886         * io/open_2.c (__open_2): Likewise.
17887         * io/openat.c (__openat): Likewise.
17888         * io/openat64.c (__openat64): Likewise.
17889         * io/openat64_2.c (__openat64_2): Likewise.
17890         * io/openat_2.c (__openat_2): Likewise.
17891         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
17892         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17893         * sysdeps/posix/open64.c (__libc_open64): Likewise.
17894         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17895         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
17896         (__open_nocancel): Likewise.
17897         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
17898         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
17899         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
17901 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17903         [BZ #14841]
17904         * resolv/gethnamaddr.c (getanswer): Skip logging if
17905         RES_USE_DNSSEC is set.
17906         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17908 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
17910         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
17912 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
17914         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17915         201304L, for Unicode 7.
17917 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
17919         [BZ #17836]
17920         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
17921         shared library.  Add gmon-start.os otherwise.
17922         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
17923         $(objpfx)gmon-start.os if builing shared library.
17924         ($(objpfx)g$(static-start-installed-name)): Likewise.
17926 2015-02-23  Andreas Schwab  <schwab@suse.de>
17928         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
17930 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
17932         [BZ #17269]
17933         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
17934         (enlarge_userbuf): Likewise.
17936 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
17938         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
17939         * math/atest-exp.c (TIMEOUT): Adjust to 200.
17940         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
17941         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
17943 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
17945         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
17946         expression inside statement expression.
17948 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17950         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
17951         <sysdeps/nptl/lowlevellock.h> and remove macros and
17952         functions that are now defined there.
17953         (SYS_futex): Remove.
17954         (lll_compare_and_swap): Remove.
17955         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
17957 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
17959         [BZ #17999]
17960         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
17961         instead of scandirat.
17962         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
17963         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
17964         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
17965         __scandirat.
17966         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
17967         (__scandirat): Declare.  Use libc_hidden_proto.
17968         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
17969         Remove variable.
17970         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17972 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
17974         [BZ #15319]
17975         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
17976         (MO): New macro.
17977         (__ieee754_atan2): For results with small absolute value, force
17978         underflow exception and remove excess range and precision from
17979         return value.
17980         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
17981         (MO): New macro.
17982         (__ieee754_atan2f): For results with small absolute value, force
17983         underflow exception and remove excess range and precision from
17984         return value.
17985         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
17986         (MO): New macro.
17987         (__atan): For results with small absolute value, force underflow
17988         exception and remove excess range and precision from return value.
17989         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
17990         (MO): New macro.
17991         (__atanf): For results with small absolute value, force underflow
17992         exception and remove excess range and precision from return value.
17993         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
17994         <math.h>.
17995         (__ieee754_atan2): Force underflow exception for results with
17996         small absolute value.
17997         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
17998         <math_private.h>.
17999         (atan): Force underflow exception for results with small absolute
18000         value.
18001         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18002         (__atanf): Force underflow exception for results with small
18003         absolute value.
18004         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18005         <math.h>.
18006         (__atanl): Force underflow exception for results with small
18007         absolute value.
18008         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18009         (__atanl): Force underflow exception for results with small
18010         absolute value.
18011         * sysdeps/x86/fpu/bits/mathinline.h
18012         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18013         (__ieee754_atan2): Only define inline for long double.
18014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18015         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18016         * math/auto-libm-test-in: Do not mark underflow exceptions as
18017         possibly missing for bug 15319.  Add more tests of atan2.
18018         * math/auto-libm-test-out: Regenerated.
18019         * math/libm-test.inc (casin_test_data): Do not mark underflow
18020         exceptions as possibly missing for bug 15319.
18021         (casinh_test_data): Likewise.
18022         * sysdeps/i386/fpu/libm-test-ulps: Update.
18024 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18026         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18027         * sysdeps/mips/bits/endian.h: Fix comments.
18029 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18031         [BZ #17996]
18032         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18033         (hdestroy_r): Likewise.
18034         (hsearch_r): Likewise.
18035         (__hcreate_r): Declare and use libc_hidden_proto.
18036         (__hdestroy_r): Likewise.
18037         (__hsearch_r): Likewise.
18038         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18039         (hcreate): Call __hcreate_r instead of hcreate_r.
18040         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18041         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18042         as weak alias of __hcreate_r.
18043         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18044         __hdestroy_r.
18045         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18046         __hsearch_r.
18047         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18048         Remove variable.
18049         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18050         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18051         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18052         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18054 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18056         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18057         arena_lock into a single arena_get.
18059 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18061         * dl-reloc.c: Inlucde libc-internal.h.
18062         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18063         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18064         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18065         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18066         (grow_heap): Likewise.
18067         * malloc/malloc.c: Include libc-internal.h.
18068         (do_check_malloc): Call powerof2.
18069         (sysmalloc): Use pagesize. Call ALIGN_UP.
18070         (systrim): Use pagesize.
18071         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18072         (__libc_valloc): Use pagesize.
18073         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18075 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18077         [BZ #17991]
18078         * include/sys/resource.h (__getrlimit64): Declare.  Use
18079         libc_hidden_proto.
18080         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18081         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18082         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18083         getrlimit64.
18084         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18085         __getrlimit64.
18086         [!getrlimit64] (getrlimit64): Define as weak alias of
18087         __getrlimit64.  Use libc_hidden_weak.
18088         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18089         using __getrlimit64 not __new_getrlimit64.
18090         (__GI_getrlimit64): Likewise.
18091         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18092         Likewise.
18093         (__GI_getrlimit64): Likewise.
18094         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18096         (getrlimit): Add __getrlimit64 alias.
18097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18098         Likewise.
18099         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18100         Remove variable.
18101         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18102         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18104 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18106         * libio/fileops.c: Add missing sys/mman.h
18107         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18109 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18111         * manual/math.texi (Errors in Math Functions): Clarify goals
18112         regarding inexact and underflow exceptions.
18114 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18116         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18117         * sysdeps/mips/memset.S: Ditto.
18119 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18121         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18123 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18125         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18126         (__v1longjmp): Remove versioned symbol.
18127         (__v1siglongjmp): Remove alias and versioned symbol.
18128         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18129         (__v2siglongjmp): Likewise.
18131 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18133         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18135 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18137         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18139 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18141         [BZ #17987]
18142         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18143         zero result does not depend on the sign resulting from
18144         subtraction.
18145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18146         Likewise.
18147         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18148         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18149         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18150         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18151         * math/libm-test.inc (remquo_test_data): Add more tests.
18153 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18155         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18156         Problem reported by J William Piggott.
18158 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18160         [BZ #17978]
18161         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18162         products 4 * y and 2 * y where those would overflow.
18163         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18164         Likewise.
18165         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18166         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18167         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18168         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18169         * math/libm-test.inc (remquo_test_data): Add more tests.
18171         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18173         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18174         [defined _COMPILING_NEWLIB].
18175         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18176         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18178         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18179         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18181 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18183         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18184         acquired.
18186 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18188         [BZ #17792]
18189         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18190         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18191         HOST_STACK_END_ADDR): Likewise.
18193 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18195         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18196         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18197         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18199 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18201         * sysdeps/generic/c++-types.data: New file.
18202         * sysdeps/generic/ld.abilist: New file.
18203         * sysdeps/generic/libBrokenLocale.abilist: New file.
18204         * sysdeps/generic/libanl.abilist: New file.
18205         * sysdeps/generic/libc.abilist: New file.
18206         * sysdeps/generic/libcrypt.abilist: New file.
18207         * sysdeps/generic/libdl.abilist: New file.
18208         * sysdeps/generic/libm.abilist: New file.
18209         * sysdeps/generic/libpthread.abilist: New file.
18210         * sysdeps/generic/libresolv.abilist: New file.
18211         * sysdeps/generic/librt.abilist: New file.
18213 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18215         [BZ #17569]
18216         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18217         Compute absolute value of x as modified by fmod, not original
18218         value of x.
18219         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18220         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18221         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18222         RUN_TEST_ffI_f1_mod8.
18223         (remquo_test_data): Add more tests.
18225 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18227         * sysdeps/init_array/pt-crti.S: New file.
18229 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18231         [BZ #17967]
18232         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18233         __builtin_fmaf instead of relying on contraction of a * b + c.
18235 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18237         [BZ #17969]
18238         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18239         node.
18241 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18243         [BZ #17964]
18244         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18245         __builtin_fma instead of relying on contraction of a * b + c.
18247 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18249         * Makeconfig (ASFLAGS): Add -Werror=undef.
18250         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18251         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18252         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18254         * Makeconfig (after-link): New variable.
18255         (+link-pie, +link-pie-tests): Use it.
18256         (+link-static, +link-static-tests): Likewise.
18257         (+link, +link-tests): Likewise.
18258         * Makerules (build-module, build-module-asneeded): Likewise.
18259         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18260         Likewise.
18261         * elf/Makefile ($(objpfx)ld.so): Likewise.
18263 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18265         [BZ #17965]
18266         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18267         both struct timeval and struct timespec.
18269 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18271         [BZ #16560]
18272         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18273         and redefine.
18274         (__ieee754_exp2l): Do not multiply small fractional parts by
18275         M_LN2l.
18276         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18277         small argument.
18278         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18279         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18280         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18281         * math/auto-libm-test-in: Add more tests of exp2.
18282         * math/auto-libm-test-out: Regenerated.
18284 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18286         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18287         unaligned path.
18289 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18291         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18292         little endian.
18294 2015-02-12  Andreas Schwab  <schwab@suse.de>
18296         [BZ #15790]
18297         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18298         Filter out elision flags from value returned in kind.
18299         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18300         * nptl/tst-pthread-mutexattr.c: New file.
18302 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18304         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18305         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18306         into gnu-gnu, and update comment to refer to abi-tags.
18308 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18310         [BZ #15467]
18311         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18312         (__sincos): Set errno to EDOM for infinite argument.
18313         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18314         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18315         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18316         (__sincosl): Set errno to EDOM for infinite argument.
18317         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18318         (__sincosl): Set errno to EDOM for infinite argument.
18319         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18320         (__sincosl): Set errno to EDOM for infinite argument.
18321         * math/libm-test.inc (sincos_test_data): Test errno setting.
18323 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18325         * string/strxfrm_l.c: Remove #define STRCMP.
18326         * string/strcoll_l.c: Remove #define STRLEN.
18327         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18328         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18330 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18332         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18333         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18334         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18335         * sysdeps/mips/mips64/Makefile: ... here.
18336         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18337         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18338         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18339         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18340         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18341         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18342         * sysdeps/mips/mips64/n64/Implies: Likewise.
18344 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18346         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18347         <sys/time.h>, <string.h>, and <errno.h>.
18348         (dest_offset, dest_address, value, zero): Remove unused variables.
18349         (ldouble): Remove typedef.
18350         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18351         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18352         1).  Fix code style.
18353         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18354         (check): Function removed.
18355         (CHECK): New macro.
18356         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18357         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18358         Don't call set_sigaction_FP and remove_sigaction_FP here.
18359         (ldouble_test): Just use 'long double' as macro argument, no need for
18360         the 'ldouble' typedef.
18361         (do_test): Set up SIGFPE handler at start, using plain signal rather
18362         than sigaction.  Fix code style.
18364 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18366         [BZ #17949]
18367         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18368         jump label.
18370 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18372         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18373         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18375         * sysdeps/powerpc/configure.ac: Remove file.
18376         * sysdeps/powerpc/configure: Likewise.
18378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18379         [sysdep_routines]: Remove wordcopy-power6 object.
18380         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18381         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18383         (__memmove_ppc32): Likewise.
18384         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18385         file.
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18387         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18388         Remove preprocessor.
18390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18391         [sysdep_routines]: Remove wide chars objects.
18392         [wcsmbs]: New rule for wide char objects.
18394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18395         Remove wordcopy-power6 obejct.
18396         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18397         Use local call for wordcopy and memcpy symbols.
18398         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18400         implementation for loader.
18401         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18404         Remove wordcopy-power7 object.
18405         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18407         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18408         (_wordcopy_fwd_dest_aligned): Likewise.
18409         (_wordcopy_bwd_aligned): Likewise.
18410         (_wordcopy_bwd_dest_aligned): Likewise.
18412         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18413         Rewrite to call __memmove_ppc instead of include default
18414         implementation.
18416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18417         Remove wide chars objects.
18418         [wcsmbs]: New rule for wide char objects.
18420 2015-02-09  Andreas Schwab  <schwab@suse.de>
18422         [BZ #17912]
18423         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18424         in terms of __O_DIRECTORY.
18426 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18428         * time/getdate.c: Include <stdbool.h>.
18429         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18430         call PTR_MANGLE.
18431         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18432         PTR_DEMANGLE.
18434 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18436         Add ersatz _Static_assert on older C hosts
18437         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18438         pre-C11 C platform that is not known to support _Static_assert.
18440 2015-02-07  Richard Braun  <rbraun@sceen.net>
18442         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18443         sigstate.
18444         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18446 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18448         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18449         priority against unexistent AIO_PRIO_DELTA_MAX.
18450         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18451         instead of int.
18452         * misc/fchflags.c (fchflags): Likewise.
18453         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18454         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18455         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18456         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18457         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18458         Declare macros.
18459         [__USE_MISC] (chflags, fchflags): Declare functions.
18460         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18461         EINVAL when nfds is greater than FD_SETSIZE.
18462         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18463         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18464         45.
18465         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18466         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18467         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18468         MACH_RCV_TIMED_OUT.
18469         * hurd/hurd/signal.h (_hurd_self_sigstate,
18470         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18471         Explicit casts from void *.
18472         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18473         * abi-tags: Rename gnu-gnu os into gnu.
18475         [BZ #4719]
18476         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18477         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18478         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18479         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18480         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18481         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18483         [BZ #17944]
18484         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18485         duplicates ADDR->sun_path with sockaddr LEN limitation.
18486         * sysdeps/mach/hurd/connect.c: Include <string.h>
18487         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18488         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18489         * sysdeps/mach/hurd/sendto.c: Likewise.
18490         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18491         implementing it by hand.
18493 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18495         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18496         Use sfi_breg on ldr.
18497         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18498         Likewise.
18500         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18501         it's defined.
18502         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18503         Test SIGSETXID only if it's defined.
18505         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18507         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18508         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18510         * nptl/tst-align2.c: Moved ...
18511         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18512         * nptl/Makefile (tests): Remove tst-align2.
18513         * sysdeps/unix/sysv/linux/Makefile
18514         [$(subdir) = nptl] (tests): Add tst-align-clone.
18515         * nptl/tst-getpid1.c: Moved ...
18516         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18517         * nptl/tst-getpid2.c: Moved ...
18518         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18519         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18520         * sysdeps/unix/sysv/linux/Makefile
18521         [$(subdir) = nptl] (tests): ... here.
18522         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18523         * sysdeps/unix/sysv/linux/Makefile
18524         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18526         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18527         Drop trailing \n from perror argument.  Use return rather than exit.
18529         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18530         on [SA_SIGINFO].
18531         * nptl/tst-cancel21.c (do_test): Likewise.
18532         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18533         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18534         [!SA_SIGINFO]: Make it a stub test.
18536         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18537         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18539         * posix/tst-getlogin.c: Move to ...
18540         * login/tst-getlogin.c: ... here.
18541         * posix/Makefile (tests): Move tst-getlogin to ...
18542         * login/Makefile (tests): ... here.
18544         * libio/tst-atime.c (do_test): Move local variables SV and E
18545         inside [ST_NOATIME] conditional.
18547         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18549         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18551         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18552         (wait_code): New function replaces macro.
18553         Call nanosleep rather than syscall.
18555         * nptl/pt-system.c: Rewritten.  Put everything under
18556         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18557         Use IFUNC to redirect when possible.
18559         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18560         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18561         Use IFUNC to redirect when possible.
18563         * nptl/pt-fork.c: Rewritten.  Put everything under
18564         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18565         Use IFUNC to redirect when possible.
18566         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18569         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18570         unconditionally nowadays.  This included the only reference to
18571         __vdso_clock_gettime that appears outside libc proper.
18572         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18573         Remove version set (containing only __vdso_clock_gettime).
18574         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18575         Add attribute_hidden.
18576         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18577         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18578         libc_hidden_data_def.
18579         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18580         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18582         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18583         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18584         setrpcent, and getrpcport to ...
18585         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18586         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18587         getrpcbynumber_r, and getrpcent_r to ...
18588         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18589         * inet/getrpcbyname.c: Moved ...
18590         * sunrpc/getrpcbyname.c: ... here.
18591         * inet/getrpcbyname_r.c: Moved ...
18592         * sunrpc/getrpcbyname_r.c: ... here.
18593         * inet/getrpcbynumber.c: Moved ...
18594         * sunrpc/getrpcbynumber.c: ... here.
18595         * inet/getrpcbynumber_r.c: Moved ...
18596         * sunrpc/getrpcbynumber_r.c: ... here.
18597         * inet/getrpcent.c: Moved ...
18598         * sunrpc/getrpcent.c: ... here.
18599         * inet/getrpcent_r.c: Moved ...
18600         * sunrpc/getrpcent_r.c: ... here.
18601         * inet/Makefile (routines): Move those to ...
18602         * sunrpc/Makefile (routines): ... here.
18603         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18604         the $(subdirs) list.
18605         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18606         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18607         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18608         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18610         * elf/Makefile (routines): Include $(all-dl-routines), not just
18611         $(dl-routines).
18612         (rtld-routines): Likewise.  Use = rather than :=.
18613         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18614         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18615         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18616         * sysdeps/arm/Makefile: Likewise.
18617         * sysdeps/i386/Makefile: Likewise.
18618         * sysdeps/x86_64/Makefile: Likewise.
18619         * sysdeps/hppa/Makefile [$(subdir) = elf]
18620         (sysdep_routines, sysdep-rtld-routines): Don't add
18621         $(sysdep-dl-routines) to these.
18622         * sysdeps/ia64/Makefile: Likewise.
18623         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18624         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18625         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18626         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18627         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18628         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18629         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18630         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18631         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18632         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18633         these; sysdep-dl-routines alone is enough.
18635 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18637         [BZ #17932]
18638         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18639         where multiplication results in zero and third argument is finite
18640         and nonzero.
18641         * math/auto-libm-test-in: Add more tests of fma.
18642         * math/auto-libm-test-out: Regenerated.
18644         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18645         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18646         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18647         (_FP_CMP_EQ): Likewise.
18648         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18650         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18651         extra argument CHECK_NAN.  Redefine as wrapper around
18652         _FP_EXTEND_CNAN.
18654 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18656         * version.h (RELEASE): Set to "stable".
18657         (VERSION): Set to "2.21"
18658         * include/features.h (__GLIBC_MINOR__): Set to 21.
18660         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18662 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18663             Paul Eggert  <eggert@cs.ucla.edu>
18665         [BZ #16618]
18666         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18667         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18668         size in bytes. Store needed elements in wpmax. Use needed size
18669         in bytes for extend_alloca.
18671 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18673         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18674         binutls 2.25, and texinfo 5.2.
18675         * INSTALL: Regenerate.
18676         * sysdeps/nios2/configure: Regenerate.
18677         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18678         * manual/contrib.texi: Update.
18679         * po/be.po: Update.
18680         * po/bg.po: Update.
18681         * po/ca.po: Update.
18682         * po/cs.po: Update.
18683         * po/da.po: Update.
18684         * po/de.po: Update.
18685         * po/el.po: Update.
18686         * po/eo.po: Update.
18687         * po/es.po: Update.
18688         * po/fi.po: Update.
18689         * po/fr.po: Update.
18690         * po/gl.po: Update.
18691         * po/hr.po: Update.
18692         * po/hu.po: Update.
18693         * po/ia.po: Update.
18694         * po/id.po: Update.
18695         * po/it.po: Update.
18696         * po/ja.po: Update.
18697         * po/ko.po: Update.
18698         * po/lt.po: Update.
18699         * po/nb.po: Update.
18700         * po/nl.po: Update.
18701         * po/pl.po: Update.
18702         * po/pt_BR.po: Update.
18703         * po/ru.po: Update.
18704         * po/rw.po: Update.
18705         * po/sk.po: Update.
18706         * po/sl.po: Update.
18707         * po/sv.po: Update.
18708         * po/tr.po: Update.
18709         * po/uk.po: Update.
18710         * po/vi.po: Update.
18711         * po/zh_CN.po: Update.
18712         * po/zh_TW.po: Update.
18714         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18715         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18716         * sysdeps/hppa/dl-irel.h: Remove #warning.
18717         * sysdeps/hppa/entry.h: Provide prototype for
18718         __canonicalize_funcptr_for_compare and cast argument.
18719         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18720         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18721         * sysdeps/hppa/sotruss-lib.c: New file.
18722         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18723         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18724         (atomic_compare_and_exchange_bool_acq): Likewise.
18725         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18726         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18728         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18729         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18730         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18732 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18734         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18735         called function in non-PIC case.
18737 2015-01-31  David S. Miller  <davem@davemloft.net>
18739         * sysdeps/sparc/sparc32/bits/atomic.h
18740         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18741         unlock not after it.
18742         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18743         volatile register usage warnings from the compiler.
18745         * sysdeps/sparc/nptl/sem_init.c: Delete.
18746         * sysdeps/sparc/nptl/sem_post.c: Delete.
18747         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18748         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18749         * sysdeps/sparc/sparc32/sem_init.c: New file.
18750         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18751         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18752         padding explicitly initialized.
18753         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18754         padding for in-semaphore spinlock.
18755         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18756         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18757         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18758         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18759         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18760         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18761         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18762         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18763         version.
18764         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18765         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18767 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18769         [BZ #17801]
18770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18771         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18772         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18773         New.
18774         (index_AVX_Fast_Unaligned_Load): Likewise.
18775         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18776         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18777         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18778         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18779         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18780         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18781         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18782         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18783         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18785 2015-01-29  Andreas Schwab  <schwab@suse.de>
18787         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18789 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18791         [BZ #17892]
18792         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18794 2015-01-28  Martin Sebor  <msebor@redhat.com>
18796         * math/README.libm-test: Clarify. Add "How to read the test output."
18798 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18800         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18801         Define to 0.
18803 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18805         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18806         (__HAVE_64B_ATOMICS): Define to 0.
18808 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18810         [BZ #17885]
18811         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18812         value to set as new flag.
18814         [BZ #16576]
18815         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18816         and use _ARCH_PPCSQ instead.
18817         (__ieee754_sqrt): Likewise.
18818         (__ieee754_sqrtf): Likewise.
18819         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18820         _ARCH_PPCSQ is defined.
18821         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18822         fsqrt instruction.
18823         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18824         _ARCH_PPCSQ is defined.
18825         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18826         fsqrts instruction.
18827         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18829 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18831         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18832         bug (GCC BZ #64739).
18834 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
18836         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
18837         Mark _retval as used.
18838         (lll_futex_wake_unlock): Likewise.
18839         (lll_futex_timed_wait_requeue_pi): Likewise.
18841         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18842         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
18843         register variables.
18845         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
18846         libm_hidden_def.
18848         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
18849         (__bswap_64): Mark as __always_inline.
18851 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
18853         [BZ #15378]
18854         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
18855         when none of the search directories exist.
18857 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18859         [BZ #17869]
18860         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
18861         power8 in .machine directive.
18863         [BZ #17868]
18864         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
18865         set dependency from opd value.
18867 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18870         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
18871         architecture.
18873 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
18875         [BZ #17870]
18876         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
18877         with uint64_t.
18878         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
18879         (uint64_t) 1.
18880         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
18881         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
18882         Replace 1UL with (uint64_t) 1.
18883         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
18884         int with uint64_t.
18886 2015-01-23  Roland McGrath  <roland@hack.frob.com>
18888         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
18889         (if_freenameindex): Likewise.
18891         * resource/getrlimit64.c: Add missing libc_hidden_def.
18893 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
18895         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
18896         __label__.
18897         (_FP_FMA): Likewise.
18898         (_FP_TO_INT_ROUND): Likewise.
18899         (_FP_FROM_INT): Likewise.
18901 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18903         [BZ #16418]
18904         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
18905         Make code racy and cancel safe.
18907 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
18909         * sysdeps/arm/unwind-resume.h: Fix copyright year.
18910         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
18911         attribution.
18913         * pwd/tst-getpw.c: Rewrite.
18915         [BZ #17702]
18916         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
18917         (modules-names): Add moddummy1 and moddummy2.
18918         ($(objpfx)tst-rec-dlopen): Define.
18919         * dlfcn/moddummy1.c: New file.
18920         * dlfcn/moddummy2.c: New file.
18921         * dlfcn/tst-rec-dlopen.c: New file.
18922         * elf/dl-cache.c (_dl_load_cache_lookup):
18923         Return char*. Copy result with alloca/strcpy/strdup.
18924         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
18925         returns char*. Free cached. If not saving realname
18926         free cached.
18927         * elf/dl-open.c (dl_open_worker): Do not assert that
18928         _r_debug->r_state is RT_CONSISTENT.
18929         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18930         returns char*.
18932 2015-01-21  Torvald Riegel  <triegel@redhat.com>
18933             Carlos O'Donell  <carlos@redhat.com>
18935         [BZ #12674]
18936         * nptl/sem_waitcommon.c: New file.
18937         * nptl/sem_wait.c: Include sem_waitcommon.c.
18938         (__sem_wait_cleanup, do_futex_wait): Remove.
18939         (__new_sem_wait): Adapt.
18940         (__new_sem_trywait): New function.
18941         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
18942         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
18943         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
18944         (sem_timedwait): Adapt.
18945         * nptl/sem_post.c (__new_sem_post): Adapt.
18946         (futex_wake): New function.
18947         (__old_sem_post): Add release MO fence.
18948         * nptl/sem_open.c (sem_open): Adapt.
18949         * nptl/sem_init.c (__new_sem_init): Adapt.
18950         (futex_private_if_supported): New function.
18951         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
18952         (__old_sem_getvalue): Add using previous code.
18953         * sysdeps/nptl/internaltypes.h: Adapt.
18954         * nptl/tst-sem13.c (do_test): Adapt.
18955         * nptl/tst-sem11.c (main): Adapt.
18956         * nptl/sem_trywait.c: Remove.
18957         * nptl/DESIGN-sem.txt: Remove.
18958         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
18959         (gen-as-const-headers): Remove structsem.sym.
18960         * nptl/structsem.sym: Remove.
18961         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
18962         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
18963         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
18964         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
18965         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
18966         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
18967         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
18968         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
18969         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
18970         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
18971         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
18972         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
18973         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
18974         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
18975         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
18976         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
18977         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
18978         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
18979         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
18980         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
18981         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
18982         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
18984 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
18986         * INSTALL: Regenerated.
18988         * po/libc.pot: Regenerated.
18990 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
18991             Sandra Loosemore  <sandra@codesourcery.com>
18992             Andrew Jenner  <andrew@codesourcery.com>
18993             Joseph Myers  <joseph@codesourcery.com>
18994             Nathan Sidwell  <nathan@codesourcery.com>
18996         * NEWS: Mention new Nios II port.
18997         * sysdeps/nios2/Implies: New file.
18998         * sysdeps/nios2/Makefile: New file.
18999         * sysdeps/nios2/Subdirs: New file.
19000         * sysdeps/nios2/Versions: New file.
19001         * sysdeps/nios2/__longjmp.S: New file.
19002         * sysdeps/nios2/abort-instr.h: New file.
19003         * sysdeps/nios2/backtrace.c: New file.
19004         * sysdeps/nios2/bits/endian.h: New file.
19005         * sysdeps/nios2/bits/fenv.h: New file.
19006         * sysdeps/nios2/bits/link.h: New file.
19007         * sysdeps/nios2/bits/setjmp.h: New file.
19008         * sysdeps/nios2/bsd-_setjmp.S: New file.
19009         * sysdeps/nios2/bsd-setjmp.S: New file.
19010         * sysdeps/nios2/configure: New generated file.
19011         * sysdeps/nios2/configure.ac: New file.
19012         * sysdeps/nios2/crti.S: New file.
19013         * sysdeps/nios2/crtn.S: New file.
19014         * sysdeps/nios2/dl-init.c: New file.
19015         * sysdeps/nios2/dl-machine.h: New file.
19016         * sysdeps/nios2/dl-sysdep.h: New file.
19017         * sysdeps/nios2/dl-tls.h: New file.
19018         * sysdeps/nios2/dl-trampoline.S: New file.
19019         * sysdeps/nios2/gccframe.h: New file.
19020         * sysdeps/nios2/gmp-mparam.h: New file.
19021         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19022         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19023         * sysdeps/nios2/ldsodefs.h: New file.
19024         * sysdeps/nios2/libc-tls.c: New file.
19025         * sysdeps/nios2/libm-test-ulps: New file.
19026         * sysdeps/nios2/machine-gmon.h: New file.
19027         * sysdeps/nios2/math-tests.h: New file.
19028         * sysdeps/nios2/math_private.h: New file.
19029         * sysdeps/nios2/memusage.h: New file.
19030         * sysdeps/nios2/nptl/Makefile: New file.
19031         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19032         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19033         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19034         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19035         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19036         * sysdeps/nios2/nptl/tls.h: New file.
19037         * sysdeps/nios2/preconfigure: New file.
19038         * sysdeps/nios2/s_fma.c: New file.
19039         * sysdeps/nios2/s_fmaf.c: New file.
19040         * sysdeps/nios2/setjmp.S: New file.
19041         * sysdeps/nios2/sfp-machine.h: New file.
19042         * sysdeps/nios2/sotruss-lib.c: New file.
19043         * sysdeps/nios2/stackguard-macros.h: New file.
19044         * sysdeps/nios2/stackinfo.h: New file.
19045         * sysdeps/nios2/start.S: New file.
19046         * sysdeps/nios2/sysdep.h: New file.
19047         * sysdeps/nios2/tls-macros.h: New file.
19048         * sysdeps/nios2/tst-audit.h: New file.
19049         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19050         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19051         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19052         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19053         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19054         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19055         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19056         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19057         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19058         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19059         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19060         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19061         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19062         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19063         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19064         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19065         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19066         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19067         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19068         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19069         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19070         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19071         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19072         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19073         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19074         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19075         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19076         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19077         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19078         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19079         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19080         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19081         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19082         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19083         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19084         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19085         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19086         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19087         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19088         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19089         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19090         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19091         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19092         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19094 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19096         [BZ #17844]
19097         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19098         (getutent): Use weak_alias in non SHARED case
19099         and default_symbol_version in SHARED case.
19100         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19101         (getutent_r, pututline): Likewise.
19102         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19103         (getutid): Likewise.
19104         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19105         (getutid_r): Likewise.
19106         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19107         (getutline): Likewise.
19108         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19109         (getutline_r): Likewise.
19110         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19111         (updwtmp): Likewise.
19113 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19115         [BZ #17848]
19116         * sysdeps/s390/s390-32/memcmp.S
19117         (memcmp_g5): Rename to __memcmp_g5.
19118         * sysdeps/s390/s390-32/memcpy.S
19119         (memcpy_g5): Rename to __memcpy_g5.
19120         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19121         (memcpy_mvcle) Rename to __memcpy_mvcle.
19122         * sysdeps/s390/s390-32/memset.S
19123         (memset_g5): Rename to __memset_g5.
19124         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19125         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19126         and use prefixed functions.
19127         * sysdeps/s390/s390-32/multiarch/memcmp.S
19128         (memcmp_z196): Rename to __memcmp_z196.
19129         (memcmp_z10): Rename to __memcmp_z10.
19130         (memcmp): Set alias to __memcmp_g5.
19131         (bcmp): Set alias to __memcmp_g5.
19132         * sysdeps/s390/s390-32/multiarch/memcpy.S
19133         (memcpy_z196): Rename to __memcpy_z196.
19134         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19135         (memcpy_z10): Rename to __memcpy_z10.
19136         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19137         (memcpy): Set alias to __memcpy_g5.
19138         * sysdeps/s390/s390-32/multiarch/memset.S
19139         (memset_z196): Rename to __memset_z196.
19140         Jump to __memset_mvcle instead of memset_mvcle.
19141         (memset_z10): Rename to __memset_z10.
19142         Jump to __memset_mvcle instead of memset_mvcle.
19143         (memset_mvcle) Rename to __memset_mvcle.
19144         (memset): Set alias to __memset_g5.
19145         * sysdeps/s390/s390-64/memcmp.S
19146         (memcmp_z900): Rename to __memcmp_z900.
19147         * sysdeps/s390/s390-64/memcpy.S
19148         (memcpy_z900): Rename to __memcpy_z900.
19149         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19150         (memcpy_mvcle) Rename to __memcpy_mvcle.
19151         * sysdeps/s390/s390-64/memset.S
19152         (memset_z900): Rename to __memset_z900.
19153         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19154         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19155         and use prefixed functions.
19156         * sysdeps/s390/s390-64/multiarch/memcmp.S
19157         (memcmp_z196): Rename to __memcmp_z196.
19158         (memcmp_z10): Rename to __memcmp_z10.
19159         (memcmp): Set alias to __memcmp_z900.
19160         (bcmp): Set alias to __memcmp_z900.
19161         * sysdeps/s390/s390-64/multiarch/memcpy.S
19162         (memcpy_z196): Rename to __memcpy_z196.
19163         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19164         (memcpy_z10): Rename to __memcpy_z10.
19165         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19166         (memcpy): Set alias to __memcpy_z900.
19167         * sysdeps/s390/s390-64/multiarch/memset.S
19168         (memset_z196): Rename to __memset_z196.
19169         Jump to __memset_mvcle instead of memset_mvcle.
19170         (memset_z10): Rename to __memset_z10.
19171         Jump to __memset_mvcle instead of memset_mvcle.
19172         (memset_mvcle) Rename to __memset_mvcle.
19173         (memset): Set alias to __memset_z900.
19175 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19177         [BZ #17748]
19178         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19179         __fesetenv instead of fesetenv.
19181 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19183         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19184         macro.
19186 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19188         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19189         regression on LE.
19191         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19192         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19193         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19194         strncmp-power8 object.
19195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19196         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19197         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19198         * NEWS: Update.
19200 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19201             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19203         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19204         trailing byte check.
19206 2015-01-13  David S. Miller  <davem@davemloft.net>
19208         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19210 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19212         * login/logout.c (logout): Use memset rather than bzero.
19213         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19214         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19215         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19216         (_gethtbyaddr): Likewise.
19217         * locale/programs/simple-hash.c (bcopy): Macro removed.
19219 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19221         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19222         Add strcmp-power8 object.
19223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19224         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19225         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19226         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19227         __strcmp_power8 implementation.
19228         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19229         * NEWS: Update.
19231         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19232         Add strncpy-power8 and stpncpy-power8 objects.
19233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19234         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19235         implementations.
19236         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19237         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19238         __stpncpy_power8 implementation.
19239         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19240         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19241         __strncpy_power8 implementation.
19242         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19243         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19244         * NEWS: Update.
19246         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19247         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19248         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19250         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19251         strncat-power8 object.
19252         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19253         __strcat_power8 implementation.
19254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19255         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19256         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19257         optimized strcat for power8.
19259         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19260         strcpy-power8 and stpcpy-power8 objects.
19261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19262         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19263         implementations.
19264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19265         multiarch stpcpy implementation for POWER8.
19266         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19267         multiarch strcpy implementation for POWER8.
19268         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19269         __strcpy_power8 function.
19270         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19271         stpcpy for POWER8.
19272         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19273         strcpy for POWER8.
19274         * NEWS: Update.
19276 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19278         [BZ #16009]
19279         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19280         weights and rules. Use do_xfrm_cached if data fits in cache,
19281         do_xfrm otherwise.  Moved former main loop to...
19282         * (do_xfrm_cached): New function.
19283         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19284         find_idx, find_position and stack_push.
19285         * (find_idx): New function.
19286         * (find_position): Likewise.
19287         * localedata/sort-test.sh: Added test run for do_xfrm.
19288         * localedata/xfrm-test.c (main): Added command line option
19289         -nocache to run the test with strings that are too large for
19290         the STRXFRM cache.
19292 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19294         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19295         variable to lll_futex_wake call, not the value itself.
19297 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19299         [BZ #17803]
19300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19301         twom64.  Adjust value to 0x1p-64L.
19302         (__scalblnl): Only return standard underflowing result for K <=
19303         -64 not K <= -63; adjust exponent for underflowing result by 64
19304         not 63.
19305         * math/libm-test.inc (scalbn_test_data): Add more tests.
19306         (scalbln_test_data): Likewise.
19308         [BZ #17834]
19309         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19310         0x1p63L.
19311         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19312         not HX.
19313         * math/libm-test.inc (scalbn_test_data): Add more tests.
19314         (scalbln_test_data): Likewise.
19316 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19317             Stefani Seibold  <stefani@seibold.net>
19319         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19320         (sysdep_routines): Add dl-vdso here, ...
19321         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19322         (sysdep_routines): ... not here.
19323         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19324         fallback when vDSO is not presented.
19325         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19326         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19327         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19328         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19329         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19330         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19331         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19332         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19333         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19335         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19336         fallback configurable symbol when vDSO is not available.
19337         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19338         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19339         be able to redefine fallback symbol when vDSO is not available.
19340         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19341         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19343 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19345         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19346         (TLS_INIT_TP): Add tm_capable initialization.
19347         (TLS_DEFINE_INIT_TP): Likewise.
19348         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19349         TCB.
19350         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19351         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19352         calculation.
19353         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19354         transactoion is lock elision is built and TCB tm_capable is set.
19355         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19357         (INTERNAL_SYSCALL_NCS): Likewise.
19358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19359         (INTERNAL_SYSCALL_NCS): Likewise.
19360         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19362         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19363         for powerpc.
19364         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19365         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19366         and remove it for 32 bits case.
19367         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19369         initialization.
19370         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19371         Disable lock elision with rdlocks if elision is not available.
19373         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19374         (sysdep_routines): Add lock elision objects.
19375         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19376         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19377         [pthread_mutex_t] (__elision): Add field.
19378         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19379         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19380         elision definitions for powerpc.
19381         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19382         implementation of lock elision for powerpc.
19383         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19384         implementation of timed lock elision for powerpc.
19385         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19386         implementation of trylock with lock elision for powerpc.
19387         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19388         implementaion of unlock for lock elision for powerpc.
19389         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19390         automatic enable lock elision for mutexes.
19391         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19392         transaction execution definitions for powerpc.
19393         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19394         definitions.
19395         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19396         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19397         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19398         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19399         * NEWS: Update.
19401 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19403         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19404         for #include of <shm-directory.h>.
19406 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19408         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19409         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19411 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19413         [BZ #17791]
19414         * NEWS: Mention bug fix.
19415         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19416         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19417         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19419 2015-01-09  Torvald Riegel <triegel@redhat.com>
19421         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19423 2015-01-09  Torvald Riegel <triegel@redhat.com>
19425         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19427 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19429         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19430         pointer and cast to uintptr_t.
19432 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19434         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19435         removed.
19436         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19438 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19440         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19441         of 0.
19443 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19445         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19446         <nptl/pthreadP.h> instead.
19447         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19449         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19450         already defined.
19451         [__SIGRTMIN] (init): Function removed.
19452         [__SIGRTMIN] (initialized): Variable removed.
19453         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19454         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19455         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19456         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19457         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19458         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19459         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19460         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19461         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19462         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19463         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19464         * sysdeps/nptl/allocrtsig.c: New file.
19465         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19466         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19467         * sysdeps/generic/testrtsig.h: File removed.
19469         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19470         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19472         * nptl/nptl-init.c (pthread_functions): Conditionalize
19473         .ptr__nptl_setxid initialization on [SIGSETXID].
19475         * sysdeps/nptl/sys/procfs.h: New file.
19476         * nptl_db/Makefile (headers): Add it.
19477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19479         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19480         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19481         * nptl/pthread_attr_setaffinity.c: Include it.
19482         * nptl/pthread_setattr_default_np.c: Likewise.
19483         * nptl/check-cpuset.h: New file.
19485 2015-01-08  Richard Henderson  <rth@redhat.com>
19487         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19488         (CFLAGS-tst-execstack-prog.c): Likewise.
19489         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19491 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19492             Sandra Loosemore  <sandra@codesourcery.com>
19493             Andrew Jenner  <andrew@codesourcery.com>
19494             Joseph Myers  <joseph@codesourcery.com>
19495             Nathan Sidwell  <nathan@codesourcery.com>
19497         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19498         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19499         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19500         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19501         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19502         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19503         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19504         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19505         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19506         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19507         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19508         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19509         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19510         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19511         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19512         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19513         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19515 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19517         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19518         timespec struct member in syscall macro.
19519         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19520         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19521         first timeval struct member in syscall macro.
19522         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19524 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19526         [BZ #17748]
19527         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19528         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19529         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19530         __feupdateenv and define as weak alias of __feupdateenv.  Use
19531         libm_hidden_weak.
19532         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19533         libm_hidden_def.
19534         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19535         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19536         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19537         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19538         libm_hidden_def.
19539         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19540         __feupdateenv and define as weak alias of __feupdateenv.  Use
19541         libm_hidden_weak.
19542         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19543         libm_hidden_def.
19544         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19545         __feupdateenv and define as weak alias of __feupdateenv.  Use
19546         libm_hidden_weak.
19547         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19548         libm_hidden_def.
19549         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19550         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19551         (__feupdateenv): Likewise.
19552         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19553         __feupdateenv and define as weak alias of __feupdateenv.  Use
19554         libm_hidden_weak.
19555         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19556         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19557         libm_hidden_def.
19558         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19559         function.
19560         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19561         libm_hidden_def.
19562         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19563         __feupdateenv instead of feupdateenv.
19564         (default_libc_feupdateenv_test): Likewise.
19565         (libc_feresetround_ctx): Likewise.
19567 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19569         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19570         prototype.
19572 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19574         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19575         COLL_SYM in a couple of places to avoid uninitialized variable
19576         wanings on tilegx gcc 4.8.2.
19578 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19580         * sysdeps/aarch64/strcpy.S: New file.
19581         * sysdeps/aarch64/stpcpy.S: New file.
19582         * NEWS: Updated.
19584 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19586         * sysdeps/aarch64/strrchr.S: New file.
19587         * NEWS: Updated.
19589 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19591         [BZ #17658]
19592         * stdlib/setenv.c: Fix memory leak when setting large,
19593         duplicate string.
19595 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19597         [BZ #17273]
19598         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19599         and tabs from buffer before parsing fstab entry.
19600         * misc/tst-mntent.c (main): Add test for mount entry with
19601         trailing spaces and tabs.
19603 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19605         [BZ #17748]
19606         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19607         * math/fesetround.c (fesetround): Rename to __fesetround and
19608         define as weak alias of __fesetround.  Use libm_hidden_weak.
19609         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19610         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19611         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19612         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19613         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19614         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19615         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19616         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19617         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19618         __fesetround_inline.
19619         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19620         __fesetround_inline instead of __fesetround.
19621         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19622         __fesetround and define as weak alias of __fesetround.  Use
19623         libm_hidden_weak.  Call __fesetround_inline instead of
19624         __fesetround.
19625         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19626         __fesetround and define as weak alias of __fesetround.  Use
19627         libm_hidden_weak.
19628         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19629         Likewise.
19630         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19631         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19632         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19633         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19634         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19635         __fesetround and define as weak alias of __fesetround.  Use
19636         libm_hidden_weak.
19637         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19638         __fesetround instead of fesetround.
19639         (default_libc_feholdexcept_setround): Likewise.
19640         (libc_feholdsetround_ctx): Likewise.
19641         (libc_feholdsetround_noex_ctx): Likewise.
19643         [BZ #17748]
19644         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19645         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19646         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19647         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19648         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19649         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19650         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19651         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19652         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19653         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19654         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19655         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19656         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19657         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19658         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19659         libm_hidden_def.
19660         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19661         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19662         Likewise.
19663         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19664         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19665         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19666         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19667         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19668         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19669         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19670         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19671         __fesetenv instead of fesetenv.
19672         (libc_feresetround_noex_ctx): Likewise.
19673         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19674         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19675         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19676         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19677         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19678         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19679         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19680         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19681         (__feupdateenv): Likewise.
19682         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19683         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19684         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19685         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19687 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19689         [BZ #17806]
19690         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19691         addresses have been freed.
19693 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19695         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19696         and nservall.
19698 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19700         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19701         Clean up check_pf allocation pattern. addresses
19703 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19705         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19706         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19707         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19708         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19709         * nptl/pthread_join.c (pthread_join): Likewise.
19710         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19711         * sysdeps/posix/waitid.c (__waitid): Likewise.
19712         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19713         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19714         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19715         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19717         Likewise.
19718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19719         (__libc_pread64): Likewise.
19720         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19721         (__libc_pwrite): Likewise.
19722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19723         (__libc_pwrite64): Likewsie.
19724         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19725         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19726         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19727         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19728         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19729         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19730         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19732         Likewise.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19734         (__libc_pread64): Likewise.
19735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19736         Likewise.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19738         (__libc_pwrite64): Likewise.
19739         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19740         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19741         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19742         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19743         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19744         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19745         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19746         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19747         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19748         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19749         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19750         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19751         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19752         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19753         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19754         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19755         Likewise.
19757 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19759         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19760         (CFLAGS-test-double.c): Likewise.
19761         (CFLAGS-test-ldouble.c): Likewise.
19762         (CPPFLAGS-test-ifloat.c): Likewise.
19763         (CPPFLAGS-test-idouble.c): Likewise.
19764         (CPPFLAGS-test-ildoubl.c): Likewise.
19765         (CFLAGS-test-test-fenv.c): Remove variable.
19766         (CFLAGS-test-misc.c): Likewise.
19768 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19770         [BZ #17797]
19771         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19772         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19773         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19774         CLOCKS_PER_SEC == 1000000.
19775         * time/clocktest.c (main): Replace %ld with %jd and cast to
19776         intmax_t.
19778 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19780         * sysdeps/generic/unwind-resume.h: New file.
19781         * sysdeps/gnu/unwind-resume.c: Include it.
19782         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19783         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19784         argument list.
19785         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19786         global rather than static.
19787         (_Unwind_Resume): Update user.
19788         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19789         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19790         rather than static.  Add __attribute__ ((cold)).
19791         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19792         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19793         * sysdeps/arm/arm-unwind-resume.S: New file.
19794         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19795         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19796         * sysdeps/arm/Makefile [$(subdir) = csu]
19797         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19798         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19799         Add rt-arm-unwind-resume.
19800         [$(subdir) = nptl]
19801         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19802         Add pt-arm-unwind-resume.
19803         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19804         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19806 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19808         [BZ #17748]
19809         * include/fenv.h (__feholdexcept): Declare.  Use
19810         libm_hidden_proto.
19811         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19812         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19813         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19814         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19815         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19816         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19817         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19818         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19819         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19820         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19821         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19822         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19823         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19824         (feholdexcept): Likewise.
19825         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19826         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19827         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19828         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19829         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19830         __feholdexcept instead of feholdexcept.
19831         (default_libc_feholdexcept_setround): Likewise.
19833 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19835         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
19836         to avoid using stl/str to align destination.
19838 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19840         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
19842 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19844         [BZ #17796]
19845         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
19846         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
19847         Define as weak alias not strong alias.
19849 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
19851         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
19852         bltzal with addiupc.
19853         (RTLD_START): Ditto.
19855 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
19857         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
19858         for __vdso_* functions in declarations.
19859         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
19860         definitions.
19861         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
19862         INTERNAL_VSYSCALL): Use struct return types to check for error.
19864         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
19865         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
19866         function with cast from llround().
19867         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
19868         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19869         Define.
19871 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19873         [BZ #17793]
19874         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
19875         Define as weak alias not strong alias.
19877         [BZ #17635]
19878         * ctype/ctype-c99.c: New file.  isblank implementation moved from
19879         ...
19880         * ctype/ctype-extn.c: ... here.
19881         (__isblank_l): Move to ...
19882         * ctype/ctype-c99_l.c: ... here.  New file.
19883         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
19884         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
19885         Remove variable.
19886         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19887         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19888         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19889         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19890         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19892         [BZ #17777]
19893         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
19894         (posix_fadvise64): Define as weak alias not strong alias.
19895         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19896         (posix_fallocate64): Likewise.
19897         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
19898         Remove variable.
19899         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19900         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19901         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19902         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19903         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19905 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
19907         [BZ #16191]
19908         * NEWS: Mention bug fix.
19909         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
19910         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
19911         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
19912         (HOST_STACK_END_ADDR): Likewise.
19914 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19916         [BZ #17748]
19917         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
19918         * math/fegetround.c (fegetround): Rename to __fegetround and
19919         define as weak alias of __fegetround.  Use libm_hidden_weak.
19920         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
19921         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
19922         * sysdeps/arm/fegetround.c (fegetround): Likewise.
19923         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
19924         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19925         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
19926         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
19927         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
19928         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19929         Undefine after rather than before function definition; use
19930         parentheses around function name in definition.
19931         (__fegetround): Also undefine macro after function definition.
19932         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
19933         __fegetround and define as weak alias of __fegetround.  Use
19934         libm_hidden_weak.  Do not undefine as macro.
19935         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19936         Likewise.
19937         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
19938         __fegetround and define as weak alias of __fegetround.  Use
19939         libm_hidden_weak.
19940         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19941         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19942         * sysdeps/tile/math_private.h (__fegetround): New inline function.
19943         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
19944         __fegetround and define as weak alias of __fegetround.  Use
19945         libm_hidden_weak.
19946         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
19947         __fegetround instead of fegetround.
19949         [BZ #17782]
19950         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
19951         Condition macro definition on [__USE_MISC].
19953         [BZ #17781]
19954         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
19955         (struct sigaction): Change type of sa_flags field to int.
19957         [BZ #17780]
19958         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
19959         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
19960         __glibc_reserved0.
19962         * nptl/version.c (banner): Use single year in copyright notice.
19964         * NEWS: Update copyright dates.
19965         * catgets/gencat.c (print_version): Likewise.
19966         * csu/version.c (banner): Likewise.
19967         * debug/catchsegv.sh: Likewise.
19968         * debug/pcprofiledump.c (print_version): Likewise.
19969         * debug/xtrace.sh (do_version): Likewise.
19970         * elf/ldconfig.c (print_version): Likewise.
19971         * elf/ldd.bash.in: Likewise.
19972         * elf/pldd.c (print_version): Likewise.
19973         * elf/sotruss.sh: Likewise.
19974         * elf/sprof.c (print_version): Likewise.
19975         * iconv/iconv_prog.c (print_version): Likewise.
19976         * iconv/iconvconfig.c (print_version): Likewise.
19977         * locale/programs/locale.c (print_version): Likewise.
19978         * locale/programs/localedef.c (print_version): Likewise.
19979         * login/programs/pt_chown.c (print_version): Likewise.
19980         * malloc/memusage.sh (do_version): Likewise.
19981         * malloc/memusagestat.c (print_version): Likewise.
19982         * malloc/mtrace.pl: Likewise.
19983         * manual/libc.texinfo: Likewise.
19984         * nptl/version.c (banner): Likewise.
19985         * nscd/nscd.c (print_version): Likewise.
19986         * nss/getent.c (print_version): Likewise.
19987         * nss/makedb.c (print_version): Likewise.
19988         * posix/getconf.c (main): Likewise.
19989         * scripts/test-installation.pl: Likewise.
19990         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19992 2015-01-02  Will Newton  <will.newton@linaro.org>
19994         * sysdeps/arm/armv7/configure: Removed.
19995         * sysdeps/arm/armv7/configure.ac: Likewise.
19997 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
19999         * All files with FSF copyright notices: Update copyright dates
20000         using scripts/update-copyrights.
20001         * intl/plural.c: Regenerated.
20002         * locale/programs/charmap-kw.h: Likewise.
20003         * locale/programs/locfile-kw.h: Likewise.
20005 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20007         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20009 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20011         [BZ #17748]
20012         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20013         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20014         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20015         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20016         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20017         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20018         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20019         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20020         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20021         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20022         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20023         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20024         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20025         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20026         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20027         libm_hidden_def.
20028         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20029         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20030         Likewise.
20031         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20032         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20033         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20034         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20035         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20036         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20037         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20038         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20039         __fegetenv instead of fegetenv.
20040         (libc_feholdsetround_noex_ctx): Likewise.
20042 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20044         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20045         (Elf_MIPS_ABIFlags_v0): New structure.
20046         (EF_MIPS_FP64): Define.
20047         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20048         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20049         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20050         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20051         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20052         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20053         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20054         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20055         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20056         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20057         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20058         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20059         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20060         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20061         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20062         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20063         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20064         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20065         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20066         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20067         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20068         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20069         field.
20070         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20071         EF_MIPS_FP64.
20072         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20073         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20074         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20075         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20076         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20077         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20078         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20079         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20080         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20081         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20082         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20083         record the current FP ABI extension.
20084         (mips-mode-switch): Define to show if kernel headers support mode
20085         switching.
20086         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20087         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20088         supported SYSV ABI version to 3.
20089         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20090         feature.
20092 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20093             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20095         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20096         path.
20097         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20099 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20101         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20102         __fegetround and redefine to call __fegetround.  Remove condition
20103         on [!__NO_MATH_INLINES].
20104         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20105         function.
20106         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20107         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20108         Remove macro.
20109         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20110         instead of <fenv_libc.h>.
20111         (__llrintl): Call fegetround instead of __fegetround.
20112         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20113         instead of <fenv_libc.h>.
20114         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20115         (__lrintl): Call fegetround instead of __fegetround.
20116         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20117         instead of <fenv_libc.h>.
20118         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20119         (__rintl): Call fegetround instead of __fegetround.
20121 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20123         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20124         arrays.
20126 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20128         [BZ #17775]
20129         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20130         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20131         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20133 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20135         * sysdeps/i386/tls-macros.h: Include <features.h>.
20136         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20137         (TLS_IE): Likewise.
20138         (TLS_LD): Likewise.
20139         (TLS_GD): Likewise.
20140         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20141         define for GCC >= 5.0.
20143 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20145         * math/test-fenv.c (test_single_exception, set_single_exc,
20146         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20147         feexcp_mask_test, feenable_test, fe_single_test): Add
20148         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20149         case where they are not used.
20150         * math/libm-test.inc: Likewise.
20151         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20152         unused in the absence of FP rounding/exception support.
20153         * stdio-common/tst-printf-round.c: Likewise.
20154         * stdlib/tst-strtod-round.c: Likewise.
20155         * stdlib/tst-strtod-underflow.c: Likewise.
20157 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20159         [BZ #17723]
20160         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20161         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20162         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20163         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20164         libm_hidden_weak.
20165         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20166         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20167         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20168         libm_hidden_def.
20169         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20170         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20171         libm_hidden_weak.
20172         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20173         Likewise.
20174         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20175         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20176         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20177         libm_hidden_weak.
20178         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20179         libm_hidden_def.
20180         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20181         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20182         (__feraiseexcept): Likewise.
20183         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20184         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20185         libm_hidden_weak.
20186         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20187         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20188         libm_hidden_def.
20189         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20190         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20191         Use libm_hidden_def.
20192         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20193         libm_hidden_def.
20194         (feraiseexcept): Define as weak not strong alias.  Use
20195         libm_hidden_weak.
20196         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20197         New inline function.  Factored out of ...
20198         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20199         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20200         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20201         feraiseexcept.
20202         * math/w_acos.c (__acos): Likewise.
20203         * math/w_asin.c (__asin): Likewise.
20204         * math/w_ilogb.c (__ilogb): Likewise.
20205         * math/w_j0.c (y0): Likewise.
20206         * math/w_j1.c (y1): Likewise.
20207         * math/w_jn.c (yn): Likewise.
20208         * math/w_log.c (__log): Likewise.
20209         * math/w_log10.c (__log10): Likewise.
20210         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20211         * sysdeps/aarch64/fpu/math_private.h
20212         (libc_feupdateenv_test_aarch64): Likewise.
20213         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20214         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20215         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20216         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20217         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20218         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20219         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20220         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20221         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20222         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20224 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20226         [BZ #17732]
20227         * io/test-utime.c (main): Replace %ld with %jd and cast to
20228         intmax_t.
20229         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20230         * nptl/tst-mutex5.c: Include <stdint.h>.
20231         (do_test): Replace %ld with %jd and cast to intmax_t.
20232         * posix/tst-regex.c (run_test): Likewise.
20233         (run_test_backwards): Likewise.
20234         * rt/tst-clock.c: Include <stdint.h>.
20235         (clock_test): Replace %ld with %jd and cast to intmax_t.
20236         * rt/tst-cpuclock1.c: Include <stdint.h>.
20237         (do_test): Replace %lu with %ju and cast to uintmax_t.
20238         * rt/tst-cpuclock2.c: Include <stdint.h>.
20239         (do_test): Replace %lu with %ju and cast to uintmax_t.
20240         * rt/tst-mqueue1.c: Include <stdint.h>.
20241         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20242         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20243         intmax_t.
20244         * rt/tst-mqueue4.c (do_test): Likewise.
20245         * rt/tst-timer4.c: Include <stdint.h>.
20246         (check_ts): Replace %ld with %jd and cast to intmax_t.
20247         (do_test): Likewise.
20248         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20249         and cast to intmax_t.
20250         * sysdeps/pthread/tst-timer.c (main): Likewise.
20251         * time/clocktest.c (main): Likewise.
20252         * time/tst-posixtz.c (do_test): Likewise.
20253         * timezone/tst-timezone.c (main): Likewise.
20255 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20256             H.J. Lu  <hongjiu.lu@intel.com>
20258         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20259         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20260         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20261         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20262         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20263         version if bit_Fast_Unaligned_Load is set.
20264         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20265         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20266         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20267         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20268         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20269         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20270         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20271         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20272         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20273         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20274         to 4.
20275         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20276         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20277         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20278         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20280 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20282         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20283         instead of #if to avoid a Wundef warning.
20284         * stdlib/tst-limits.c (do_test): Likewise.
20286         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20287         parallel other exception macros.
20288         (fegetenv): Convert from macro to extern inline so that it applies
20289         retroactively to inline functions already seen by the compiler.
20290         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20292         * posix/Makefile (before-compile): Use $(objpfx) for
20293         posix-conf-vars-def.h.
20295 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20297         * posix/getconf.c (main): Use size_t for type of I.
20298         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20299         NSPEC.
20301         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20302         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20303         * posix/posix-envs.def: Likewise.
20304         * sysdeps/posix/sysconf.c: Likewise.
20305         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20306         (specs): Remove array.
20307         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20308         array.
20310         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20311         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20312         (__sysconf): Use CONF_IS_* macros.
20314         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20315         ($(objpfx)posix-conf-vars-def.h): New target.
20316         * posix/posix-conf-vars.list: New file.
20317         * posix/posix-conf-vars.h: New file.
20318         * posix/confstr.c: Include posix-conf-vars.h.
20319         (confstr): Use CONF_IS_* macros.
20320         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20321         CONF_IS_* macros.
20322         * scripts/gen-posix-conf-vars.awk: New file.
20324 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20326         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20327         fegetround): Add no-op macros to avoid linknamespace issues.
20329         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20330         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20332         * sysdeps/unix/sysv/linux/tile/sysdep.h
20333         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20334         assembly-specific section to avoid a redefinition warning.
20336         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20337         long before casting to pointer to avoid a cast warning.
20339 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20341         * sysdeps/tile/tilegx/Implies: New file.
20343 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20345         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20347 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20349         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20351 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20354         not define.
20355         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20356         <kernel-features.h>.
20357         (__utimes) [__NR_utimes]: Make code unconditional.
20358         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20359         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20360         (__ASSUME_UTIMES): Do not undefine.
20361         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20362         (__ASSUME_UTIMES): Likewise.
20363         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20364         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20365         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20366         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20368 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20370         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20372 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20374         [BZ #17747]
20375         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20376         alias to weak alias for j0l, y0l.
20377         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20378         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20380         [BZ #17746]
20381         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20382         conversion.
20384 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20386         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20387         to zero if not already defined.
20389 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20391         [BZ #17724]
20392         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20393         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20394         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20395         (char *) casts added.
20396         * sysdeps/ieee754/k_standardf.c: New file.
20397         * sysdeps/ieee754/k_standardl.c: Likewise.
20398         * math/Makefile (libm-support): Remove k_standard.
20399         (libm-calls): Add k_standard.
20401 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20403         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20404         Optimize to avoid an unnecessary FPCR read.
20406 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20408         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20409         Optimize to reduce FPCR/FPSR accesses.
20411 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20413         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20414         Call libc_fetestexcept_aarch64.
20416 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20418         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20419         Call libc_fesetround_aarch64.
20421 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20423         [BZ #17733]
20424         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20425         (__bind): Do not define as weak alias.
20426         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20427         define.
20428         (__getsockname): Do not define as weak alias.
20430 2014-12-22  Will Newton  <will.newton@linaro.org>
20432         * manual/install.texi: Document that we require bison 2.7
20433         or above.
20434         * INSTALL: Regenerate.
20435         * configure.ac: Use AC_CHECK_PROG_VER instead of
20436         AC_PATH_PROG when checking for bison and check for
20437         version 2.7 or above.
20438         * configure: Regenerate.
20440 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20442         [BZ #17745]
20443         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20444         * sysdeps/tile/ffsll.c (ffsll): To here.
20446         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20448 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20450         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20451         if not defined.
20452         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20453         definition.
20454         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20455         hidden ___tls_get_addr.
20456         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20457         hidden __tls_get_addr.
20458         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20459         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20460         Likewise.
20462 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20464         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20465         _dl_init call.
20467 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20469         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20470         from "call _dl_init@PLT".
20471         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20473 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20475         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20476         guarantees.
20478 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20480         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20482 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20484         [BZ #17744]
20485         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20486         strnlen.
20488 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20490         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20491         of multu on MIPSr6.
20492         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20493         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20494         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20495         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20496         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20498 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20500         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20501         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20502         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20503         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20504         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20505         mips32r6/mips64r6.
20506         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20508 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20510         * string/strncat.c (STRNCAT): Simplify implementation.
20512 2014-12-19  David S. Miller  <davem@davemloft.net>
20514         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20515         access the quad as both a long double and as a series of 4 words.
20517         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20518         link_map->l_info array access.
20520 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20522         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20524         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20525         * math/atest-exp2.c (TIMEOUT): Likewise.
20526         * math/atest-sincos.c (TIMEOUT): Likewise.
20528 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20530         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20531         -Wno-error with -fno-builtin-lround.
20533 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20535         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20536         Contains futex constants and functions moved over from ...
20537         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20538         <lowlevellock-futex.h>.
20539         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20540         (lll_timedwait_tid): Add comments and parentheses around macro
20541         arguments.
20543 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20545         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20546         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20547         (__lll_private_flag): Remove.
20548         (lll_futex_wait): Likewise.
20549         (lll_futex_timed_wait): Likewise.
20550         (lll_futex_wake): Likewise.
20551         (lll_futex_requeue): Likewise.
20552         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20553         (__lll_timedwait_tid): Spell out argument names.
20554         (lll_timedwait_tid): Add comments and parentheses around macro
20555         arguments.
20556         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20557         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20559 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20561         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20562         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20563         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20564         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20565         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20566         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20567         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20568         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20569         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20570         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20572         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20573         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20575         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20576         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20577         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20578         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20579         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20581 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20583         * sysdeps/x86_64/x32/Makefile: New file.
20585 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20587         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20588         1L with (mp_limb_t) 1.
20590 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20592         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20593         * nptl/libc_pthread_init.c: ... here.
20594         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20595         * nptl/register-atfork.c: ... here.
20597         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20598         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20599         Use assert_perror to check its return value.
20600         (__gai_create_helper_thread): Likewise.
20602         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20604         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20606 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20608         [BZ #17725]
20609         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20610         __profil_counter.
20611         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20612         Likewise.
20613         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20614         Likewise.
20615         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20616         Likewise.
20617         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20618         (profil_counter): Likewise.
20619         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20620         (profil_counter): Likewise.
20621         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20622         Likewise.
20623         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20624         Likewise.
20625         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20626         (profil_counter): Likewise.
20627         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20628         Likewise.
20629         [!__profil_counter] (profil_counter): Define as weak alias of
20630         __profil_counter.
20631         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20632         (profil_counter): Rename to __profil_counter.
20633         [!__profil_counter] (profil_counter): Define as weak alias of
20634         __profil_counter.
20635         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20636         (profil_counter): Rename to __profil_counter.
20637         [!__profil_counter] (profil_counter): Define as weak alias of
20638         __profil_counter.
20639         * sysdeps/posix/profil.c: Update comment referring to
20640         profil_counter.
20641         (__profil): Use __profil_counter instead of profil_counter.
20642         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20643         __profil_counter.  Use __profil_counter_ushort and
20644         __profil_counter_uint in definitions.
20645         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20646         instead of profil_counter_uint and profil_counter_ushort.
20648         [BZ #17722]
20649         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20650         define as weak alias of __inet_makeaddr.
20651         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20652         as weak alias of __inet_addr.
20653         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20654         as weak alias of __inet_pton.  Use libc_hidden_weak.
20655         * include/arpa/inet.h (__inet_pton): Declare.  Use
20656         libc_hidden_proto.
20657         (inet_makeaddr): Don't use libc_hidden_proto.
20658         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20659         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20660         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20661         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20662         Remove variable.
20663         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20664         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20666 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20668         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20670 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20672         * stdio-common/bug-vfprintf-nargs.c (do_test):
20673         Cast value to intptr_t to avoid format warning
20674         for usage with PRIdPTR printing macro.
20676 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20678         * libio/tst-widetext.c (do_test):
20679         Use format type %td instead of %Zd for ptrdiff_t
20680         in order to avoid format warning.
20682 2014-12-17  Andreas Schwab  <schwab@suse.de>
20684         * nscd/mem.c (gc): Add size_t cast to match printf format.
20686 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20688         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20689         (init): Apply PTR_MANGLE to pointers before storing them.
20690         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20691         before using them.
20693 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20695         [BZ #17719]
20696         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20697         define as weak alias of __memrchr.
20698         (__memrchr): Do not define as strong alias of memrchr.
20699         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20700         Remove variable.
20701         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20702         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20703         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20705         [BZ #17717]
20706         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20707         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20708         (if_indextoname): Rename to __if_indextoname and define as weak
20709         alias of __if_indextoname.  Use libc_hidden_weak.
20710         (if_freenameindex): Rename to __if_freenameindex and define as
20711         weak alias of __if_freenameindex.
20712         (if_nameindex): Rename to __if_nameindex and define as weak alias
20713         of __if_nameindex.
20714         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20715         __if_nametoindex and define as weak alias of __if_nametoindex.
20716         Use libc_hidden_weak.
20717         (if_freenameindex): Rename to __if_freenameindex and define as
20718         weak alias of __if_freenameindex.
20719         (if_nameindex): Rename to __if_nameindex and define as weak alias
20720         of __if_nameindex.
20721         (if_indextoname): Rename to __if_indextoname and define as weak
20722         alias of __if_indextoname.  Use libc_hidden_weak.
20723         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20724         __if_nametoindex and define as weak alias of __if_nametoindex.
20725         Use libc_hidden_weak.
20726         (if_freenameindex): Rename to __if_freenameindex and define as
20727         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20728         (if_nameindex_netlink): Use __if_freenameindex instead of
20729         if_freenameindex.
20730         (if_nameindex): Rename to __if_nameindex and define as weak alias
20731         of __if_nameindex.  Use libc_hidden_weak.
20732         (if_indextoname): Rename to __if_indextoname and define as weak
20733         alias of __if_indextoname.  Use libc_hidden_weak.
20734         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20735         libc_hidden_proto.
20736         [!_ISOMAC] (__if_freenameindex): Likewise.
20737         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20738         if_nametoindex.
20739         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20740         variable.
20741         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20742         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20743         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20744         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20745         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20746         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20747         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20749         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20750         Remove variable.
20751         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20752         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20754 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20756         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20757         subscript above bounds'
20759         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20760         bounds.
20762 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20764         * libio/tst-fopenloc.c: Use test-skeleton.c.
20766         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20767         (entry): Rename to ITEM.
20768         (do_test, comp): Adjust.
20770         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20772 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20774         * string/tester.c: Include <libc-internal.h>.
20775         (test_memset): Ignore -Wmemset-transposed-args.
20777 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20779         * misc/tst-mntent2.c (do_test): Fix warning.
20781 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20783         * elf/tst-unique4lib.cc(a): Mark as used.
20785 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20787         [BZ #17630]
20788         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20789         names.
20791 2014-12-16  Allan McRae  <allan@archlinux.org>
20793         * stdio-common/Makefile (tests): Re-add bug26.
20795 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20797         [BZ #17657]
20798         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20799         static array.
20801 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20803         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20804         (__lll_lock_wait): Likewise.
20805         (__lll_timedlock_wait): Likewise.
20806         (__lll_timedwait_tid): Likewise.
20807         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20808         (__lll_robust_timedlock_wait): Likewise.
20809         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20810         (lll_cond_trylock): Likewise.
20811         (__lll_lock): Likewise.
20812         (__lll_robust_lock): Likewise.
20813         (__lll_cond_lock): Likewise.
20814         (lll_robust_cond_lock): Likewise.
20815         (__lll_timedlock): Likewise.
20816         (__lll_robust_timedlock): Likewise.
20817         (__lll_unlock): Likewise.
20818         (__lll_robust_unlock): Likewise.
20819         (lll_wait_tid): Likewise.
20820         (lll_timedwait_tid): Likewise.
20822 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20824         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20826 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20828         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20830 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20832         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20833         * stdio-common/tst-sprintf.c: Likewise.
20835 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20837         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
20839 2014-12-15  Jeff Law  <law@redhat.com>
20841         [BZ #16617]
20842         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
20843         on the heap.  (CVE-2012-3406)
20844         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
20845         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
20846         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
20848 2014-12-15  Will Newton  <will.newton@linaro.org>
20850         * manual/install.texi: Bump required version of texinfo
20851         to 4.7 from 4.5.
20852         * INSTALL: Regenerated.
20853         * configure.ac: Check for makeinfo version 4.7 and above.
20854         * configure: Regenerated.
20856 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20858         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
20859         PREFIX, string constant to insert between directory and name.
20860         * sysdeps/posix/shm_open.c: Update caller.
20861         * sysdeps/posix/shm_unlink.c: Likewise.
20862         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
20863         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
20864         (SEM_SHM_PREFIX): New macro.
20865         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
20866         [$(have-thread-library) = no].
20867         * nptl/Makefile (libpthread-routines): Add shm-directory.
20868         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
20869         * sysdeps/nptl/shm-directory.h: New file.
20870         * sysdeps/posix/shm-directory.c
20871         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
20872         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20873         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
20874         INTERNAL_SYSCALL.
20875         (__where_is_shmfs): Function removed.
20876         (mountpoint, defaultmount, defaultdir, __namedsem_once):
20877         Variables removed.
20878         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
20879         Use SHM_GET_NAME.
20880         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
20882         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
20883         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
20884         unconditional for use inside libpthread.
20885         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
20887 2014-12-12  Roland McGrath  <roland@hack.frob.com>
20889         * nptl/pthread_getaffinity.c: New file.
20890         * nptl/pthread_setaffinity.c: New file.
20891         * nptl/pthread_getname.c: New file.
20892         * nptl/pthread_setname.c: New file.
20894         * nptl/pthread_create.c (START_THREAD_DEFN)
20895         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
20897 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20900         * resolv/res_send.c (send_vc): Disable warning resplen may
20901         be used uninitialized.
20903 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20905         * nptl/tst-mutex6.c
20906         (ATTR_NULL): New define checks ATTR against NULL.
20907         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
20908         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
20910 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
20912         [BZ #17581]
20913         * malloc/hooks.c
20914         (mem2mem_check): Revert my previous change.
20915         (malloc_check_get_size): Revert my previous change.
20916         (mem2chunk_check): Revert my previous change.
20918 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20920         * sysdeps/posix/shm-directory.c: New file.
20921         * sysdeps/posix/shm-directory.h: New file.
20922         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
20923         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
20924         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
20925         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
20926         Transmute EPERM to EACCES.
20927         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
20928         from ...
20929         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
20930         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
20932 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20934         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
20935         pointer and cast to uintptr_t.
20936         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
20937         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
20938         Add cast to avoid warning.
20939         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
20941 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20943         * nptl/semaphore.h: Move to ...
20944         * sysdeps/pthread/semaphore.h: ... here.
20945         * Makefile (installed-headers): Change nptl/semaphore.h to
20946         sysdeps/pthread/semaphore.h.
20948 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20950         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
20951         generated error format strings.
20953         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
20954         -Wformat-extra-args warnings for scanf formats.
20955         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
20956         test of zero-length format (duh).
20957         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
20958         corner-case scanf format test.
20959         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
20960         generated fprintf format string.
20961         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
20962         corner-case sprintf format tests.
20963         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
20964         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
20965         -Wformat-extra-args warnings throughout.
20966         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20967         (CFLAGS-scanf4.c): Likewise.
20968         (CFLAGS-scanf7.c): Likewise.
20969         (CFLAGS-tst-sprintf.c): Likewise.
20970         (CFLAGS-tst-printf.c): Likewise.
20971         (CFLAGS-tst-printfsz.c): Likewise.
20973 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
20975         * include/cpio.h: New file.
20976         * include/fmtmsg.h: Likewise.
20978         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
20979         corresponding format argument to size_t.
20980         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
20981         arguments.
20982         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
20983         corresponding format argument to size_t.
20984         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
20985         arguments.
20986         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
20987         corresponding format argument to size_t.
20988         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
20989         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
20990         (CFLAGS-tst-mbswcs2.c): Likewise.
20991         (CFLAGS-tst-mbswcs3.c): Likewise.
20992         (CFLAGS-tst-mbswcs4.c): Likewise.
20993         (CFLAGS-tst-mbswcs5.c): Likewise.
20994         (CFLAGS-tst-trans.c): Likewise.
20996 2014-12-11  Roland McGrath  <roland@hack.frob.com>
20998         * posix/regexbug1.c (main): Use "%s" format with regerror results,
20999         rather than assuming they won't contain any '%'s.
21001 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21003         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21004         inhibit_loop_to_libcall to avoid recursive calls.
21005         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21006         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21008 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21010         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21011         prototype.
21013 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21015         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21016         integer value instead of boolean.
21018 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21020         * malloc/malloc.c: Fix powerof2 check.
21022 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21024         * locale/programs/locfile.h (maybe_swap_uint32):
21025         Remove inline and add unused attribute.
21027 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21030         Truncating assembler expression to a .long expression.
21032 2014-12-11  Andreas Schwab  <schwab@suse.de>
21034         * elf/rtld.c (struct map_args): Constify str member.
21035         (do_preload): Constify fname argument.
21037 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21040         constants definition.
21042 2014-12-11  Andreas Schwab  <schwab@suse.de>
21044         [BZ #16657]
21045         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21046         FORCE_ELISION instead of DO_ELISION.
21047         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21048         Remove.
21049         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21050         Likewise.
21052         * iconvdata/gconv-modules: Remove duplicate entry.
21054 2014-12-11  Will Newton  <will.newton@linaro.org>
21056         Merge gettext 0.19.3 into intl/.
21058         This involves a number of cosmetic changes to comments
21059         and ANSI function definitions and prototypes throughout
21060         all the files. The gettext copyright header is used but
21061         with the date ranges taken from the glibc copy.
21063         * NEWS: Add gettext merge to 2.21.
21064         * intl/bindtextdom.c: Switch to gettext copyright.
21065         Use ANSI definitions and prototypes.
21066         Use gl_* locking primitives rather than __libc_* ones.
21067         Use __builtin_expect rather than __glibc_likely/unlikely.
21068         * intl/dcgettext.c: Switch to gettext copyright.
21069         Use ANSI definitions and prototypes.
21070         * intl/dcigettext.c: Switch to gettext copyright.
21071         Use ANSI definitions and prototypes.
21072         (INTDIV0_RAISES_SIGFPE): New define.
21073         Use gl_* locking primitives rather than __libc_* ones.
21074         Include eval-plural.h instead of plural-eval.c.
21075         Use __builtin_expect rather than __glibc_likely/unlikely.
21076         * intl/dcngettext.c: Switch to gettext copyright.
21077         Use ANSI definitions and prototypes.
21078         * intl/dgettext.c: Likewise.
21079         * intl/dngettext.c: Likewise.
21080         * intl/plural-eval.c: Renamed to...
21081         * intl/eval-plural.h: ...this.
21082         * intl/explodename.c: Switch to gettext copyright.
21083         Use ANSI definitions and prototypes.
21084         (_nl_explode_name): Use strchr instead of __rawmemchr.
21085         * intl/finddomain.c: Switch to gettext copyright.
21086         Use ANSI definitions and prototypes.
21087         Use gl_* locking primitives rather than __libc_* ones.
21088         (_nl_find_domain): Use malloc rather than alloca for
21089         allocation of temporary locale name.
21090         * intl/gettext.c: Switch to gettext copyright.
21091         Use ANSI definitions and prototypes.
21092         * intl/gettextP.h: Switch to gettext copyright.
21093         Use ANSI definitions and prototypes.
21094         Use gl_* locking primitives rather than __libc_* ones.
21095         * intl/gmo.h: Switch to gettext copyright.
21096         (struct sysdep_string): Move struct segment_pair outside of
21097         struct definition.
21098         * intl/hash-string.c: Use ANSI definitions and prototypes.
21099         * intl/hash-string.h: Switch to gettext copyright.
21100         Use ANSI definitions and prototypes.
21101         * intl/l10nflist.c: Switch to gettext copyright.
21102         Use ANSI definitions and prototypes.
21103         (_nl_normalize_codeset): Avoid integer overflow.
21104         * intl/loadinfo.h: Switch to gettext copyright.
21105         Use ANSI definitions and prototypes.
21106         (LIBINTL_DLL_EXPORTED): New define.
21107         (PATH_SEPARATOR): New define.
21108         * intl/loadmsgcat.c: Switch to gettext copyright.
21109         * intl/localealias.c: Switch to gettext copyright.
21110         Use ANSI definitions and prototypes.
21111         (_nl_expand_alias): Use PATH_SEPARATOR.
21112         * intl/ngettext.c: Switch to gettext copyright.
21113         Use ANSI definitions and prototypes.
21114         * intl/plural-exp.c: Likewise.
21115         * intl/plural-exp.h: Switch to gettext copyright.
21116         Use ANSI definitions and prototypes.
21117         (struct expression): Move definition of enum operator outside
21118         of struct definition.
21119         * intl/plural.c: Regenerate.
21120         * intl/plural.y: Switch to gettext copyright.
21121         Use ANSI definitions and prototypes.
21122         Port to bison 3.0.
21123         * intl/textdomain.c: Switch to gettext copyright.
21124         Use ANSI definitions and prototypes.
21125         Use gl_* locking primitives rather than __libc_* ones.
21127 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21129         * debug/warning-nop.c: Add used atrribute.
21131 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21133         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21135         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21136         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21137         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21139 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21140             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21142         [BZ #17634]
21143         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21144         Undefine after defining function.  Define as weak alias of
21145         __wcschr.  Use libc_hidden_weak.
21146         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21147         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21148         (libc_hidden_def): Also define __GI___wcschr alias.
21149         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21150         __wcschr and define as weak alias of __wcschr.
21151         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21152         __wcschr.
21153         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21154         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21155         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21156         libc_hidden_weak.  Do not use libc_hidden_def.
21157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21158         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21159         __GI___wcschr alias.
21160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21161         [IS_IN (libc)] (wcschr): Define as macro expanding to
21162         __redirect_wcschr.
21163         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21164         [IS_IN (libc)] (__wcschr_power6): Likewise.
21165         [IS_IN (libc)] (__wcschr_power7): Likewise.
21166         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21167         instead of wcschr.
21168         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21169         __libc_wcschr.
21170         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21171         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21172         __wcschr and define as weak alias of __wcschr.  Use
21173         libc_hidden_builtin_def.
21174         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21175         as weak alias of __wcschr.  Use libc_hidden_weak.
21176         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21177         wcschr.
21178         * time/era.c (_nl_init_era_entries): Likewise.
21179         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21180         variable.
21181         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21182         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21184 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21186         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21187         format for long int variable.
21189 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21191         [BZ #10672]
21192         * manual/search.texi: (Array Sort Function): Remove claim how to make
21193         qsort stable.
21195 2014-12-10  Andreas Schwab  <schwab@suse.de>
21197         [BZ #12847]
21198         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21199         user-controlled locks.
21201 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21203         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21204         register.
21206 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21208         * configure.ac (--disable-werror): New configure option.
21209         (enable_werror): New AC_SUBST.
21210         * configure: Regenerated.
21211         * config.make.in (enable-werror): New variable.
21212         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21213         -Wno-error=undef.
21214         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21215         * manual/install.texi (Configuring and compiling): Document
21216         --disable-werror.
21217         * INSTALL: Regenerated.
21218         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21219         (CFLAGS-tst-chk2.c): Likewise.
21220         (CFLAGS-tst-chk3.c): Likewise.
21221         (CFLAGS-tst-chk4.cc): Likewise.
21222         (CFLAGS-tst-chk5.cc): Likewise.
21223         (CFLAGS-tst-chk6.cc): Likewise.
21224         (CFLAGS-tst-lfschk1.c): Likewise.
21225         (CFLAGS-tst-lfschk2.c): Likewise.
21226         (CFLAGS-tst-lfschk3.c): Likewise.
21227         (CFLAGS-tst-lfschk4.cc): Likewise.
21228         (CFLAGS-tst-lfschk5.cc): Likewise.
21229         (CFLAGS-tst-lfschk6.cc): Likewise.
21231         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21232         (main): Disable -Wdeprecated-declarations around calls to
21233         register_printf_function.
21235         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21236         (do_test): Disable -Wdiv-by-zero around some calls to
21237         fwrite_unlocked and fread_unlocked.
21239         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21240         (DIAG_POP_NEEDS_COMMENT): Likewise.
21241         (_DIAG_STR1): Likewise.
21242         (_DIAG_STR): Likewise.
21243         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21244         * stdio-common/bug21.c: Include <libc-internal.h>.
21245         (do_test): Disable -Wformat around call to sscanf.
21246         * stdio-common/scanf14.c: Include <libc-internal.h>.
21247         (main): Disable -Wformat around some calls to scanf functions.
21249 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21251         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21253 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21255         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21256         stack variable alignment.
21258 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21260         [BZ #17682]
21261         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21262         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21263         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21264         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21265         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21266         __getrlimit instead of getrlimit.
21267         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21268         __gettimeofday instead of gettimeofday.
21269         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21270         Likewise.
21271         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21272         Likewise.
21273         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21274         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21275         Remove variable.
21276         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21277         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21279 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21281         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21282         for wide-character tests.
21284 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21286         * io/openat64.c: #include <libc-internal.h>
21287         (__openat64): Prototypify.  Use ignore_value on MODE.
21288         * io/openat.c: Likewise.
21289         * misc/reboot.c: #include <libc-internal.h>
21290         (reboot): Prototypify.  Use ignore_value on HOWTO.
21291         * misc/ptrace.c: #include <libc-internal.h>
21292         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21294 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21296         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21297         XPG4, UNIX98 and XOPEN2K.
21298         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21299         Remove variable.
21300         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21302 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21304         * libio/fileops.c: Use ISO C style for function definitions.
21305         * libio/iofopen.c: Likewise.
21306         * libio/wfileops.c: Likewise.
21308         [BZ #17653]
21309         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21310         offset on EOF.
21311         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21312         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21313         (fgets_func): Function pointer to fgets and fgetws.
21314         (do_ftell_test): Add test to verify ftell value after read
21315         EOF.
21316         (do_test): Set fgets_func.
21318         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21319         O_TRUNC flag for w and w+ modes.
21320         (do_rewind_test): Likewise.
21321         (do_ftell_test): Likewise.
21322         (do_write_test): Likewise.
21324         [BZ #17647]
21325         * libio/fileops.c (do_ftell): Seek only when there are
21326         unflushed writes.
21327         * libio/wfileops.c (do_ftell_wide): Likewise.
21328         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21329         test case.
21330         (do_one_test): Call it.
21332 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21334         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21335         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21336         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21337         Remove variable.
21338         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21339         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21340         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21342 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21344         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21345         Remove variable.
21346         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21348         [BZ #17668]
21349         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21350         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21351         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21352         __freeifaddrs.  Use libc_hidden_weak.
21353         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21354         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21355         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21356         __freeifaddrs.  Use libc_hidden_weak.
21357         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21358         __getifaddrs and define as weak alias of __getifaddrs.  Use
21359         libc_hidden_weak.
21360         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21361         __freeifaddrs.  Use libc_hidden_weak.
21362         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21363         Remove variable.
21364         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21365         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21367 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21369         [BZ #17601]
21370         * sysdeps/mips/start.S (__start): Use indirect jump to call
21371         __libc_start_main.
21373 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21375         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21377         * nptl/tst-mutex1.c: Include <stdbool.h>.
21378         [!ATTR] (ATTR_NULL): New macro.
21379         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21380         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21381         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21383         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21384         to char *.
21386         [BZ #17665]
21387         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21388         Change conditional to [__USE_MISC].
21390         [BZ #17664]
21391         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21392         fgets_unlocked.
21393         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21394         __fgets_unlocked.
21395         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21396         fgets_unlocked.
21397         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21398         Remove variable.
21399         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21400         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21401         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21402         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21403         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21404         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21405         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21406         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21407         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21409         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21411 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21413         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21414         Remove strpbrk objects.
21415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21416         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21417         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21418         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21419         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21420         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21423         Remove strcspn objects.
21424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21425         (__libc_ifunc_impl_list): Remove strcspn implementation.
21426         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21427         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21428         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21429         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21432         Remove strspn objetcs.
21433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21434         (__libc_ifunc_impl_list): Remove strspn implementation.
21435         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21436         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21437         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21438         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21440 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21442         [BZ #17581]
21443         * malloc/hooks.c
21444         (mem2mem_check): Add a terminator to the chain of checking blocks.
21445         (malloc_check_get_size): Use it here.
21446         (mem2chunk_check): Ditto.
21448 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21450         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21451         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21453 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21455         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21457         * nptl/nptl-init.c: Include libc-internal.h.
21458         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21460         * elf/ldconfig.c (search_dir): Expand comment.
21462 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21464         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21465         variable.
21466         (linknamespace-symlist-stdlibs-tests): Likewise.
21467         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21468         instead of $(objpfx)symlist-stdlibs.
21469         (linknamespace-libs-isoc): New variable.
21470         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21471         (linknamespace-libs-ISO): New variable.
21472         (linknamespace-libs-ISO99): Likewise.
21473         (linknamespace-libs-ISO11): Likewise.
21474         (linknamespace-libs-XPG3): Likewise.
21475         (linknamespace-libs-XPG4): Likewise.
21476         (linknamespace-libs-POSIX): Likewise.
21477         (linknamespace-libs-UNIX98): Likewise.
21478         (linknamespace-libs-XOPEN2K): Likewise.
21479         (linknamespace-libs-POSIX2008): Likewise.
21480         (linknamespace-libs-XOPEN2K8): Likewise.
21481         ($(objpfx)symlist-stdlibs): Replace by
21482         $(linknamespace-symlist-stdlibs-tests).  Use
21483         $(linknamespace-libs-$*) as set of libraries.
21484         ($(linknamespace-header-tests)): Update dependencies.  Use
21485         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21486         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21487         * conform/linknamespace.pl: Remove comment about considering
21488         definitions of symbols from irrelevant libraries.
21490 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21492         [BZ #13862]
21493         * elf/dl-tls.c: Include <atomic.h>.
21494         (oom): Remove #ifdef SHARED/#endif.
21495         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21496         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21497         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21498         big enough.
21499         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21500         * nptl/Makefile (tests): Add tst-stack4.
21501         (modules-names): Add tst-stack4mod.
21502         ($(objpfx)tst-stack4): New.
21503         (tst-stack4mod.sos): Likewise.
21504         ($(objpfx)tst-stack4.out): Likewise.
21505         ($(tst-stack4mod.sos)): Likewise.
21506         (clean): Likewise.
21507         * nptl/tst-stack4.c: New file.
21508         * nptl/tst-stack4mod.c: Likewise.
21510 2014-11-27  J. Brown  <jb999@gmx.de>
21512         * sysdeps/x86/bits/string.h: Add recent CPUs.
21514 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21516         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21517         sigblock.
21519         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21520         feof.
21522         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21523         variable.
21525 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21527         * nscd/connections.c: Include libc-internal.h because of macro
21528         usage ignore_value.
21530 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21532         * string/bits/string3.h (__warn_memset_zero_len): Don't
21533         declare for gcc newer than 5.0.
21534         (memset): Don't test for zero-length __LEN for gcc newer than
21535         5.0.
21537 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21539         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21540         size_t for %zu format.
21542         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21543         difference, not %ju.
21545 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21547         * include/libc-internal.h (ignore_value): New macro.
21548         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21549         with ignore_value.
21551         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21552         definition.
21554         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21555         pthread_cleanup_push to void *.
21557         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21558         Undefine.
21560         [BZ #16619]
21561         [BZ #16740]
21562         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21563         instead of 1L << 52.
21565         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21566         * libio/bug-rewind2.c (do_test): Likewise.
21568         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21569         * debug/test-strcpy_chk-ifunc.c: Likewise.
21570         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21571         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21572         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21573         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21574         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21575         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21576         * Rules [$(multi-arch) = no] (tests): Do not filter out
21577         $(tests-ifunc).
21578         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21579         * debug/Makefile (tests-ifunc): Remove variable.
21580         (tests): Do not add $(tests-ifunc).
21581         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21582         (tests): Do not add $(tests-ifunc).
21583         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21584         [TEST_IFUNC]: Remove conditionals.
21585         * string/test-string.h (TEST_IFUNC): Remove macro.
21586         [TEST_IFUNC]: Remove conditionals.
21588         * string/test-strchr.c [!WIDE] (L): New macro.
21589         [WIDE] (L): Likewise.
21590         (check1): Use CHAR instead of char.  Use L on string and character
21591         constants.
21593 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21595         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21596         tests.
21597         * sysdeps/powerpc/bits/atomic.h
21598         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21599         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21600         (atomic_exchange_and_add_acq): Likewise.
21601         (atomic_exchange_and_add_rel): Likewise.
21602         * sysdeps/powerpc/powerpc32/bits/atomic.h
21603         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21604         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21605         * sysdeps/powerpc/powerpc64/bits/atomic.h
21606         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21607         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21609 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21611         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21612         Change synchronization of __sched_fifo_min_prio and
21613         __sched_fifo_max_prio.
21614         * nptl/pthread_mutexattr_getprioceiling.c
21615         (pthread_mutexattr_getprioceiling): Likewise.
21616         * nptl/pthread_mutexattr_setprioceiling.c
21617         (pthread_mutexattr_setprioceiling): Likewise.
21618         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21619         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21620         Likewise.
21622 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21624         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21625         void.
21627 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21629         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21630         third argument const.
21632 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21634         fnmatch: work around GCC compiler warning bug with uninit var
21635         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21636         This works around a bug with x86-64 GCC 4.9.2 and earlier
21637         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21638         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21639         used uninitialized in this function [-Wmaybe-uninitialized]".
21641 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21643         * posix/bug-regex31.c (main): Return RES not 0.
21645 2014-11-25  Anton Blanchard <anton@samba.org>
21647         * sysdeps/powerpc/bits/atomic.h
21648         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21650 2014-11-24  Sterling Augustine  <saugustine@google.com>
21652         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21654 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21656         [BZ #17608]
21657         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21659 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21661         [BZ #17633]
21662         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21663         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21664         variable.
21665         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21666         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21668 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21670         * string/strncpy.c (strncpy): Improve performance by using memset.
21672 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21674         * string/strcpy.c (strcpy):
21675         Improve performance by using strlen and memcpy.
21677 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21679         * string/strcoll_l.c (get_next_seq): __always_inline.
21680         * string/strcoll_l.c (do_compare): __always_inline.
21682 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21684         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21685         defined.
21686         * include/mqueue.h: Likewise.
21687         * include/stdlib.h: Likewise.
21689         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21690         (get_null_defines): Adjust.
21691         * sunrpc/Makefile: Adjust comment.
21692         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21693         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21694         (CFLAGS-interp.c): Likewise.
21695         (CFLAGS-ldconfig.c): Likewise.
21696         (CPPFLAGS-.os): Likewise.
21697         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21698         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21699         * extra-modules.mk (extra-modules.mk): Likewise.
21700         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21701         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21702         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21703         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21704         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21705         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21706         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21707         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21708         * iconvdata/Makefile (CPPFLAGS): Likewise.
21709         (cpp-srcs-left): Add libof for all iconvdata routines.
21710         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21711         * include/assert.h: Likewise.
21712         * include/ctype.h: Likewise.
21713         * include/errno.h: Likewise.
21714         * include/libc-symbols.h: Likewise.
21715         * include/math.h: Likewise.
21716         * include/netdb.h: Likewise.
21717         * include/resolv.h: Likewise.
21718         * include/stdio.h: Likewise.
21719         * include/stdlib.h: Likewise.
21720         * include/string.h: Likewise.
21721         * include/sys/stat.h: Likewise.
21722         * include/wctype.h: Likewise.
21723         * intl/l10nflist.c: Likewise.
21724         * libidn/idn-stub.c: Likewise.
21725         * libio/libioP.h: Likewise.
21726         * nptl/libc_multiple_threads.c: Likewise.
21727         * nptl/pthreadP.h: Likewise.
21728         * posix/regex_internal.h: Likewise.
21729         * resolv/res_hconf.c: Likewise.
21730         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21731         * sysdeps/arm/memmove.S: Likewise.
21732         * sysdeps/arm/sysdep.h: Likewise.
21733         * sysdeps/generic/_itoa.h: Likewise.
21734         * sysdeps/generic/symbol-hacks.h: Likewise.
21735         * sysdeps/gnu/errlist.awk: Likewise.
21736         * sysdeps/gnu/errlist.c: Likewise.
21737         * sysdeps/i386/i586/memcpy.S: Likewise.
21738         * sysdeps/i386/i586/memset.S: Likewise.
21739         * sysdeps/i386/i686/memcpy.S: Likewise.
21740         * sysdeps/i386/i686/memmove.S: Likewise.
21741         * sysdeps/i386/i686/mempcpy.S: Likewise.
21742         * sysdeps/i386/i686/memset.S: Likewise.
21743         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21744         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21745         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21746         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21747         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21748         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21749         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21750         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21751         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21752         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21753         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21754         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21755         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21756         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21757         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21758         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21759         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21760         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21761         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21762         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21763         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21764         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21765         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21766         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21767         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21768         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21769         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21770         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21772         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21773         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21774         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21776         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21777         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21778         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21779         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21780         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21781         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21782         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21783         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21784         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21785         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21786         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21787         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21788         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21789         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21790         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21791         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21792         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21793         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21794         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21795         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21796         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21797         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21798         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21799         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21800         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21801         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21802         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21803         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21804         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21805         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21806         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21807         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21808         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21809         * sysdeps/posix/closedir.c: Likewise.
21810         * sysdeps/posix/opendir.c: Likewise.
21811         * sysdeps/posix/readdir.c: Likewise.
21812         * sysdeps/posix/rewinddir.c: Likewise.
21813         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21814         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21815         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21816         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21817         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21818         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21819         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21824         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21825         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21826         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21827         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21828         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21829         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21830         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21832         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21833         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21834         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
21835         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
21836         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
21837         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
21838         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
21839         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
21840         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
21841         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
21842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
21843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
21844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
21845         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
21846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
21847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
21848         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
21849         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21850         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21851         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
21852         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
21853         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
21854         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
21855         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
21856         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21857         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21858         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
21859         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
21860         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
21861         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
21862         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
21863         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
21864         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
21865         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21866         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
21867         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
21868         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
21869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
21870         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
21871         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
21872         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
21873         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21874         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
21875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21876         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
21877         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
21878         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21879         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
21880         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
21881         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
21882         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
21883         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21884         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
21885         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
21886         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
21887         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
21888         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
21889         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
21890         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
21891         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21892         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
21893         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
21894         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21895         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
21896         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
21897         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21898         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
21899         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
21900         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21901         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21902         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21903         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
21904         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
21905         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
21906         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21907         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21908         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
21909         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21911         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
21912         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
21913         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21914         * sysdeps/unix/alpha/sysdep.S: Likewise.
21915         * sysdeps/unix/alpha/sysdep.h: Likewise.
21916         * sysdeps/unix/make-syscalls.sh: Likewise.
21917         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
21918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21919         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
21920         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
21921         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
21922         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21923         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
21924         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21925         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
21926         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
21927         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21928         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
21929         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21930         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
21931         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
21932         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21933         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21934         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
21935         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
21936         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
21937         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21938         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21939         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
21940         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
21941         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
21942         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
21943         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
21945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
21946         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
21947         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
21949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21951         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
21953         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21955         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21956         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21957         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21958         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
21959         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21960         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21961         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21962         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
21963         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21964         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21965         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
21966         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21967         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21968         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
21969         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21970         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
21971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
21972         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21973         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
21974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21975         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
21976         * sysdeps/x86_64/memcpy.S: Likewise.
21977         * sysdeps/x86_64/memmove.c: Likewise.
21978         * sysdeps/x86_64/memset.S: Likewise.
21979         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
21980         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21981         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21982         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
21983         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
21984         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21985         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21986         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21987         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21988         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21989         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21990         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21991         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
21992         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21993         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21994         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
21995         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21996         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21997         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21998         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21999         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22000         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22002         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22003         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22004         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22005         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22006         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22007         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22008         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22009         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22010         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22011         * sysdeps/x86_64/strcmp.S: Likewise.
22013         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22015         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22016         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22017         * elf/rtld-Rules: Likewise.
22018         * elf/setup-vdso.h: Likewise.
22019         * include/assert.h: Likewise.
22020         * include/bits/stdlib-float.h: Likewise.
22021         * include/errno.h: Likewise.
22022         * include/sys/stat.h: Likewise.
22023         * include/unistd.h: Likewise.
22024         * sysdeps/aarch64/setjmp.S: Likewise.
22025         * sysdeps/alpha/setjmp.S: Likewise.
22026         * sysdeps/arm/__longjmp.S: Likewise.
22027         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22028         * sysdeps/arm/setjmp.S: Likewise.
22029         * sysdeps/arm/sysdep.h: Likewise.
22030         * sysdeps/generic/_itoa.h: Likewise.
22031         * sysdeps/generic/dl-sysdep.h: Likewise.
22032         * sysdeps/generic/ldsodefs.h: Likewise.
22033         * sysdeps/i386/dl-tls.h: Likewise.
22034         * sysdeps/i386/setjmp.S: Likewise.
22035         * sysdeps/m68k/setjmp.c: Likewise.
22036         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22037         * sysdeps/mach/hurd/opendir.c: Likewise.
22038         * sysdeps/posix/getcwd.c: Likewise.
22039         * sysdeps/posix/opendir.c: Likewise.
22040         * sysdeps/posix/profil.c: Likewise.
22041         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22042         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22043         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22044         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22045         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22046         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22047         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22048         * sysdeps/s390/dl-tls.h: Likewise.
22049         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22050         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22051         * sysdeps/sh/sh3/setjmp.S: Likewise.
22052         * sysdeps/sh/sh4/setjmp.S: Likewise.
22053         * sysdeps/unix/alpha/sysdep.h: Likewise.
22054         * sysdeps/unix/arm/sysdep.S: Likewise.
22055         * sysdeps/unix/i386/sysdep.S: Likewise.
22056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22057         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22058         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22060         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22061         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22062         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22063         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22064         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22065         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22066         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22067         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22068         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22071         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22072         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22073         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22074         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22075         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22076         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22078         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22079         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22080         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22081         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22083         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22084         * sysdeps/x86_64/setjmp.S: Likewise.
22086         * include/math.h: Use IS_IN instead of IS_IN_libm.
22087         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22088         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22089         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22090         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22091         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22092         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22093         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22094         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22096         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22097         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22098         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22099         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22100         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22101         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22102         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22103         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22104         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22105         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22106         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22107         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22108         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22109         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22110         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22111         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22112         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22113         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22114         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22115         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22116         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22117         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22118         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22119         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22121         Likewise.
22122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22123         Likewise.
22124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22125         Likewise.
22126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22127         Likewise.
22128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22129         Likewise.
22130         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22131         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22132         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22133         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22134         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22135         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22141         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22142         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22143         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22144         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22145         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22146         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22147         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22148         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22149         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22150         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22151         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22152         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22154         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22156         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22158         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22159         * nptl/pthreadP.h: Likewise.
22160         * nptl_db/structs.def: Likewise.
22161         * sysdeps/arm/sysdep.h: Likewise.
22162         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22163         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22164         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22165         * sysdeps/unix/alpha/sysdep.h: Likewise.
22166         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22168         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22169         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22170         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22171         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22172         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22173         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22174         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22175         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22176         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22177         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22178         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22179         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22182         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22183         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22184         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22185         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22186         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22187         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22188         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22189         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22190         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22191         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22193         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22194         * nptl/pthreadP.h: Likewise.
22195         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22196         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22197         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22198         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22199         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22200         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22201         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22202         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22203         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22204         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22205         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22206         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22208         Likewise.
22209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22210         Likewise.
22211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22213         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22216         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22217         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22218         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22220         * dlfcn/dladdr.c: Use IS_IN.
22221         * dlfcn/dladdr1.c: Likewise.
22222         * dlfcn/dlclose.c: Likewise.
22223         * dlfcn/dlerror.c: Likewise.
22224         * dlfcn/dlinfo.c: Likewise.
22225         * dlfcn/dlmopen.c: Likewise.
22226         * dlfcn/dlopen.c: Likewise.
22227         * dlfcn/dlsym.c: Likewise.
22228         * dlfcn/dlvsym.c: Likewise.
22230         * include/ifaddrs.h: Use IS_IN.
22231         * inet/check_pf.c: Likewise.
22232         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22233         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22235         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22236         IS_IN_ldconfig.
22237         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22238         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22240         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22241         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22242         IS_IN (libc).
22244         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22246         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22247         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22248         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22249         * include/libc-symbols.h (IS_IN_LIB): New macro.
22250         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22251         * include/netdb.h: Likewise.
22252         * include/stap-probe.h: Remove all uses of IN_LIB.
22254         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22255         instead of IN_MODULE.
22256         * include/libc-symbols.h (IN_MODULE): Define using
22257         MODULE_NAME.
22258         (PASTE_NAME, PASTE_NAME1): New macros.
22259         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22260         of IN_LIB.
22261         (STAP_PROBE_ASM): Likewise.
22263 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22265         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22266         __mach_init in dlopened libc.
22268 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22270         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22271         * sysdeps/arm/preconfigure: Regenerate.
22273 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22275         * nptl/pthread_create.c (__pthread_create_2_1): Set
22276         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22277         when copying values from IATTR into PD.
22279 2014-11-21  Will Newton  <will.newton@linaro.org>
22280             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22282         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22283         Refactor inline-asm.  Also add comment.
22285         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22286         ElfW macro instead of hardcoded Elf64 types.
22287         (la_aarch64_gnu_pltenter): Likewise.
22288         * sysdeps/aarch64/dl-machine.h
22289         (elf_machine_runtime_setup): Use ElfW(Addr).
22291         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22292         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22293         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22294         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22295         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22296         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22297         (R_AARCH64_TLS_DTPMOD): This.
22298         (R_AARCH64_TLS_DTPREL64): Rename to ...
22299         (R_AARCH64_TLS_DTPREL): This.
22300         (R_AARCH64_TLS_TPREL64): Rename to ...
22301         (R_AARCH64_TLS_TPREL): This.
22302         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22303         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22304         R_AARCH64_TLS_TPREL64.
22305         (elf_machine_rela): Likewise.
22307 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22309         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22310         by setting it to 0.  64b atomics are not supported currently.
22312 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22314         [BZ #16469]
22315         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22316         search domain names.
22318 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22320         [BZ #16469]
22321         * NEWS: Update.
22322         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22323         trailing dot.
22324         * posix/tst-getaddrinfo5.c: New.
22325         * posix/Makefile (tests): Add it.
22327 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22329         [BZ #14498]
22330         * NEWS: Fixed.
22331         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22332         after parsing line but before break_if_match.
22333         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22334         if there is a protocol mismatch.
22336 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22338         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22339         because the potential race is on the user-supplied stream.
22341 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22343         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22344         string literal if not passed a buffer.
22345         * manual/job.texi (ctermid): Update reasoning, note deviation
22346         from posix, suggest mtasurace when not passed a buffer, for
22347         future non-preliminary safety notes.
22349 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22351         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22352         of not passing it a buffer.
22353         Reported by Peng Haitao.
22355 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22357         * manual/Makefile ($(objpfx)stamp-summary): Require
22358         check-safety.sh to pass.
22359         * manual/check-safety.sh: Wish for verification that every
22360         @deftypefn and @deftypefun is followed by a @safety remark.
22362 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22364         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22366         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22367         PTHREAD_CANCEL_ASYNCHRONOUS.
22368         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22369         send SIGCANCEL.
22371         * nptl/default-sched.h: New file.
22372         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22373         * nptl/pthread_create.c: Include it.
22374         (__pthread_create_2_1): Use collect_default_sched instead of making
22375         Linux syscalls here directly.
22377 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22379         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22380         __pthread_once): Use C11 atomics.
22382 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22384         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22386 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22388         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22389         atomic_thread_fence_acquire, atomic_thread_fence_release,
22390         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22391         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22392         atomic_compare_exchange_weak_relaxed,
22393         atomic_compare_exchange_weak_acquire,
22394         atomic_compare_exchange_weak_release,
22395         atomic_exchange_acquire, atomic_exchange_release,
22396         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22397         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22398         atomic_fetch_and_acquire,
22399         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22401 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22403         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22404         USE_ATOMIC_COMPILER_BUILTINS): Define.
22405         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22406         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22407         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22408         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22409         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22410         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22411         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22412         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22413         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22414         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22415         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22416         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22417         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22418         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22419         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22421         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22423         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22425         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22427         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22429         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22431         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22433         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22435         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22437         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22439         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22440         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22441         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22443         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22446 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22448         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22449         the sched_priority value here.  It was already checked when the user
22450         called pthread_attr_setschedparam.
22452         * nptl/tst-bad-schedattr.c: New file.
22453         * nptl/Makefile (tests): Add it.
22455 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22456             Florian Weimer  <fweimer@redhat.com>
22457             Joseph Myers  <joseph@codesourcery.com>
22458             Adam Conrad  <adconrad@0c3.net>
22459             Andreas Schwab  <schwab@suse.de>
22460             Brooks  <bmoses@google.com>
22462         [BZ #17625]
22463         * wordexp-test.c (__dso_handle): Add prototype.
22464         (__register_atfork): Likewise.
22465         (__app_register_atfork): New function.
22466         (registered_forks): New global.
22467         (register_fork): New function.
22468         (test_case): Add 3 new tests for WRDE_CMDSUB.
22469         (main): Call __app_register_atfork.
22470         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22471         fork count is non-zero fail the test.
22472         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22473         is set.
22474         (parse_dollars): Remove check for WRDE_NOCMD.
22475         (parse_dquote): Likewise.
22477 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22479         * Makeconfig (built-modules): List non-library modules to be
22480         built.
22481         (module-cppflags): Include libc-modules.h for
22482         everything except shlib-versions.v.i.
22483         (CPPFLAGS): Use it.
22484         (before-compile): Add libc-modules.h.
22485         ($(common-objpfx)libc-modules.h,
22486         $(common-objpfx)libc-modules.stmp): New targets.
22487         (common-generated): Add libc-modules.h and libc-modules.stmp.
22488         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22489         * include/libc-symbols.h: Don't include libc-modules.h.
22490         * include/libc-modules.h: Remove file.
22491         * scripts/gen-libc-modules.awk: New script to generate
22492         libc-modules.h.
22493         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22494         Depend on libc-modules.stmp.
22496         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22498         * Makeconfig (in-module): Get value of libof set for the
22499         translation unit.
22500         (CPPFLAGS): Use $(in-module).
22501         * Makerules: Don't suffix routine names for nonlib.
22502         * include/libc-modules.h: New file.
22503         * include/libc-symbols.h: Include libc-modules.h
22504         (IS_IN): New macro to replace IS_IN_* macros.
22505         * elf/Makefile: Set libof-* for each routine.
22506         * elf/rtld-Rules: Likewise.
22507         * extra-modules.mk: Likewise.
22508         * iconv/Makefile: Likewise.
22509         * iconvdata/Makefile: Likewise.
22510         * locale/Makefile: Likewise.
22511         * malloc/Makefile: Likewise.
22512         * nss/Makefile: Likewise.
22513         * sysdeps/gnu/Makefile: Likewise.
22514         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22515         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22516         * sysdeps/s390/s390-64/Makefile: Likewise.
22517         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22518         CPPFLAGS for nscd instead of nonlib.
22520 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22522         * nptl/createthread.c: New file.
22524         * nptl/createthread.c: Moved ...
22525         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22527         * nptl/createthread.c: Add proper top-line comment.
22528         (do_clone): Folded into ...
22529         (create_thread): ... here.  Take new arguments STOPPED_START and
22530         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22531         increment __nptl_threads, do event-reporting logic, do
22532         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22533         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22534         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22535         just send SIGCANCEL.
22536         * nptl/pthread_create.c: Forward-declare create_thread before
22537         including createthread.c.
22538         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22539         declaration, and new macro START_THREAD_SELF to replace argument.
22540         Remove return statement.
22541         (report_thread_creation): New function.
22542         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22543         synchronization logic, and __nptl_nthreads increment here, around
22544         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22545         PD->parent_cancelhandling here, before create_thread.  When
22546         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22547         __deallocate_stack, and ENOMEM translation here.
22549 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22551         [BZ #17616]
22552         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22553         (mptwo): Rename to __mptwo.
22554         (__inv): Use __mptwo instead of mptwo.
22555         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22556         (mptwo): Rename to __mptwo.
22557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22558         of mpone and __mptwo instead of mptwo.
22559         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22560         instead of mpone.
22561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22562         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22563         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22564         of mpone and __mptwo instead of mptwo.
22565         (__mpranred): Use __mpone instead of mpone.
22566         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22567         variable.
22568         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22569         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22570         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22571         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22572         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22573         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22574         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22575         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22576         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22577         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22578         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22579         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22580         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22581         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22582         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22583         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22584         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22585         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22586         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22588 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22590         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22591         replace BSD Handler xref with BSD Signal Handling.
22593 2014-11-17  Richard Henderson  <rth@redhat.com>
22595         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22596         (_FP_PACK_RAW_2): Remove.
22597         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22598         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22599         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22600         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22601         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22602         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22603         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22604         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22605         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22606         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22607         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22608         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22609         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22610         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22611         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22612         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22614 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22616         * signal/signal.h [__USE_MISC]
22617         (struct sigvec): Remove type.
22618         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22619         (sigvec): Remove declaration.
22620         * sysdeps/posix/sigvec.c: Moved ...
22621         * signal/sigvec.c: ... here, replacing old file.
22622         (struct sigvec): New type, copied from old signal.h definition.
22623         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22624         (__sigvec): Convert definition to prototype.
22625         (sigvec): Replace weak_alias with compat_symbol.
22626         * signal/Versions (libc: GLIBC_2.21): New version set.
22627         * include/signal.h: Remove __sigvec declaration.
22628         * sysdeps/unix/bsd/sigvec.c: Remove file.
22629         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22630         * manual/signal.texi (BSD Handler): Remove subsection.
22631         Move siginterrupt up to ...
22632         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22633         (Blocking in BSD): Fold subsection into its parent.
22634         * NEWS: Mention sigvec removal.
22636 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22638         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22639         (DLA_FMS): Make definition conditional only on [__FMA4__].
22640         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22641         definition.
22643         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22644         Make definition conditional only on [PROF].
22645         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22646         definition.
22647         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22648         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22650         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22651         !__GNUC__].
22652         * include/signal.h (__sigpause): Move declaration above call to
22653         libc_hidden_proto.
22654         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22655         variable.
22656         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22657         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22659 2014-11-14  David S. Miller  <davem@davemloft.net>
22661         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22662         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22664 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22666         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22667         * configure: Regenerated.
22668         * manual/install.texi (Tools for Compilation): Document a
22669         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22670         compiler verified to work.
22671         * INSTALL: Regenerated.
22673         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22674         redeclare with asm name.
22675         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22676         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22677         including <string.h>.
22678         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22679         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22680         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22681         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22682         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22684         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22686 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22688         * stdlib/strtol.c (__strtol): Use prototype definition.
22690         [BZ #17594]
22691         * stdlib/strtol.c (SYM__): New macro.
22692         (SYM__1): Likewise.
22693         (__strtol): Likewise.
22694         (strtol): Rename to __strtol and define as weak alias of
22695         __strtol.  Use libc_hidden_weak.
22697 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22699         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22700         Use numbered labels in inline assembly.
22702 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22704         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22705         Add setjmp LIBC_PROBE.
22706         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22707         Likewise.
22708         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22709         Add longjmp, longjmp_target LIBC_PROBE.
22710         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22711         Likewise.
22713 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22715         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22716         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22717         to get rid of unused variable warning.
22719 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22721         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22722         Check for unwind_backtrace ==  NULL only in SHARED case.
22723         (__backchain_backtrace): Compile only in SHARED case.
22724         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22725         Likewise.
22726         (__backchain_backtrace): Declare as static.
22728 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22730         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22731         (__libc_multiple_threads_ptr): Variable moved ...
22732         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22734 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22736         * conform/GlibcConform.pm: New file.
22737         * conform/conformtest.pl: Use GlibcConform module.
22738         * conform/linknamespace.pl: New file.
22739         * conform/list-header-symbols.pl: Likewise.
22740         * conform/Makefile (linknamespace-symlists-base): New variable.
22741         (linknamespace-symlists-tests): Likewise.
22742         (linknamespace-header-base): Likewise.
22743         (linknamespace-header-tests): Likewise.
22744         (tests-special): Add new tests.
22745         ($(linknamespace-symlists-tests)): New rule.
22746         (linknamespace-libs): New variable.
22747         ($(objpfx)symlist-stdlibs): New rule.
22748         ($(linknamespace-header-tests)): Likewise.
22749         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22750         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22751         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22752         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22753         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22754         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22755         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22756         (test-xfail-ISO/math.h/linknamespace): Likewise.
22757         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22758         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22759         (test-xfail-ISO/time.h/linknamespace): Likewise.
22760         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22761         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22762         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22763         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22764         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22765         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22766         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22767         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22768         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22769         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22770         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22771         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22772         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22773         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22774         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22775         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22776         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22777         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22778         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22779         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22780         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22781         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22782         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22783         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22784         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22785         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22786         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22787         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22788         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22789         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22790         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22791         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22792         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22793         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22794         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22795         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22796         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22797         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22798         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22799         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22800         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22801         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22802         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22803         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22804         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22805         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22806         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22807         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22808         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22809         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22810         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22811         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22812         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22813         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22814         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22815         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22816         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22817         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22818         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22819         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22820         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22821         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22822         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22823         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22824         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22825         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22826         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22827         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22828         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22829         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22830         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22831         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22832         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22833         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22834         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22835         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22836         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
22837         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
22838         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22839         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
22840         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22841         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
22842         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22843         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22844         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22845         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
22846         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22847         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22848         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22849         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
22850         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
22851         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
22852         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22853         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22854         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22855         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22856         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
22857         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
22858         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22859         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22860         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22861         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22862         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22863         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22864         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22865         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22866         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22867         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22868         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
22869         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22870         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22871         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
22872         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22873         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22874         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22875         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22876         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22877         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22878         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22879         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22880         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22881         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22882         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22883         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22884         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22885         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22886         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
22887         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22888         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22889         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22890         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22891         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22892         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
22893         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22894         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22895         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22896         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22897         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22898         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22899         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22900         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22901         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22902         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22903         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22904         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22905         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22906         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
22907         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22908         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22909         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22911         [BZ #17589]
22912         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
22913         of fgets_unlocked.
22915         [BZ #17585]
22916         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
22917         (memmem): Rename to __memmem and define as weak alias of
22918         __memmem.  Use libc_hidden_weak.
22919         (__memmem): Use libc_hidden_def.
22920         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
22921         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
22922         memmem.
22924         [BZ #17582]
22925         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
22926         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
22927         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
22928         and define as weak alias of __fgets_unlocked.  Use
22929         libc_hidden_weak.
22930         (__fgets_unlocked): Use libc_hidden_def.
22931         * include/stdio.h (__fgets_unlocked): Declare.  Use
22932         libc_hidden_proto.
22933         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
22934         __fgets_unlocked instead of fgets_unlocked.
22935         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
22936         (GET_NPROCS_CONF_PARSER): Likewise.
22937         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
22938         (GET_NPROCS_CONF_PARSER): Likewise.
22940         [BZ #17574]
22941         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
22942         weak alias of __wmemset.  Use libc_hidden_weak.
22943         (__wmemset): Use libc_hidden_def.
22944         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
22945         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
22946         of wmemset.
22948         [BZ #17573]
22949         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
22950         with asm name __mempcpy.
22951         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
22953         [BZ #17572]
22954         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
22955         and define as weak alias of __rawmemchr.
22956         (__rawmemchr): Do not define as strong alias of rawmemchr.
22958         [BZ #17571]
22959         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
22960         alias of __qsort_r.
22961         (qsort): Call __qsort_r instead of qsort_r.
22962         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
22963         (__qsort_r): Declare.  Call libc_hidden_proto.
22964         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
22965         instead of qsort_r.
22966         * nscd/gai.c (__qsort_r): Define to qsort_r.
22967         * posix/tst-rfc3484.c (__qsort_r): Likewise.
22968         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
22969         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
22971         [BZ #17570]
22972         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
22973         define as weak alias of __malloc_info.
22975         [BZ #17584]
22976         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
22977         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22978         (__rewinddir): Use libc_hidden_def.
22979         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
22980         as weak alias of __rewinddir.  Don't use libc_hidden_def.
22981         (__rewinddir): Use libc_hidden_def.
22982         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
22983         weak alias of __rewinddir.  Don't use libc_hidden_def.
22984         (__rewinddir): Use libc_hidden_def.
22985         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
22986         (__rewinddir): Use libc_hidden_proto.
22987         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
22988         rewinddir.
22989         (__getcwd): Use __rewinddir instead of rewinddir.
22991         [BZ #17583]
22992         * libio/fileno.c (fileno): Rename to __fileno and define as weak
22993         alias of __fileno.  Use libc_hidden_weak.
22994         (__fileno): Use libc_hidden_def.
22995         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
22996         * libio/ftello.c (ftello): Rename to __ftello and define as weak
22997         alias of __ftello.
22998         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
22999         __ftello.
23000         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23001         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23002         libc_hidden_def.
23003         (fread_unlocked): Don't use libc_hidden_ver.
23004         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23005         and define as weak alias of __fread_unlocked.  Don't use
23006         libc_hidden_def.
23007         (__fread_unlocked): Use libc_hidden_def.
23008         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23009         (ftello): Don't use libc_hidden_proto.
23010         (__ftello): Declare.  Use libc_hidden_proto.
23011         (fread_unlocked): Don't use libc_hidden_proto.
23012         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23013         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23014         and __ftello instead of fileno, fread_unlocked and ftello.
23016 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23018         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23019         GOT12.
23020         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23021         Likewise.
23022         (_dl_start_user): Likewise.
23023         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23025 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23026             Siddhesh Poyarekar  <siddhesh@redhat.com>
23028         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23029         Move argv and envp down instead of moving argc up.
23030         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23032 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23034         [BZ #17506]
23035         * test-skeleton.c (main): Return successful if one of
23036         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23037         * string/tst-strcoll-overflow.c: Define expected status.
23039 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23041         [BZ #17475]
23042         * locale/iso-639.def: Define Bhili and Tulu language codes.
23044 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23046         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23048 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23050         [BZ #17555]
23051         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23053 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23055         * configure.ac: Updated check of minimal required version to
23056         2.22.
23057         * manual/install.texi (Tools for Compilation): Updated version
23058         number.
23059         * configure: Regenerated.
23060         * INSTALL: Likewise.
23062 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23064         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23065         __tls_get_addr.
23067 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23069         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23070         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23071         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23072         libc_hidden_weak.
23073         (waitpid): Define as alias of __waitpid.
23074         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23075         __waitpid.
23076         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23077         libc_hidden_weak.
23078         (waitpid): Define as alias of __waitpid.
23079         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23080         __libc_waitpid alias.
23081         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23082         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23083         Likewise.
23084         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23085         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23086         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23087         alias.
23088         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23089         __waitpid.
23090         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23091         libc_hidden_weak.
23092         (waitpid): Define as alias of __waitpid.
23094 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23096         * manual/llio.texi: Add comment that write safety has been
23097         fixed in Linux.
23099         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23100         (localplt-build-dso): Add elf/ld.so.
23101         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23102         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23103         and free for ld.so.
23104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23105         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23107         Likewise.
23108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23111         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23112         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23113         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23114         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23115         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23116         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23117         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23118         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23119         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23120         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23122 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23124         [BZ #14132]
23125         * include/libc-symbols.h (INTUSE): Remove macro.
23126         (INTDEF): Likewise.
23127         (INTVARDEF): Likewise.
23128         (_INTVARDEF): Likewise.
23129         (INTDEF2): Likewise.
23130         (INTVARDEF2): Likewise.
23131         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23132         rtld_hidden_def instead of INTVARDEF.
23133         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23134         (_dl_starting_up_internal): Remove declaration.
23135         (_dl_starting_up): Use rtld_hidden_proto.
23136         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23137         declaration.
23138         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23139         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23140         _dl_starting_up.
23141         * elf/dl-writev.h (_dl_writev): Likewise.
23142         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23143         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23144         _dl_starting_up_internal.
23146 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23148         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23149         test-skeleton.c.
23151 2014-11-05  Will Newton  <will.newton@linaro.org>
23153         * benchtests/Makefile: (bench-malloc): Add malloc thread
23154         scalability benchmark.
23155         * benchtests/bench-malloc-threads.c: New file.
23157 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23159         * sysdeps/aarch64/strchrnul.S: New file.
23161 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23163         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23164         definition.
23165         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23166         Likwise.
23167         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23168         Likewise.
23169         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23170         Likewise.
23171         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23172         Likewise.
23173         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23174         Likewise.
23176 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23178         * catgets/test-gencat.c: Use test-skeleton.c.
23179         * catgets/tst-catgets.c: Likewise.
23180         * csu/tst-empty.c: Likewise.
23181         * elf/tst-audit2.c: Likewise.
23182         * elf/tst-global1.c: Likewise.
23183         * elf/tst-pathopt.c: Likewise.
23184         * elf/tst-piemod1.c: Likewise.
23185         * elf/tst-tls10.c: Likewise.
23186         * elf/tst-tls11.c: Likewise.
23187         * elf/tst-tls12.c: Likewise.
23188         * gnulib/tst-gcc.c: Likewise.
23189         * iconvdata/tst-e2big.c: Likewise.
23190         * iconvdata/tst-loading.c: Likewise.
23191         * iconv/tst-iconv1.c: Likewise.
23192         * iconv/tst-iconv2.c: Likewise.
23193         * inet/test-inet6_opt.c: Likewise.
23194         * inet/tst-gethnm.c: Likewise.
23195         * inet/tst-network.c: Likewise.
23196         * inet/tst-ntoa.c: Likewise.
23197         * intl/tst-codeset.c: Likewise.
23198         * intl/tst-gettext2.c: Likewise.
23199         * intl/tst-gettext3.c: Likewise.
23200         * intl/tst-ngettext.c: Likewise.
23201         * intl/tst-translit.c: Likewise.
23202         * io/test-stat.c: Likewise.
23203         * libio/test-fmemopen.c: Likewise.
23204         * libio/tst-freopen.c: Likewise.
23205         * libio/tst-sscanf.c: Likewise.
23206         * libio/tst-ungetwc1.c: Likewise.
23207         * libio/tst-ungetwc2.c: Likewise.
23208         * libio/tst-widetext.c: Likewise.
23209         * localedata/tst-ctype.c: Likewise.
23210         * localedata/tst-digits.c: Likewise.
23211         * localedata/tst-leaks.c: Likewise.
23212         * localedata/tst-mbswcs1.c: Likewise.
23213         * localedata/tst-mbswcs2.c: Likewise.
23214         * localedata/tst-mbswcs3.c: Likewise.
23215         * localedata/tst-mbswcs4.c: Likewise.
23216         * localedata/tst-mbswcs5.c: Likewise.
23217         * localedata/tst-setlocale.c: Likewise.
23218         * localedata/tst-trans.c: Likewise.
23219         * localedata/tst-wctype.c: Likewise.
23220         * localedata/tst-xlocale1.c: Likewise.
23221         * login/tst-grantpt.c: Likewise.
23222         * malloc/tst-calloc.c: Likewise.
23223         * malloc/tst-malloc.c: Likewise.
23224         * malloc/tst-mallocstate.c: Likewise.
23225         * malloc/tst-mcheck.c: Likewise.
23226         * malloc/tst-mtrace.c: Likewise.
23227         * malloc/tst-obstack.c: Likewise.
23228         * math/atest-exp2.c: Likewise.
23229         * math/atest-exp.c: Likewise.
23230         * math/atest-sincos.c: Likewise.
23231         * math/test-matherr.c: Likewise.
23232         * math/test-misc.c: Likewise.
23233         * math/test-powl.c: Likewise.
23234         * math/tst-definitions.c: Likewise.
23235         * misc/tst-dirname.c: Likewise.
23236         * misc/tst-efgcvt.c: Likewise.
23237         * misc/tst-fdset.c: Likewise.
23238         * misc/tst-hsearch.c: Likewise.
23239         * misc/tst-mntent2.c: Likewise.
23240         * nptl/tst-sem7.c: Likewise.
23241         * nptl/tst-sem8.c: Likewise.
23242         * nptl/tst-sem9.c: Likewise.
23243         * nss/test-netdb.c: Likewise.
23244         * posix/tst-fnmatch.c: Likewise.
23245         * posix/tst-getlogin.c: Likewise.
23246         * posix/tst-gnuglob.c: Likewise.
23247         * posix/tst-mmap.c: Likewise.
23248         * pwd/tst-getpw.c: Likewise.
23249         * resolv/tst-inet_ntop.c: Likewise.
23250         * rt/tst-timer.c: Likewise.
23251         * stdio-common/test-fseek.c: Likewise.
23252         * stdio-common/test-popen.c: Likewise.
23253         * stdio-common/test-vfprintf.c: Likewise.
23254         * stdio-common/tst-cookie.c: Likewise.
23255         * stdio-common/tst-fileno.c: Likewise.
23256         * stdio-common/tst-gets.c: Likewise.
23257         * stdio-common/tst-obprintf.c: Likewise.
23258         * stdio-common/tst-perror.c: Likewise.
23259         * stdio-common/tst-sprintf2.c: Likewise.
23260         * stdio-common/tst-sprintf3.c: Likewise.
23261         * stdio-common/tst-sprintf.c: Likewise.
23262         * stdio-common/tst-swprintf.c: Likewise.
23263         * stdio-common/tst-tmpnam.c: Likewise.
23264         * stdio-common/tst-unbputc.c: Likewise.
23265         * stdio-common/tst-wc-printf.c: Likewise.
23266         * stdlib/tst-environ.c: Likewise.
23267         * stdlib/tst-fmtmsg.c: Likewise.
23268         * stdlib/tst-limits.c: Likewise.
23269         * stdlib/tst-rand48-2.c: Likewise.
23270         * stdlib/tst-rand48.c: Likewise.
23271         * stdlib/tst-random2.c: Likewise.
23272         * stdlib/tst-random.c: Likewise.
23273         * stdlib/tst-strtol.c: Likewise.
23274         * stdlib/tst-strtoll.c: Likewise.
23275         * stdlib/tst-tls-atexit.c: Likewise.
23276         * stdlib/tst-xpg-basename.c: Likewise.
23277         * string/test-ffs.c: Likewise.
23278         * string/tst-bswap.c: Likewise.
23279         * string/tst-inlcall.c: Likewise.
23280         * string/tst-strtok.c: Likewise.
23281         * string/tst-strxfrm.c: Likewise.
23282         * sysdeps/x86_64/tst-audit10.c: Likewise.
23283         * sysdeps/x86_64/tst-audit3.c: Likewise.
23284         * sysdeps/x86_64/tst-audit4.c: Likewise.
23285         * sysdeps/x86_64/tst-audit5.c: Likewise.
23286         * time/tst-ftime_l.c: Likewise.
23287         * time/tst-getdate.c: Likewise.
23288         * time/tst-mktime3.c: Likewise.
23289         * time/tst-mktime.c: Likewise.
23290         * time/tst-posixtz.c: Likewise.
23291         * time/tst-strptime2.c: Likewise.
23292         * time/tst-strptime3.c: Likewise.
23293         * wcsmbs/tst-btowc.c: Likewise.
23294         * wcsmbs/tst-mbrtowc.c: Likewise.
23295         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23296         * wcsmbs/tst-wchar-h.c: Likewise.
23297         * wcsmbs/tst-wcpncpy.c: Likewise.
23298         * wcsmbs/tst-wcrtomb.c: Likewise.
23299         * wcsmbs/tst-wcsnlen.c: Likewise.
23300         * wcsmbs/tst-wcstof.c: Likewise.
23302 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23304         [BZ #14132]
23305         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23306         INTDEF.
23307         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23308         declaration.
23309         (_dl_mcount): Use rtld_hidden_proto.
23310         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23311         _dl_mcount.
23312         * elf/rtld.c (_rtld_global_ro): Likewise.
23314         [BZ #14132]
23315         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23316         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23317         of _dl_init_internal.
23318         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23319         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23320         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23321         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23322         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23323         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23324         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23325         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23326         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23327         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23328         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23329         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23330         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23331         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23332         * sysdeps/tile/dl-start.S (_start): Likewise.
23333         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23334         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23336         [BZ #14132]
23337         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23338         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23339         (rtld_progname): Make macro definition unconditional.
23340         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23341         INTDEF.
23342         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23343         (dl_main): Likewise.
23344         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23345         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23346         instead of _dl_argv_internal.
23347         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23348         __GI__dl_argv instead of INTUSE(_dl_argv).
23349         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23350         __GI__dl_argv instead of _dl_argv_internal.
23352         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23353         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23354         macro.
23355         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23356         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23357         New macro.
23358         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23359         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23360         macro.
23361         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23362         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23364 2014-11-04  Andreas Schwab  <schwab@suse.de>
23366         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23368 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23370         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23371         mtvsrd instruction in binary form.
23373 2014-11-03  Andreas Schwab  <schwab@suse.de>
23375         [BZ #17522]
23376         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23377         for less than MB_LEN_MAX use a local buffer of that size.
23378         * libio/tst-fputws.c: New file.
23379         * libio/Makefile (tests): Add tst-fputws.
23381 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23383         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23384         the size of the fpu_fr.fpu_dregs[] array.
23386 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23388         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23389         (__nanosleep): Do not define as alias.
23390         (nanosleep): Define as alias of __nanosleep.
23391         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23392         __libc_nanosleep name.
23394 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23396         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23397         install.texi in comment.
23399 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23401         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23402         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23403         ... add here and use lwsync or sync ...
23404         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23405         ... and add here using lwsync.
23407 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23409         * elf/dl-machine-reject-phdr.h: New file.
23410         * elf/dl-load.c: #include that.
23411         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23412         if that returned true.
23414 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23416         [BZ #17496]
23417         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23418         gen-as-const-headers chunk.  Add a big scare comment after the last
23419         safe place to touch before-compile.
23421 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23423         * manual/install.texi (Tools for Compilation): Update autoconf
23424         version requirements.
23425         * INSTALL: Regenerated.
23427         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23428         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23429         (__libc_pselect): Likewise.
23431         [BZ #14138]
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23437 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23439         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23440         correct barrier instruction.
23441         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23442         Likewise.
23443         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23444         Likewise.
23446 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23448         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23449         after defining inlines.  Instead, just use parens to defeat macro
23450         expansion of __isctype in its declaration.
23452 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23454         * include/sys/uio.h (__libc_readv): Remove declaration.
23455         (__libc_writev): Likewise.
23456         * misc/readv.c (__libc_readv): Rename to __readv.
23457         (__readv): Do not define as alias.
23458         (readv): Define as alias of __readv.
23459         * misc/writev.c (__libc_writev): Rename to __writev.
23460         (__writev): Do not define as alias.
23461         (writev): Define as alias of __writev.
23462         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23463         (__readv): Do not define as alias.
23464         (readv): Define unconditionally as alias of __readv.
23465         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23466         (__writev): Do not define as alias.
23467         (writev): Define unconditionally as alias of __writev.
23468         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23469         name.
23470         (writev): Do not define __libc_writev name.
23472 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23474         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23475         (convert_charseq): New function, broken out of ...
23476         (use_from_charmap): ... here.  Call it.
23477         (use_to_charmap): Use convert_charseq and free instead of duplicating
23478         its code with a variable-length stack struct.
23480 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23482         * include/fcntl.h (__libc_creat): Remove declaration.
23483         * io/creat.c (__libc_creat): Rename to creat.
23484         (creat): Do not define as alias.
23485         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23486         of creat instead of __libc_creat.
23487         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23488         to creat.
23489         (creat): Do not define as alias.
23490         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23491         __libc_creat.
23492         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23493         __libc_creat name.
23494         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23495         Likewise.
23497 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23499         * manual/llio.texi: Add comments discussing why write() may be
23500         considered MT-unsafe on Linux.
23502 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23504         * dl-load.c (local_strdup): Remove.
23505         (expand_dynamic_string_token): Use __strdup.
23506         (decompose_rpath): Likewise.
23507         (_dl_map_object): Likewise.
23509 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23511         [BZ #14132]
23512         * sysdeps/generic/unwind-dw2-fde.c
23513         (__register_frame_info_bases_internal): Do not declare.
23514         (__register_frame_info_table_bases_internal): Likewise.
23515         (__deregister_frame_info_bases_internal): Likewise.
23516         (__register_frame_info_bases): Declare and use hidden_proto before
23517         definition.  Use hidden_def instead of INTDEF.
23518         (__register_frame_info_table_bases): Likewise.
23519         (__deregister_frame_info_bases): Likewise.
23520         (__register_frame_info): Do not use INTUSE.
23521         (__register_frame): Likewise.
23522         (__register_frame_info_table): Likewise.
23523         (__register_frame_table): Likewise.
23524         (__deregister_frame_info): Likewise.
23525         (__deregister_frame): Likewise.
23527 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23529         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23530         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23531         not undefine.
23532         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23533         Likewise.
23534         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23535         Likewise.
23537 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23539         [BZ #14138]
23540         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23541         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23542         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23543         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23544         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23545         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23546         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23547         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23548         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23549         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23550         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23551         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23552         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23553         syscall.
23554         (setfsuid): Likewise.
23555         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23556         (setfsuid): Likewise.
23557         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23558         (setfsuid): Likewise.
23559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23560         Likewise.
23561         (setfsuid): Likewise.
23562         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23563         (setfsuid): Likewise.
23564         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23565         Likewise.
23566         (setfsuid): Likewise.
23568 2014-10-27  Andreas Schwab  <schwab@suse.de>
23570         [BZ #17501]
23571         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23572         check for Slow_SSE4_2 feature bit.
23573         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23574         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23575         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23576         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23578 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23580         * configure.ac: Validate compiler version with a empirical test of
23581         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23582         $CC -v output.
23583         * configure: Regenerated.
23585         * inet/htons.c (htons): Prototypify.
23586         * inet/htonl.c (htonl): Likewise.
23588 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23590         * string/strncat.c (strncat): Improve performance by using strlen.
23592 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23594         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23596 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23598         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23599         Call libc_fetestexcept_aarch64.
23601 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23603         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23604         Call libc_feholdexcept_aarch64.
23606 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23608         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23609         Call get_rounding_mode.
23611 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23613         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23614         Simplify logic.
23616 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23618         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23619         Simplify logic.
23621 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23623         [BZ #14138]
23624         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23625         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23626         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23627         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23628         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23629         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23630         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23631         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23632         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23633         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23634         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23635         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23636         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23637         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23638         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23639         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23640         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23641         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23642         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23643         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23644         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23645         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23646         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23647         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23648         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23649         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23650         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23651         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23652         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23653         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23654         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23655         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23656         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23657         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23658         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23659         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23660         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23661         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23662         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23663         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23664         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23665         syscall.
23666         (geteuid): Likewise.
23667         (getgid): Likewise.
23668         (getuid): Likewise.
23669         (getresgid): Likewise.
23670         (getresuid): Likewise.
23671         (getgroups): Likewise.
23672         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23673         (geteuid): Likewise.
23674         (getgid): Likewise.
23675         (getuid): Likewise.
23676         (getresgid): Likewise.
23677         (getresuid): Likewise.
23678         (getgroups): Likewise.
23679         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23680         (geteuid): Likewise.
23681         (getgid): Likewise.
23682         (getuid): Likewise.
23683         (getresgid): Likewise.
23684         (getresuid): Likewise.
23685         (getgroups): Likewise.
23686         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23687         Likewise.
23688         (geteuid): Likewise.
23689         (getgid): Likewise.
23690         (getuid): Likewise.
23691         (getresgid): Likewise.
23692         (getresuid): Likewise.
23693         (getgroups): Likewise.
23694         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23695         (geteuid): Likewise.
23696         (getgid): Likewise.
23697         (getuid): Likewise.
23698         (getresgid): Likewise.
23699         (getresuid): Likewise.
23700         (getgroups): Likewise.
23701         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23702         Likewise.
23703         (geteuid): Likewise.
23704         (getgid): Likewise.
23705         (getuid): Likewise.
23706         (getgroups): Likewise.
23708         [BZ #14138]
23709         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23710         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23711         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23712         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23713         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23714         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23715         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23716         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23717         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23718         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23719         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23720         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23721         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23722         __chown.
23723         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23724         (lchown): Likewise.
23725         (fchown): Likewise.
23726         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23727         Likewise.
23728         (lchown): Likewise.
23729         (fchown): Likewise.
23730         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23731         (lchown): Likewise.
23732         (fchown): Likewise.
23733         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23734         Likewise.
23735         (lchown): Likewise.
23736         (fchown): Likewise.
23738 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23740         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23741         Simplify logic.
23743 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23745         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23746         Cleanup logic.
23748 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23750         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23751         Remove unused include.
23753 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23755         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23756         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23757         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23758         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23760 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23761             Helge Deller <deller@gmx.de>
23763         [BZ #17508]
23764         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23765         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23766         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23768 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23770         [BZ #14132]
23771         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23772         Remove macro definition.
23773         (__ashrdi3_v_glibc20): Likewise.
23774         (__lshrdi3_v_glibc20): Likewise.
23775         (__cmpdi2_v_glibc20): Likewise.
23776         (__ucmpdi2_v_glibc20): Likewise.
23777         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23778         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23779         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23780         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23781         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23782         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23784 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23786         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23787         old GNU extension [0] syntax.
23788         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23789         alloca rather than an array member with variable length.
23790         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23791         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23792         (parse_opt): ... here.  Likewise use alloca there.
23793         Validate the -i argument before checking for rootness.
23794         (send_shutdown): New function, broken out of ...
23795         (parse_opt): ... here.
23797 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23799         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23800         macro to get at the _rt_local_ro field.
23801         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23802         ([PIC] case) or _dl_hwcap ([!PIC] case).
23803         * sysdeps/arm/setjmp.S: Likewise.
23805         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23806         * sysdeps/arm/configure.ac: New check to define it.
23807         * sysdeps/arm/configure: Regenerated.
23808         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23809         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23810         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23811         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23812         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23813         Use move/movt pair instead of a load.
23814         (LDST_GLOBAL): Macro removed.
23815         (LDR_GLOBAL): New macro replaces it.
23816         (LDR_HIDDEN): New macro.
23817         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23818         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23820         * setjmp/tst-setjmp-static.c: New file.
23821         * setjmp/Makefile (tests): Add it.
23822         (tests-static): New variable.
23824 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23826         [BZ #17485]
23827         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23829 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23831         [BZ #14132]
23832         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23834 2014-10-21  Roland McGrath  <roland@hack.frob.com>
23836         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
23838 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23840         * io/fts.c (dirent_not_directory): New function.
23841         (fts_build): Call it.
23843 2014-10-20  Roland McGrath  <roland@hack.frob.com>
23845         * nptl/version.c (__nptl_main): Use normal __write rather than
23846         INTERNAL_SYSCALL.
23847         (banner): Update copyright years.
23849         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
23850         gettimeofday.
23851         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23852         * nptl/pthread_cond_timedwait.c: Likewise.
23853         * nptl/pthread_mutex_timedlock.c: Likewise.
23854         * nptl/sem_timedwait.c: Likewise.
23856         * sysdeps/nptl/bits/libc-lock.h
23857         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23858         (__libc_lock_init_recursive): Return void, not 0.
23859         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
23860         (__libc_rwlock_init): Likewise.
23861         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
23863 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23865         [BZ #15215]
23866         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
23867         (__pthread_once_slow): ... here.
23868         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
23869         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
23871 2014-10-20  Torvald Riegel  <triegel@redhat.com>
23873         [BZ #15215]
23874         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
23875         __PTHREAD_ONCE_FORK_GEN_INCR): New.
23876         * sysdeps/nptl/fork.c (__libc_fork): Use them.
23877         * nptl/pthread_once.c (__pthread_once): Likewise.
23878         Update comments.
23880 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
23882         [BZ #14138]
23883         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
23884         name.
23885         (writev): Use __libc_writev as strong name.
23886         * sysdeps/unix/sysv/linux/readv.c: Remove file.
23887         * sysdeps/unix/sysv/linux/writev.c: Likewise.
23889 2014-10-17  Roland McGrath  <roland@hack.frob.com>
23891         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23893         * sysdeps/i386/nptl/tls.h
23894         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
23895         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
23896         New macros.
23897         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
23898         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
23899         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
23900         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
23901         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
23902         Call CHECK_THREAD_SYSINFO instead of doing an assert.
23904         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23905         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
23906         on [__NR_futex].
23907         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
23908         broken out of ...
23909         (__pthread_mutex_init): ... here.  Call it.
23910         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
23911         Conditionalize PI cases on [__NR_futex].
23912         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
23913         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
23914         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23916         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
23917         conditional on [SIGSETXID].
23918         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
23919         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
23920         is defined.  Likewise for SIGSETXID.
23921         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
23922         Conditionalize definitions on [SIGSETXID].
23923         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
23924         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
23925         unblocking on [SIGCANCEL].
23927         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
23928         [__NR_set_robust_list].
23930 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23932         * string/strcoll_l.c (get_next_seq): Fix up formatting.
23933         (do_compare): Likewise.
23935 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
23937         [BZ #15884]
23938         * string/strcoll_l.c: Don't include stdio.h.
23939         (coll_seq): Remove members idxarr and rulearr.
23940         (get_next_seq_cached): Remove function.
23941         (get_next_seq): Likewise.
23942         (get_next_seq_nocache): Rename to get_next_seq.
23943         (do_compare): Remove function.
23944         (do_compare_nocache): Rename to do_compare.
23945         (STRCOLL): Remove weight and rules cache.
23947 2014-10-16  Roland McGrath  <roland@hack.frob.com>
23949         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
23950         * sysdeps/arm/sfp-machine.h: ... to here.
23951         * sysdeps/arm/Implies: Remove arm/soft-fp.
23953 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
23955         * conform/data/sys/utsname.h-data (*_t): Allow.
23956         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
23957         [POSIX] (WEXITED): Do not expect constant.
23958         [POSIX] (WSTOPPED): Likewise.
23959         [POSIX] (WNOHANG): Likewise.
23960         [POSIX] (WNOWAIT): Likewise.
23961         [POSIX] (siginfo_t): Do not expect type or elements.
23962         [POSIX] (pid_t): Do not expect type.
23963         [POSIX] (signal.h): Do not allow header.
23964         [POSIX] (sys/resource.h): Likewise.
23965         [POSIX] (si_*): Do not allow pattern.
23966         [POSIX] (W*): Likewise.
23967         [POSIX] (P_*): Likewise.
23968         [POSIX] (BUS_*): Likewise.
23969         [POSIX] (CLD_*): Likewise.
23970         [POSIX] (FPE_*): Likewise.
23971         [POSIX] (ILL_*): Likewise.
23972         [POSIX] (POLL_*): Likewise.
23973         [POSIX] (SEGV_*): Likewise.
23974         [POSIX] (SI_*): Likewise.
23975         [POSIX] (TRAP_*): Likewise.
23976         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
23977         variable.
23979 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
23981         [BZ #12926]
23982         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
23983         infinite loop when __recvmsg returns 0.
23985 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
23987         * CANCEL-FCT-WAIVE: Remove file.
23988         * CANCEL-FILE-WAIVE: Likewise.
23990         [BZ #14132]
23991         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
23992         instead of INTVARDEF.
23993         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23994         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
23995         rtld_hidden_data_def instead of INTVARDEF.
23996         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
23997         * elf/dl-deps.c (expand_dst): Likewise.
23998         * elf/dl-load.c (_dl_dst_count): Likewise.
23999         (_dl_dst_substitute): Likewise.
24000         (decompose_rpath): Likewise.
24001         (_dl_init_paths): Likewise.
24002         (open_path): Likewise.
24003         (_dl_map_object): Likewise.
24004         * elf/rtld.c (dl_main): Likewise.
24005         (process_dl_audit): Likewise.
24006         (process_envvars): Likewise.
24007         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24008         Remove declaration.
24009         (__libc_enable_secure): Use rtld_hidden_proto.
24011 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24013         * elf/dl-load.c
24014         (add_path): New function broken out of _dl_rtld_di_serinfo.
24015         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24017 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24019         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24020         parentheses around macro arguments.
24021         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24022         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24023         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24024         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24025         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24026         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24027         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24030         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24032         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24033         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24034         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24035         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24036         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24037         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24038         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24039         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24040         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24041         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24042         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24043         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24044         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24045         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24048         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24049         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24050         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24051         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24052         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24053         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24054         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24055         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24056         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24057         Likewise.
24058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24059         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24060         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24061         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24062         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24064         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24065         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24066         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24067         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24068         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24069         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24070         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24073         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24074         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24077         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24079         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24081         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24082         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24083         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24084         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24085         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24086         (_FP_FRAC_SRS_1): Likewise.
24087         (_FP_FRAC_CLZ_1): Likewise.
24088         (_FP_MUL_MEAT_1_imm): Likewise.
24089         (_FP_MUL_MEAT_1_wide): Likewise.
24090         (_FP_MUL_MEAT_1_hard): Likewise.
24091         (_FP_SQRT_MEAT_1): Likewise.
24092         (_FP_FRAC_ASSEMBLE_1): Likewise.
24093         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24094         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24095         (__FP_CLZ_2): Likewise.
24096         (_FP_MUL_MEAT_2_wide): Likewise.
24097         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24098         (_FP_MUL_MEAT_2_gmp): Likewise.
24099         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24100         (_FP_SQRT_MEAT_2): Likewise.
24101         (_FP_FRAC_ASSEMBLE_2): Likewise.
24102         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24103         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24104         (_FP_FRAC_CLZ_4): Likewise.
24105         (_FP_MUL_MEAT_4_wide): Likewise.
24106         (_FP_MUL_MEAT_4_gmp): Likewise.
24107         (_FP_SQRT_MEAT_4): Likewise.
24108         (_FP_FRAC_ASSEMBLE_4): Likewise.
24109         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24110         * soft-fp/op-common.h (_FP_CMP): Likewise.
24111         (_FP_CMP_EQ): Likewise.
24112         (_FP_CMP_UNORD): Likewise.
24113         (_FP_TO_INT): Likewise.
24114         (_FP_FROM_INT): Likewise.
24115         [!__FP_CLZ] (__FP_CLZ): Likewise.
24116         (_FP_DIV_HELP_imm): Likewise.
24117         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24118         Likewise.
24119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24127         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24130         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24131         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24132         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24134         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24135         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24146         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24148         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24150         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24151         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24152         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24153         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24154         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24155         (FP_UNPACK_RAW_SP): Likewise.
24156         (FP_PACK_RAW_S): Likewise.
24157         (FP_PACK_RAW_SP): Likewise.
24158         (FP_UNPACK_S): Likewise.
24159         (FP_UNPACK_SP): Likewise.
24160         (FP_UNPACK_SEMIRAW_S): Likewise.
24161         (FP_UNPACK_SEMIRAW_SP): Likewise.
24162         (FP_PACK_S): Likewise.
24163         (FP_PACK_SP): Likewise.
24164         (FP_PACK_SEMIRAW_S): Likewise.
24165         (FP_PACK_SEMIRAW_SP): Likewise.
24166         (_FP_SQRT_MEAT_S): Likewise.
24167         (FP_CMP_S): Likewise.
24168         (FP_CMP_EQ_S): Likewise.
24169         (FP_CMP_UNORD_S): Likewise.
24170         (FP_TO_INT_S): Likewise.
24171         (FP_FROM_INT_S): Likewise.
24173         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24175         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24176         (FP_EX_INVALID_IMZ): Likewise.
24177         (FP_EX_INVALID_IMZ_FMA): Likewise.
24178         (FP_EX_INVALID_ISI): Likewise.
24179         (FP_EX_INVALID_ZDZ): Likewise.
24180         (FP_EX_INVALID_IDI): Likewise.
24181         (FP_EX_INVALID_SQRT): Likewise.
24182         (FP_EX_INVALID_CVI): Likewise.
24183         (FP_EX_INVALID_VC): Likewise.
24184         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24185         "invalid" exceptions.
24186         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24187         (_FP_ADD_INTERNAL): Likewise.
24188         (_FP_MUL): Likewise.
24189         (_FP_FMA): Likewise.
24190         (_FP_DIV): Likewise.
24191         (_FP_CMP_CHECK_NAN): Likewise.
24192         (_FP_SQRT): Likewise.
24193         (_FP_TO_INT): Likewise.
24194         (FP_EXTEND): Likewise.
24196 2014-10-09  Allan McRae  <allan@archlinux.org>
24198         * po/fr.po: Update French translation from translation project.
24200 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24202         [BZ #14132]
24203         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24204         of INTDEF.
24205         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24206         (__cxa_atexit): Use libc_hidden_proto.
24207         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24209         [BZ #14132]
24210         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24211         declaration.
24212         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24213         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24214         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24215         [!_ISOMAC] (__iswctype_internal): Likewise.
24216         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24217         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24218         alias.
24219         (fcntl): Remove __fcntl_internal alias.
24220         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24221         __connect_internal alias.
24222         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24223         Likewise.
24225         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24226         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24227         FP_DENORM_ZERO.
24228         (_FP_CHECK_FLUSH_ZERO): New macro.
24229         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24230         (_FP_CMP): Likewise.
24231         (_FP_CMP_EQ): Likewise.
24232         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24233         FP_DENORM_ZERO.
24234         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24235         (FP_TRUNC): Likewise.
24237         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24238         treated as invalid conversion, not as normal exponent.
24240         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24241         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24242         (_FP_CMP_EQ): Likewise.
24243         (_FP_CMP_UNORD): Likewise.
24244         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24245         (FP_CMP_EQ_D): Likewise.
24246         (FP_CMP_UNORD_D): Likewise.
24247         * soft-fp/extended.h (FP_CMP_E): Likewise.
24248         (FP_CMP_EQ_E): Likewise.
24249         (FP_CMP_UNORD_E): Likewise.
24250         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24251         (FP_CMP_EQ_Q): Likewise.
24252         (FP_CMP_UNORD_Q): Likewise.
24253         * soft-fp/single.h (FP_CMP_S): Likewise.
24254         (FP_CMP_EQ_S): Likewise.
24255         (FP_CMP_UNORD_S): Likewise.
24256         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24257         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24258         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24259         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24260         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24261         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24262         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24263         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24264         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24265         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24266         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24267         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24268         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24269         to FP_CMP_Q.
24270         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24271         FP_CMP_Q.
24272         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24273         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24274         FP_CMP_EQ_Q.
24275         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24276         FP_CMP_Q.
24277         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24278         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24279         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24280         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24281         FP_CMP_EQ_Q.
24282         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24283         FP_CMP_Q.
24284         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24285         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24286         FP_CMP_EQ_Q.
24287         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24288         FP_CMP_Q.
24289         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24290         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24291         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24292         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24293         FP_CMP_EQ_Q.
24295         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24296         a subnormal result, set the underflow exception if trapping on
24297         underflow is enabled.
24298         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24299         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24300         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24301         redefine to 0.
24302         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24303         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24304         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24305         * soft-fp/extendxftf2.c (__extendxftf2): Use
24306         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24308         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24309         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24310         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24311         FP_HANDLE_EXCEPTIONS.
24312         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24313         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24314         FP_HANDLE_EXCEPTIONS.
24315         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24316         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24317         FP_HANDLE_EXCEPTIONS.
24318         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24319         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24320         FP_HANDLE_EXCEPTIONS.
24322 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24324         [BZ #14132]
24325         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24326         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24327         use INTUSE.
24328         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24329         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24330         Remove alias.
24331         (__adjtimex): Define using libc_hidden_ver.
24332         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24333         Remove declaration.
24334         (ntp_gettime): Call __adjtimex directly.
24335         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24336         Remove declaration.
24337         (ntp_gettimex): Call __adjtimex directly.
24338         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24339         __adjtimex_internal alias.
24341 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24343         [BZ #17460]
24344         * nscd/nscd.c (more_help): Rewrite list of tables collection
24345         using xstrdup and asprintf.
24347         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24349 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24350             Roland McGrath  <roland@hack.frob.com>
24352         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24353         (do_lookup_unique): ... local function 'enter' here; update callers.
24355 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24357         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24358         compat_symbol calls on [SHARED].
24359         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24360         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24361         Remove.
24362         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24363         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24364         (oldsetrlimit): Remove.
24365         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24367         (lchown): New syscall entry.
24368         (oldsetrlimit): Remove.
24369         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24370         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24371         (oldsetrlimit): Remove.
24372         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24374         [BZ #14138]
24375         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24376         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24377         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24378         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24379         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24380         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24381         (fchown): Likewise.
24382         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24383         (fchown): Likewise.
24384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24385         Likewise.
24387 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24389         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24390         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24391         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24392         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24393         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24394         Likewise.
24395         (__old_sem_post): Likewise.
24397 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24399         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24400         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24401         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24402         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24403         Use INLINE_VSYSCALL macro.
24404         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24405         __vdso_clock_gettime.
24406         * sysdeps/unix/sysv/linux/tile/init-first.c
24407         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24408         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24409         __vdso_clock_gettime.
24411         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24412         to set up frame more cleanly.
24414         * sysdeps/tile/memcmp.c: New file.
24416         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24418         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24419         * sysdeps/tile/tilegx/strcasestr.c: New file.
24420         * sysdeps/tile/tilegx/strnlen.c: New file.
24421         * sysdeps/tile/tilegx/strstr.c: New file.
24423         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24425 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24427         * nptl/tst-setuid3.c: Write errors to stdout.
24429 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24431         * elf/dl-deps.c
24432         (preload): New functions broken out of _dl_map_object_deps.
24433         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24435 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24437         [BZ #14138]
24438         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24439         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24441 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24443         * sysdeps/mips/strcmp.S: New.
24445 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24447         [BZ #14138]
24448         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24449         (linkat): Likewise.
24450         (mkdirat): Likewise.
24451         (readlinkat): Likewise.
24452         (renameat): Likewise.
24453         (symlinkat): Likewise.
24454         (unlinkat): Likewise.
24455         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24456         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24457         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24458         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24459         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24460         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24461         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24463 2014-09-30  Will Newton  <will.newton@linaro.org>
24465         * math/math.h: Define long double math functions if
24466         _LIBC_TEST is defined.
24467         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24469         * localedata/Makefile: Move assignment to tests-special
24470         into an ifdef testing run-built-tests.
24471         * timezone/Makefile: Likewise.
24473 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24475         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24476         with $(BASH) not $(SHELL).
24478 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24479             Matthew LeGendre  <legendre1@llnl.gov>
24481         [BZ #17411]
24482         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24483         l_reloc_result.
24485 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24487         * stdio-common/printf_fp.c
24488         (hack_digit): New function, broken out of ...
24489         (__printf_fp): ... local function here.  Update call sites.
24490         hack_digit now takes an additional parameter that is a pointer
24491         to a struct of the referenced locals.  Those locals moved inside
24492         the struct and references updated.
24494 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24496         * aclocal.m4: Require autoconf 2.69.
24497         * configure: Regenerated.
24498         * sysdeps/aarch64/configure: Likewise.
24499         * sysdeps/alpha/configure: Likewise.
24500         * sysdeps/arm/armv7/configure: Likewise.
24501         * sysdeps/arm/configure: Likewise.
24502         * sysdeps/ia64/configure: Likewise.
24503         * sysdeps/mach/configure: Likewise.
24504         * sysdeps/mips/configure: Likewise.
24505         * sysdeps/s390/configure: Likewise.
24506         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24509         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24510         file.
24511         * sysdeps/ia64/configure.ac: Likewise.
24513 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24516         specify symbol version for ld.so.  Do not include entry for
24517         libpthread.
24518         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24519         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24520         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24522         [BZ #14171]
24523         * Makeconfig [$(build-shared) = yes]
24524         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24525         makefiles.
24526         [$(build-shared) = yes && $(soversions.mk-done) = t]
24527         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24528         [$(build-shared) = yes && $(soversions.mk-done) = t]
24529         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24530         to Makerules.
24531         [$(build-shared) = yes && $(soversions.mk-done) = t]
24532         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24533         here.
24534         [$(build-shared) = yes && $(soversions.mk-done) = t]
24535         (common-generated): Don't append gnu/lib-names.h and
24536         gnu/lib-names.stmp here.
24537         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24538         (lib-names-h-abi): New variable.
24539         [$(build-shared) = yes && $(soversions.mk-done) = t]
24540         (lib-names-stmp-abi): Likewise.
24541         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24542         abi-variants] (before-compile): Append
24543         $(common-objpfx)$(lib-names-h-abi).
24544         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24545         abi-variants] (common-generated): Append gnu/lib-names.h.
24546         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24547         abi-variants] (install-others-nosubdir): Depend on
24548         $(inst_includedir)/$(lib-names-h-abi).
24549         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24550         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24551         [$(build-shared) = yes && $(soversions.mk-done) = t]
24552         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24553         [$(build-shared) = yes && $(soversions.mk-done) = t]
24554         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24555         [$(build-shared) = yes && $(soversions.mk-done) = t]
24556         (common-generated): Append $(lib-names-h-abi) and
24557         $(lib-names-stmp-abi).
24558         * scripts/lib-names.awk: Do not handle multi being set.
24559         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24560         Remove variable.
24561         (abi-lp64_be-ld-soname): Likewise.
24562         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24563         Likewise.
24564         (abi-hard-ld-soname): Likewise.
24565         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24566         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24567         Remove variable.
24568         (abi-o32_hard-ld-soname): Likewise.
24569         (abi-o32_soft_2008-ld-soname): Likewise.
24570         (abi-o32_hard_2008-ld-soname): Likewise.
24571         (abi-n32_soft-ld-soname): Likewise.
24572         (abi-n32_hard-ld-soname): Likewise.
24573         (abi-n32_soft_2008-ld-soname): Likewise.
24574         (abi-n32_hard_2008-ld-soname): Likewise.
24575         (abi-n64_soft-ld-soname): Likewise.
24576         (abi-n64_hard-ld-soname): Likewise.
24577         (abi-n64_soft_2008-ld-soname): Likewise.
24578         (abi-n64_hard_2008-ld-soname): Likewise.
24579         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24580         Likewise.
24581         (abi-64-v2-ld-soname): Likewise.
24582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24583         ld.so entries.
24584         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24585         variable.
24586         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24587         entry.
24588         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24589         variable.
24590         (abi-64-ld-soname): Likewise.
24591         (abi-x32-ld-soname): Likewise.
24592         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24593         entry.
24594         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24596 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24598         [BZ #14138]
24599         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24600         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24601         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24602         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24603         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24604         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24605         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24606         syscall entry for GLIBC_2.2 symbol version.
24607         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24608         Likewise.
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24610         (setrlimit): Likewise.
24611         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24612         Likewise.
24614 2014-09-23  Will Newton  <will.newton@linaro.org>
24616         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24617         _LINUX_ARM_SYSDEP_H include guard too.
24618         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24619         define.
24621 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24623         * sysdeps/unix/sysv/linux/eventfd.c:
24624         Make first argument unsigned.
24625         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24626         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24628 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24630         [BZ #16852]
24631         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24632         * socket/sys/socket.h: Likewise.
24633         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24635 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24637         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24639 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24641         * time/tst-ftime.c: New test.
24642         * time/Makefile (tests): Add tst-ftime.
24644 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24646         * soft-fp/extended.h: Fix comment formatting.
24647         * soft-fp/op-1.h: Likewise.
24648         * soft-fp/op-2.h: Likewise.
24649         * soft-fp/op-4.h: Likewise.
24650         * soft-fp/op-8.h: Likewise.
24651         * soft-fp/op-common.h: Likewise.
24652         * soft-fp/soft-fp.h: Likewise.
24654         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24656 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24658         [BZ #6652]
24659         * Makeconfig (soversions-default-setname): Remove variable.
24660         ($(common-objpfx)soversions.i): Don't pass default_setname to
24661         soversions.awk.
24662         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24663         oldest_abi to abi-versions.awk.
24664         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24665         * config.make.in (oldest-abi): Remove variable.
24666         * configure.ac (--enable-oldest-abi): Remove configure option.
24667         * configure: Regenerated.
24668         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24669         text.
24670         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24671         * scripts/soversions.awk: Do not handle default_setname variable.
24672         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24673         variable.
24674         * sysdeps/mach/hurd/configure: Regenerated.
24675         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24676         variable.
24677         * sysdeps/unix/sysv/linux/configure: Regenerated.
24679 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24681         * elf/Makefile (CFLAGS-interp.c): Remove.
24682         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24683         path string.
24684         * elf/interp.c: Include generated runtime-linker.h
24686         * Makerules (lib%.so): Don't include $(+interp) in
24687         prerequisites.
24688         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24689         * dlfcn/eval.c: Remove file.
24691         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24692         macros.
24694         [BZ #17266]
24695         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24696         4.2 and newer.
24698         [BZ #17370]
24699         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24701 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24702             Jakub Jelinek  <jakub@redhat.com>
24704         [BZ #17266]
24705         * libio/stdio.h: Check definition of __fortify_function
24706         instead of __extern_always_inline to include bits/stdio2.h.
24707         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24708         check if __extern_always_inline is defined.
24709         [__USE_MISC || __USE_XOPEN]: Likewise.
24710         [__USE_ISOC99] Likewise.
24711         * misc/sys/cdefs.h (__fortify_function): Define only if
24712         __extern_always_inline is defined.
24713         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24714         __extern_always_inline and __extern_inline only for g++-4.3
24715         and newer or a compatible gcc.
24717 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24719         [BZ #17371]
24720         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24721         last change to handle zero prefix length.
24723 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24725         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24726         _SC_REGEX_VERSION.
24728         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24729         _POSIX_RAW_SOCKETS.
24731 2014-09-13  Allan McRae  <allan@archlinux.org>
24733         * po/ru.po: Update Russian translation from translation project.
24735 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24737         * locale/programs/locale.c (show_locale_vars): Inline local function
24738         into its sole call site.  Clean up some style nits.
24739         (print_item): New function, broken out of ...
24740         (show_info): ... local function here.  Clean up style nits.
24742         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24743         out of ...
24744         (set_class_defaults): ... local function set_default here.
24745         Define set_default as a macro locally to pass constant parameters.
24746         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24747         rather than a shared local.
24749         * stdlib/rpmatch.c (try): New function, broken out of ...
24750         (rpmatch): ... local function here.  Also, prototypify definition.
24752 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24754         * scripts/soversions.awk: Do not handle configuration names.
24755         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24756         vendor and os variables to soversions.awk.
24757         * configure.ac: Do not modify gnu-* host_os.
24758         * configure: Regenerated
24759         * shlib-versions: Remove first column with configuration names.
24760         * nptl/shlib-versions: Likewise.
24761         * nptl_db/shlib-versions: Likewise.
24762         * sysdeps/hppa/shlib-versions: Likewise.
24763         * sysdeps/m68k/shlib-versions: Likewise.
24764         * sysdeps/mach/hurd/shlib-versions: Likewise.
24765         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24766         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24767         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24768         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24769         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24770         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24771         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24772         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24774         Likewise.
24775         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24776         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24777         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24778         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24779         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24780         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24781         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24782         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24785         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24787         Regenerated.
24788         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24790         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24792         * shlib-versions: Remove OS-specific entries.  Moved to files in
24793         sysdeps.
24794         * sysdeps/mach/hurd/shlib-versions: New file.
24795         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24797         * nptl/shlib-versions: Remove architecture-specific entries.
24798         Moved to files in sysdeps.
24799         * shlib-versions: Likewise.
24800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24801         file.
24802         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24803         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24804         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24805         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24807         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24808         (UDP_NO_CHECK6_RX): Likewise.
24810 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24812         * sysdeps/posix/sysconf.c (__sysconf): Spell
24813         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24815 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24817         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24818         loading.
24819         * iconv/Versions (__gconv_transliterate): Export for use from
24820         gconv modules.
24821         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24822         (struct __gconv_trans_data, __gconv_trans_fct,
24823         __gconv_trans_context_fct, __gconv_trans_query_fct,
24824         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24825         definitions.
24826         (struct __gconv_step_data): Remove __trans member.
24827         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24828         longer hidden.  Remove unused trans_data argument.
24829         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24830         (__gconv_translit_find): Remove declaration.
24831         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24832         prototype.
24833         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24834         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
24835         trans_data argument.  Add hidden definition.
24836         (__gconv_translit_find): Remove.
24837         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
24838         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
24839         * iconv/skeleton.c: Remove transliteration initialization.
24840         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
24841         __gconv_step_data initialization.
24842         * libio/iofwide.c (__libio_translit_): Remove.
24843         (_IO_fwide): Adjust struct __gconv_step_data initialization.
24844         * wcsmbs/btowc.c (__btowc): Likewise.
24845         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24846         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
24847         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24848         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24849         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
24850         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24851         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24852         * wcsmbs/wctob.c (wctob): Likewise.
24854 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24856         [BZ #16194]
24857         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
24858         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
24859         register usage.
24860         * sysdeps/x86/Makefile: Adjust.
24862 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24863             Roland McGrath  <roland@hack.frob.com>
24865         * locale/weight.h: Add include guard.
24866         (findidx): Make static rather than auto; take new parameters
24867         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
24868         * locale/weightwc.h: Likewise.
24869         * posix/fnmatch_loop.c
24870         (FCT): Change type of EXTRA from int32_t to wint_t.
24871         Don't include either header inside the function.
24872         Call FINDIDX rather than findidx, and pass new arguments.
24873         #undef FINDIDX at the end of the file.
24874         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
24875         FINDIDX before including fnmatch_loop.c for the non-wide version.
24876         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
24877         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
24878         for the wide version.
24879         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
24880         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
24881         Pass new arguments to findidx.
24882         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
24883         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
24884         Don't #include it inside the function.  Pass new arguments to findidx.
24885         * posix/regex_internal.h
24886         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
24887         (re_string_elem_size_at): Don't #include it inside the function.
24888         Pass new arguments to findidx.
24889         * string/strcoll_l.c: #include WEIGHT_H at top level.
24890         (get_next_seq): Don't #include it inside the function.
24891         Pass new arguments to findidx.
24892         (get_next_seq_nocache): Likewise.
24893         * string/strxfrm_l.c: #include WEIGHT_H at top level.
24894         (STRXFRM): Don't #include it inside the function.
24895         Pass new arguments to findidx.
24897 2014-09-11  Florian Weimer  <fweimer@redhat.com>
24899         [BZ #17344]
24900         * malloc/malloc.c (unlink): Turn asserts into a call to
24901         malloc_printerr.
24903 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
24905         [BZ #17370]
24906         * libio/wfileops (do_ftell_wide): Free OUT.
24908 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
24910         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
24912 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24914         [BZ #17363]
24915         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
24916         group if the current group is empty.
24918 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24920         * benchtests/bench-memset.c (test_main): Add more test from size
24921         from 32 to 512 bytes.
24922         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24923         Add POWER8 memset object.
24924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24925         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
24926         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
24927         implementation.
24928         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
24929         Likewise.
24930         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
24931         multiarch POWER8 memset optimization.
24932         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
24933         POWER8 memset optimization.
24935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24936         Remove bzero multiarch objects.
24937         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
24938         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
24939         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
24940         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
24941         Remove define.
24942         [__bzero]: Redefine to specific name.
24943         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
24944         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
24945         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
24946         define.
24947         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24948         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24950 2014-09-10  Florian Weimer  <fweimer@redhat.com>
24952         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
24953         warnings into errors.
24955         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
24956         __cxa_thread_atexit_impl prototype.
24958 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24960         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
24961         Fix capitalization of error message.
24963 2014-09-09  Steve Ellcey  <sellcey@mips.com>
24965         * sysdeps/mips/preconfigure: Modify ABI tests.
24967 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
24969         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
24971 2014-09-07  Roland McGrath  <roland@hack.frob.com>
24972             Carlos O'Donell  <carlos@systemhalted.org>
24974         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
24975         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
24976         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
24977         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
24978         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
24979         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
24980         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
24981         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
24982         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
24983         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
24984         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
24985         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
24986         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
24987         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
24988         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
24989         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
24990         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
24991         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
24992         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
24993         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
24994         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
24995         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
24996         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
24997         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
24998         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
24999         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25000         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25001         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25002         Deconditionalize the code that was previously under [RESET_PID].
25003         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25004         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25005         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25006         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25007         include sysdep.h.
25009 2014-09-08  Allan McRae  <allan@archlinux.org>
25011         * version.h (RELEASE): Set to "development".
25012         (VERSION): Set to "2.20.90"
25014 2014-09-07  Allan McRae  <allan@archlinux.org
25016         * version.h (RELEASE): Set to "stable".
25017         (VERSION): Set to "2.20"
25018         * include/features.h (__GLIBC_MINOR__): Set to 20.
25020         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25021         Liebler.
25023         * po/ko.po: Update Korean translation from translation project.
25025 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25027         [BZ #17354]
25028         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25029         macro for handling signed relocations.
25031 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25033         [BZ #17325]
25034         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25035         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25036         assert.
25037         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25038         * iconvdata/ibm935.c (BODY): Likewise.
25039         * iconvdata/ibm937.c (BODY): Likewise.
25040         * iconvdata/ibm939.c (BODY): Likewise.
25041         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25042         assert.
25043         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25044         script.
25045         * iconvdata/run-iconv-test.sh: New test loop for checking for
25046         decoder crashers.
25048 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25050         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25051         libm_hidden_ver.
25053 2014-09-01  Allan McRae  <allan@archlinux.org>
25055         * po/eo.po: Update Esperanto translation from translation project.
25057         * po/ca.po: Update Catalan translation from translation project.
25059 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25061         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25062         __proc_dostop call.
25064 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25066         [BZ #17319]
25067         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25068         to call set_thread_area instead of hand written asm.
25069         (__NR_set_thread_area): Removed define.
25070         (TLS_FLAG_WRITABLE): Likewise.
25071         (__ASSUME_SET_THREAD_AREA): Remove check.
25072         (TLS_EBX_ARG): Remove define.
25073         (TLS_LOAD_EBX): Likewise.
25075 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25077         Simplify atomicity of socket creation in bind.
25079         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25080         looking up the name after linking the file.
25082 2014-08-27  Allan McRae  <allan@archlinux.org>
25084         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25086 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25088         [BZ #17187]
25089         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25090         trans_compare, open_translit, __gconv_translit_find):
25091         Remove module loading code.
25093 2014-08-26  Allan McRae  <allan@archlinux.org>
25095         * po/vi.po: Update Vietnamese translation from translation project.
25097         * po/uk.po: Update Ukrainian translation from translation project.
25099         * po/fr.po: Update French translation from translation project.
25101         * po/ru.po: Update Russian translation from translation project.
25103         * po/pl.po: Update Polish translation from translation project.
25105         * po/cs.po: Update Czech translation from translation project.
25107         * po/de.po: Update German translation from translation project.
25109         * po/bg.po: Update Bulgarian translation from translation project.
25111         * po/sv.po: Update Sweedish translation from translation project.
25113         * po/nl.po: Update Dutch translation from translation project.
25115         * po/es.po: Update Spanish translation from translation project.
25117 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25119         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25121         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25122         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25123         (CPPFLAGS-iconvconfig): Likewise.
25124         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25126         * include/libc-symbols.h: Remove unnecessary check for
25127         NOT_IN_libc.
25128         * nptl/pthreadP.h: Likewise.
25129         * sysdeps/aarch64/setjmp.S: Likewise.
25130         * sysdeps/alpha/setjmp.S: Likewise.
25131         * sysdeps/arm/sysdep.h: Likewise.
25132         * sysdeps/i386/setjmp.S: Likewise.
25133         * sysdeps/m68k/setjmp.c: Likewise.
25134         * sysdeps/posix/getcwd.c: Likewise.
25135         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25136         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25137         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25138         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25139         * sysdeps/sh/sh3/setjmp.S: Likewise.
25140         * sysdeps/sh/sh4/setjmp.S: Likewise.
25141         * sysdeps/unix/alpha/sysdep.h: Likewise.
25142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25144         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25145         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25150         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25151         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25153         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25155         * sysdeps/x86_64/setjmp.S: Likewise.
25157 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25159         [BZ #17263]
25160         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25161         <stdint.h>.
25162         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25163         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25165 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25167         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25169         [BZ #17262]
25170         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25171         and __x86_64__ when disabling x87 inline functions.
25173 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25175         [BZ #17259]
25176         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25177         asm statement with __cpuid_count.
25179 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25181         * configure.ac: Change __ehdr_start code to dereference the struct.
25182         Run readelf on the output to look for relocations.
25183         * configure: Regenerated.
25185 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25187         [BZ #17261]
25188         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25189         value to 0.
25190         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25192 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25194         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25196 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25198         [BZ #16892]
25199         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25200         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25202 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25204         * malloc/malloc.c: Fix typo in comment.
25206 2014-08-09  Allan McRae  <allan@archlinux.org>
25208         * Regenerate libc.po.
25210 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25212         * intl/tst-gettext2.sh: Check every lang file for creation.
25214 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25216         * sysdeps/aarch64/fpu/math_private.h
25217         (libc_feholdsetround_noex_aarch64_ctx): New function.
25219 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25221         * sysdeps/arm/armv6/strcpy.S (strcpy):
25222         Fix performance issue in misaligned cases.
25224 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25226         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25227         Move definition from termios.h.
25228         (struct termio): Likewise.
25229         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25230         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25231         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25232         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25233         Likewise.
25234         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25235         Move definition to ioctl-types.h
25236         (struct termio): Likewise.
25237         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25238         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25239         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25240         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25241         Likewise.
25243 2014-08-05  Richard Henderson  <rth@redhat.com>
25245         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25246         exceptions.
25247         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25248         Add fraiseexcpt.
25249         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25250         Use __feraiseexcept.
25251         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25252         Protect libm symbols with IS_IN_libm.
25254         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25256 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25258         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25260 2014-08-04  Will Newton  <will.newton@linaro.org>
25262         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25263         file.
25265 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25267         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25268         variants for each function.
25270 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25272         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25273         appended ...
25274         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25275         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25276         appended ...
25277         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25278         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25279         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25280         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25281         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25282         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25283         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25284         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25285         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25286         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25287         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25288         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25289         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25290         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25291         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25292         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25293         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25294         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25295         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25296         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25297         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25298         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25299         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25300         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25301         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25302         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25303         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25304         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25305         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25306         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25307         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25308         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25309         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25310         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25311         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25312         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25313         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25314         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25315         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25316         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25317         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25318         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25319         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25320         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25321         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25322         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25323         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25324         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25325         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25326         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25327         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25328         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25329         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25330         Update #include.
25331         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25332         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25334 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25336         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25337         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25338         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25339         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25340         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25341         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25343 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25345         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25346         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25347         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25348         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25350 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25352         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25353         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25354         (__libc_vfork): Define function under this name.
25355         (__vfork): Define as an alias.
25356         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25357         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25359 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25361         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25362         that was previously under [RESET_PID].
25363         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25365 2014-08-04  Andreas Schwab  <schwab@suse.de>
25367         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25369 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25371         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25372         (main): Likewise.
25374 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25376         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25378 2014-08-01  Richard Henderon  <rth@redhat.com>
25380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25381         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25382         typo in exact zero test.
25383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25384         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25387 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25389         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25390         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25391         * sysdeps/arm/sysdep.h: ... here.
25392         [!__ASSEMBLER__]: Include <stdint.h>.
25394 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25396         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25397         (HAVE_WCTYPE_H): Likewise.
25398         (HAVE_ISWCTYPE): Likewise.
25399         (ENABLE_NLS): Likewise.
25400         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25401         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25403         * posix/regex_internal.c: Check if DEBUG is defined and is
25404         set.
25406         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25407         (HAVE_MBSRTOWCS): Likewise.
25408         * posix/fnmatch.c: Include string.h unconditionally.
25410 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25412         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25413         reversal.
25415 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25417         * sysdeps/generic/safe-fatal.h: New file.
25418         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25419         * nptl/forward.c: Include it.
25420         (__pthread_unwind): Use __safe_fatal as default action, rather
25421         than a bogus use of INTERNAL_SYSCALL that could never work.
25423         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25424         * configure.ac (libc_cv_builtin_trap): New test.
25425         * configure: Regenerated.
25426         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25427         (ABORT_INSTRUCTION): Define using __builtin_trap.
25429         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25430         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25431         * sysdeps/nptl/nptl-signals.h: New file.
25432         * nptl/pthreadP.h: Include <nptl-signals.h>.
25434 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25436         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25437         (ONE_DIRECTION): Define.
25438         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25439         (ONE_DIRECTION): Define.
25440         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25441         (ONE_DIRECTION): Define.
25443 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25445         * sysdeps/s390/Makefile: Delete file.
25446         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25447         * sysdeps/s390/__longjmp.c: Delete file.
25448         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25449         Remove fields __flags and __reserved.
25450         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25451         and add versioning.
25452         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25453         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25454         * sysdeps/s390/rtld-setjmp.S: Likewise.
25455         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25456         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25457         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25458         * sysdeps/s390/s390-32/setjmp.S: ... here.
25459         Add versioning.
25460         (__sigsetjmp): Remove setting __flags field.
25461         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25462         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25463         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25464         * sysdeps/s390/s390-64/setjmp.S: ... here.
25465         Add versioning.
25466         (__sigsetjmp): Remove setting __flags field.
25467         * sysdeps/s390/setjmp.S: Delete file.
25468         * sysdeps/s390/sigjmp.c: Likewise.
25469         * sysdeps/s390/v1-longjmp.c: Likewise.
25470         * sysdeps/s390/v1-setjmp.h: Likewise.
25471         * sysdeps/s390/v1-sigjmp.c: Likewise.
25472         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25473         Remove v1-longjmp_chk.
25474         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25475         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25476         Include debug/longjmp_chk.c and add versioning.
25477         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25478         Include nptl/pt-longjmp.c and add versioning.
25479         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25480         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25481         Include __longjmp.c.
25482         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25483         Move to ...
25484         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25485         (__getcontext): Remove setting __flags field.
25486         Add versioning.
25487         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25488         Don't restore upper high grps.
25489         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25490         Likewise.
25491         (__swapcontext): Remove setting uc_flags field.
25492         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25493         Delete file.
25494         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25495         Include __longjmp.c.
25496         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25497         Move to ...
25498         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25499         (__getcontext): Remove setting __flags field.
25500         Add versioning.
25501         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25502         (__swapcontext): Remove setting uc_flags field.
25503         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25504         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25505         Remove fields uc_high_gprs and __reserved.
25506         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25507         New file with reverted content.
25508         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25509         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25510         Regenerated.
25511         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25512         Regenerated.
25514 2014-07-31  Andreas Schwab  <schwab@suse.de>
25516         * config.h.in (HAVE_IFUNC): Define to 0.
25517         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25518         definedness.
25520 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25523         memmove-avx-unaligned, memcpy-avx-unaligned and
25524         mempcpy-avx-unaligned.
25525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25526         Add tests for AVX memcpy functions.
25527         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25528         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25529         memcpy_chk.
25530         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25531         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25532         memmove_chk.
25533         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25534         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25535         mempcpy_chk.
25536         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25537         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25538         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25540 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25542         [BZ #17213]
25543         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25544         powerpc64le.
25546 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25548         [BZ #16839]
25549         * manual/llio.texi: Add section about open file description locks.
25550         * manual/examples/ofdlocks.c: Example of open file description
25551         lock usage.
25552         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25553         F_OFD_SETLK, and F_OFD_SETLKW.
25555 2014-07-23  Allan McRae  <allan@archlinux.org>
25557         * po/es.po: Update Spanish translation from translation project.
25559 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25561         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25563 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25565         [BZ #17078]
25566         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25567         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25568         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25570 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25572         [BZ #17088]
25573         * math/fesetenv.c (__fesetenv)
25574         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25575         * math/feupdateenv.c (__feupdateenv)
25576         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25578         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25579         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25580         (__ASSUME_SOCKETCALL): Do not define.
25582         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25583         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25584         (__ASSUME_SOCKETCALL): Do not define.
25585         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25586         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25587         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25588         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25590         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25591         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25592         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25594         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25595         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25596         (__ASSUME_SOCKETCALL): Do not define.
25597         (__ASSUME_IPC64): Define unconditionally.
25598         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25599         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25600         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25601         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25602         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25603         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25604         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25605         Likewise.
25607         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25608         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25609         (__ASSUME_SOCKETCALL): Do not define.
25610         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25611         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25612         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25613         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25614         (__ASSUME_REQUEUE_PI): Define unconditionally.
25615         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25616         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25617         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25618         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25619         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25620         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25622         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25623         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25624         (__ASSUME_SOCKETCALL): Do not define.
25625         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25626         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25627         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25628         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25629         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25630         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25632         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25633         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25634         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25635         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25636         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25637         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25638         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25639         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25640         (__ASSUME_GETCPU_SYSCALL): Likewise.
25642         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25643         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25644         cases for individual architectures.
25645         * sysdeps/gnu/configure: Regenerated.
25646         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25647         LIBC_SLIBDIR_RTLDDIR.
25648         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25649         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25650         LIBC_SLIBDIR_RTLDDIR.
25651         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25653         LIBC_SLIBDIR_RTLDDIR.
25654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25655         Regenerated.
25656         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25657         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25658         file.
25659         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25660         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25661         file.
25662         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25663         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25664         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25665         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25667         * sysdeps/aarch64/shlib-versions: Move to ...
25668         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25669         * sysdeps/alpha/shlib-versions: Move to ...
25670         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25671         * sysdeps/arm/shlib-versions: Move to ...
25672         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25673         * sysdeps/hppa/shlib-versions: Move all contents except for
25674         libgcc_s entry to ...
25675         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25676         entry from ...
25677         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25678         * sysdeps/ia64/shlib-versions: Move to ...
25679         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25680         entry from ...
25681         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25682         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25683         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25684         * sysdeps/microblaze/shlib-versions: Move to ...
25685         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25686         * sysdeps/mips/shlib-versions: Move to ...
25687         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25688         entry from ...
25689         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25690         * sysdeps/tile/shlib-versions: Move to ...
25691         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25692         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25693         from ...
25694         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25695         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25696         entry from ...
25697         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25699 2014-07-17  Will Newton  <will.newton@linaro.org>
25701         * sysdeps/arm/bits/atomic.h
25702         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25703         (__arch_compare_and_exchange_bool_16_int): Likewise.
25704         (__arch_compare_and_exchange_bool_64_int): Likewise.
25706         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25707         into an #else block.
25709 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25711         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25712         just Linux configurations.  Test empirically that the compiler sets
25713         __ARM_EABI__, rather than using the tuple to decide.
25714         * sysdeps/arm/preconfigure: Regenerated.
25715         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25716         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25717         contents appended ...
25718         * sysdeps/arm/configure.ac: ... here.
25719         * sysdeps/arm/configure: Regenerated.
25721 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25723         * nptl/pthread_kill.c: New file.
25724         * nptl/pthread_sigmask.c: New file.
25725         * nptl/pthread_sigqueue.c: New file.
25727         * sysdeps/nptl/lowlevellock.h: New file.
25728         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25729         * sysdeps/nptl/lowlevellock-futex.h: New file.
25731         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25732         Remove dead declarations.
25734 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25736         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25737         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25738         config-cflags-avx2.
25739         * sysdeps/x86_64/configure.ac: Likewise.
25740         * sysdeps/i386/configure: Regenerated.
25741         * sysdeps/x86_64/configure: Likewise.
25742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25743         memset-avx2 only if config-cflags-avx2 is yes.
25744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25745         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25746         defined.
25747         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25748         only if HAVE_AVX2_SUPPORT is defined.
25749         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25751 2014-07-14  Alan Modra  <amodra@gmail.com>
25753         [BZ #17153]
25754         * elf/elf.h (DT_PPC64_NUM): Correct value.
25755         * NEWS: Add to fixed bug list.
25757 2014-07-13  Jim Meyering  <meyering@fb.com>
25759         [BZ 17150]
25760         regex: don't deref NULL upon heap allocation failure
25761         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25762         failure in one more place.
25763         To trigger the segfault, configure grep -with-included-regex,
25764         build it, and run these commands:
25765         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25767 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25769         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25771 2014-07-11  Richard Henderson  <rth@redhat.com>
25773         * sysdeps/aarch64/libm-test-ulps: Update.
25775 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25777         [BZ #17135]
25778         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25779         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25780         (__nptl_setxid): Initialize error member.  Call
25781         __nptl_setxid_error.
25782         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25783         * nptl/descr.h (struct xid_command): Add error member.
25784         * nptl/tst-setuid3.c: New file.
25785         * nptl/Makefile (tests): Add it.
25787 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25789         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25790         New define.
25791         (__lll_trylock): Use __lll_base_trylock.
25792         (__lll_cond_trylock): Likewise.
25794 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25796         * nptl/pthread_create.c (start_thread): Use atomic_or and
25797         lll_futex_wake directly rather than lll_robust_dead.
25798         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25799         (lll_robust_dead): Macro removed.
25800         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25801         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25802         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25803         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25804         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25805         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25806         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25807         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25808         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25809         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25810         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25811         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25812         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25813         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25814         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25816         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25817         Use atomic_compare_and_exchange_val_acq directly rather than
25818         lll_robust_trylock.
25819         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25820         (__lll_robust_trylock, lll_robust_trylock): Removed.
25821         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25822         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25823         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25824         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25825         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25826         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25827         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25828         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25829         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25830         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25831         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25832         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25833         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25836 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25838         * manual/locale.texi (Locale Names): New section documenting
25839         locale name syntax.  Adjust menu and node chaining accordingly.
25840         (Choosing Locale): Reference Locale Names, Locale Categories.
25841         Mention setting LC_ALL=C.  Reflect that name syntax is now
25842         documented.
25843         (Locale Categories): New section title.  Reference Locale Names.
25844         LC_ALL is an environment variable, but not a category.
25845         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
25846         description, now in Locale Name.  Reference that section.  Locale
25847         name syntax is now documented.
25849 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25851         [BZ #17137]
25852         * locale/findlocale.c (name_present, valid_locale_name): New
25853         functions.
25854         (_nl_find_locale): Use the loc_name variable to store name
25855         candidates.  Call name_present and valid_locale_name to check and
25856         validate locale names.  Return an error if the locale is invalid.
25858 2014-07-02  Florian Weimer  <fweimer@redhat.com>
25860         * locale/setlocale.c (setlocale): Use strdup for allocating
25861         composite name copy.
25863 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25865         Sync up with gnulib.
25866         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
25867         [!_LIBC && ENABLE_NLS]: Include gettext.h.
25868         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
25869         and _GL_ARG_NONNULL.
25870         [USE_UNLOCKED_IO]: Include unlocked-io.h.
25871         [!_LIBC]: Include code for Windows and Cygwin.
25872         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
25873         Include prototype for int strerror_r.
25874         [!_LIBC] (is_open): New function.
25875         (flush_stdout): New function.
25876         (print_errno_message): Use it.
25877         (error): Likewise.
25878         (error_at_line): Likewise.
25879         (error_tail) Add function attribute macros.  Use
25880         __builtin_expect.
25882         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
25884         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
25886         * io/ftw.c: Include sys/param.h unconditionally.
25888         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
25890         [BZ #17125]
25891         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
25892         libc_freeres_ptr.
25893         (freecache): New function to free CACHE on exit.
25895         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
25896         initialization.
25898 2014-07-09  David S. Miller  <davem@davemloft.net>
25900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25902         * sysdeps/sparc/nptl/internaltypes.h: Delete.
25903         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
25904         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
25905         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
25906         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
25907         * sysdeps/sparc/nptl/sem_init.c: Likewise.
25908         * sysdeps/sparc/nptl/sem_post.c: Likewise.
25909         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
25910         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
25911         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
25912         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
25913         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
25914         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
25916 2014-07-09  Andreas Schwab  <schwab@suse.de>
25918         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
25919         output.
25920         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
25921         (do_test): Likewise.
25923         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25925 2014-07-09  Will Newton  <will.newton@linaro.org>
25927         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
25928         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
25929         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
25930         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
25931         * sysdeps/hppa/start.S (_start): Likewise.
25933 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25935         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
25937         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
25938         defined.
25940 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25942         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
25943         after checking that it is non-NULL.
25945         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
25947 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25949         * sysdeps/powerpc/memmove.c: Remove file.
25950         * sysdeps/powerpc/powerpc32/power4/memcopy.h
25951         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
25952         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25953         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
25954         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
25955         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
25956         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
25957         string memmove instead of removed powerpc one.
25959         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25960         [weak_alias]: Fix compiler warning due trailing data.
25961         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
25962         [weak_alias]: Likewise.
25963         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
25964         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
25966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25967         (__libc_ifunc_impl_list): Add memmove functions.
25969 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25971         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
25972         Remove code.
25973         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
25974         Likewise.
25975         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
25976         Likewise.
25977         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
25978         Likewise.
25979         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
25980         Likewise.
25981         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
25982         Likewise.
25983         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
25984         Likewise.
25985         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
25986         Likewise.
25987         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
25988         Likewise.
25989         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
25990         Likewise.
25991         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
25992         Likewise.
25993         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
25994         Likewise.
25995         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
25996         Likewise.
25997         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
25998         Likewise.
25999         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26000         Likewise.
26001         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26002         Likewise.
26003         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26004         Likewise.
26006 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26008         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26009         to avoid alignment traps in non-cacheable memory.
26010         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26013         multiarch objects.
26014         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26015         file: multiarch power7 memmove.
26016         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26017         multiarch default memmove.
26018         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26019         multiarch memove for powerpc32/power4.
26021         * string/bcopy.c: Use full path to include memmove.c.
26022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26023         multiarch objects.
26024         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26025         bcopy for powerpc64.
26026         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26027         bcopy for powerpc64.
26028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26029         and memmove implementations.
26030         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26031         optimized multiarch memmove for POWER7/powerpc64.
26032         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26033         default multiarch memmove for powerpc64.
26034         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26035         multiarch for powerpc64.
26036         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26037         for POWER7/powerpc64.
26038         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26039         memmove for POWER7/powerpc64.
26041         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26042         glibc default one.
26044         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26045         __ELF_NATIVE_CLASS equal to 64.
26047 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26049         * sysdeps/nptl/lowlevellock.h: File removed.
26051         * NEWS: NPTL is no longer an add-on!
26052         * nptl/internaltypes.h: Moved ...
26053         * sysdeps/nptl/internaltypes.h: ... here.
26054         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26055         * sysdeps/nptl/fork.c: Likewise.
26056         * sysdeps/nptl/gai_misc.h: Likewise.
26057         * sysdeps/nptl/librt-cancellation.c: Likewise.
26058         * sysdeps/nptl/jmp-unwind.c: Likewise.
26059         * sysdeps/nptl/setxid.h: Likewise.
26060         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26061         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26062         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26063         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26064         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26065         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26066         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26067         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26068         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26069         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26070         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26071         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26072         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26073         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26074         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26075         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26076         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26077         * nptl/Makeconfig: Moved ...
26078         * sysdeps/nptl/Makeconfig: ... here.
26079         * nptl/configure: File removed.
26080         * nptl/ANNOUNCE: File removed.
26081         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26082         * sysdeps/unix/sysv/linux/configure: Regenerated.
26084         * nptl/Makefile (routines): Add libc_pthread_init,
26085         libc_multiple_threads, register-atfork and unregister-atfork.
26086         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26087         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26088         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26089         pthread-pi-defines.sym, structsem.sym.
26090         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26091         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26092         [$(subdir) = nptl] (tests): Add tst-setgetname.
26093         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26094         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26095         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26096         [!LIBC_SIGACTION]: Remove aliases.
26097         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26098         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26099         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26100         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26101         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26102         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26103         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26104         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26105         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26106         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26107         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26108         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26109         __libc_allocate_rtsig_private.
26110         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26111         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26112         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26113         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26114         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26115         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26116         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26117         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26118         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26119         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26120         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26121         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26122         * nptl/internaltypes.h: ... here.
26123         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26124         * sysdeps/nptl/jmp-unwind.c: ... here.
26125         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26126         * nptl/libc-lowlevellock.c: ... here.
26127         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26128         * nptl/libc_multiple_threads.c: ... here.
26129         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26130         * nptl/libc_pthread_init.c: ... here.
26131         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26132         * nptl/lowlevelbarrier.sym: ... here.
26133         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26134         * nptl/lowlevelcond.sym: ... here.
26135         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26136         * nptl/lowlevellock.c: ... here.
26137         * nptl/lowlevellock.h: Moved ...
26138         * sysdeps/nptl/lowlevellock.h: ... here.
26139         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26140         * nptl/lowlevelrobustlock.c: ... here.
26141         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26142         * nptl/lowlevelrobustlock.sym: ... here.
26143         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26144         * nptl/lowlevelrwlock.sym: ... here.
26145         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26146         * nptl/pt-fork.c: ... here.
26147         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26148         * nptl/pthread-pi-defines.sym: ... here.
26149         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26150         * nptl/pthread_attr_getaffinity.c: ... here.
26151         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26152         * nptl/pthread_attr_setaffinity.c: ... here.
26153         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26154         * nptl/pthread_mutex_cond_lock.c: ... here.
26155         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26156         Update #include.
26157         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26158         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26159         * nptl/pthread_once.c: ... here, replacing old file.
26160         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26161         * nptl/pthread_yield.c: ... here.
26162         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26163         * nptl/register-atfork.c: ... here.
26164         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26165         * nptl/sem_post.c: ... here.
26166         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26167         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26168         * nptl/sem_timedwait.c: ... here.
26169         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26170         * nptl/sem_trywait.c: ... here.
26171         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26172         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26173         * nptl/sem_wait.c: ... here.
26174         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26175         * nptl/structsem.sym: ... here.
26176         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26177         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26178         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26179         * nptl/unregister-atfork.c: ... here.
26180         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26181         * nptl/unwindbuf.sym: ... here.
26182         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26183         * sysdeps/nptl/fork.c: ... here.
26184         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26185         * sysdeps/nptl/fork.h: ... here.
26186         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26187         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26188         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26189         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26190         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26191         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26192         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26193         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26194         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26195         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26196         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26197         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26198         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26199         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26200         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26201         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26202         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26203         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26204         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26205         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26206         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26207         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26208         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26209         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26210         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26211         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26212         * sysdeps/unix/sysv/linux/raise.c: ... here.
26213         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26214         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26215         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26216         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26217         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26218         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26219         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26220         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26221         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26222         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26223         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26224         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26225         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26226         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26227         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26229 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26231         * sysdeps/generic/memcopy.h: Add comment for
26232         MEMCPY_OK_FOR_FWD_MEMMOVE.
26234 2014-07-04  Will Newton  <will.newton@linaro.org>
26236         * string/memchr.c: Merge from gnulib.
26237         [_LIBC]: Remove conditionals.
26238         (__ptr_t): Remove define.
26239         (LONG_MAX_32_BITS): Likewise.
26240         (LONG_MAX): Likewise.
26241         (MEMCHR): Use ANSI prototype and optimize algorithm.
26243         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26245 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26247         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26248         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26250         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26251         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26252         in a bare environment with no <stdlib.h> installed.
26253         * sysdeps/nptl/configure: Regenerated.
26255         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26257         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26258         AC_EGREP_CPP for kernel header checks, so they only succeed if
26259         including <linux/version.h> actually works right.
26260         * sysdeps/unix/sysv/linux/configure: Regenerated.
26262         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26263         value so it's not diagnosed as unused.
26265         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26266         thing) with "ifeq ($(subdir),rt)".
26268 2014-07-03  Richard Henderson  <rth@redhat.com>
26270         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26271         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26272         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26274         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26275         (math_force_eval): New.
26277         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26278         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26280         * sysdeps/alpha/fpu/s_round.c: Remove file.
26281         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26283         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26284         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26285         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26286         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26287         (_dl_start, print_statistics): Likewise.
26288         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26289         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26291         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26292         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26293         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26294         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26295         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26296         (HP_SMALL_TIMING_AVAIL): Define.
26297         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26298         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26299         (HP_SMALL_TIMING_AVAIL): Define.
26300         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26301         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26303         * sysdeps/aarch64/hp-timing.h: New file.
26305         * sysdeps/generic/hp-timing.h: Remove dead comment.
26306         * sysdeps/generic/hp-timing-common.h: New file.
26307         * sysdeps/alpha/hp-timing.h: Include it.
26308         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26309         * sysdeps/i386/i686/hp-timing.h: Likewise.
26310         * sysdeps/ia64/hp-timing.h: Likewise.
26311         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26312         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26313         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26314         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26315         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26316         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26317         (hp_timing_t): New.
26319         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26320         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26321         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26322         * elf/rtld.c (_dl_start_final): Likewise.
26323         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26324         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26325         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26326         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26327         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26328         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26329         (HP_TIMING_DIFF_INIT): Remove.
26330         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26331         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26332         (HP_TIMING_DIFF_INIT): Remove.
26333         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26334         * sysdeps/i386/i686/hp-timing.c: Remove file.
26335         * sysdeps/x86_64/hp-timing.c: Remove file.
26336         * sysdeps/ia64/hp-timing.c: Remove file.
26337         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26338         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26339         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26340         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26342         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26343         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26344         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26345         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26346         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26347         (HP_TIMING_ACCUM): Remove.
26348         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26349         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26350         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26352         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26353         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26354         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26355         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26357         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26358         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26359         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26361         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26363 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26365         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26367 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26369         Sync up with gettext.
26370         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26371         [_MSC_VER]: Include malloc.h
26372         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26373         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26374         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26375         TEMP_FAILURE_RETRY.  Cast return of alloca.
26376         [!_LIBC] Call gl_rwlock_init.
26377         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26379 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26381         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26382         before checking its value.
26384 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26386         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26388         * debug/memcpy_chk.c: Don't include pagecopy.h.
26389         * debug/mempcpy_chk.c: Likewise.
26390         * string/memcpy.c: Likewise.
26391         * string/memmove.c: Likewise.
26392         * sysdeps/powerpc/memmove.c: Likewise.
26393         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26394         definition of PAGE_COPY_FWD_MAYBE here...
26395         * sysdeps/generic/pagecopy.h: ... from here.
26396         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26398 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26399             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26401         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26403         optimizations.
26404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26405         (__libc_ifunc_impl_list): Likewise.
26406         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26407         multiarch strcat for PPC64.
26408         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26409         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26411 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26413         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26415 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26417         * intl/loadmsgcat.c: Remove declaration of
26418         get_sysdep_segment_value.
26419         (get_sysdep_segment_value): Use ISO C style.
26420         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26421         semicolon.  Fix typo and formatting in comment.
26422         (_nl_unload_domain): Use ISO C style.
26424         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26426 2014-07-02  Will Newton  <will.newton@linaro.org>
26428         * malloc/obstack.c: Merge from gnulib master.
26429         [HAVE_CONFIG_H]: Remove conditional code.
26430         [!_LIBC]: Include config.h.
26431         [!ELIDE_CODE]: Don't include inttypes.h, include
26432         stdint.h unconditionally.
26433         (print_and_abort): Mark as _Noreturn.
26434         (_obstack_allocated_p): Mark as __attribute_pure__.
26435         (obstack_free): Rename to __obstack_free.
26436         [!__attribute__]: Remove conditional code.
26437         * malloc/obstack.h: Merge from gnulib master.
26438         [__cplusplus]: Move conditional down.
26439         [!__attribute_pure__]: Define __attribute_pure__ here
26440         if it is not already defined.
26441         (_obstack_memory_used): Mark as __attribute_pure__.
26442         [!__obstack_free]: Define as obstack_free.
26443         [__GNUC__]: Remove check for ancient NeXT gcc.
26445 2014-07-02  Will Newton  <will.newton@linaro.org>
26446             Paul Eggert  <eggert@cs.ucla.edu>
26448         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26450 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26452         * resolv/gethnamaddr.c: Add comment warning that the file is
26453         not maintained.
26455 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26457         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26458         entries.
26460         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26461         entry for aio_cancel and aio_cancel64.
26462         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26463         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26464         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26465         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26466         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26467         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26468         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26469         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26470         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26471         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26472         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26473         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26474         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26476 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26478         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26479         * nptl/pthread_mutex_lock.c: Likewise.
26480         * nptl/pthread_mutex_timedlock.c: Likewise.
26481         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26483 2014-07-01  Richard henderson  <rth@redhat.com>
26485         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26486         (__isnan, __isnanl): Remove.
26487         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26489         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26491 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26493         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26495 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26497         * resolv/nss_dns/dns-host.c (getanswer_r)
26498         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26500 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26502         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26503         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26504         undefine.
26505         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26506         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26508 2014-07-01  Roland McGrath <roland@hack.frob.com>
26510         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26511         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26513         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26514         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26516         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26517         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26518         ... here.
26519         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26520         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26522         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26523         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26524         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26525         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26527         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26528         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26529         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26530         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26531         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26532         Moved ...
26533         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26534         ... here.
26535         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26536         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26537         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26538         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26539         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26540         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26541         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26542         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26543         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26544         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26545         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26546         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26547         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26548         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26549         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26550         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26551         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26552         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26553         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26554         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26555         ... here.
26556         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26557         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26558         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26559         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26560         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26561         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26562         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26563         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26565 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26567         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26568         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26569         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26570         Add sysdep.
26572 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26576 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26578         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26579         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26581         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26583         * sysdeps/arm/libm-test-ulps: Regenerated.
26585 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26586             Roland McGrath <roland@hack.frob.com>
26588         * test-skeleton.c (signal_handler): Kill the whole process group
26589         before killing the child individually.
26590         (main): Report any failure on `setpgid'.
26592 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26594         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26595         from _TLS_H to _ARM_NPTL_TLS_H.
26596         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26597         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26599 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26601         [BZ #16539]
26602         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26603         (__expm1l): Return argument unchanged when small but not
26604         subnormal.
26606         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26607         include macro name.
26608         (_FP_UNPACK_RAW_1_P): Likewise.
26609         (_FP_PACK_RAW_1): Likewise.
26610         (_FP_PACK_RAW_1_P): Likewise.
26611         (_FP_MUL_MEAT_1_wide): Likewise.
26612         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26613         (_FP_MUL_MEAT_1_hard): Likewise.
26614         (_FP_DIV_MEAT_1_imm): Likewise.
26615         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26616         (_FP_DIV_MEAT_1_udiv): Likewise.
26617         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26618         (_FP_UNPACK_RAW_2): Likewise.
26619         (_FP_UNPACK_RAW_2_P): Likewise.
26620         (_FP_PACK_RAW_2): Likewise.
26621         (_FP_PACK_RAW_2_P): Likewise.
26622         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26623         (_FP_MUL_MEAT_2_wide): Likewise.
26624         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26625         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26626         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26627         (_FP_MUL_MEAT_2_gmp): Likewise.
26628         (_FP_DIV_MEAT_2_udiv): Likewise.
26629         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26630         (_FP_FRAC_SRL_4): Likewise.
26631         (_FP_FRAC_SRST_4): Likewise.
26632         (_FP_FRAC_SRS_4): Likewise.
26633         (_FP_UNPACK_RAW_4): Likewise.
26634         (_FP_UNPACK_RAW_4_P): Likewise.
26635         (_FP_PACK_RAW_4): Likewise.
26636         (_FP_PACK_RAW_4_P): Likewise.
26637         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26638         (_FP_MUL_MEAT_4_wide): Likewise.
26639         (_FP_MUL_MEAT_4_gmp): Likewise.
26640         (umul_ppppmnnn): Likewise.
26641         (_FP_DIV_MEAT_4_udiv): Likewise.
26642         (__FP_FRAC_ADD_4): Likewise.
26643         (__FP_FRAC_SUB_3): Likewise.
26644         (__FP_FRAC_SUB_4): Likewise.
26645         (__FP_FRAC_DEC_3): Likewise.
26646         (__FP_FRAC_DEC_4): Likewise.
26647         (__FP_FRAC_ADDI_4): Likewise.
26648         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26649         (_FP_FRAC_SRL_8): Likewise.
26650         (_FP_FRAC_SRS_8): Likewise.
26652         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26653         include macro name.
26654         (FP_UNPACK_RAW_EP): Likewise.
26655         (FP_PACK_RAW_E): Likewise.
26656         (FP_PACK_RAW_EP): Likewise.
26657         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26658         (_FP_ISSIGNAN): Likewise.
26659         (_FP_ADD_INTERNAL): Likewise.
26660         (_FP_FMA): Likewise.
26661         (_FP_CMP): Likewise.
26662         (_FP_SQRT): Likewise.
26663         (_FP_TO_INT): Likewise.
26664         (_FP_FROM_INT): Likewise.
26665         (FP_EXTEND): Likewise.
26666         (_FP_DIV_MEAT_N_loop): Likewise.
26668 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26670         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26671         throughout.
26673 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26675         [BZ #17097]
26676         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26677         result with correct sign in case of exponents that produce
26678         overflow except for X very close to 1.
26680 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26682         mktime: merge #if/#ifdef usage from glibc
26683         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26684         as that works with both Glibc's and Gnulib's style.
26685         See thread starting at Siddhesh Poyarekar's bug report at:
26686         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26688 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26690         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26691         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26692         * sysdeps/tile/tilegx/memmove.c: Remove file.
26694 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26696         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26697         abi-name definition.
26698         * scripts/soversions.awk: Do not handle or generate ABI lines.
26699         * shlib-versions: Remove ABI entries.
26700         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26701         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26703 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26705         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26706         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26707         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26708         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26709         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26710         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26711         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26712         Moved ...
26713         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26714         ... here.
26715         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26716         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26718         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26720         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26721         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26722         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26724         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26726         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26727         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26728         Moved ...
26729         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26731         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26733         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26734         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26735         Moved ...
26736         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26738         Moved ...
26739         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26741         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26743         Moved ...
26744         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26748         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26749         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26750         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26752         Moved ...
26753         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26755         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26756         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26757         Moved ...
26758         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26759         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26760         Moved ...
26761         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26762         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26763         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26764         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26765         Moved ...
26766         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26767         ... here.
26768         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26769         Identical file removed.
26770         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26771         Moved ...
26772         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26774         Identical file removed.
26775         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26776         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26777         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26778         Moved ...
26779         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26781         Identical file removed.
26782         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26783         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26784         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26785         Identical file removed.
26786         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26787         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26789         Identical file removed.
26790         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26791         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26792         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26793         Identical file removed.
26794         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26795         Moved ...
26796         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26797         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26798         Identical file removed.
26799         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26800         Moved ...
26801         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26802         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26803         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26804         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26805         Identical file removed.
26806         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26807         Moved ...
26808         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26809         ... here.
26810         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26811         Identical file removed.
26812         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26813         Moved ...
26814         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26815         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26816         Identical file removed.
26817         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26818         Moved ...
26819         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26821         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26822         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26823         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26824         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26825         Moved ...
26826         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26827         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26828         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26830         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26831         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26832         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26833         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26834         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
26836 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
26838         [BZ #17092]
26839         * nscd/nscd.c (monitor_child): Return exit status of child
26840         instead of return value from wait syscall.
26842 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26844         * configure.ac (libc_commonpagesize): Remove variable.
26845         (libc_relro_required): Likewise.
26846         (libc_cv_z_relro): Remove configure test.
26847         * configure: Regenerated.
26848         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
26849         variable.
26850         (libc_relro_required): Likewise.
26851         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
26852         (libc_relro_required): Likewise.
26853         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
26854         (libc_relro_required): Likewise.
26855         * sysdeps/arm/preconfigure: Regenerated.
26856         * sysdeps/ia64/preconfigure: Remove file.
26857         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
26858         variable.
26859         (libc_relro_required): Likewise.
26861         [BZ #16561]
26862         [BZ #16562]
26863         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
26864         (__ieee754_yn): Set FE_TONEAREST mode internally and then
26865         recompute overflowing results in original rounding mode.
26866         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
26867         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
26868         recompute overflowing results in original rounding mode.
26869         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
26870         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26871         recompute overflowing results in original rounding mode.
26872         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
26873         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26874         recompute overflowing results in original rounding mode.
26875         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
26876         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
26877         recompute overflowing results in original rounding mode.
26878         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
26879         (libc_feholdsetround_ctx): New macro.
26880         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
26881         * sysdeps/i386/fpu/libm-test-ulps: Update.
26882         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
26884 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26886         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
26887         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
26888         corresponding .cpsetup call.
26890 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26892         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
26893         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
26894         * sysdeps/arm/Makefile [$(subdir) = csu]
26895         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
26896         (static-only-routines): Add aeabi_read_tp here.
26897         (shared-only-routines): Add libc-aeabi_read_tp here.
26898         (CFLAGS-libc-start.c): Add -fexceptions here.
26899         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
26900         (sysdep_routines, static-only-routines, shared-only-routines):
26901         Don't add to these here.
26902         (CFLAGS-libc-start.c): Likewise.
26904         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
26905         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26906         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
26907         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26908         * sysdeps/arm/Makefile [$(subdir) = rt]
26909         (librt-sysdep_routines, librt-shared-only-routines):
26910         Append rt-aeabi_unwind_cpp_pr1 here.
26911         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
26912         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
26913         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
26914         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26915         Append nptl-aeabi_unwind_cpp_pr1 here.
26916         (tests): Filter out tst-cleanupx4 here.
26917         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
26918         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
26919         Don't do those here.
26921 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26923         * scripts/list-sources.sh: Do not handle ports specially.
26925 2014-06-26  Roland McGrath  <roland@hack.frob.com>
26927         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
26928         * sysdeps/arm/feupdateenv.c: Likewise.
26930         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
26932 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26934         * manual/texinfo.tex: Update to version 2014-05-05.10 with
26935         trailing whitespace removed.
26936         * scripts/config.guess: Update to version 2014-03-23.
26937         * scripts/config.sub: Update to version 2014-05-01
26938         * scripts/install-sh: Update to version 2013-12-25.23.
26939         * scripts/move-if-change: Update from gnulib.
26941 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26943         * debug/memmove_chk.c: Remove pagecopy.h include.
26945 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
26947         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
26948         identical to gnulib mktime.
26950 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
26952         * configure.ac: Do not test for machine being rs6000.  Do not test
26953         for powerpc*-*soft.
26954         * configure: Regenerated.
26956         [BZ #11505]
26957         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
26958         test.
26959         * configure: Regenerated.
26960         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
26961         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
26962         Remove configure test.
26963         * sysdeps/arm/configure: Regenerated.
26964         * sysdeps/nptl/configure.ac: Do not check
26965         libc_cv_asm_cfi_directives.
26966         * sysdeps/nptl/configure: Regenerated.
26967         * sysdeps/x86_64/nptl/configure.ac: Remove file.
26968         * sysdeps/x86_64/nptl/configure: Remove generated file.
26969         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
26970         unconditional.
26971         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
26973 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26975         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
26976         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
26977         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
26978         it is defined.
26980         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
26981         instead of whether it is defined.
26982         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
26983         * sysdeps/hppa/dl-machine.h: Likewise.
26984         * sysdeps/ia64/dl-machine.h: Likewise.
26985         * sysdeps/m68k/dl-machine.h: Likewise.
26986         * sysdeps/microblaze/dl-machine.h: Likewise.
26987         * sysdeps/mips/dl-machine.: Likewise.
26988         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26989         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26990         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26991         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26992         * sysdeps/sh/dl-machine.h: Likewise.
26993         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26994         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26995         * sysdeps/tile/dl-machine.h: Likewise.
26996         * sysdeps/x86_64/dl-machine.h: Likewise.
26998         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
26999         code.
27000         (verify_persistent_db): Likewise.
27002 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27005         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27007         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27009         Moved ...
27010         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27011         ... here.
27012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27013         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27015         Identical file removed.
27016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27017         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27019         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27021         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27023         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27025         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27027         Moved ...
27028         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27030         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27032         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27033         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27034         Moved ...
27035         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27037         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27039         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27041         Identical file removed.
27042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27043         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27045         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27047         Moved ...
27048         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27049         ... here.
27050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27051         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27053         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27055         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27057         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27059         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27061         Moved ...
27062         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27064         Moved ...
27065         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27067         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27069         Moved ...
27070         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27072         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27074         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27075         folded into ...
27076         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27077         * sysdeps/unix/sysv/linux/s390/Versions
27078         (libpthread: GLIBC_2.19): New version set.
27079         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27080         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27081         (librt: GLIBC_2.3.3): New version set.
27082         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27083         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27084         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27085         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27086         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27087         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27088         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27089         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27090         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27091         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27092         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27093         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27094         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27095         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27096         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27097         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27098         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27099         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27100         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27101         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27102         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27103         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27104         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27105         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27106         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27107         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27108         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27109         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27110         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27111         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27112         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27113         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27116         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27118         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27119         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27120         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27121         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27122         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27124         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27126         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27128         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27129         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27130         (__libc_vfork): Define the function under this name.
27131         [!NOT_IN_libc] (__vfork): Make this an alias.
27132         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27134         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27135         (__libc_vfork): Define the function under this name.
27136         [!NOT_IN_libc] (__vfork): Make this an alias.
27137         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27138         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27139         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27140         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27142         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27144         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27145         code that was previously under [RESET_PID].
27146         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27147         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27150         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27151         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27152         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27153         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27154         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27155         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27156         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27157         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27158         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27159         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27160         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27161         Moved ...
27162         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27163         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27164         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27165         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27166         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27167         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27168         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27169         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27170         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27171         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27172         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27173         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27174         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27175         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27176         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27177         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27178         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27179         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27180         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27181         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27182         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27183         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27184         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27185         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27186         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27187         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27188         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27189         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27190         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27192 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27194         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27195         that was previously under [RESET_PID].
27196         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27198 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27200         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27201         not undefine and redefine.
27202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27203         [O_CLOEXEC]: Make code unconditional.
27204         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27205         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27206         <kernel-features.h>.
27207         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27208         conditional variable definition.
27209         (shm_open) [O_CLOEXEC]: Make code unconditional.
27210         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27211         code.
27213         * configure.ac (USE_REGPARMS): Don't define here.
27214         * configure: Regenerated.
27215         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27216         * sysdeps/i386/configure: Regenerated.
27218         * nptl/createthread.c: Don't include kernel-features.h.
27219         * nptl/pthread_cancel.c: Likewise.
27220         * nptl/pthread_condattr_setclock.c: Likewise.
27221         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27222         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27223         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27224         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27225         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27226         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27227         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27228         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27229         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27230         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27231         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27232         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27233         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27234         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27235         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27236         * nscd/gai.c: Likewise.
27237         * nss/nss_db/db-open.c: Likewise.
27238         * sysdeps/generic/ldsodefs.h: Likewise.
27239         * sysdeps/sh/nptl/tls.h: Likewise.
27240         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27241         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27242         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27243         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27244         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27245         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27246         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27247         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27248         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27249         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27250         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27251         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27252         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27253         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27254         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27255         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27256         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27257         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27258         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27259         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27260         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27262         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27263         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27267         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27268         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27269         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27270         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27271         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27272         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27273         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27274         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27275         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27276         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27277         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27278         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27279         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27280         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27281         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27282         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27283         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27284         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27285         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27286         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27287         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27288         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27289         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27290         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27291         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27292         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27293         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27294         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27295         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27296         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27297         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27320         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27321         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27322         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27323         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27324         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27325         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27326         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27327         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27328         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27329         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27330         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27331         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27332         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27333         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27334         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27335         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27336         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27337         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27338         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27339         * sysdeps/unix/sysv/linux/system.c: Likewise.
27340         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27341         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27342         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27343         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27344         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27345         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27346         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27348         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27349         * configure: Regenerated.
27350         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27352         * configure.ac (base_machine): Do not set specially for particular
27353         machines here.
27354         * configure: Regenerated.
27355         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27356         settings from configure.ac.
27357         * sysdeps/i386/preconfigure: New file.
27358         * sysdeps/s390/preconfigure: Likewise.
27359         * sysdeps/sh/preconfigure: Likewise.
27360         * sysdeps/sparc/preconfigure: Likewise.
27362 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27364         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27365         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27366         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27367         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27368         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27369         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27370         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27371         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27372         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27373         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27374         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27375         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27376         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27377         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27378         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27379         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27380         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27381         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27382         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27384         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27385         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27386         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27387         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27388         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27389         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27390         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27391         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27392         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27393         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27394         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27395         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27396         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27397         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27398         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27399         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27400         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27401         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27402         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27403         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27405         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27406         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27407         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27408         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27409         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27411         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27412         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27413         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27414         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27415         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27416         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27417         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27418         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27419         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27420         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27421         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27424         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27426         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27428         Moved ...
27429         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27430         ... here.
27431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27432         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27434         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27436         Moved ...
27437         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27439         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27441         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27443         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27445         Moved ...
27446         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27448         Moved ...
27449         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27451         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27453         Moved ...
27454         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27456         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27458         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27460         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27462         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27464         Moved ...
27465         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27466         ... here.
27467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27468         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27470         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27472         Moved ...
27473         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27475         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27477         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27479         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27481         Moved ...
27482         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27484         Moved ...
27485         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27487         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27489         Moved ...
27490         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27492         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27494         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27496 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27498         * timezone/checktab.awk: Update from tzcode 2014e.
27499         * timezone/private.h: Likewise.
27500         * timezone/tzfile.h: Likewise.
27501         * timezone/zdump.c: Likewise.
27502         * timezone/zic.c: Likewise.
27504         * sysdeps/unix/sysv/linux/kernel-features.h
27505         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27506         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27507         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27508         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27509         Remove conditional code.
27511 2014-06-25  Will Newton  <will.newton@linaro.org>
27513         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27514         (_dl_arm_cap_flags): Add HWCAP2 values.
27515         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27516         (_DL_HWCAP_COUNT): Increase to 37.
27517         (_DL_HWCAP_LAST): New define.
27518         (_DL_HWCAP2_LAST): New define.
27519         (_dl_procinfo): Add support for printing
27520         AT_HWCAP2 entries.
27521         (_dl_string_hwcap): Use _dl_hwcap_string.
27523 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27527 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27529         * README: Do not mention ports directory.
27531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27532         Remove macro.
27533         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27534         <kernel-features.h>.
27535         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27536         conditional variable definition.
27537         (__futimes): Update comment.
27538         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27539         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27541         [BZ #16560]
27542         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27543         arguments close to 0.
27544         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27545         Likewise.
27546         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27547         Likewise.
27548         * math/auto-libm-test-in: Add more tests of exp10.
27549         * math/auto-libm-test-out: Regenerated.
27550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27552         * sysdeps/unix/sysv/linux/kernel-features.h
27553         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27554         * sysdeps/unix/sysv/linux/readv.c: Do not include
27555         <kernel-features.h>.
27556         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27557         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27558         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27559         unconditional.
27560         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27561         conditional code.
27562         * sysdeps/unix/sysv/linux/writev.c: Do not include
27563         <kernel-features.h>.
27564         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27565         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27566         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27567         unconditional.
27568         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27569         conditional code.
27571 2014-06-25  Will Newton  <will.newton@linaro.org>
27573         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27574         comment changes throughout the file.  Remove checks
27575         for HAVE_*_H definitions that are not required.
27576         (__gen_tempname): Call abort if an unknown kind value is
27577         passed.
27579 2014-06-25  Andreas Schwab  <schwab@suse.de>
27581         [BZ #17086]
27582         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27583         scalbln, scalblnf, scalblnl in libc.
27585 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27587         [BZ #17086]
27588         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27589         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27590         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27592 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27594         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27595         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27596         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27597         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27598         Update #include.
27599         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27600         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27601         Update #include.
27602         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27603         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27604         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27605         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27606         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27607         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27608         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27609         * sysdeps/x86/bits/semaphore.h: ... here.
27610         * sysdeps/x86/nptl/elide.h: Moved ...
27611         * sysdeps/x86/elide.h: ... here.
27612         * sysdeps/x86_64/nptl/Implies: File removed.
27613         * sysdeps/i386/nptl/Implies: File removed.
27615 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27617         [BZ #16539]
27618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27619         return the argument for normal arguments with exponent below -64.
27620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27621         Likewise.
27622         * math/auto-libm-test-in: Add another test of expm1.
27623         * math/auto-libm-test-out: Regenerated.
27625         [BZ #16287]
27626         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27627         calling __erfcl for arguments at least 16.
27628         * math/auto-libm-test-in: Add more tests of erf.
27629         * math/auto-libm-test-out: Regenerated.
27631         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27632         individual architectures.
27633         * sysdeps/unix/sysv/linux/configure: Regenerated.
27634         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27635         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27636         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27637         (ldd_rewrite_script): Define variable.
27638         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27640         file.
27641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27642         generated file.
27643         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27644         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27645         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27646         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27647         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27648         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27649         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27650         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27652 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27654         [BZ #17084]
27655         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27656         Rename member __data.d to __data.__elision_data.
27658 2014-06-24  Wilco  <wdijkstr@arm.com>
27660         * NEWS: Add 16918 to fixed bug list.
27662 2014-06-24  Wilco  <wdijkstr@arm.com>
27664         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27666 2014-06-24  Wilco  <wdijkstr@arm.com>
27668         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27669         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27670         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27671         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27672         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27673         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27674         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27675         Use _FPU_MASK_RM.
27677 2014-06-24  Wilco  <wdijkstr@arm.com>
27679         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27681 2014-06-24  Wilco  <wdijkstr@arm.com>
27683         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27684         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27685         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27686         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27688 2014-06-24  Wilco  <wdijkstr@arm.com>
27690         [BZ #16918]
27691         * sysdeps/arm/feupdateenv.c (feupdateenv):
27692         Rewrite to reduce FPSCR accesses and fix return value.
27694 2014-06-24  Wilco  <wdijkstr@arm.com>
27696         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27697         Optimize to avoid unnecessary FPSCR writes.
27698         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27699         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27700         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27701         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27703 2014-06-24  Wilco  <wdijkstr@arm.com>
27705         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27706         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27707         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27708         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27709         Call libc_fetestexcept_vfp.
27710         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27711         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27712         __SOFTFP__ ifdef so that they can be built for softfp.
27714 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27716         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27717         argument type signed char.
27719         * Makerules (check-abi): Dump diff of symlist if the test
27720         fails.
27722 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27724         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27725         using abort.
27727         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27728         Remove unused variable ST.
27730 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27732         [BZ #16354]
27733         [BZ #17061]
27734         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27735         small arguments before calling __expm1.
27736         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27737         small arguments before calling __expm1f.
27738         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27739         small arguments before calling __expm1l.
27740         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27741         Likewise.
27742         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27743         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27744         spurious underflow for some cosh tests.
27745         * math/auto-libm-test-out: Regenerated.
27746         * sysdeps/i386/fpu/libm-test-ulps: Update.
27748         [BZ #17050]
27749         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27750         (__ieee754_y1): Set errno if return value overflows.
27751         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27752         (__ieee754_y1f): Set errno if return value overflows.
27753         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27754         (__ieee754_y1l): Set errno if return value overflows.
27755         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27756         (__ieee754_y1l): Set errno if return value overflows.
27757         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27758         * math/auto-libm-test-out: Regenerated.
27760         * math/gen-auto-libm-tests.c: Document use of
27761         ignore-zero-inf-sign.
27762         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27763         (input_flags): Add ignore-zero-inf-sign.
27764         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27765         * math/gen-libm-test.pl (generate_testfile): Handle
27766         ignore-zero-inf-sign.
27767         * math/auto-libm-test-in: Mark some cpow tests with
27768         ignore-zero-inf-sign and some with xfail-rounding.
27769         * math/auto-libm-test-out: Regenerated.
27770         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27771         * sysdeps/i386/fpu/libm-test-ulps: Update.
27772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27774         [BZ #16315]
27775         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27776         overflowing or underflowing operations take place with sign of
27777         result.
27778         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27779         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27780         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27781         (__ieee754_pow): Recompute overflowing and underflowing results in
27782         original rounding mode.
27783         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27784         (__powl_helper): Allow negative argument X and scale negated value
27785         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27786         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27787         overflowing or underflowing operations take place with sign of
27788         result.
27789         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27790         Include <math.h>.
27791         * math/auto-libm-test-in: Add more tests of pow.
27792         * math/auto-libm-test-out: Regenerated.
27793         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27794         (pow_tonearest_test_data): Remove.
27795         (pow_test_tonearest): Likewise.
27796         (pow_towardzero_test_data): Likewise.
27797         (pow_test_towardzero): Likewise.
27798         (pow_downward_test_data): Likewise.
27799         (pow_test_downward): Likewise.
27800         (pow_upward_test_data): Likewise.
27801         (pow_test_upward): Likewise.
27802         (main): Don't call removed functions.
27803         * sysdeps/i386/fpu/libm-test-ulps: Update.
27804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27806 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27809         Moved ...
27810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27812         Moved ...
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27815         Moved ...
27816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27818         Moved ...
27819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27821         File removed.
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27823         File removed.
27824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27825         File removed.
27826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27827         File removed.
27828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27829         File removed.
27830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27831         File removed.
27832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27833         File removed.
27834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27835         File removed.
27836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
27837         File removed.
27838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27839         File removed.
27840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
27841         File removed.
27842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
27843         File removed.
27844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
27845         Moved ...
27846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
27847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
27848         Moved ...
27849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
27850         ... here.
27851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
27852         Moved ...
27853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
27854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
27855         Moved ...
27856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
27857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
27858         Moved ...
27859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
27860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
27861         Moved ...
27862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
27864         Moved ...
27865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
27866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
27867         Moved ...
27868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
27869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
27870         Moved ...
27871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
27872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
27873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
27874         ... here.
27875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
27876         Moved ...
27877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
27878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27879         Moved ...
27880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
27881         ... here.
27882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
27883         Moved ...
27884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
27885         ... here.
27886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27887         Moved ...
27888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27889         ... here.
27890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27891         Moved ...
27892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
27893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
27894         Moved ...
27895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
27896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
27897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
27898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
27899         Moved ...
27900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
27901         ... here.
27902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27903         Moved ...
27904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
27905         ... here.
27906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
27907         Moved ...
27908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
27909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27910         Moved ...
27911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
27912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
27913         Moved ...
27914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
27915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27916         Moved ...
27917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
27918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
27919         Moved ...
27920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
27921         ... here.
27922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27923         Moved ...
27924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
27925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
27926         Moved ...
27927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27929         Moved ...
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
27932         Moved ...
27933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
27935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
27936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
27937         Moved ...
27938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
27939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27940         Moved ...
27941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
27942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
27943         Moved ...
27944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
27945         ... here.
27946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27947         Moved ...
27948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
27949         ... here.
27950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
27951         Moved ...
27952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
27953         ... here.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27955         Moved ...
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
27957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
27958         Moved ...
27959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27961         Moved ...
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
27963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
27964         Moved ...
27965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
27966         ... here.
27967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27968         Moved ...
27969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
27970         ... here.
27971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
27972         Moved ...
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
27974         ... here.
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27976         Moved ...
27977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
27978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27979         Moved ...
27980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
27982 2014-06-23  Will Newton  <will.newton@linaro.org>
27983             Wilco  <wdijkstr@arm.com>
27985         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
27986         implementation.  Include get-rounding-mode.h.
27987         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
27988         [!libc_feholdsetround_noex_ctx]: Define
27989         libc_feholdsetround_noex_ctx.
27990         [!libc_feholdsetround_noexf_ctx]: Define
27991         libc_feholdsetround_noexf_ctx.
27992         [!libc_feholdsetround_noexl_ctx]: Define
27993         libc_feholdsetround_noexl_ctx.
27994         (libc_feholdsetround_ctx): New function.
27995         (libc_feresetround_ctx): New function.
27996         (libc_feholdsetround_noex_ctx): New function.
27997         (libc_feresetround_noex_ctx): New function.
27999 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28001         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28002         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28003         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28004         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28005         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28006         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28008         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28009         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28010         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28011         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28012         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28013         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28014         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28015         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28016         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28017         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28018         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28019         Moved ...
28020         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28021         ... here.
28022         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28023         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28024         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28025         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28026         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28027         Moved ...
28028         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28030         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28031         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28032         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28033         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28034         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28035         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28036         Moved ...
28037         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28038         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28039         Moved ...
28040         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28041         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28042         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28043         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28044         Moved ...
28045         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28047         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28048         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28049         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28050         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28051         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28052         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28053         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28054         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28055         Moved ...
28056         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28057         ... here.
28058         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28059         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28060         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28061         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28062         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28063         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28064         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28065         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28066         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28067         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28068         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28069         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28070         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28071         Moved ...
28072         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28074         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28075         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28076         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28077         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28078         Moved ...
28079         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28081         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28082         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28083         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28085         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28086         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28087         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28088         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28089         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28090         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28091         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28092         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28093         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28094         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28095         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28098         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28102         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28103         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28104         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28105         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28106         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28107         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28108         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28109         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28110         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28111         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28112         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28114 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28116         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28117         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28118         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28119         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28120         (IPV6_PMTUDISC_INTERFACE): Likewise.
28121         (IPV6_PMTUDISC_OMIT): Likewise.
28123 2014-06-23  Andreas Schwab  <schwab@suse.de>
28125         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28126         Remove unused errout label.
28128 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28130         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28131         macro: hardware supports Vector Crypto instructions.
28133 2014-06-23  Will Newton  <will.newton@linaro.org>
28135         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28136         rather than __builtin_expect.
28138         * elf/dl-lookup.c (undefined_msg): Remove variable.
28139         (_dl_lookup_symbol_x): Replace undefined_msg with string
28140         literal.
28142         * elf/dl-lookup.c (do_lookup_unique): New function.
28143         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28144         to a separate function.
28146 2014-06-23  Andreas Schwab  <schwab@suse.de>
28148         [BZ #17079]
28149         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28150         before reading the next line.
28152 2014-06-23  Will Newton  <will.newton@linaro.org>
28154         * test-skeleton.c (signal_handler): Use printf and %m
28155         rather than perror.  Use printf rather than fprintf to
28156         stderr.  Use puts rather than fputs to stderr.
28157         (main): Likewise.
28159 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28161         * nscd/nscd.c (thread_info_t): Remove typedef.
28162         (thread_info): Remove variable.
28164 2014-06-21  Allan McRae  <allan@archlinux.org>
28166         * NEWS: Mention CVE-2014-4043.
28168 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28170         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28171         * nptl/smp.h: ... here.
28173         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28175         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28176         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28177         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28178         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28180         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28181         * nptl/stack-aliasing.h: New file.
28182         * sysdeps/i386/i686/stack-aliasing.h: New file.
28183         * sysdeps/i386/i686/nptl/Makefile: File removed.
28184         * sysdeps/x86_64/stack-aliasing.h: New file.
28185         * sysdeps/x86_64/nptl/Makefile
28186         (CFLAGS-pthread_create.c): Variable removed.
28188         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28189         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28190         old file.
28191         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28192         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28193         old file.
28195 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28197         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28198         (__ASSUME_SIGFRAME_V2): Remove macro.
28199         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28200         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28201         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28202         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28203         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28204         Declare as function.  Remove conditional macro definitions.
28205         (__default_rt_sa_restorer): Likewise.
28206         (__default_sa_restorer_v1): Remove declaration.
28207         (__default_sa_restorer_v2): Likewise.
28208         (__default_rt_sa_restorer_v1): Likewise.
28209         (__default_rt_sa_restorer_v2): Likewise.
28210         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28211         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28212         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28214 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28216         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28217         (libpthread-routines): Add sysdep.
28218         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28219         * sysdeps/unix/sysv/linux/sparc/Versions
28220         (libpthread: GLIBC_2.3.3): New version set.
28221         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28222         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28223         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28224         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28225         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28226         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28227         Moved ...
28228         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28229         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28230         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28231         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28232         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28233         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28234         * sysdeps/sparc/nptl/sem_init.c: ... here.
28235         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28236         * sysdeps/sparc/nptl/sem_post.c: ... here.
28237         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28238         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28239         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28240         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28241         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28242         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28243         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28244         (libpthread-routines): Add cpu_relax.
28245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28246         File removed.
28247         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28248         (librt: GLIBC_2.3.3): New version set.
28249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28250         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28251         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28252         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28255         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28257         Moved ...
28258         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28260         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28262         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28264         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28266         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28268         Moved ...
28269         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28270         Update #include.
28271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28272         Moved ...
28273         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28274         Update #include.
28275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28276         Moved ...
28277         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28278         Update #include.
28279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28280         Moved ...
28281         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28282         Update #include.
28283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28284         Moved ...
28285         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28286         Update #include.
28287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28288         Moved ...
28289         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28290         Update #include.
28291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28292         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28296         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28298         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28300         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28302         Moved ...
28303         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28305         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28307         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28309 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28311         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28312         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28313         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28314         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28315         * nscd/nscd.c: Likewise.
28316         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28317         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28318         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28319         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28321         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28322         <kernel-features.h>.
28323         (init_mq_netlink): Remove conditional have_sock_cloexec
28324         definitions.  Remove code conditional on have_sock_cloexec < 0.
28325         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28326         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28327         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28328         <kernel-features.h>.
28329         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28330         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28332 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28335         Add tests for memset_chk and memset.
28337         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28338         with AVX2_Usable.
28340 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28342         [BZ #16046]
28343         * elf/tst-dl-iter-static.c: New file.
28344         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28346         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28347         error.
28349 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28351         * sysdeps/unix/sysv/linux/kernel-features.h
28352         (__ASSUME_F_GETOWN_EX): Remove macro.
28353         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28354         <kernel-features.h>.
28355         (miss_F_GETOWN_EX): Remove variable or macro.
28356         (do_fcntl): Do not check miss_F_GETOWN_EX.
28357         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28360         Remove macro.
28361         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28362         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28363         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28365         * sysdeps/unix/sysv/linux/kernel-features.h
28366         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28367         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28368         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28369         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28371 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28373         [BZ #17075]
28374         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28375         Fix calculation of the symbol's value.
28376         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28377         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28378         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28379         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28380         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28381         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28382         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28383         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28384         (modules-names): Add `tst-armtlsdescmod',
28385         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28386         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28387         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28388         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28389         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28390         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28391         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28392         ($(objpfx)tst-armtlsdescloc): New dependency.
28393         ($(objpfx)tst-armtlsdescextnow): Likewise.
28394         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28395         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28396         TLS scheme support.
28397         * sysdeps/arm/configure: Regenerate.
28399 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28401         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28402         (__atfct_seterrno_2): Likewise.
28403         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28404         <kernel-features.h>.
28405         (__ASSUME_ATFCTS): Do not undefine and redefine.
28406         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28407         (__have_atfcts): Remove conditional definition.
28408         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28409         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28410         unreachable if [__ASSUME_ATFCTS].
28411         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28412         not undefine and redefine.
28413         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28414         <kernel-features.h>.
28415         (faccessat) [__NR_faccessat]: Make code unconditional.
28416         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28417         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28418         <kernel-features.h>.
28419         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28420         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28421         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28422         <kernel-features.h>.
28423         (fchownat) [__NR_fchownat]: Make code unconditional.
28424         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28425         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28426         <kernel-features.h>.
28427         (futimesat) [__NR_futimesat]: Make code unconditional.
28428         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28429         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28430         <kernel-features.h>.
28431         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28432         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28433         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28434         <kernel-features.h>.
28435         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28436         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28437         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28438         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28439         <kernel-features.h>.
28440         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28441         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28442         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28443         <kernel-features.h>.
28444         (linkat) [__NR_linkat]: Make code unconditional.
28445         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28446         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28447         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28448         <kernel-features.h>.
28449         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28450         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28451         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28452         <kernel-features.h>.
28453         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28454         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28455         * sysdeps/unix/sysv/linux/openat.c: Do not include
28456         <kernel-features.h>.
28457         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28458         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28459         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28460         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28461         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28462         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28463         <kernel-features.h>.
28464         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28465         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28466         result of INLINE_SYSCALL directly, not via int variable.
28467         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28468         <kernel-features.h>.
28469         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28470         (renameat) [__NR_renameat]: Make code unconditional.
28471         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28472         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28473         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28474         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28475         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28476         (__ASSUME_ATFCTS): Do not undefine and redefine.
28477         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28478         <kernel-features.h>.
28479         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28480         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28481         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28482         <kernel-features.h>.
28483         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28484         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28485         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28486         (__ASSUME_ATFCTS): Do not undefine and redefine.
28487         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28488         <kernel-features.h>.
28489         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28490         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28491         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28492         <kernel-features.h>.
28493         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28494         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28496 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28498         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28500 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28502         [BZ #17069]
28503         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28504         constructed tree before returning error.
28505         * posix/bug-regexp36.c: Expand test case.
28507 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28509         [BZ #6803]
28510         * math/libm-test.inc (scalbln_test_date):
28511         Add errno expectations.
28512         * math/w_scalblnf.c: New File.
28513         Add wrapper which checks for setting errno to ERANGE.
28514         Add weak_alias for corresponding scalbln function.
28515         * math/w_scalbln.c: Likewise.
28516         * math/w_scalblnl.c: Likewise.
28517         * math/Makefile (libm-calls): Add w_scalbln.
28518         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28519         Remove weak_alias for corresponding scalbln function.
28520         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28521         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28522         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28524         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28525         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28526         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28527         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28528         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28529         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28530         Remove long_double_symbol for scalblnl function in libm, libc.
28531         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28532         Add wrapper which checks for setting errno to ERANGE.
28533         Add long_double_symbol for scalblnl function in libm, libc.
28534         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28535         Remove long_double_symbol for scalblnl in libm.
28536         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28537         Add wrapper which checks for setting errno to ERANGE.
28538         Add long_double_symbol for scalblnl function in libm.
28539         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28540         Do not use wrapper because of own implementation.
28542 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28544         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28545         3 bytes for __pad1 for x32.
28546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28548 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28549             H.J. Lu  <hongjiu.lu@intel.com>
28551         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28552         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28553         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28555         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28557 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28559         [BZ #17069]
28560         * posix/regcomp.c (parse_expression): Deallocate partially
28561         constructed tree before returning error.
28562         * posix/Makefile.c (tests): Add bug-regex36.
28563         (generated): Add bug-regex36.mtrace.
28564         (tests-special): Add $(objpfx)bug-regex36-mem.out
28565         (bug-regex36-ENV): New variable.
28566         ($(objpfx)bug-regex36-mem.out): New rule.
28567         * posix/bug-regex36.c: New file.
28569 2014-06-19  Will Newton  <will.newton@linaro.org>
28571         * malloc/malloc.c (systrim): If extra is zero then return
28572         early.
28574 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28576         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28578 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28580         * sysdeps/aarch64/strchr.S: New file.
28582 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28584         [BZ #17022]
28585         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28586         from arguments -2 or below.
28587         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28588         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28590 2014-06-18  Andreas Schwab  <schwab@suse.de>
28592         [BZ #17062]
28593         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28594         of a bracket expr not to run off the end of the string.
28595         * posix/Makefile (tests): Add tst-fnmatch3.
28596         * posix/tst-fnmatch3.c: New file.
28598 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28600         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28601         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28602         [$(cross-compiling) = no]: Likewise.
28603         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28604         [$(cross-compiling) = no]: Likewise.
28606 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28608         [BZ #17031]
28609         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28610         double, adjusted for any remainder from the high double.
28611         * math/libm-test.inc (nearbyint): Add tests.
28612         (rint): Likewise.
28614 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28616         * nptl/sysdeps/powerpc/Makefile: Moved ...
28617         * sysdeps/powerpc/nptl/Makefile: ... here.
28618         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28619         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28620         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28621         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28622         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28623         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28624         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28625         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28626         * nptl/sysdeps/powerpc/tls.h: Moved ...
28627         * sysdeps/powerpc/nptl/tls.h: ... here.
28629 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28631         [BZ #16681]
28632         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28633         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28634         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28635         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28636         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28637         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28638         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28639         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28640         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28642 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28644         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28646 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28648         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28649         defined operator.
28651         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28652         $TIMEOUTFACTOR.
28654 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28656         [BZ #17058]
28657         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28658         non-executed part of the test.
28660 2014-06-16  Andreas Schwab  <schwab@suse.de>
28662         * string/bits/string2.h (strdup, strndup): Update feature guard.
28664 2014-06-14  David S. Miller  <davem@davemloft.net>
28666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28668 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28670         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28671         that was previously under [RESET_PID].
28672         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28674         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28675         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28676         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28677         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28678         (__libc_vfork): New strong alias.
28679         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28681 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28683         * sysdeps/generic/elide.h: New file.
28685 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28687         * Makefile (installed-headers): Adjust path of pthread.h header.
28689 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28691         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28692         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28693         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28694         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28696         * nptl/sysdeps/s390/Makefile: Moved ...
28697         * sysdeps/s390/nptl/Makefile: ... here.
28698         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28699         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28700         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28701         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28702         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28703         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28704         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28705         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28706         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28707         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28708         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28709         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28710         * nptl/sysdeps/s390/tls.h: Moved ...
28711         * sysdeps/s390/nptl/tls.h: ... here.
28713         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28714         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28716 2014-06-13  David S. Miller  <davem@davemloft.net>
28718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28721         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28725         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28726         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28727         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28728         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28729         Remove RESET_PID cpp guards.
28730         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28731         Remove RESET_PID cpp guards.
28732         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28734 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28736         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28737         __sp to uintptr_t.
28739 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28741         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28742         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28743         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28745         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28746         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28747         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28748         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28749         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28750         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28751         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28752         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28753         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28754         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28755         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28756         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28757         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28758         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28759         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28760         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28762         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28763         (pthread_rwlock_rdlock): Add elision.
28764         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28765         (pthread_rwlock_wrlock): Add elision.
28766         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28767         (pthread_rwlock_trywrlock): Add elision.
28768         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28769         (pthread_rwlock_tryrdlock): Add elision.
28770         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28771         (pthread_rwlock_tryrdlock): Add elision unlock.
28772         * nptl/sysdeps/pthread/pthread.h:
28773         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28774         (PTHREAD_RWLOCK_INITIALIZER,
28775         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28776         Handle new elision field.
28777         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28778         * sysdeps/arm/nptl/bits/pthreadtypes.h
28779         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28780         * sysdeps/sh/nptl/bits/pthreadtypes.h
28781         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28782         * sysdeps/tile/nptl/bits/pthreadtypes.h
28783         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28784         * sysdeps/a/nptl/bits/pthreadtypes.h
28785         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28786         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28787         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28788         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28789         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28790         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28791         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28792         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28793         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28794         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28796         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28797         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28798         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28800         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28801         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28802         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28803         (elision_init): Set try_xbegin to zero when no RTM.
28804         * sysdeps/x86/nptl/bits/pthreadtypes.h
28805         (pthread_rwlock_t): Change __pad1 to __rwelision.
28806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28808 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28810         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28811         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28812         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28813         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28815 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28817         [BZ #16996]
28818         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28819         that the cached result has been set before returning it.
28821 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28823         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28824         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28825         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28826         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28827         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28828         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28830         * nptl/sysdeps/sparc/Makefile: Moved ...
28831         * sysdeps/sparc/nptl/Makefile: ... here.
28832         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28833         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28834         * nptl/sysdeps/sparc/tls.h: Moved ...
28835         * sysdeps/sparc/nptl/tls.h: ... here.
28836         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
28837         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
28838         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
28839         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
28840         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
28841         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
28842         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
28843         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
28844         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
28845         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
28846         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
28847         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
28848         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
28849         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
28850         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
28851         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
28852         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
28853         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28854         Update #include.
28855         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
28856         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
28857         Update #include.
28858         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
28859         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
28860         Update #include.
28861         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
28862         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
28863         Update #include.
28865         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
28867         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
28868         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
28870         * sysdeps/pthread/posix-timer.h: Include <list.h>.
28871         (struct list_links): Type removed.
28872         (struct thread_node, struct timer_node): Replace struct list_links
28873         with struct list_head.
28874         (list_unlink_ip): Likewise.
28875         * sysdeps/pthread/timer_routines.c
28876         (timer_free_list, thread_free_list, thread_active_list): Likewise.
28877         (list_append, list_insbefore): Likewise.
28878         (list_init): Function removed.
28879         (thread_init, init_module): Use INIT_LIST_HEAD instead.
28880         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
28881         * sysdeps/pthread/Makefile: ... here, new file.
28883         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
28884         * sysdeps/nptl/Implies: ... here.
28885         * sysdeps/unix/sysv/linux/Implies: Add nptl.
28886         * nptl/sysdeps/pthread/list.h: Moved ...
28887         * include/list.h: ... here.
28888         * nptl/sysdeps/pthread/createthread.c: Moved ...
28889         * nptl/createthread.c: ... here.
28890         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
28891         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
28892         * nptl/pt-longjmp.c: ... here.
28893         * nptl/sysdeps/pthread/Makefile: Moved ...
28894         * sysdeps/nptl/Makefile: ... here.
28895         * nptl/sysdeps/pthread/Subdirs: Moved ...
28896         * sysdeps/nptl/Subdirs: ... here.
28897         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
28898         * sysdeps/nptl/aio_misc.h: ... here.
28899         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
28900         * sysdeps/nptl/bits/libc-lock.h: ... here.
28901         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
28902         * sysdeps/nptl/bits/libc-lockP.h: ... here.
28903         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
28904         * sysdeps/nptl/bits/stdio-lock.h: ... here.
28905         * nptl/sysdeps/pthread/configure: Moved ...
28906         * sysdeps/nptl/configure: ... here.
28907         * nptl/sysdeps/pthread/configure.ac: Moved ...
28908         * sysdeps/nptl/configure.ac: ... here.
28909         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
28910         * sysdeps/nptl/gai_misc.h: ... here.
28911         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
28912         * sysdeps/nptl/librt-cancellation.c: ... here.
28913         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
28914         * sysdeps/nptl/malloc-machine.h: ... here.
28915         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
28916         * sysdeps/nptl/pthread-functions.h: ... here.
28917         * nptl/sysdeps/pthread/pthread.h: Moved ...
28918         * sysdeps/nptl/pthread.h: ... here.
28919         * nptl/sysdeps/pthread/setxid.h: Moved ...
28920         * sysdeps/nptl/setxid.h: ... here.
28921         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
28922         * sysdeps/nptl/sigfillset.c: ... here.
28923         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
28924         * sysdeps/nptl/tcb-offsets.h: ... here.
28925         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
28926         * sysdeps/nptl/tst-mqueue8x.c: ... here.
28927         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
28928         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
28929         * nptl/sysdeps/pthread/allocalim.h: Moved ...
28930         * sysdeps/pthread/allocalim.h: ... here.
28931         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
28932         * sysdeps/pthread/bits/sigthread.h: ... here.
28933         * nptl/sysdeps/pthread/flockfile.c: Moved ...
28934         * sysdeps/pthread/flockfile.c: ... here.
28935         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
28936         * sysdeps/pthread/ftrylockfile.c: ... here.
28937         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
28938         * sysdeps/pthread/funlockfile.c: ... here.
28939         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
28940         * sysdeps/pthread/posix-timer.h: ... here.
28941         * nptl/sysdeps/pthread/timer_create.c: Moved ...
28942         * sysdeps/pthread/timer_create.c: ... here.
28943         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
28944         * sysdeps/pthread/timer_delete.c: ... here.
28945         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
28946         * sysdeps/pthread/timer_getoverr.c: ... here.
28947         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
28948         * sysdeps/pthread/timer_gettime.c: ... here.
28949         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
28950         * sysdeps/pthread/timer_routines.c: ... here.
28951         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
28952         * sysdeps/pthread/timer_settime.c: ... here.
28953         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
28954         * sysdeps/pthread/tst-timer.c: ... here.
28955         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
28956         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
28958         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
28959         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
28961         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
28962         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
28963         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
28964         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
28965         Update #include target.
28966         * nptl/sysdeps/i386/i686/Makefile: Moved ...
28967         * sysdeps/i386/i686/nptl/Makefile: ... here.
28968         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
28969         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
28970         Update #include target.
28971         * nptl/sysdeps/i386/i686/tls.h: Moved ...
28972         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
28973         * nptl/sysdeps/i386/Makefile: Moved ...
28974         * sysdeps/i386/nptl/Makefile: ... here.
28975         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
28976         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
28977         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
28978         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
28979         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
28980         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
28981         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
28982         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
28983         * sysdeps/i386/nptl/pthreaddef.h: ... here.
28984         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
28985         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
28986         * nptl/sysdeps/i386/tls.h: Moved ...
28987         * sysdeps/i386/nptl/tls.h: ... here.
28989         * sysdeps/sh/Makefile [$(subdir) = csu]
28990         (gen-as-const-headers): Add tcb-offsets.sym.
28991         * nptl/sysdeps/sh/Makefile: File removed.
28992         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
28993         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
28994         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
28995         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
28996         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
28997         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
28998         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
28999         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29000         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29001         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29002         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29003         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29004         * nptl/sysdeps/sh/tls.h: Moved ...
29005         * sysdeps/sh/nptl/tls.h: ... here.
29006         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29007         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29008         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29009         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29010         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29011         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29012         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29013         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29014         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29015         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29016         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29017         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29018         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29019         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29020         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29021         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29022         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29023         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29024         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29025         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29027         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29028         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29029         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29030         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29031         Moved ...
29032         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29033         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29034         Moved ...
29035         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29036         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29037         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29038         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29039         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29040         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29041         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29042         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29043         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29044         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29045         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29046         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29047         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29048         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29049         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29050         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29051         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29052         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29053         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29055 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29057         * posix/spawn_faction_addopen.c: Include string.h.
29059 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29061         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29062         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29063         * nptl/sysdeps/x86_64/Makefile: Moved ...
29064         * sysdeps/x86_64/nptl/Makefile: ... here.
29065         * nptl/sysdeps/x86_64/configure: Moved ...
29066         * sysdeps/x86_64/nptl/configure: ... here.
29067         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29068         * sysdeps/x86_64/nptl/configure.ac: ... here.
29069         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29070         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29071         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29072         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29073         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29074         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29075         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29076         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29077         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29078         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29079         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29080         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29081         * nptl/sysdeps/x86_64/tls.h: Moved ...
29082         * sysdeps/x86_64/nptl/tls.h: ... here.
29083         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29084         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29085         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29086         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29088         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29090 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29094 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29096         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29097         type.
29098         [POSIX] (off_t): Likewise.
29099         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29100         [POSIX] (S_ISBLK): Require macro.
29101         [POSIX] (S_ISCHR): Likewise.
29102         [POSIX] (S_ISDIR): Likewise.
29103         [POSIX] (S_ISFIFO): Likewise.
29104         [POSIX] (S_ISREG): Likewise.
29105         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29106         optional-macro.
29107         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29108         type.
29109         [POSIX] (time_t): Likewise.
29110         [POSIX] (timer_t): Likewise.
29112 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29114         [BZ #17048]
29115         * posix/spawn_int.h (struct __spawn_action): Make the path string
29116         non-const to support deallocation.
29117         * posix/spawn_faction_addopen.c
29118         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29119         * posix/spawn_faction_destroy.c
29120         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29121         path in all spawn_do_open actions.
29122         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29123         posix_spawn_file_actions_addopen.
29125 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29127         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29128         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29129         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29130         conditional code always true.
29131         (__libc_vfork): New alias.
29133 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29135         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29136         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29138         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29140         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29141         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29143         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29144         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29146         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29147         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29149 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29151         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29152         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29153         multiarch strcmp for PPC64.
29154         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29155         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29157         multiarch optimizations.
29158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29159         (__libc_ifunc_impl_list): Likewise.
29161 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29163         * benchtests/scripts/validate_benchout.py: New script.
29164         * benchtests/Makefile (bench-func): Call it.
29165         * benchtests/scripts/benchout.schema.json: New file.
29167 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29169         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29170         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29171         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29172         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29173         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29174         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29175         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29176         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29177         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29178         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29179         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29180         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29181         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29182         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29183         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29184         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29186         Moved ...
29187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29188         ... here.
29189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29190         Moved ...
29191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29193         Moved ...
29194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29195         ... here.
29196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29197         Moved ...
29198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29199         ... here.
29200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29201         Moved ...
29202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29204         Moved ...
29205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29206         ... here.
29207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29208         Moved ...
29209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29210         ... here.
29211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29212         Moved ...
29213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29215         Moved ...
29216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29217         ... here.
29218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29219         Moved ...
29220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29221         ... here.
29222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29223         Moved ...
29224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29225         ... here.
29226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29227         Moved ...
29228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29230         Moved ...
29231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29232         ... here.
29233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29234         Moved ...
29235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29236         ... here.
29237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29238         Moved ...
29239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29240         ... here.
29241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29242         Moved ...
29243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29245         Moved ...
29246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29247         ... here.
29248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29249         Moved ...
29250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29251         ... here.
29252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29253         Moved ...
29254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29256         Moved ...
29257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29258         ... here.
29259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29260         Moved ...
29261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29263         Moved ...
29264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29266         Moved ...
29267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29268         ... here.
29269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29270         Moved ...
29271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29272         ... here.
29273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29274         Moved ...
29275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29276         ... here.
29277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29278         Moved ...
29279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29281         Moved ...
29282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29283         ... here.
29284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29285         Moved ...
29286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29287         ... here.
29288         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29289         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29290         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29291         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29292         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29293         Moved ...
29294         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29295         ... here.
29296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29297         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29298         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29299         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29300         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29301         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29302         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29303         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29304         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29305         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29306         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29307         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29308         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29309         Moved ...
29310         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29311         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29312         Moved ...
29313         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29315         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29317         Moved ...
29318         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29320         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29321         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29322         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29323         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29324         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29326 2014-06-10  Wilco  <wdijkstr@arm.com>
29328         * math/test-fenv-return.c: New file.
29329         * math/Makefile: Add new test test-fenv-return.
29331 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29333         [BZ #17042]
29334         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29335         when x - 1 is zero.
29336         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29337         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29338         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29339         0.0L for an argument of 1.0L.
29340         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29341         Likewise.
29342         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29343         value when x - 1 is zero.
29344         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29345         * sysdeps/i386/fpu/libm-test-ulps: Update.
29346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29348 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29350         [BZ #15119]
29351         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29353 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29355         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29356         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29358 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29360         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29361         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29363         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29364         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29366         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29367         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29369         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29370         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29372         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29373         if not already defined.
29374         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29375         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29376         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29377         (TLS_INIT_TP): Use it.
29378         (TLS_DEFINE_INIT_TP): New macro.
29379         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29381 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29383         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29384         constant.
29385         [POSIX] (IXANY): Likewise.
29386         [POSIX] (OLCUC): Likewise.
29387         [POSIX || POSIX2008] (CBAUD): Do not allow.
29388         [POSIX || POSIX2008] (DEFECHO): Likewise.
29389         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29390         [POSIX || POSIX2008] (ECHOKE): Likewise.
29391         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29392         [POSIX || POSIX2008] (EXTA): Likewise.
29393         [POSIX || POSIX2008] (EXTB): Likewise.
29394         [POSIX || POSIX2008] (FLUSHO): Likewise.
29395         [POSIX || POSIX2008] (LOBLK): Likewise.
29396         [POSIX || POSIX2008] (PENDIN): Likewise.
29397         [POSIX || POSIX2008] (SWTCH): Likewise.
29398         [POSIX || POSIX2008] (VDISCARD): Likewise.
29399         [POSIX || POSIX2008] (VDSUSP): Likewise.
29400         [POSIX || POSIX2008] (VLNEXT): Likewise.
29401         [POSIX || POSIX2008] (VREPRINT): Likewise.
29402         [POSIX || POSIX2008] (VSTATUS): Likewise.
29403         [POSIX || POSIX2008] (VWERASE): Likewise.
29404         (B*): Change to B[0123456789]*.
29405         * conform/data/time.h-data [POSIX || UNIX98]
29406         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29407         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29408         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29409         [POSIX] (tm_*): Do not allow.
29411 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29413         * Makefile (install): Don't set LANGUAGE.
29414         * Makefile.in (install): Likewise.
29415         * assert/Makefile (test-assert-ENV): Remove variable.
29416         (test-assert-perr-ENV): Likewise.
29417         * elf/Makefile (neededtest4-ENV): Likewise.
29418         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29419         [$(cross-compiling) = no]: Don't set LANGUAGE.
29420         * io/ftwtest-sh (LANG): Remove variable.
29421         * libio/Makefile (tst-widetext-ENV): Likewise.
29422         * manual/install.texi (Running make install): Don't refer to
29423         environment settings for make install.
29424         * INSTALL: Regenerated.
29425         * nptl/tst-tls6.sh: Don't set LANG.
29426         * posix/globtest.sh (LANG): Remove variable.
29427         * string/Makefile (tester-ENV): Likewise.
29428         (inl-tester-ENV): Likewise.
29429         (noinl-tester-ENV): Likewise.
29430         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29431         [$(cross-compiling) = no]: Don't set LANGUAGE.
29432         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29433         without explicit environment settings.
29435 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29437         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29438         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29439         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29440         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29442 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29444         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29445         other files in the crypt directory.
29446         * crypt/crypt.c: Remove duplicate includes.
29447         * crypt/crypt-entry.c: Likewise.
29448         * crypt/crypt_util.c: Likewise.
29450 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29452         * Makeconfig (run-program-env): New variable.
29453         (run-program-prefix-before-env): Likewise.
29454         (run-program-prefix-after-env): Likewise.
29455         (run-program-prefix): Define in terms of new variables.
29456         (built-program-cmd-before-env): New variable.
29457         (built-program-cmd-after-env): Likewise.
29458         (built-program-cmd): Define in terms of new variables.
29459         (test-program-prefix-before-env): New variable.
29460         (test-program-prefix-after-env): Likewise.
29461         (test-program-prefix): Define in terms of new variables.
29462         (test-program-cmd-before-env): New variable.
29463         (test-program-cmd-after-env): Likewise.
29464         (test-program-cmd): Define in terms of new variables.
29465         * Rules (make-test-out): Use $(run-program-env).
29466         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29467         (help): Do not mention environment variables.  Mention
29468         --timeoutfactor option.
29469         (timeoutfactor): New variable.
29470         (blacklist_exports): Remove function.
29471         (exports): Remove variable.
29472         (command): Do not include ${exports}.
29473         * manual/install.texi (Configuring and compiling): Do not mention
29474         test wrappers preserving environment variables.  Mention that last
29475         assignment to a variable must take precedence.
29476         * INSTALL: Regenerated.
29477         * benchtests/Makefile (run-bench): Use $(run-program-env).
29478         * catgets/Makefile ($(objpfx)test1.cat): Use
29479         $(built-program-cmd-before-env), $(run-program-env) and
29480         $(built-program-cmd-after-env).
29481         ($(objpfx)test2.cat): Do not specify environment variables
29482         explicitly.
29483         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29484         $(run-program-env) and $(built-program-cmd-after-env).
29485         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29486         $(run-program-env) and $(test-program-cmd-after-env).
29487         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29488         explicitly.
29489         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29490         run_program_env and test_program_cmd_after_env arguments.
29491         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29492         * elf/tst-pathopt.sh: Use run_program_env argument.
29493         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29494         $(test-wrapper-env) and $(run-program-env).
29495         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29496         run_program_env arguments.
29497         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29498         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29499         $(test-program-prefix-before-env), $(run-program-env) and
29500         $(test-program-prefix-after-env).
29501         ($(objpfx)tst-gettext2.out): Likewise.
29502         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29503         run_program_env and test_program_prefix_after_env arguments.
29504         * intl/tst-gettext2.sh: Likewise.
29505         * intl/tst-gettext4.sh: Do not set environment variables
29506         explicitly.
29507         * intl/tst-gettext6.sh: Likewise.
29508         * intl/tst-translit.sh: Likewise.
29509         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29510         $(test-program-prefix-before-env), $(run-program-env) and
29511         $(test-program-prefix-after-env).
29512         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29513         run_program_env and test_program_prefix_after_env arguments.
29514         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29515         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29516         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29517         explicitly with each use of ${test_wrapper_env}.
29518         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29519         $(test-program-prefix-before-env), $(run-program-env) and
29520         $(test-program-prefix-after-env).
29521         * posix/tst-getconf.sh: Do not set environment variables
29522         explicitly.
29523         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29524         run_program_env and test_program_prefix_after_env arguments.
29525         * stdio-common/tst-printf.sh: Do not set environment variables
29526         explicitly.
29527         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29528         $(test-program-prefix-before-env), $(run-program-env) and
29529         $(test-program-prefix-after-env).
29530         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29531         run_program_env and test_program_prefix_after_env arguments.
29532         Split $test calls into $test_pre and $test.
29533         * timezone/Makefile (build-testdata): Use
29534         $(built-program-cmd-before-env), $(run-program-env) and
29535         $(built-program-cmd-after-env).
29537 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29539         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29540         strlen for non SHARED builds.
29542 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29544         * nptl/allocatestack.c (check_list): Inlined function...
29545         (__reclaim_stacks): ... here.
29547 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29549         [BZ #15698]
29550         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29551         memory overrun.
29553 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29555         * Rules (make-test-out): Include
29556         LOCPATH=$(common-objpfx)localedata in default environment.
29557         * debug/Makefile (tst-chk1-ENV): Remove variable.
29558         (tst-chk2-ENV): Likewise.
29559         (tst-chk3-ENV): Likewise.
29560         (tst-chk4-ENV): Likewise.
29561         (tst-chk5-ENV): Likewise.
29562         (tst-chk6-ENV): Likewise.
29563         (tst-lfschk1-ENV): Likewise.
29564         (tst-lfschk2-ENV): Likewise.
29565         (tst-lfschk3-ENV): Likewise.
29566         (tst-lfschk4-ENV): Likewise.
29567         (tst-lfschk5-ENV): Likewise.
29568         (tst-lfschk6-ENV): Likewise.
29569         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29570         (tst-iconv7-ENV): Likewise.
29571         * intl/Makefile (LOCPATH-ENV): Likewise.
29572         (tst-codeset-ENV): Likewise.
29573         (tst-gettext3-ENV): Likewise.
29574         (tst-gettext5-ENV): Likewise.
29575         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29576         (tst-fopenloc-ENV): Likewise.
29577         (tst-fgetws-ENV): Remove variable.
29578         (tst-ungetwc1-ENV): Likewise.
29579         (tst-ungetwc2-ENV): Likewise.
29580         (bug-ungetwc2-ENV): Likewise.
29581         (tst-swscanf-ENV): Likewise.
29582         (bug-ftell-ENV): Likewise.
29583         (tst-fgetwc-ENV): Likewise.
29584         (tst-fseek-ENV): Likewise.
29585         (tst-ftell-partial-wide-ENV): Likewise.
29586         (tst-ftell-active-handler-ENV): Likewise.
29587         (tst-ftell-append-ENV): Likewise.
29588         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29589         (tst-regexloc-ENV): Likewise.
29590         (bug-regex1-ENV): Likewise.
29591         (tst-regex-ENV): Likewise.
29592         (tst-regex2-ENV): Likewise.
29593         (bug-regex5-ENV): Likewise.
29594         (bug-regex6-ENV): Likewise.
29595         (bug-regex17-ENV): Likewise.
29596         (bug-regex18-ENV): Likewise.
29597         (bug-regex19-ENV): Likewise.
29598         (bug-regex20-ENV): Likewise.
29599         (bug-regex22-ENV): Likewise.
29600         (bug-regex23-ENV): Likewise.
29601         (bug-regex25-ENV): Likewise.
29602         (bug-regex26-ENV): Likewise.
29603         (bug-regex30-ENV): Likewise.
29604         (bug-regex32-ENV): Likewise.
29605         (bug-regex33-ENV): Likewise.
29606         (bug-regex34-ENV): Likewise.
29607         (bug-regex35-ENV): Likewise.
29608         (tst-rxspencer-ENV): Likewise.
29609         (tst-rxspencer-no-utf8-ENV): Likewise.
29610         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29611         (tst-sscanf-ENV): Likewise.
29612         (tst-swprintf-ENV): Likewise.
29613         (tst-swscanf-ENV): Likewise.
29614         (test-vfprintf-ENV): Likewise.
29615         (scanf13-ENV): Likewise.
29616         (bug14-ENV): Likewise.
29617         (tst-grouping-ENV): Likewise.
29618         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29619         (tst-strtod3-ENV): Likewise.
29620         (tst-strtod4-ENV): Likewise.
29621         (tst-strtod5-ENV): Likewise.
29622         (testmb2-ENV): Likewise./
29623         * string/Makefile (tst-strxfrm-ENV): Likewise.
29624         (tst-strxfrm2-ENV): Likewise.
29625         (bug-strcoll1-ENV): Likewise.
29626         (test-strcasecmp-ENV): Likewise.
29627         (test-strncasecmp-ENV): Likewise.
29628         * time/Makefile (tst-strptime-ENV): Likewise.
29629         (tst-ftime_l-ENV): Likewise.
29630         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29631         (tst-mbrtowc-ENV): Likewise.
29632         (tst-wcrtomb-ENV): Likewise.
29633         (tst-mbrtowc2-ENV): Likewise.
29634         (tst-c16c32-1-ENV): Likewise.
29635         (tst-mbsnrtowcs-ENV): Likewise.
29637 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29639         * manual/resource.texi (How to get information about the memory
29640         subsystem?): Fix typo.
29641         Reported by Peon de la Parra Ivan <peon@keba.com>
29643 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29645         [BZ #16882]
29646         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29647         (pthread_spin_lock): Branch out of spin loop to proper location.
29648         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29649         (pthread_spin_lock): Likewise.
29651         * nptl/tst-spin4.c: New test.
29652         * nptl/Makefile (tests): Add tst-spin4.
29654 2014-06-03  Andreas Schwab  <schwab@suse.de>
29656         [BZ #15946]
29657         * resolv/res_send.c (send_dg): Reload file descriptor after
29658         calling reopen.
29660 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29662         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29664 2014-06-03  Richard Henderson  <rth@redhat.com>
29666         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29667         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29668         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29669         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29670         in the SAVE_PID block.
29671         (__libc_vfork): New alias.
29672         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29674         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29675         child in registers, not on the stack.  Remove RESET_PID conditionals.
29676         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29678 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29680         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29682 2014-06-03  Wilco  <wdijkstr@arm.com>
29684         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29685         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29686         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29687         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29688         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29689         Likewise.
29691 2014-06-03  Wilco  <wdijkstr@arm.com>
29693         * sysdeps/aarch64/fpu/math_private.h
29694         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29695         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29696         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29697         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29698         Fix declarations.
29700 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29702         * crypt/crypt-private.h: Include ufc-crypt.h.
29703         (__b64_from_24bit): Declare extern.
29704         * crypt/crypt_util.c(__b64_from_24bit): New function.
29705         (b64t): New static const variable.
29706         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29707         (b64t): Remove variable.
29708         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29709         * crypt/sha256-crypt.c: Include crypt-private.h.
29710         (b64t): Remove variable.
29711         (__sha256_crypt_r): Remove b64_from_24bit and replace
29712         with __b64_from_24bit.
29713         * crypt/sha512-crypt.c: Likewise.
29715 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29717         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29718         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29719         Label the code __libc_vfork rather than __vfork.
29720         [!NOT_IN_libc] (vfork): Define as weak alias.
29721         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29722         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29723         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29725 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29727         * malloc/malloc.c (malloc_info): Fix format specifier for
29728         n_mmaps.
29730 2014-06-02  Wilco  <wdijkstr@arm.com>
29732         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29733         FPCR write.
29735 2014-06-02  Wilco  <wdijkstr@arm.com>
29737         [BZ #17009]
29738         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29739         Rewrite to reduce FPCR/FPSR accesses.
29741 2014-06-01  David S. Miller  <davem@davemloft.net>
29743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29745 2014-05-31  David S. Miller  <davem@davemloft.net>
29747         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29748         to occur in round to nearest mode when |x| >= 2.0
29750 2014-05-30  Richard Henderson  <rth@twiddle.net>
29752         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29753         (PSEUDO_RET_NOERRNO): Remove.
29754         (ret): Don't redefine.
29755         (ret_NOERRNO): Define in terms of ret.
29756         (ret_ERRVAL): Likewise.
29758         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29759         use of PSEUDO_RET; perform the error check directly.
29761 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29763         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29764         with __int128_t.
29766 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29768         * malloc/malloc (malloc_info): Fix formatting.
29770 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29771             Roland McGrath  <roland@hack.frob.com>
29773         * malloc/malloc (malloc_info): Also print mmapped statistics.
29775 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29777         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29778         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29780 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29782         * malloc/malloc.c (malloc_info): Inline mi_arena.
29784 2014-05-29  Richard Henderson  <rth@twiddle.net>
29786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29787         Remove comma before expanding ASM_ARGS_##nr.
29788         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29789         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29790         of ASM_ARGS_##nr.
29791         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29792         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29793         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29794         (ASM_ARGS_1): Add leading comma.
29796         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29797         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29798         to __errno_location.
29799         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29800         Remove the expected plt for __errno_location.
29802         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29803         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29804         call to __read_tp.
29806         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29807         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29808         it and break it down.
29809         (DOCARGS_0, DOCARGS_1): Do nothing.
29810         (DOCARGS_2): Update to store into the new stack frame.
29811         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29812         (UNDOCARGS_1): Update to restore from the new stack frame.
29813         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29814         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29817         (SINGLE_THREAD_P): New parameter for result regno.
29818         (PSEUDO): Update to match; use cbz instead of beq.
29820         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29821         Use ENTRY to define the _nocancel entry point.  Share the syscall
29822         and syscall error check paths with the cancel path.
29823         (PSEUDO_END): New.
29825         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29826         whitespace; tabs before and after asm mnemonics.
29828 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29830         [BZ #15132]
29831         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29832         Call fstat64 or stat64 internally, depending on arguments passed.
29833         Replace stat buffer argument with file descriptor argument.
29834         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
29835         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29836         Pass fd to __internal_statvfs instead of calling fstat64.
29837         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
29838         Pass fd to __internal_statvfs64 instead of calling fstat64.
29839         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
29840         Pass -1 to __internal_statvfs instead of calling stat64.
29841         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
29842         Pass -1 to __internal_statvfs64 instead of calling stat64.
29844 2014-05-28  Roland McGrath  <roland@hack.frob.com>
29846         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
29847         that was previously under [RESET_PID].
29848         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
29850         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
29851         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
29853 2014-05-27  Roland McGrath  <roland@hack.frob.com>
29855         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
29857         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
29858         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
29860 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
29862         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
29864 2014-05-27  Andreas Schwab  <schwab@suse.de>
29866         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
29867         TLS_INIT_TP macro.
29868         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
29869         * elf/rtld.c (init_tls, dl_main): Likewise.
29870         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
29871         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
29872         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
29873         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
29874         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
29875         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
29876         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
29877         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
29878         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
29879         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
29880         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
29881         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
29882         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
29883         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
29884         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
29885         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
29886         * sysdeps/generic/tls.h: Update description.
29888 2014-05-27  Will Newton  <will.newton@linaro.org>
29890         [BZ #16990]
29891         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
29892         and restore r2 rather than just restoring.
29894 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29896         [BZ #16724]
29897         * libio/tst-ftell-append.c: New test case.
29898         * libio/Makefile (tests): Add test case.
29899         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
29900         append mode.
29901         * libio/wfileops.c (do_ftell_wide): Likewise.
29903 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29907         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
29908         ...
29909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
29910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29911         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
29912         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
29913         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
29914         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
29915         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
29916         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
29917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29918         Moved ...
29919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
29920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29921         Moved ...
29922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
29923         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
29924         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
29925         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
29926         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
29927         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
29928         ...
29929         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
29930         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
29931         Moved ...
29932         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
29933         here.
29934         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
29935         ...
29936         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
29937         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
29938         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
29940         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
29941         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
29942         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
29943         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
29945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
29946         merge into ...
29947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
29948         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
29949         ...
29950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
29951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
29952         ...
29953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
29954         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29955         Moved ...
29956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
29957         here.
29958         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29959         Moved ...
29960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
29961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29962         Moved ...
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
29965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
29966         conditional [RESET_PID].
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
29968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
29969         removed.
29970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
29971         removed.
29973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
29974         <tcb-offsets.h>.
29975         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29976         (__libc_vfork): New strong alias.
29977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
29978         removed.
29979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
29980         Removed.
29982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
29983         <tcb-offsets.h>.
29984         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
29985         (__libc_vfork): New strong alias.
29986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
29987         removed.
29988         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
29989         removed.
29991 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
29993         * malloc/malloc.c (mi_arena): New function.
29994         (malloc_info): Remove nested function mi_arena. Call non-nosted
29995         function mi_arena.
29997 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29999         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30000         by insrwi.
30001         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30002         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30003         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30004         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30005         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30006         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30007         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30009 2014-05-26  Andreas Schwab  <schwab@suse.de>
30011         [BZ #16984]
30012         * locale/programs/repertoire.c (repertoire_read): Add slash
30013         between I18NPATH element and file name.
30014         * locale/programs/locfile.c (locfile_read): Likewise.
30016 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30018         * nptl/pthread_mutexattr_settype.c
30019         (__pthread_mutexattr_settype):
30020         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30022 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30024         * nptl/tst-mutex5 (do_test):
30025         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30027 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30029         * benchtests/README: Document 'init' directive.
30030         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30031         BENCH_INIT.
30032         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30033         (parse_file): Recognize 'init' directive.
30035 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30037         [BZ #16796]
30038         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30039         alignment of struct pthread.
30041 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30043         [BZ #16878]
30044         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30045         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30046         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30047         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30049 2014-05-25  Richard Henderson  <rth@twiddle.net>
30051         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30052         (SINGLE_THREAD_P_PIC): Remove.
30053         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30054         (SINGLE_THREAD_P_PIC): Remove.
30056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30057         branch to syscall error ...
30058         (PSEUDO): ... here.
30059         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30060         from __local_syscall_error to .Lsyscall_error.
30061         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30062         (SYSCALL_ERROR): Update label name.
30064         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30065         Do not use DOARGS/UNDOARGS.
30066         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30067         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30068         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30069         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30070         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30072         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30073         block comment.
30075         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30076         define if !NOT_IN_libc.
30077         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30078         define with non-default symbol versions.
30080 2014-05-23  Richard Henderson  <rth@twiddle.net>
30082         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30083         (vfork, __vfork): Define via compat_symbol.
30085         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30086         [!HAVE_IFUNC] (vfork_compat): Remove.
30087         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30089 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30091         [BZ #16978]
30092         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30093         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30094         variable.
30096 2014-05-23  Richard Henderson  <rth@twiddle.net>
30098         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30099         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30100         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30101         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30103         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30104         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30105         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30106         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30107         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30108         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30109         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30110         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30111         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30112         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30113         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30114         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30115         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30116         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30117         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30118         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30119         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30120         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30121         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30122         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30123         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30124         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30125         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30126         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30127         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30128         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30129         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30130         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30131         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30132         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30133         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30134         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30135         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30136         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30137         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30138         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30139         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30140         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30141         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30142         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30143         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30144         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30145         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30146         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30147         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30148         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30149         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30150         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30152         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30154         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30156         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30157         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30158         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30160         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30161         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30162         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30163         before exiting on error.
30164         (__libc_vfork): New strong alias.
30165         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30166         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30168         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30169         that was previously under [RESET_PID].
30170         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30172         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30174 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30176         [BZ #16977]
30177         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30178         value when x - 1 is zero.
30179         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30180         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30181         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30182         0.0L for an argument of 1.0L.
30183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30184         Likewise.
30185         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30186         value when x - 1 is zero.
30187         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30188         * sysdeps/i386/fpu/libm-test-ulps: Update.
30189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30191 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30193         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30194         alphasort and versionsort.
30196 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30198         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30199         macro.
30200         [copysignf]: Likewise.
30202 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30204         * crypt/md5-crypt.c: Fix formatting.
30206 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30208         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30209         (b64_from_24bit): New function.
30211 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30213         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30214         libc_hidden_builtin_def to ifunc.
30215         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30216         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30218 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30220         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30221         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30223 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30225         * nscd/Depend (linuxthreads): Remove.
30226         (nptl): Add.
30227         * resolv/Depend (linuxthreads): Remove.
30228         * rt/Depend (linuxthreads): Remove.
30230         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30231         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30232         $(common-objpfx)elf/.
30233         (link-libc-before-gnulib): Likewise.
30234         (elfobjdir): Remove variable.
30235         * Makefile (install): Use $(elf-objpfx) instead of
30236         $(common-objpfx)elf/.
30237         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30238         $(elfobjdir)/.
30239         (link-libc-deps): Likewise.
30240         ($(common-objpfx)libc.so): Likewise.
30241         ($(common-objpfx)linkobj/libc.so): Likewise.
30242         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30243         instead of $(common-objpfx)elf/.
30244         (symbolic-link-list): Likewise.
30245         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30246         [$(cross-compiling) = no]: Likewise.
30247         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30248         $(elfobjdir)/.
30249         (static-gnulib-arch): Likewise.
30250         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30251         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30252         $(common-objpfx)elf/.
30254 2014-05-21  Richard Henderson  <rth@redhat.com>
30256         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30257         (SINGLE_THREAD_P): Use the correct width load.  Fold
30258         into the ldr offset.
30260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30261         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30263 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30265         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30266         (libgcc_s_resume): Use __attribute_used__.
30267         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30268         Likewise.
30270 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30272         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30273         optimization when used with float constants.
30275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30277 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30279         [BZ #16915]
30280         * locale/nl_langinfo_l.c: Make direct reference to every
30281         _nl_current_CATEGORY symbol.
30282         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30283         (tests-static): Add tst-langinfo-static.
30284         (tests-special): Add tst-langinfo-static.out.
30285         ($(objpfx)tst-langinfo.out): Redirect output.
30286         ($(objpfx)tst-langinfo-static.out): New.
30287         * localedata/tst-langinfo.sh: Send output to stdout.
30288         * localedata/tst-langinfo-static.c: New file.
30290         [BZ #16965]
30291         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30292         when the shift amount is modulo the limb size.
30294 2014-05-20  Richard Henderson  <rth@redhat.com>
30296         [BZ #16967]
30297         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30298         Change type of sa_flags from unsigned int to int.
30300         [BZ #16966]
30301         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30303         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30305 2014-05-20  Will Newton  <will.newton@linaro.org>
30307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30308         Test the return value of the system call in the nocancel case.
30310 2014-05-20  Will Newton  <will.newton@linaro.org>
30311             Yvan Roux  <yvan.roux@linaro.org>
30313         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30314         #include of asm/ptrace.h.
30315         (PTRACE_GET_THREAD_AREA): Remove #undef.
30316         (PTRACE_GETHBPREGS): Likewise.
30317         (PTRACE_SETHBPREGS): Likewise.
30318         (struct user_regs_struct): New structure.
30319         (struct user_fpsimd_struct): New structure.
30320         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30321         #include of asm/ptrace.h and second #include of sys/user.h.
30322         (PTRACE_GET_THREAD_AREA): Remove #undef.
30323         (PTRACE_GETHBPREGS): Likewise.
30324         (PTRACE_SETHBPREGS): Likewise.
30325         (ELF_NGREG): Use new struct user_regs_struct.
30326         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30328 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30330         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30331         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30333 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30335         [BZ #16958]
30336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30337         membar to avoid block loads/stores to overlap previous stores.
30339 2014-05-17  Richard Henderson  <rth@redhat.com>
30341         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30342         Create the __##syscall_name##_nocancel entry point.
30343         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30344         Remove; let the sysdep-cancel.h code create it.
30346 2014-05-17  David S. Miller  <davem@davemloft.net>
30348         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30349         Protect with __USE_GNU.
30350         (TIOCSET_TEMPT): Likewise.
30351         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30352         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30353         these are already provided in bits/ioctl-types.h
30355 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30357         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30358         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30360         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30361         Use wait4 regardless of [__NR_waitpid].
30363 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30365         PR libgcc/60166
30366         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30367         (_FP_NANSIGN_Q): Set the quiet bit.
30369 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30371         * benchtests/Makefile
30372         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30373         not $(common-objpfx)math/libm.so.
30374         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30375         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30376         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30377         $(common-objpfx)dlfcn/libdl.so.
30378         ($(objpfx)tst-audit8): Depend on $(libm), not
30379         $(common-objpfx)math/libm.so.
30380         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30381         not $(common-objpfx)dlfcn/libdl.so.
30382         * math/Makefile
30383         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30384         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30385         [$(build-shared) = yes].
30386         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30387         $(common-objpfx)nptl/libpthread.so.
30388         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30389         $(common-objpfx)math/libm.so$(libm.so-version) or
30390         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30391         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30392         $(common-objpfx)dlfcn/libdl.so.
30393         * setjmp/Makefile (link-libm): Remove variable.
30394         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30395         * stdio-common/Makefile (link-libm): Remove variable.
30396         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30397         * stdlib/Makefile (link-libm): Remove variable.
30398         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30399         ($(objpfx)tst-strtod-round): Likewise.
30400         ($(objpfx)tst-tininess): Likewise.
30401         ($(objpfx)tst-strtod-underflow): Likewise.
30402         ($(objpfx)tst-strtod6): Likewise.
30403         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30404         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30405         $(common-objpfx)dlfcn/libdl.so.
30407 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30409         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30410         BSD terminal modes definitions.
30412 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30414         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30415         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30417         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30418         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30419         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30420         Don't do #include_next.
30421         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30422         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30423         Don't do #include_next.
30424         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30425         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30426         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30427         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30429 2014-05-16  Allan McRae  <allan@archlinux.org>
30431         * po/sv.po: Update Swedish translation from translation project.
30433         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30434         in sed expression.
30436 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30438         [BZ #16917]
30439         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30440         errno if the TIOCGPTN ioctl fails with an error different than
30441         EINVAL.
30442         * login/tst-ptsname.c: New file.
30443         * login/Makefile (tests): Add tst-ptsname.
30445         [BZ #16943]
30446         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30447         and prlimit64.
30449 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30451         [BZ #16849]
30452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30453         herrno to return EAI_AGAIN.
30455 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30457         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30458         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30459         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30460         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30461         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30462         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30463         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30464         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30465         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30466         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30467         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30468         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30469         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30470         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30471         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30472         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30473         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30474         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30475         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30476         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30477         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30478         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30479         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30480         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30481         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30482         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30483         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30484         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30485         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30486         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30488         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30490         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30492         Moved ...
30493         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30495         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30497         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30499         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30501         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30503         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30505         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30507         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30509         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30511         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30513         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30515         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30517         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30519         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30521         Moved ...
30522         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30524         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30526         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30528         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30530         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30532         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30536         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30538         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30540         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30542         Moved ...
30543         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30545         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30547         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30548         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30549         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30550         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30551         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30552         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30553         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30554         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30555         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30556         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30557         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30558         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30559         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30560         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30561         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30562         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30563         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30564         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30565         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30566         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30567         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30568         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30569         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30571         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30573         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30574         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30575         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30577         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30579         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30580         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30582         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30583         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30584         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30585         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30586         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30587         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30588         Moved ...
30589         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30591         Moved ...
30592         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30593         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30594         Moved ...
30595         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30597         Moved ...
30598         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30599         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30600         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30601         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30602         Moved ...
30603         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30605         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30607         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30608         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30609         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30610         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30611         Moved ...
30612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30613         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30614         Moved ...
30615         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30616         ... here.
30617         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30618         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30619         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30620         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30621         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30622         Moved ...
30623         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30624         ... here.
30625         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30626         Moved ...
30627         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30629         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30630         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30631         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30633         Moved ...
30634         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30635         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30636         Moved ...
30637         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30639         Moved ...
30640         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30641         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30642         Moved ...
30643         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30644         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30645         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30646         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30647         Moved ...
30648         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30649         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30650         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30651         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30652         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30653         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30654         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30655         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30656         Moved ...
30657         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30659         Moved ...
30660         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30661         ... here.
30662         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30663         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30664         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30665         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30666         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30667         Moved ...
30668         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30669         ... here.
30670         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30671         Moved ...
30672         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30673         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30674         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30675         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30676         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30677         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30678         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30679         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30680         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30681         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30682         Moved ...
30683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30684         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30685         Moved ...
30686         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30687         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30688         Moved ...
30689         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30690         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30691         Moved ...
30692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30693         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30694         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30695         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30696         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30697         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30698         Moved ...
30699         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30700         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30701         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30702         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30703         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30704         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30705         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30706         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30707         Moved ...
30708         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30709         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30710         Moved ...
30711         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30712         ... here.
30713         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30714         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30715         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30716         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30717         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30718         Moved ...
30719         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30720         ... here.
30721         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30722         Moved ...
30723         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30724         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30725         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30726         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30727         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30728         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30729         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30730         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30731         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30732         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30733         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30735         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30736         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30738         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30739         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30741         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30742         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30743         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30744         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30745         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30746         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30747         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30748         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30749         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30750         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30751         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30752         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30753         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30754         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30755         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30756         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30757         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30758         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30759         Moved ...
30760         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30761         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30762         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30763         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30764         Moved ...
30765         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30767         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30768         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30769         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30770         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30771         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30772         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30773         Moved ...
30774         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30775         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30776         Moved ...
30777         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30778         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30779         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30780         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30781         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30783         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30784         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30785         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30786         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30787         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30788         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30789         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30790         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30791         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30792         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30793         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30795         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30796         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30797         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30798         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30799         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30801         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30802         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30803         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30804         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30805         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30806         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30807         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30808         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30809         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30810         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30812         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30815         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30816         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30817         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30818         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30819         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30820         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30821         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30822         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30823         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30824         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30825         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30826         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30827         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30828         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30830         Update #include.
30831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30832         Likewise.
30833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30834         Likewise.
30835         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30836         Likewise.
30837         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30838         Likewise.
30839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
30840         Likewise.
30841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
30842         Likewise.
30843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
30844         Likewise.
30845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
30846         Likewise.
30847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
30848         Likewise.
30849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
30850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
30851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
30852         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
30853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
30854         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
30855         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
30856         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
30857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
30858         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
30859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
30860         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
30861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
30862         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
30863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
30865         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
30866         that was previously under [RESET_PID].
30867         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30868         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
30869         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
30871         * sysdeps/i386/nptl/Implies: New file.
30872         * sysdeps/x86_64/nptl/Implies: New file.
30873         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
30874         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
30875         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
30876         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
30878         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
30879         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30880         (__libc_vfork): New strong alias.
30881         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
30882         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
30884         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
30885         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30886         (__libc_vfork): New strong alias.
30887         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
30888         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
30890         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
30891         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30892         (__libc_vfork): New strong alias.
30893         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
30894         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
30895         * nptl/pt-vfork.c: New file.
30896         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
30897         (libpthread: GLIBC_2.20): New version set (empty).
30899 2014-05-14  Will Newton  <will.newton@linaro.org>
30901         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
30902         rather than #if.
30904 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #16564]
30907         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
30908         arguments with exponent 65 or above.
30909         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
30910         arguments 0x1p113L or above.
30911         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
30912         to arguments 0x1p107L or above.
30913         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
30914         positive arguments with exponent 65 or above.
30915         * math/auto-libm-test-in: Add more tests of log1p.
30916         * math/auto-libm-test-out: Regenerated.
30918         [BZ #16928]
30919         * math/s_cacos.c (__cacos): Ensure zero real part of result from
30920         non-finite arguments is +0.
30921         * math/s_cacosf.c (__cacosf): Likewise.
30922         * math/s_cacosl.c (__cacosl): Likewise.
30923         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
30924         * sysdeps/i386/fpu/libm-test-ulps: Update.
30925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30927         [BZ #16927]
30928         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
30929         value.
30930         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30931         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
30932         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
30933         for explicit high bit of mantissa when testing for argument equal
30934         to 1.
30935         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
30936         * sysdeps/i386/fpu/libm-test-ulps: Update.
30937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30939         [BZ #16516]
30940         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
30941         (__erf): Scale by 16 instead of 8 in potentially underflowing
30942         case.  Ensure exception if result actually underflows.
30943         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
30944         (__erff): Scale by 16 instead of 8 in potentially underflowing
30945         case.  Ensure exception if result actually underflows.
30946         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
30947         (efx8): Remove variable.
30948         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30949         case.  Ensure exception if result actually underflows.
30950         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
30951         (efx8): Remove variable.
30952         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30953         case.  Ensure exception if result actually underflows.
30954         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
30955         (efx8): Remove variable.
30956         (__erfl): Scale by 16 instead of 8 in potentially underflowing
30957         case.  Ensure exception if result actually underflows.
30958         * math/auto-libm-test-in: Add more tests of erf.
30959         * math/auto-libm-test-out: Regenerated.
30961 2014-05-14  Andreas Schwab  <schwab@suse.de>
30963         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
30964         Remove code conditionalized on USE___THREAD.
30966         * config.h.in (HAVE_PT_CHOWN): Define as 0.
30967         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
30968         not definedness.
30970 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
30972         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
30973         Define unconditionally.
30974         (__ASSUME_O_CLOEXEC): Likewise.
30975         (__ASSUME_SOCK_CLOEXEC): Likewise.
30976         (__ASSUME_IN_NONBLOCK): Likewise.
30977         (__ASSUME_PIPE2): Likewise.
30978         (__ASSUME_EVENTFD2): Likewise.
30979         (__ASSUME_SIGNALFD4): Likewise.
30980         (__ASSUME_DUP3): Likewise.
30981         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30982         (__ASSUME_DUP3): Do not define.
30983         (__ASSUME_EVENTFD2): Likewise.
30984         (__ASSUME_IN_NONBLOCK): Likewise.
30985         (__ASSUME_O_CLOEXEC): Likewise.
30986         (__ASSUME_PIPE2): Likewise.
30987         (__ASSUME_SIGNALFD4): Likewise.
30988         (__ASSUME_SOCK_CLOEXEC): Likewise.
30989         (__ASSUME_UTIMES): Undefine.
30990         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30991         (__ASSUME_UTIMES): Do not define.
30992         (__ASSUME_O_CLOEXEC): Likewise.
30993         (__ASSUME_SOCK_CLOEXEC): Likewise.
30994         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
30995         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
30996         0x020621].
30997         (__ASSUME_PIPE2): Likewise.
30998         (__ASSUME_EVENTFD2): Likewise.
30999         (__ASSUME_SIGNALFD4): Likewise.
31000         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31001         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31002         Do not define.
31003         (__ASSUME_EVENTFD2): Likewise.
31004         (__ASSUME_SIGNALFD4): Likewise.
31005         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31006         (__ASSUME_32BITUIDS): Likewise.
31007         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31008         (__ASSUME_IPC64): Likewise.
31009         (__ASSUME_ST_INO_64_BIT): Likewise.
31010         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31011         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31012         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31013         (__ASSUME_UTIMES): Do not define.
31014         (__ASSUME_PSELECT): Likewise.
31015         (__ASSUME_PPOLL): Likewise.
31016         (__ASSUME_O_CLOEXEC): Likewise.
31017         (__ASSUME_SOCK_CLOEXEC): Likewise.
31018         (__ASSUME_IN_NONBLOCK): Likewise.
31019         (__ASSUME_PIPE2): Likewise.
31020         (__ASSUME_EVENTFD2): Likewise.
31021         (__ASSUME_SIGNALFD4): Likewise.
31022         (__ASSUME_DUP3): Likewise.
31023         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31024         (__ASSUME_UTIMES): Likewise.
31025         (__ASSUME_O_CLOEXEC): Likewise.
31026         (__ASSUME_SOCK_CLOEXEC): Likewise.
31027         (__ASSUME_IN_NONBLOCK): Likewise.
31028         (__ASSUME_PIPE2): Likewise.
31029         (__ASSUME_EVENTFD2): Likewise.
31030         (__ASSUME_SIGNALFD4): Likewise.
31031         (__ASSUME_DUP3): Likewise.
31032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31033         (__ASSUME_UTIMES): Likewise.
31034         (__ASSUME_O_CLOEXEC): Likewise.
31035         (__ASSUME_SOCK_CLOEXEC): Likewise.
31036         (__ASSUME_IN_NONBLOCK): Likewise.
31037         (__ASSUME_PIPE2): Likewise.
31038         (__ASSUME_EVENTFD2): Likewise.
31039         (__ASSUME_SIGNALFD4): Likewise.
31040         (__ASSUME_DUP3): Likewise.
31041         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31042         Likewise.
31043         (__ASSUME_UTIMES): Likewise.
31044         (__ASSUME_EVENTFD2): Likewise.
31045         (__ASSUME_SIGNALFD4): Likewise.
31046         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31047         (__ASSUME_O_CLOEXEC): Likewise.
31048         (__ASSUME_SOCK_CLOEXEC): Likewise.
31049         (__ASSUME_IN_NONBLOCK): Likewise.
31050         (__ASSUME_PIPE2): Likewise.
31051         (__ASSUME_EVENTFD2): Likewise.
31052         (__ASSUME_SIGNALFD4): Likewise.
31053         (__ASSUME_DUP3): Likewise.
31054         (__ASSUME_UTIMES): Undefine.
31056         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31057         feclearexcept.  Remove symbol versioning code.
31058         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31059         symbol versioning code.
31060         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31061         symbol versioning code.
31062         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31063         feupdateenv.  Remove symbol versioning code.
31064         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31065         fegetexceptflag.  Remove symbol versioning code.
31066         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31067         fesetexceptflag.  Remove symbol versioning code.
31068         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31069         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31070         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31071         (__posix_fadvise64_l32): Remove prototype.
31072         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31073         code.
31075 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31077         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31078         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31079         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31080         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31082 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31084         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31085         current working directory
31087 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31089         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31090         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31091         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31092         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31093         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31094         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31095         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31096         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31097         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31098         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31099         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31100         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31101         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31102         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31103         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31104         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31105         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31106         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31107         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31108         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31109         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31110         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31111         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31112         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31113         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31114         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31116         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31118         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31119         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31120         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31121         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31122         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31123         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31124         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31125         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31126         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31127         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31128         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31129         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31130         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31132         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31133         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31135         * sysdeps/unix/sysv/linux/arm/Makefile
31136         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31137         Add rt-aeabi_unwind_cpp_pr1.
31138         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31139         Add nptl-aeabi_unwind_cpp_pr1.
31140         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31141         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31142         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31143         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31144         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31145         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31147         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31148         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31149         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31150         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31152         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31153         Deconditionalize the code that was previously under [RESET_PID].
31154         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31156         * sysdeps/generic/exit-thread.h: New file.
31157         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31158         * include/unistd.h (__exit_thread): Remove declaration.
31159         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31160         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31161         * csu/libc-start.c: Include <exit-thread.h>.
31162         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31163         * nptl/pthread_create.c: Include <exit-thread.h>.
31164         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31165         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31166         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31167         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31168         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31169         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31170         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31171         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31172         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31173         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31174         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31175         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31176         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31177         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31178         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31179         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31180         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31182 2014-05-13  Andreas Schwab  <schwab@suse.de>
31184         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31186 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31188         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31189         (__ASSUME_UTIMES): Do not condition on kernel version.
31190         (__ASSUME_PSELECT): Define unconditionally.
31191         (__ASSUME_PPOLL): Likewise.
31192         (__ASSUME_ATFCTS): Likewise.
31193         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31194         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31195         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31196         (__ASSUME_UTIMENSAT): Define unconditionally.
31197         (__ASSUME_PRIVATE_FUTEX): Likewise.
31198         (__ASSUME_FALLOCATE): Likewise.
31199         (__ASSUME_O_CLOEXEC): Likewise.
31200         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31201         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31202         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31203         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31204         (__ASSUME_IN_NONBLOCK): Likewise.
31205         (__ASSUME_PIPE2): Likewise.
31206         (__ASSUME_EVENTFD2): Likewise.
31207         (__ASSUME_SIGNALFD4): Likewise.
31208         (__ASSUME_DUP3): Likewise.
31209         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31210         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31211         (__ASSUME_AT_RANDOM): Likewise.
31212         (__ASSUME_PREADV): Likewise.
31213         (__ASSUME_PWRITEV): Likewise.
31214         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31215         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31216         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31217         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31218         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31219         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31220         (__ASSUME_O_CLOEXEC): Define unconditionally.
31221         (__ASSUME_PSELECT): Do not undefine conditionally.
31222         (__ASSUME_PPOLL): Likewise.
31223         (__ASSUME_ATFCTS): Likewise.
31224         (__ASSUME_SET_ROBUST_LIST): Likewise.
31225         (__ASSUME_UTIMENSAT): Likewise.
31226         (__ASSUME_FDATASYNC): Define unconditionally.
31227         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31228         (__ASSUME_SIGFRAME_V2): Likewise.
31229         )__ASSUME_EVENTFD2): Likewise.
31230         (__ASSUME_SIGNALFD4): Likewise.
31231         (__ASSUME_PSELECT): Do not undefine conditionally.
31232         (__ASSUME_PPOLL): Likewise.
31233         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31234         (__ASSUME_PSELECT): Define unconditionally.
31235         (__ASSUME_PPOLL): Likewise.
31236         (__ASSUME_O_CLOEXEC): Likewise.
31237         (__ASSUME_SOCK_CLOEXEC): Likewise.
31238         (__ASSUME_IN_NONBLOCK): Likewise.
31239         (__ASSUME_PIPE2): Likewise.
31240         (__ASSUME_EVENTFD2): Likewise.
31241         (__ASSUME_SIGNALFD4): Likewise.
31242         (__ASSUME_DUP3): Likewise.
31243         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31244         (__ASSUME_O_CLOEXEC): Likewise.
31245         (__ASSUME_SOCK_CLOEXEC): Likewise.
31246         (__ASSUME_IN_NONBLOCK): Likewise.
31247         (__ASSUME_PIPE2): Likewise.
31248         (__ASSUME_EVENTFD2): Likewise.
31249         (__ASSUME_SIGNALFD4): Likewise.
31250         (__ASSUME_DUP3): Likewise.
31251         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31252         (__ASSUME_EVENTFD2): Likewise.
31253         (__ASSUME_SIGNALFD4): Likewise.
31254         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31256 2014-05-12  Andreas Schwab  <schwab@suse.de>
31258         [BZ #16932]
31259         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31260         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31261         than maximum RPC packet size.
31262         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31263         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31264         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31265         (_nss_nis_getservbyport_r): Likewise.
31267 2014-05-12  Will Newton  <will.newton@linaro.org>
31269         * malloc/Makefile (tests): Add tst-mallopt.
31270         * malloc/tst-mallopt.c: New file.
31272 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31274         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31275         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31277 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31279         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31280         (tst-tlsmod6.so): Likewise.
31282 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31284         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31286 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31288         [BZ #16064]
31289         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31290         and <dl-procinfo.h>.
31291         (__fegetenv): Save SSE state in envp->__eip if supported.
31292         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31293         envp->__eip if supported.
31294         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31295         and <dl-procinfo.h>.
31296         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31297         __data_offset and __data_selector in environment to 0.  Set SSE
31298         state if supported.
31299         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31300         test-fenv-sse.
31301         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31302         -mfpmath=sse.
31303         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31305 2014-05-09  Will Newton  <will.newton@linaro.org>
31307         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31308         and libc_relro_required for ARM.
31309         * sysdeps/arm/preconfigure: Regenerate.
31311 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31312             Stefan Liebler  <stli@linux.vnet.ibm.com>
31314         * config.make.in (enable-lock-elision): New Makefile variable.
31315         * configure.ac: Likewise.
31316         * configure: Regenerate.
31317         * sysdeps/s390/configure.ac:
31318         Add check for gcc transactions support.
31319         * sysdeps/s390/configure: Regenerate.
31320         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31321         Build elision files if enabled.
31322         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31323         Add lock elision support for s390.
31324         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31325         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31326         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31327         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31328         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31329         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31330         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31331         Likewise.
31332         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31333         Likewise.
31334         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31335         Likewise.
31336         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31337         Likewise.
31338         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31339         (__lll_timedlock_elision, __lll_lock_elision)
31340         (__lll_unlock_elision, __lll_trylock_elision)
31341         (lll_timedlock_elision, lll_lock_elision)
31342         (lll_unlock_elision, lll_trylock_elision): Add.
31343         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31344         (pthread_mutex_t): Add lock elision support for s390.
31346 2014-05-14  Wilco  <wdijkstr@arm.com>
31348         * sysdeps/arm/fclrexcpt.c: Cleanup.
31349         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31350         * sysdeps/arm/feenablxcpt.c: Cleanup.
31351         * sysdeps/arm/fegetenv.c: Cleanup.
31352         * sysdeps/arm/fegetexcept.c: Cleanup.
31353         * sysdeps/arm/fegetround.c: Cleanup.
31354         * sysdeps/arm/feholdexcpt.c: Cleanup.
31355         * sysdeps/arm/fesetenv.c: Cleanup.
31356         * sysdeps/arm/fesetround.c: Cleanup.
31357         * sysdeps/arm/feupdateenv.c: Cleanup.
31358         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31359         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31360         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31361         * sysdeps/arm/ftestexcept.c: Cleanup.
31362         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31363         * sysdeps/arm/setfpucw.c: Cleanup.
31365 2014-05-09  Will Newton  <will.newton@linaro.org>
31367         * sysdeps/arm/armv7/strcmp.S: New file.
31368         * NEWS: Mention addition of ARMv7 optimized strcmp.
31370 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31372         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31373         look for %.ac rather than %.in.
31375         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31376         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31377         * sysdeps/mach/hurd/configure: Regenerated.
31378         * sysdeps/unix/sysv/linux/configure: Regenerated.
31380         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31382 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31384         [BZ# 16922]
31385         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31386         (LONG_SUB): Ditto.
31387         (PTR_SUB): Ditto.
31389 2014-05-07  Andreas Schwab  <schwab@suse.de>
31391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31392         when skipping over non-matching result from nscd.
31394 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31396         [BZ #16876]
31397         * nptl/sockperf.c (client): Check socket return value.
31399         [BZ #16877]
31400         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31401         nscd security class.
31403 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31405         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31406         * sysdeps/arm/unwind.h: ... here.
31408 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31410         [BZ# 16916]
31411         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31412         Define.
31414 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31416         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31417         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31418         multiarch strncpy for PPC64.
31419         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31420         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31422         multiarch optimizations.
31423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31424         (__libc_ifunc_impl_list): Likewise.
31425         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31426         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31427         multiarch stpncpy for PPC64.
31428         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31429         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31431 2014-05-06  Andreas Schwab  <schwab@suse.de>
31433         [BZ #16912]
31434         * gmon/mcount.c (_MCOUNT_DECL): Use
31435         atomic_compare_and_exchange_bool_acq instead of
31436         catomic_compare_and_exchange_bool_acq.
31438 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31440         * elf/Makefile (others, install-bin): Remove pldd.
31441         (pldd-modules): Variable removed.
31442         ($(objpfx)pldd): Target removed.
31443         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31444         (others, install-bin): Append pldd here.
31445         ($(objpfx)pldd): New target.
31447         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31448         to 0, so the first #if test emitted later doesn't see it undefined.
31449         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31450         * sysdeps/gnu/errlist.c: Regenerated.
31452 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31454         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31455         [libc_hidden_builtin_def]: Define to empty value.
31456         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31457         [libc_hidden_builtin_def]: Likewise.
31458         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31459         [libc_hidden_builtin_def]: Likewise.
31460         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31461         [libc_hidden_builtin_def]: Likewise.
31462         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31463         __redirect_memcpy and define ifunc as default hidden symbol.
31464         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31465         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31467 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31469         * locale/iso-4217.def: Reintroduce XDR currency.
31471 2014-05-04  Allan McRae  <allan@archlinux.org>
31473         * po/eo.po: Update Esperanto translation from translation project.
31475 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31477         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31478         and FEATURE_INDEX_MAX to 1.
31479         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31481 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31483         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31484         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31485         * iconvdata/big5.c (ONE_DIRECTION): Define.
31486         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31487         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31488         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31489         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31490         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31491         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31492         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31493         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31494         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31495         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31496         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31497         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31498         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31499         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31500         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31501         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31502         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31503         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31504         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31505         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31506         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31507         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31508         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31509         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31510         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31511         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31512         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31513         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31514         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31515         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31516         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31517         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31518         * iconvdata/johab.c (ONE_DIRECTION): Define.
31519         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31520         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31521         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31522         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31523         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31524         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31525         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31526         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31527         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31528         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31530 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31532         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31533         (_IO_JUMPS_OFFSET): Define to 0.
31535         * nptl/sysdeps/pthread/bits/libc-lock.h
31536         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31537         (__libc_lock_define_initialized_recursive): Always define using
31538         initializer.  Modern compilers treat uninitialized (implicit zero) and
31539         explicit zero initializers the same (i.e. put the datum in bss).
31541 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31543         * nscd/nscd-client.h: Include <string.h>.
31545 2014-05-01  David S. Miller  <davem@davemloft.net>
31547         [BZ #16885]
31548         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31549         multiple zero bytes exist at the end of a string.
31550         Reported by Aurelien Jarno <aurelien@aurel32.net>
31552         * string/test-strcmp.c (check): Add explicit test for situations where
31553         there are multiple zero bytes after the first.
31555 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31557         [BZ #16890]
31558         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31559         when compiling wprintf.
31560         * stdio-common/tstdiomisc.c (t3): New function.
31561         (main): Call it.
31563 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31565         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31566         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31567         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31568         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31570 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31572         * stdlib/longlong.h: Updated from GCC.
31574 2014-05-01  Will Newton  <will.newton@linaro.org>
31575             Bernard Ogden  <bernie.ogden@linaro.org>
31577         * NEWS: Update fixed bug list.
31579         [BZ #15119]
31580         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31582 2014-04-30  David S. Miller  <davem@davemloft.net>
31584         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31585         (libc_feholdexcept_setround_sparc_ctx): New function.
31586         (libc_fesetenv_sparc_ctx): Likewise.
31587         (libc_feupdateenv_sparc_ctx): Likewise.
31588         (libc_feholdsetround_sparc_ctx): Likewise.
31589         (libc_feholdexcept_setround_ctx): Define.
31590         (libc_feholdexcept_setroundf_ctx): Likewise.
31591         (libc_feholdexcept_setroundl_ctx): Likewise.
31592         (libc_fesetenv_ctx): Likewise.
31593         (libc_fesetenvf_ctx): Likewise.
31594         (libc_fesetenvl_ctx): Likewise.
31595         (libc_feupdateenv_ctx): Likewise.
31596         (libc_feupdateenvf_ctx): Likewise.
31597         (libc_feupdateenvl_ctx): Likewise.
31598         (libc_feresetround_ctx): Likewise.
31599         (libc_feresetroundf_ctx): Likewise.
31600         (libc_feresetroundl_ctx): Likewise.
31601         (libc_feholdsetround_ctx): Likewise.
31602         (libc_feholdsetroundf_ctx): Likewise.
31603         (libc_feholdsetroundl_ctx): Likewise.
31605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31606         with __USE_GNU instead of XOPEN cpp guards.
31608         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31609         0.
31611         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31612         with XOPEN cpp guards.
31614 2014-04-30  Julian Brown  <julian@codesourcery.com>
31616         [BZ #16888]
31617         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31618         handling.
31620 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31622         [BZ #9894]
31623         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31624         Change to 2.6.32.
31625         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31626         * sysdeps/unix/sysv/linux/configure: Regenerated.
31627         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31628         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31629         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31630         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31631         * README: Update reference to required Linux kernel version.
31632         * manual/install.texi (Linux): Update reference to required Linux
31633         kernel headers version.
31634         * INSTALL: Regenerated.
31636         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31637         header inclusion.
31638         [POSIX] (limits.h): Likewise.
31639         [POSIX] (math.h): Likewise.
31640         [POSIX] (sys/wait.h): Likewise.
31641         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31642         function.
31643         [POSIX] (stddef.h): Do not allow header inclusion.
31645 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31647         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31649 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31651         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31652         Return immediately after lll_futex_wake.
31654 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31656         [BZ #16791]
31657         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31658         structure.
31659         (datahead_init_pos): Call datahead_init_common early.
31660         (datahead_init_neg): Likewise.
31662         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31663         datahead_init_neg): New functions.
31664         * nscd/aicache.c (addhstaiX): Use them.
31665         * nscd/grpcache.c (cache_addgr): Likewise.
31666         * nscd/hstcache.c (cache_addhst): Likewise.
31667         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31668         * nscd/netgroupcache.c (do_notfound): Likewise.
31669         (addgetnetgrentX): Likewise.
31670         (addinnetgrX): Likewise.
31671         * nscd/pwdcache.c (cache_addpw): Likewise.
31672         * nscd/servicescache.c (cache_addserv): Likewise.
31674 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31675             Atsushi Onoe  <atsushi@onoe.org>
31677         [BZ #14308]
31678         [BZ #12994]
31679         [BZ #13651]
31680         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31681         one response is valid.
31682         * resolv/res_send.c (send_dg): Check for validity of other
31683         response if the current response is a referral.
31685 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31687         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31689 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31691         [BZ #16823]
31692         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31693         Always divide by positive zero when computing -Inf result.
31694         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31695         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31697 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31699         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31700         FPSCR if value do not change.
31701         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31702         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31703         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31704         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31705         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31706         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31707         function.
31709 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31711         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31712         * sysdeps/unix/sysv/linux/hppa: Move directory from
31713         ports/systeps/unix/sysv/linux/hppa.
31714         * README: Update listing for hppa-*-linux-gnu.
31716 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31718         [BZ #16754]
31719         * manual/stdio.texi (Hook functions): Fix types of stream hook
31720         functions.
31721         [BZ #16854]
31722         * socket/sys/socket.h: Fix typo in comment.
31724 2014-04-28  Wilco  <wdijkstr@arm.com>
31726         * sysdeps/arm/fenv_private.h: New file.
31727         * sysdeps/arm/math_private.h: New file.
31728         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31730 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31732         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31733         with __int128_t.
31734         (La_x86_64_retval): Likewise.
31736 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31738         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31739         fpsr if value didn't change.
31740         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31741         to fpcr if value didn't change.
31742         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31743         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31744         fpsr or fpcr if value didn't change.
31745         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31746         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31747         fpcr if value didn't change.
31748         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31749         to fpsr if value didn't change.
31751 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31753         * nptl/tst-sem3.c: Use test-skeleton.c
31754         (main): Rename to do_test.  Use return instead of
31755         exit.
31756         * nptl/tst-sem4.c: Use test-skeleton.c
31757         (main): Rename to do_test.
31759 2014-04-22  David S. Miller  <davem@davemloft.net>
31761         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31762         (struct sigaction): New struct member __glibc_reserved0, change
31763         type of sa_flags to int.
31765 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31767         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31768         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31770 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31772         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31773         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31775 2014-04-22  Will Newton  <will.newton@linaro.org>
31776             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31778         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31779         (__longjmp): Add longjmp and longjmp_target SystemTap
31780         probes.
31781         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31782         (__sigsetjmp): Add setjmp SystemTap probe.
31784 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31786         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31787         match manual order.
31789 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31791         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31793         * sysdeps/powerpc/fpu/fenv_private.h
31794         (libc_feholdexcept_setroundl_ctx): Define to
31795         libc_feholdexcept_setround_ppc_ctx.
31796         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31797         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31798         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31799         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31801 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31803         * sysdeps/aarch64/math-tests.h: New file.
31805 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31807         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31808         New.
31809         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31810         Check and set bit_AVX2_Usable.
31811         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31812         macro.
31813         (bit_AVX2): Likewise.
31814         (index_AVX2_Usable): Likewise.
31815         (CPUID_AVX2): Likewise.
31816         (HAS_AVX2): Likewise.
31818 2014-04-17  Will Newton  <will.newton@linaro.org>
31820         * manual/setjmp.texi (System V contexts): Add note that
31821         calling setcontext on a context created by a call to a
31822         signal handler is undefined.  Update text to note that
31823         setcontext from a signal handler is possible but not
31824         recommended.
31826         [BZ #16629]
31827         * stdlib/tst-setcontext.c: Include signal.h.
31828         (main): Check that the signal stack before and
31829         after swapcontext is the same.
31831         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31832         Re-implement to restore registers in user code and avoid
31833         rt_sigreturn system call.
31835 2014-04-17  Wilco  <wdijkstr@arm.com>
31837         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
31838         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
31839         * math/test-fenv.c: Skip exception trap tests on targets which only
31840         support non-stop mode.
31842 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31843             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31845         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
31846         (libc_feholdsetround_aarch64_ctx)
31847         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
31848         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
31849         (libc_feresetround_ctx, libc_feresetroundf_ctx)
31850         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
31851         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
31852         (libc_feresetround_noexl_ctx): Define.
31854 2014-04-16  Richard Henderson  <rth@redhat.com>
31856         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
31858         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
31859         unwind tables.
31861         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
31862         const from the non-libc, non-ldso copy.
31864         * sysdeps/alpha/libm-test-ulps: Regenerate.
31866 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
31867             Wilco Dijkstra  <wilco.dijkstra@arm.com>
31869         * sysdeps/aarch64/fpu/math_private.h: New file.
31871 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31873         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31875 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
31877         [BZ #16275]
31878         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
31879         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
31880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
31881         Intel MPX bound registers before _dl_profile_fixup.
31882         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
31883         registers after _dl_profile_fixup.  Save and restore bound
31884         registers bnd0/bnd1 when calling _dl_call_pltexit.
31885         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
31886         (LR_BND_OFFSET): Likewise.
31887         (LRV_BND0_OFFSET): Likewise.
31888         (LRV_BND1_OFFSET): Likewise.
31890 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31892         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
31893         to...
31894         * sysdeps/mach/hurd/i386/tls.h: ... here.
31895         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
31896         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
31897         fields.
31899 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31901         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
31903 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31905         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31907 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
31909         [BZ #14770]
31910         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
31911         * sysdeps/s390/configure: Regenerate.
31913         [BZ #16824]
31914         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
31915         Set round-to-nearest internally to reduce error accumulation.
31917 2014-04-16  Alan Modra  <amodra@gmail.com>
31919         [BZ #16740]
31920         [BZ #16619]
31921         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
31922         * math/libm-test.inc (frexp_test_data): Add tests.
31923         * NEWS: Update fixed bug list.
31925 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31927         * benchtests/Makefile: Depend on libraries in build directory.
31928         (bench-math): Separate out math tests.
31929         (bench-pthread): Separate out pthread tests.
31930         (bench): Include math and pthread tests.
31932 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
31934         [BZ #16831]
31935         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
31936         _dl_debug_initialize.
31938         * configure.ac: Remove SELinux header check.
31939         * configure: Regenerate.
31940         * nscd/selinux.c (perms): Array of const char* to permission names.
31941         (nscd_request_avc_has_perm): Call security_deny_unknown to find
31942         default policy. Call string_to_security_class and string_to_av_perm to
31943         translate strings. Enforce default policy and call avs_has_perm with
31944         results of translated strings.
31946 2014-04-13  David S. Miller  <davem@davemloft.net>
31948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31950 2014-04-12  Allan McRae  <allan@archlinux.org>
31952         [BZ #16838]
31953         * manual/string.texi (Collation Functions): Fix qsort argument
31954         order in example.
31955         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31957 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
31959         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
31960         Make the test a no-op if there are no exceptions defined.
31962 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31964         * elf/Makefile (tests): make tst-dlopen-aout conditional on
31965         enable-hardcoded-path-in-tests
31967 2014-04-11  Will Newton  <will.newton@linaro.org>
31969         * benchtests/Makefile (extra-objs): Add json-lib.o.
31970         (bench-func): Tidy up JSON output.
31971         * benchtests/bench-skeleton.c: Include json-lib.h.
31972         (main): Use JSON library functions to do output of
31973         benchmark results.
31974         * benchtests/bench-timing-type.c (main): Output the
31975         timing type simply, leaving formatting to the user.
31976         * benchtests/json-lib.c: New file.
31977         * benchtests/json-lib.h: Likewise.
31979 2014-04-11  Torvald Riegel  <triegel@redhat.com>
31981         [BZ #15215]
31982         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
31983         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
31984         memory barriers.  Add comments.
31985         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
31986         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
31987         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
31988         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
31989         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
31990         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
31992 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31994         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
31995         * sysdeps/s390/s390-64/configure.ac: ... this ...
31996         * sysdeps/s390/configure.ac: ... to here.
31997         * sysdeps/s390/s390-32/configure: Delete file.
31998         * sysdeps/s390/s390-64/configure: Delete file.
31999         * sysdeps/s390/configure: Regenerate.
32001 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32003         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32005 2014-04-11  Will Newton  <will.newton@linaro.org>
32007         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32008         to zero if it is not defined elsewhere.  (mtrim): Test
32009         the value of MALLOC_DEBUG with #if rather than #ifdef.
32011 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32013         * benchtests/pthread_once-inputs: New file.
32014         * benchtests/pthread_once-source.c: New file.
32015         * benchtests/README: Update documentation.
32017 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32018             H.J. Lu  <hongjiu.lu@intel.com>
32020         [BZ #16275]
32021         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32022         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32023         * sysdeps/x86_64/configure: Regenerated.
32024         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32025         macro.
32026         (REGISTER_SAVE_RAX): Likewise.
32027         (REGISTER_SAVE_RCX): Likewise.
32028         (REGISTER_SAVE_RDX): Likewise.
32029         (REGISTER_SAVE_RSI): Likewise.
32030         (REGISTER_SAVE_RDI): Likewise.
32031         (REGISTER_SAVE_R8): Likewise.
32032         (REGISTER_SAVE_R9): Likewise.
32033         (REGISTER_SAVE_BND0): Likewise.
32034         (REGISTER_SAVE_BND1): Likewise.
32035         (REGISTER_SAVE_BND2): Likewise.
32036         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32037         bound registers when calling _dl_fixup.
32039 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32041         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32042         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32043         of its definition.
32044         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32045         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32046         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32047         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32048         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32049         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32050         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32052 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32054         [BZ #15514]
32055         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32056         pathconf(_PC_NAME_MAX).
32058 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32060         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32061         Remove macro usage.
32062         (__PTHREAD_SPINS): Move definition to ...
32063         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32064         (__PTHREAD_SPINS): ... here.
32065         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32066         (__PTHREAD_SPIN): Likewise.
32067         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32068         (__PTHREAD_SPIN): Likewise.
32069         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32070         (__PTHREAD_SPIN): Likewise.
32071         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32072         (__PTHREAD_SPIN): Likewise.
32073         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32074         (__PTHREAD_SPIN): Likewise.
32075         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32076         (__PTHREAD_SPIN): Likewise.
32077         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32078         (__PTHREAD_SPIN): Likewise.
32079         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32080         (__PTHREAD_SPIN): Likewise.
32081         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32082         (__PTHREAD_SPIN): Likewise.
32083         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32084         (__PTHREAD_SPIN): Likewise.
32085         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32086         (__PTHREAD_SPIN): Likewise.
32087         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32088         (__PTHREAD_SPIN): Likewise.
32090         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32091         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32092         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32093         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32094         imply folder.
32095         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32096         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32097         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32098         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32099         correct imply path.
32100         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32101         strlen symbol for non multi-arch builds.
32102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32103         missing hidden_def and weak_alias.
32105 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32107         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32109 2014-04-07  Will Newton  <will.newton@linaro.org>
32111         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32112         and contents.  [!_LIBC] Remove #ifndef and contents.
32113         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32114         * string/memccpy.c (__memccpy): Use ANSI prototype.
32115         * string/memfrob.c (memfrob): Likewise.
32116         * string/strcoll.c (STRCOLL): Likewise.
32117         * string/strlen.c (strlen): Likewise.
32118         * string/strtok.c (STRTOK): Likewise.
32119         * string/strcat.c: Remove unused #include of memcopy.h.
32120         (strcat): Use ANSI prototype.
32121         * string/strchr.c: Remove unused #include of memcopy.h.
32122         (strchr): Use ANSI prototype.
32123         * string/strcmp.c: Remove unused #include of memcopy.h.
32124         (strcmp): Use ANSI prototype.
32125         * string/strcpy.c: Remove unused #include of memcopy.h.
32126         (strcpy): Use ANSI prototype.
32128 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32130         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32131         * config.make.in (config-extra-cppflags): Set it from
32132         libc_extra_cppflags.
32133         * configure.ac (libc_extra_cflags): Make it accumulate over
32134         configure fragments.
32135         (libc_extra_cppflags): New flag.
32136         * configure. Regenerate.
32137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32138         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32139         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32142         [BZ #16815]
32143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32144         result for FE_DOWNWARD rounding mode.
32145         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32146         Likewise.
32147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32149 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32151         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32152         in function argument name.
32154 2014-04-03  David Svoboda  <svoboda@cert.org>
32156         [BZ #5666]
32157         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32158         explicitly.
32160 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32162         * elf/dl-unmap-segments.h: New file.
32163         * sysdeps/generic/ldsodefs.h
32164         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32165         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32166         * elf/dl-fptr.c: Likewise.
32167         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32168         * sysdeps/aarch64/tlsdesc.c: Likewise.
32169         * sysdeps/arm/tlsdesc.c: Likewise.
32170         * sysdeps/i386/tlsdesc.c: Likewise.
32171         * sysdeps/tile/dl-runtime.c: Likewise.
32172         * sysdeps/x86_64/tlsdesc.c: Likewise.
32173         * elf/dl-load.h: New file.
32174         * elf/dl-load.c: Include it.
32175         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32176         Macros moved to dl-load.h.
32177         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32178         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32179         Use _dl_unmap_segments in place of __munmap.
32180         Break out segment-mapping loop into ...
32181         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32183 2014-04-03  Will Newton  <will.newton@linaro.org>
32185         * elf/dl-lookup.c (do_lookup_x): Remove comment
32186         referring to nested function and move variable
32187         declarations down to before first use.
32189 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32191         [BZ #16799]
32192         [BZ #16800]
32193         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32194         with 0 numerator.
32195         * math/s_catanf.c (__catanf): Likewise.
32196         * math/s_catanh.c (__catanh): Likewise.
32197         * math/s_catanhf.c (__catanhf): Likewise.
32198         * math/s_catanhl.c (__catanhl): Likewise.
32199         * math/s_catanl.c (__catanl): Likewise.
32200         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32201         by positive zero when computing -Inf result.
32202         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32203         (catanh_test): Likewise.
32204         * sysdeps/i386/fpu/libm-test-ulps: Update.
32205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32207         [BZ #16789]
32208         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32209         instead of using underflowing value in computing result.
32210         * math/s_clog10.c (__clog10): Likewise.
32211         * math/s_clog10f.c (__clog10f): Likewise.
32212         * math/s_clog10l.c (__clog10l): Likewise.
32213         * math/s_clogf.c (__clogf): Likewise.
32214         * math/s_clogl.c (__clogl): Likewise.
32215         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32216         (clog10_test): Likewise.
32217         * sysdeps/i386/fpu/libm-test-ulps: Update.
32218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32220 2014-04-02  Alan Modra  <amodra@gmail.com>
32222         [BZ #16739]
32223         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32224         output when value is near a power of two.  Use int64_t for lx and
32225         remove casts.  Use decimal rather than hex exponent constants.
32226         Don't use long double multiplication when double will suffice.
32227         * math/libm-test.inc (nextafter_test_data): Add tests.
32228         * NEWS: Add 16739 and 16786 to bug list.
32230         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32232         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32234 2014-04-01  Will Newton  <will.newton@linaro.org>
32236         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32237         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32239 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32241         [BZ #13347]
32242         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32243         * nptl/tst-setuid2.c: New file.
32244         * nptl/Makefile (xtests): Add tst-setuid2.
32246 2014-04-01  Alan Modra  <amodra@gmail.com>
32248         [BZ #16786]
32249         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32251 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32253         [BZ #6803]
32254         [BZ #6804]
32255         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32256         set errno as appropriate.
32257         * math/w_scalbf.c (__scalbf): Likewise.
32258         * math/w_scalbl.c (__scalbl): Likewise.
32259         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32260         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32261         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32262         Add more NaN tests.
32264         [BZ #16349]
32265         * math/w_atan2.c: Include <errno.h>.
32266         (__atan2): Set errno for result underflowing to zero.
32267         * math/w_atan2f.c: Include <errno.h>.
32268         (__atan2f): Set errno for result underflowing to zero.
32269         * math/w_atan2l.c: Include <errno.h>.
32270         (__atan2l): Set errno for result underflowing to zero.
32271         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32272         tests.
32273         * math/auto-libm-test-out: Regenerated.
32275 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32277         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32278         Encode instruction correctly in little endian.
32279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32280         Likewise.
32281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32282         Likewise.
32283         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32284         Likewise.
32285         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32286         Likewise.
32288 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32290         [BZ #9894]
32291         * sysdeps/unix/sysv/linux/kernel-features.h
32292         [__sparc__ && !__arch64__ && !__sparc_v9__]
32293         (__ASSUME_SET_ROBUST_LIST): Do not define.
32294         [__sparc__ && !__arch64__ && !__sparc_v9__]
32295         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32296         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32297         Likewise.
32298         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32299         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32300         (__ASSUME_REQUEUE_PI): Likewise.
32301         (__ASSUME_SET_ROBUST_LIST): Likewise.
32302         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32303         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32304         Undefine.
32305         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32306         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32307         Likewise.
32308         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32309         Likewise.
32310         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32311         Likewise.
32312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32313         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32314         Undefine.
32315         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32316         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32317         Likewise.
32319         [BZ #16648]
32320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32322         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32324 2014-03-31  Will Newton  <will.newton@linaro.org>
32326         * benchtests/Makefile (bench): Add ffs and ffsll to list
32327         of tests.
32328         * benchtests/ffs-inputs: New file.
32329         * benchtests/ffsll-inputs: Likewise.
32331 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32333         [BZ #16770]
32334         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32335         too large before casting to int.
32336         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32337         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32338         * math/libm-test.inc (scalb_test_data): Add more tests.
32340 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32342         * benchtests/Makefile (DETAILED_OPT): New make option.
32343         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32344         set.
32345         * benchtests/bench-skeleton.c: Include stdbool.h.
32346         (main): Store and print timings per input.
32347         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32348         member to each argument value.
32349         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32350         (_print_arg_data): Initialize per-input timing to 0.
32352         * benchtests/Makefile (timing-type): New binary.
32353         (bench-clean): Also remove bench-timing-type.
32354         (bench): New target for timing-type.
32355         (bench-func): Print output in JSON format.
32356         * benchtests/bench-skeleton.c (main): Print output in JSON
32357         format.
32358         * benchtests/bench-timing-type.c: New file.
32359         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32360         (TIMING_PRINT_STATS): Remove.
32361         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32362         name separately.
32364         * benchtests/bench-modf.c: Remove.
32365         * benchtests/modf-inputs: New inputs file.
32367 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32369         [BZ #16362]
32370         * math/s_clog10.c (M_PI_LOG10E): New macro.
32371         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32372         imaginary parts are 0.
32373         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32374         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32375         imaginary parts are 0.
32376         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32377         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32378         imaginary parts are 0.
32379         * math/libm-test.inc (clog10_test_data): Update expected results
32380         for when real and imaginary parts are 0.
32382 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32384         * elf/dl-load.c: Finish conversion of __builtin_expect into
32385         __glibc_{un}likely.
32387 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32389         [BZ #16348]
32390         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32391         1+x for argument with exponent below -67.
32392         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32393         Likewise.
32394         * math/auto-libm-test-in: Add more tests of exp.
32395         * math/auto-libm-test-out: Regenerated.
32397 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32399         [BZ #16759]
32400         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32401         (nscd_getnetgrent): Use it.
32403         [BZ #16760]
32404         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32405         of stpcpy.
32407 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32409         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32410         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32411         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32412         (lll_robust_unlock): Remove out of line section. Use cfi
32413         intrinsics.
32414         (LLL_STUB_UNWIND_INFO*): Remove.
32415         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32416         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32417         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32418         (lll_robust_unlock): Remove out of line section. Use cfi
32419         intrinsics.
32420         (LLL_STUB_UNWIND_INFO*): Remove.
32422 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32424         [BZ #16758]
32425         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32426         blank values.
32428 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32430         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32432 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32434         [BZ #16198]
32435         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32436         fnstenv.
32437         * math/test-fenv-preserve.c: New file.
32438         * math/Makefile (tests): Add test-fenv-preserve.
32440 2014-03-26  Will Newton <will.newton@linaro.org>
32442         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32444 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32446         * scripts/versionlist.awk: Partition the version sets and emit all
32447         GLIBC_* (sorted) before all others (sorted).
32449 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32451         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32452         GLIBC_2.2.5 version.
32454 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32456         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32457         calls.
32459         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32460         previous change.
32462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32464 2014-03-25  Andreas Schwab  <schwab@suse.de>
32466         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32467         label to be used after in6ailist is initialized.
32469 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32471         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32472         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32474 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32476         [BZ #16357]
32477         [BZ #16599]
32478         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32479         min_plus_half.
32480         (fp_formats): Update initializers.
32481         (init_fp_formats): Initialize new field.
32482         (output_for_one_input_case): Allow underflow for results up to
32483         min_plus_half.
32484         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32485         * math/auto-libm-test-in: Don't mark some underflows from asin and
32486         atanh as spurious.
32487         * math/auto-libm-test-out: Regenerated.
32488         * sysdeps/i386/fpu/libm-test-ulps: Update.
32489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32491 2014-03-25  Andreas Schwab  <schwab@suse.de>
32493         * libio/Makefile (tst-ftell-partial-wide-ENV)
32494         (tst-ftell-active-handler-ENV): Define.
32496 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32498         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32500 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32502         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32504 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32506         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32507         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32508         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32510 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32512         [BZ #16634]
32513         * elf/dl-load.c (open_verify): Add mode parameter.
32514         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32515         (open_path): Change from boolean 'secure' to complete flag 'mode'
32516         (_dl_map_object): Adjust.
32517         * elf/Makefile (tests): Add tst-dlopen-aout.
32518         * elf/tst-dlopen-aout.c: New test.
32520 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32522         [BZ #16714]
32523         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32524         (struct stat): Rename member pad0 to __glibc_reserved0.
32526         [BZ #16712]
32527         * sysdeps/s390/s390-32/bits/wordsize.h
32528         (__WORDSIZE32_SIZE_ULONG): New define.
32529         * sysdeps/s390/s390-64/bits/wordsize.h
32530         (__WORDSIZE32_SIZE_ULONG): Likewise.
32531         * sysdeps/generic/stdint.h (SIZE_MAX):
32532         Define as UL if __WORDSIZE32_SIZE_ULONG.
32534         [BZ #16713]
32535         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32536         (__glibc_reserved0): New variable.
32537         (sa_flags): Change type to int.
32539         * posix/Makefile (before-compile): Use += before-compile instead
32540         of a :=.
32542         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32543         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32545 2014-03-20  Andreas Schwab  <schwab@suse.de>
32547         [BZ #16743]
32548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32549         non-matching result from nscd.
32551 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32553         * scripts/bench.py: Moved to ...
32554         * benchtests/scripts/bench.py: ... here.
32555         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32557 2014-03-24  Andreas Schwab  <schwab@suse.de>
32559         [BZ #16002]
32560         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32561         alloca_account and account alloca use for struct in6ailist.
32563 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32565         [BZ #16284]
32566         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32567         rounding mode to recompute results that overflow to infinity or
32568         underflow to zero.
32569         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32570         bug 16284.
32571         * math/auto-libm-test-out: Regenerated.
32572         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32573         (ccosh_test): Likewise.
32574         (csin_test_data): Use plus_oflow.
32575         (csin_test): Use ALL_RM_TEST.
32576         (csinh_test_data): Use plus_oflow.
32577         (csinh_test): Use ALL_RM_TEST.
32578         * sysdeps/i386/fpu/libm-test-ulps: Update.
32579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32581 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32583         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32584         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32585         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32587         [BZ #16731]
32588         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32589         when x - 1 is zero.
32590         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32591         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32592         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32593         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32594         argument is 1.
32595         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32596         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32597         zero.
32598         * math/libm-test.inc (log_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  Siddhesh Poyarekar  <siddhesh@redhat.com>
32604         * scripts/bench.pl: Remove file.
32605         * scripts/bench.py: New benchmark script.
32606         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32607         * benchtests/README: Mention python dependency.
32608         * scripts/pylintrc: New file.
32609         * scripts/pylint: New file.
32611         * bits/mathdef.h: Use #ifdef instead of #if.
32612         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32613         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32614         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32615         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32616         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32617         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32619 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32620             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32622         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32624         and strpbrk-ppc64 objects.
32625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32626         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32627         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32628         multiarch strpbrk for POWER7.
32629         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32630         multiarch strpbrk for PPC64.
32631         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32632         ifunc selector.
32633         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32634         strpbrk for POWER7.
32636 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32638         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32639         (atan_test): Likewise.
32640         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32641         (atanh_test): Use ALL_RM_TEST.
32642         (atan2_test_data): Likewise.
32643         (cabs_test): Likewise.
32644         (cacosh_test): Likewise.
32645         (carg_test): Likewise.
32646         (casin_test): Likewise.
32647         (casinh_test): Likewise.
32648         (cbrt_test): Likewise.
32649         (csqrt_test): Likewise.
32650         (erf_test): Likewise.
32651         (erfc_test): Likewise.
32652         (pow10_test): Likewise.
32653         (exp2_test): Likewise.
32654         (hypot_test): Likewise.
32655         (j0_test): Likewise.
32656         (j1_test): Likewise.
32657         (lgamma_test): Likewise.
32658         (gamma_test): Likewise.
32659         (sincos_test): Likewise.
32660         (tanh_test): Likewise.
32661         (y0_test): Likewise.
32662         (y1_test): Likewise.
32663         * sysdeps/i386/fpu/libm-test-ulps: Update.
32664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32666 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32668         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32670         and strcspn-ppc64 objects.
32671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32672         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32673         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32674         multiarch strcspn for POWER7.
32675         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32676         multiarch strcspn for PPC64.
32677         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32678         ifunc selector.
32679         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32680         strcspn for POWER7.
32682 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32684         * math/gen-libm-test.pl (generate_testfile): Expect only function
32685         name as argument to AUTO_TESTS_* and pass results for all rounding
32686         modes to parse_args.
32687         (parse_auto_input): Separate inputs of automatic tests from
32688         outputs before storing in %auto_tests.
32689         * math/libm-test.inc (acos_test_data): Update call to
32690         AUTO_TESTS_f_f.
32691         (acos_test): Use ALL_RM_TEST.
32692         (acos_tonearest_test_data): Remove.
32693         (acos_test_tonearest): Likewise.
32694         (acos_towardzero_test_data): Likewise.
32695         (acos_test_towardzero): Likewise.
32696         (acos_downward_test_data): Likewise.
32697         (acos_test_downward): Likewise.
32698         (acos_upward_test_data): Likewise.
32699         (acos_test_upward): Likewise.
32700         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32701         (asin_test_data): Likewise.
32702         (asin_test): Use ALL_RM_TEST.
32703         (asin_tonearest_test_data): Remove.
32704         (asin_test_tonearest): Likewise.
32705         (asin_towardzero_test_data): Likewise.
32706         (asin_test_towardzero): Likewise.
32707         (asin_downward_test_data): Likewise.
32708         (asin_test_downward): Likewise.
32709         (asin_upward_test_data): Likewise.
32710         (asin_test_upward): Likewise.
32711         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32712         (atan_test_data): Likewise.
32713         (atanh_test_data): Likewise.
32714         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32715         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32716         (carg_test_data): Likewise.
32717         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32718         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32719         (ccosh_test_data): Likewise.
32720         (cexp_test_data): Likewise.
32721         (clog_test_data): Likewise.
32722         (clog10_test_data): Likewise.
32723         (cos_test_data): Update call to AUTO_TESTS_f_f.
32724         (cos_test): Use ALL_RM_TEST.
32725         (cos_tonearest_test_data): Remove.
32726         (cos_test_tonearest): Likewise.
32727         (cos_towardzero_test_data): Likewise.
32728         (cos_test_towardzero): Likewise.
32729         (cos_downward_test_data): Likewise.
32730         (cos_test_downward): Likewise.
32731         (cos_upward_test_data): Likewise.
32732         (cos_test_upward): Likewise.
32733         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32734         (cosh_test): Use ALL_RM_TEST.
32735         (cosh_tonearest_test_data): Remove.
32736         (cosh_test_tonearest): Likewise.
32737         (cosh_towardzero_test_data): Likewise.
32738         (cosh_test_towardzero): Likewise.
32739         (cosh_downward_test_data): Likewise.
32740         (cosh_test_downward): Likewise.
32741         (cosh_upward_test_data): Likewise.
32742         (cosh_test_upward): Likewise.
32743         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32744         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32745         (ctan_test_data): Likewise.
32746         (ctan_test): Use ALL_RM_TEST.
32747         (ctan_tonearest_test_data): Remove.
32748         (ctan_test_tonearest): Likewise.
32749         (ctan_towardzero_test_data): Likewise.
32750         (ctan_test_towardzero): Likewise.
32751         (ctan_downward_test_data): Likewise.
32752         (ctan_test_downward): Likewise.
32753         (ctan_upward_test_data): Likewise.
32754         (ctan_test_upward): Likewise.
32755         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32756         (ctanh_test): Use ALL_RM_TEST.
32757         (ctanh_tonearest_test_data): Remove.
32758         (ctanh_test_tonearest): Likewise.
32759         (ctanh_towardzero_test_data): Likewise.
32760         (ctanh_test_towardzero): Likewise.
32761         (ctanh_downward_test_data): Likewise.
32762         (ctanh_test_downward): Likewise.
32763         (ctanh_upward_test_data): Likewise.
32764         (ctanh_test_upward): Likewise.
32765         (erf_test_data): Update call to AUTO_TESTS_f_f.
32766         (erfc_test_data): Likewise.
32767         (exp_test_data): Likewise.
32768         (exp_test): Use ALL_RM_TEST.
32769         (exp_tonearest_test_data): Remove.
32770         (exp_test_tonearest): Likewise.
32771         (exp_towardzero_test_data): Likewise.
32772         (exp_test_towardzero): Likewise.
32773         (exp_downward_test_data): Likewise.
32774         (exp_test_downward): Likewise.
32775         (exp_upward_test_data): Likewise.
32776         (exp_test_upward): Likewise.
32777         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32778         (exp10_test): Use ALL_RM_TEST.
32779         (exp10_tonearest_test_data): Remove.
32780         (exp10_test_tonearest): Likewise.
32781         (exp10_towardzero_test_data): Likewise.
32782         (exp10_test_towardzero): Likewise.
32783         (exp10_downward_test_data): Likewise.
32784         (exp10_test_downward): Likewise.
32785         (exp10_upward_test_data): Likewise.
32786         (exp10_test_upward): Likewise.
32787         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32788         (expm1_test_data): Likewise.
32789         (expm1_test): Use ALL_RM_TEST.
32790         (expm1_tonearest_test_data): Remove.
32791         (expm1_test_tonearest): Likewise.
32792         (expm1_towardzero_test_data): Likewise.
32793         (expm1_test_towardzero): Likewise.
32794         (expm1_downward_test_data): Likewise.
32795         (expm1_test_downward): Likewise.
32796         (expm1_upward_test_data): Likewise.
32797         (expm1_test_upward): Likewise.
32798         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32799         (fma_test): Use ALL_RM_TEST.
32800         (fma_towardzero_test_data): Remove.
32801         (fma_test_towardzero): Likewise.
32802         (fma_downward_test_data): Likewise.
32803         (fma_test_downward): Likewise.
32804         (fma_upward_test_data): Likewise.
32805         (fma_test_upward): Likewise.
32806         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32807         (j0_test_data): Update call to AUTO_TESTS_f_f.
32808         (j1_test_data): Likewise.
32809         (jn_test_data): Update call to AUTO_TESTS_if_f.
32810         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32811         (log_test_data): Update call to AUTO_TESTS_f_f.
32812         (log10_test_data): Likewise.
32813         (log1p_test_data): Likewise.
32814         (log2_test_data): Likewise.
32815         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32816         (pow_tonearest_test_data): Likewise.
32817         (sin_test_data): Update call to AUTO_TESTS_f_f.
32818         (sin_test): Use ALL_RM_TEST.
32819         (sin_tonearest_test_data): Remove.
32820         (sin_test_tonearest): Likewise.
32821         (sin_towardzero_test_data): Likewise.
32822         (sin_test_towardzero): Likewise.
32823         (sin_downward_test_data): Likewise.
32824         (sin_test_downward): Likewise.
32825         (sin_upward_test_data): Likewise.
32826         (sin_test_upward): Likewise.
32827         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32828         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32829         (sinh_test): Use ALL_RM_TEST.
32830         (sinh_tonearest_test_data): Remove.
32831         (sinh_test_tonearest): Likewise.
32832         (sinh_towardzero_test_data): Likewise.
32833         (sinh_test_towardzero): Likewise.
32834         (sinh_downward_test_data): Likewise.
32835         (sinh_test_downward): Likewise.
32836         (sinh_upward_test_data): Likewise.
32837         (sinh_test_upward): Likewise.
32838         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
32839         (sqrt_test): Use ALL_RM_TEST.
32840         (sqrt_tonearest_test_data): Remove.
32841         (sqrt_test_tonearest): Likewise.
32842         (sqrt_towardzero_test_data): Likewise.
32843         (sqrt_test_towardzero): Likewise.
32844         (sqrt_downward_test_data): Likewise.
32845         (sqrt_test_downward): Likewise.
32846         (sqrt_upward_test_data): Likewise.
32847         (sqrt_test_upward): Likewise.
32848         (tan_test_data): Update call to AUTO_TESTS_f_f.
32849         (tan_test): Use ALL_RM_TEST.
32850         (tan_tonearest_test_data): Remove.
32851         (tan_test_tonearest): Likewise.
32852         (tan_towardzero_test_data): Likewise.
32853         (tan_test_towardzero): Likewise.
32854         (tan_downward_test_data): Likewise.
32855         (tan_test_downward): Likewise.
32856         (tan_upward_test_data): Likewise.
32857         (tan_test_upward): Likewise.
32858         (tanh_test_data): Update call to AUTO_TESTS_f_f.
32859         (tgamma_test_data): Likewise.
32860         (y0_test_data): Likewise.
32861         (y1_test_data): Likewise.
32862         (yn_test_data): Update call to AUTO_TESTS_if_f.
32863         (main): Do not call removed functions.
32865 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32867         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
32868         (ldexp_test_data): Remove.
32869         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
32870         scalbn_test_data.
32871         (scalb_test): Use ALL_RM_TEST.
32873 2014-03-19  Andreas Schwab  <schwab@suse.de>
32875         * nscd/nscd.service: Also invalidate netgroup cache on reload.
32877 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
32879         [BZ #16649]
32880         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32881         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
32882         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
32883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32884         (__ASSUME_PREADV): Undefine.
32885         (__ASSUME_PWRITEV): Likewise.
32887 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32889         * bits/mman-linux.h: Add comment about non-Linux use.
32890         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
32891         bits/mman-linux.h resting place.
32893         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
32894         * bits/mman-linux.h: ... here.
32896 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32898         * conform/conformtest.pl: Add standard definition when calling C
32899         preprocessor on data files.
32900         (checknamespace): Remove unused variable.
32902 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32904         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
32905         minus_oflow, plus_uflow and minus_uflow in expected results.
32906         * math/libm-test.inc (scalbn_test_data): Add more tests of
32907         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
32908         minus_uflow.
32909         (scalbn_test): Use ALL_RM_TEST.
32910         (scalbln_test_data): Add more tests of negative arguments.  Use
32911         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
32912         (scalbln_test): Use ALL_RM_TEST.
32914 2014-03-18  Roland McGrath  <roland@hack.frob.com>
32916         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32918 2014-03-18  Will Newton  <will.newton@linaro.org>
32920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
32921         inaccurate comment.
32923 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
32925         * Makerules [!subdir] (check-abi): Exit with error status if a
32926         test failed.
32928 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
32930         * math/libm-test.inc (nearbyint_test_data): Include all tests used
32931         for rint.  Include results for all rounding modes.
32932         (nearbyint_test): Use ALL_RM_TEST.
32933         (rint_test_data): Include all tests used for nearbyint.
32935 2014-03-17  Will Newton  <will.newton@linaro.org>
32937         * nptl/sysdeps/pthread/pthread.h: Revert previous
32938         change.
32940         * sysdeps/generic/ldsodefs.h: Revert previous
32941         change.
32943         * libio/genops.c: Revert previous change.
32944         * libio/libioP.h: Likewise.
32945         * stdio-common/vfprintf.c: Likewise.
32947         * sysdeps/generic/math_private.h: Revert previous
32948         change.
32950         * sysdeps/generic/math_private.h: Check whether
32951         HAVE_RM_CTX is defined with #ifdef rather
32952         than #if.
32954         * argp/argp-fmtstream.h: Check whether
32955         __STRICT_ANSI__ is defined with #ifdef rather
32956         than #if.
32957         * argp/argp.h: Likewise.
32959         * libio/genops.c: Check whether
32960         _IO_JUMPS_OFFSET is defined with #ifdef rather
32961         than #if.
32962         * libio/libioP.h: Likewise.
32963         * stdio-common/vfprintf.c: Likewise.
32965         * sysdeps/generic/ldsodefs.h: Check whether
32966         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
32967         than #if.
32969         * nptl/sysdeps/pthread/pthread.h: Check
32970         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
32971         its value.
32973 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32975         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
32976         setting O_APPEND.
32977         * libio/tst-ftell-active-handler.c (do_append_test): Add a
32978         test case.
32980         [BZ #16680]
32981         * libio/fileops.c (_IO_file_open): Seek to end of file but
32982         don't cache the offset.
32983         (get_file_offset): Remove function.
32984         (do_ftell): Use cached offset when available.
32985         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
32986         don't cache the offset.
32987         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
32988         case.
32989         (do_one_test): Call it.
32990         (do_ftell_test): Fix up expected old offset for a+ mode.
32991         * libio/wfileops.c (do_ftell_wide): Used cached offset when
32992         available.
32994         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
32995         up test status with function return status.
32996         (do_write_test): Likewise.
32997         (do_append_test): Likewise.
32999         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33000         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33001         Remove.
33003 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33005         * math/gen-libm-test.pl (parse_args): Handle results specified for
33006         each rounding mode separately.
33007         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33008         tests and results from lrint_tonearest_test_data,
33009         lrint_towardzero_test_data, lrint_downward_test_data and
33010         lrint_upward_test_data.
33011         (lrint_test): Use ALL_RM_TEST.
33012         (lrint_tonearest_test_data): Remove.
33013         (lrint_test_tonearest): Likewise.
33014         (lrint_towardzero_test_data): Likewise.
33015         (lrint_test_towardzero): Likewise.
33016         (lrint_downward_test_data): Likewise.
33017         (lrint_test_downward): Likewise.
33018         (lrint_upward_test_data): Likewise.
33019         (lrint_test_upward): Likewise.
33020         (llrint_test_data): Merge in per-rounding-mode tests and results
33021         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33022         llrint_downward_test_data and llrint_upward_test_data.
33023         (llrint_test): Use ALL_RM_TEST.
33024         (llrint_tonearest_test_data): Remove.
33025         (llrint_test_tonearest): Likewise.
33026         (llrint_towardzero_test_data): Likewise.
33027         (llrint_test_towardzero): Likewise.
33028         (llrint_downward_test_data): Likewise.
33029         (llrint_test_downward): Likewise.
33030         (llrint_upward_test_data): Likewise.
33031         (llrint_test_upward): Likewise.
33032         (rint_test_data): Merge in per-rounding-mode tests and results
33033         from rint_tonearest_test_data, rint_towardzero_test_data,
33034         rint_downward_test_data and rint_upward_test_data.  Add
33035         per-rounding-mode results for tests not in those arrays.
33036         (rint_test): Use ALL_RM_TEST.
33037         (rint_tonearest_test_data): Remove.
33038         (rint_test_tonearest): Likewise.
33039         (rint_towardzero_test_data): Likewise.
33040         (rint_test_towardzero): Likewise.
33041         (rint_downward_test_data): Likewise.
33042         (rint_test_downward): Likewise.
33043         (rint_upward_test_data): Likewise.
33044         (rint_test_upward): Likewise.
33045         (main): Don't call removed functions.
33047 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33049         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33050         "Compiled on ..." crapola.  It is anti-useful.
33052 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33054         * scripts/evaluate-test.sh: Handle fourth argument to determine
33055         whether test run should stop on failure.
33056         * Makeconfig (stop-on-test-failure): New variable.
33057         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33058         $(stop-on-test-failure).
33059         * Makefile (tests): Give a summary of results from testing and
33060         exit with failure status if they include an ERROR or FAIL.
33061         (xtests): Likewise.
33062         * manual/install.texi (Configuring and compiling): Mention
33063         stop-on-test-failure=y.
33064         * INSTALL: Regenerated.
33066 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33068         * scripts/versionlist.awk: New file.
33069         * Makerules [$(build-shared) = yes]
33070         (postclean-generated): Add Versions.def, not Versions.def.v and
33071         Versions.def.v.i.
33072         ($(common-objpfx)Versions.def.v.i): Target removed.
33073         ($(common-objpfx)Versions.def): New target.
33074         ($(common-objpfx)Versions.all): Depend on that rather that
33075         $(common-objpfx)Versions.def.v.
33076         * Versions.def: File removed.
33078         * Makeconfig (+gccwarn): Add -Wundef.
33079         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33080         a dl-sysdep.h breaking its contract.
33081         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33082         * include/stackinfo.h: New file.
33083         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33084         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33085         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33086         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33087         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33088         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33089         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33090         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33091         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33092         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33093         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33094         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33095         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33096         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33097         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33099 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33101         [BZ #16707]
33102         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33103         implementation.
33104         * math/libm-test.inc (round_test_data): Add more tests.
33106         [BZ #16706]
33107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33108         implementation.
33109         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33111         [BZ #16701]
33112         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33113         implementation.
33114         * math/libm-test.inc (ceil_test_data): Add more tests.
33116         * math/libm-test.inc (trunc_test_data): Add more tests related to
33117         BZ#16414.
33119 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33121         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33122         with #if rather than #ifdef.
33123         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33125 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33127         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33128         first.  Disable AVX-512 GCC support if assembler doesn't support
33129         it.
33130         * sysdeps/x86_64/configure: Regenerated.
33132 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33134         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33135         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33136         (__old_pthread_attr_setstack): Likewise.
33137         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33138         [!_STACK_GROWS_DOWN]: Likewise.
33140 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33142         * config.make.in (have-bash2): Delete.
33143         * configure.ac (libc_cv_have_bash2): Delete.
33144         * configure: Regenerate.
33145         * elf/Makefile (common-ldd-rewrite): Rename to ...
33146         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33147         (sh-ldd-rewrite): Delete.
33148         (bash-ldd-rewrite): Delete.
33149         (have-bash2): Delete checks.
33150         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33151         ldd-rewrite.
33153         * config.make.in (have-ksh): Delete.
33154         (KSH): Delete.
33155         * configure.ac (libc_cv_have_ksh): Delete.
33156         * configure: Regenerate.
33158         * elf/Makefile: Delete $(have-ksh) check.
33159         ($(objpfx)sotruss): Change KSH to BASH.
33160         * elf/sotruss.ksh: Rename to ...
33161         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33162         function style to match POSIX.  Drop ksh vim mode setting.
33164         * manual/time.texi (Specifying the Time Zone with TZ): Change
33165         Tuesday to Thursday.
33167         * debug/tst-longjmp_chk2.c: Update header comment.
33168         (stackoverflow_handler): Add comment.  Call assert on pass value.
33170 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33172         [BZ #16194]
33173         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33174         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33175         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33176         (La_x86_64_vector): Add zmm.
33177         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33178         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33179         ($(objpfx)tst-audit10): New target.
33180         ($(objpfx)tst-audit10.out): Likewise.
33181         (tst-audit10-ENV): New.
33182         (AVX512-CFLAGS): Likewise.
33183         (CFLAGS-tst-audit10.c): Likewise.
33184         (CFLAGS-tst-auditmod10a.c): Likewise.
33185         (CFLAGS-tst-auditmod10b.c): Likewise.
33186         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33187         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33188         * sysdeps/x86_64/configure: Regenerated.
33189         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33190         AVX-512 zmm register support.
33191         (_dl_x86_64_save_sse): Likewise.
33192         (_dl_x86_64_restore_sse): Likewise.
33193         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33194         size vector registers.
33195         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33196         (ZMM_SIZE): Likewise.
33197         * sysdeps/x86_64/tst-audit10.c: New file.
33198         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33199         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33201 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33203         * configure.ac (HAVE_EHDR_START): New check.
33204         * configure: Regenerated.
33205         * config.h.in (HAVE_EHDR_START): New #undef.
33206         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33207         assuming the lowest-addressed segment maps the start of the file.
33209 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33211         * INSTALL: Regenerated.
33213 2014-03-13  Will Newton  <will.newton@linaro.org>
33215         * manual/setjmp.texi (System V contexts): Improve
33216         clarity and grammar of documentation.
33218 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33220         [BZ #16381]
33221         * elf/Makefile (tests): Add tst-pie2.
33222         (tests-pie): Add tst-pie2.
33223         * elf/tst-pie2.c: New file.
33224         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33225         for ET_EXEC.
33226         * elf/rtld.c (map_doit): Load executable as lt_executable.
33227         (dl_main): Likewise.
33229 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33231         [BZ #16642]
33232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33233         (__ASSUME_PSELECT): Undefine.
33235 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33237         [BZ #16689]
33238         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33239         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33240         static build.
33241         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33242         selector for static builds.
33244 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33246         [BZ #16695]
33247         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33248         key in the buffer.
33250 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33252         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33253         IFUNC selector for static builds.
33255 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33257         * sysdeps/mips/math_private.h [__mips_hard_float]
33258         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33259         libc_feresetround_mips_ctx.
33260         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33261         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33262         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33264         [BZ #16677]
33265         * math/s_nextafter.c (__nextafter): Do not return value from
33266         overflowing computation.
33267         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33268         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33269         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33270         Likewise.
33271         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33272         Likewise.
33273         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33274         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33276 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33278         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33279         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33280         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33281         the new mov targetting sp.
33283 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33285         [BZ #16683]
33286         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33287         Define it for static builds as well.
33288         (NO_BZERO_IMPL): Likewise.
33290 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33292         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33293         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33294         multiarch strspn for PPC64.
33295         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33296         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33298         (__libc_ifunc_impl_list): Likewise.
33299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33300         multiarch optimizations
33301         * string/strspn.c (strspn): Using macro to redefine symbol name.
33303 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33304             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33306         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33307         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33308         multiarch strncat for PPC64.
33309         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33310         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33312         (__libc_ifunc_impl_list): Likewise.
33313         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33314         multiarch optimizations
33316 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33318         [BZ #16639]
33319         * nscd/nscd.service: Make service type forking.
33321 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33323         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33324         sign in non default rounding modes.
33325         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33327 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33329         * math/libm-test.inc (ALL_RM_TEST): New macro.
33330         (ceil_test): Use ALL_RM_TEST.
33331         (cimag_test): Likewise.
33332         (conj_test): Likewise.
33333         (copysign_test): Likewise.
33334         (cproj_test): Likewise.
33335         (creal_test): Likewise.
33336         (fabs_test): Likewise.
33337         (floor_test): Likewise.
33338         (fmax_test): Likewise.
33339         (fmin_test): Likewise.
33340         (fmod_test): Likewise.
33341         (fpclassify_test): Likewise.
33342         (frexp_test): Likewise.
33343         (ilogb_test): Likewise.
33344         (isfinite_test): Likewise.
33345         (finite_test): Likewise.
33346         (isgreater_test): Likewise.
33347         (isgreaterequal_test): Likewise.
33348         (isinf_test): Likewise.
33349         (isless_test): Likewise.
33350         (islessequal_test): Likewise.
33351         (islessgreater_test): Likewise.
33352         (isnan_test): Likewise.
33353         (isnormal_test): Likewise.
33354         (issignaling_test): Likewise.
33355         (isunordered_test): Likewise.
33356         (logb_test): Likewise.
33357         (logb_downward_test_data): Remove.
33358         (logb_test_downward): Likewise.
33359         (lround_test): Use ALL_RM_TEST.
33360         (llround_test): Likewise.
33361         (modf_test): Likewise.
33362         (nexttoward_test): Likewise.
33363         (remainder_test): Likewise.
33364         (drem_test): Likewise.
33365         (remainder_tonearest_test_data): Likewise.
33366         (remainder_test_tonearest): Likewise.
33367         (drem_test_tonearest): Likewise.
33368         (remainder_towardzero_test_data): Likewise.
33369         (remainder_test_towardzero): Likewise.
33370         (drem_test_towardzero): Likewise.
33371         (remainder_downward_test_data): Likewise.
33372         (remainder_test_downward): Likewise.
33373         (drem_test_downward): Likewise.
33374         (remainder_upward_test_data): Likewise.
33375         (remainder_test_upward): Likewise.
33376         (drem_test_upward): Likewise.
33377         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33378         (round_test): Use ALL_RM_TEST.
33379         (signbit_test): Likewise.
33380         (trunc_test): Likewise.
33381         (significand_test): Likewise.
33382         (main): Don't call removed functions.
33384 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33386         [BZ #16674]
33387         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33388         || __USE_XOPEN2K8].
33389         (ILL_ILLOPN): Likewise.
33390         (ILL_ILLADR): Likewise.
33391         (ILL_ILLTRP): Likewise.
33392         (ILL_PRVOPC): Likewise.
33393         (ILL_PRVREG): Likewise.
33394         (ILL_COPROC): Likewise.
33395         (ILL_BADSTK): Likewise.
33396         (FPE_INTDIV): Likewise.
33397         (FPE_INTOVF): Likewise.
33398         (FPE_FLTDIV): Likewise.
33399         (FPE_FLTOVF): Likewise.
33400         (FPE_FLTUND): Likewise.
33401         (FPE_FLTRES): Likewise.
33402         (FPE_FLTINV): Likewise.
33403         (FPE_FLTSUB): Likewise.
33404         (SEGV_MAPERR): Likewise.
33405         (SEGV_ACCERR): Likewise.
33406         (BUS_ADRALN): Likewise.
33407         (BUS_ADRERR): Likewise.
33408         (BUS_OBJERR): Likewise.
33409         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33410         (TRAP_TRACE): Likewise.
33411         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33412         __USE_XOPEN2K8].
33413         (CLD_KILLED): Likewise.
33414         (CLD_DUMPED): Likewise.
33415         (CLD_TRAPPED): Likewise.
33416         (CLD_STOPPED): Likewise.
33417         (CLD_CONTINUED): Likewise.
33418         (POLL_IN): Likewise.
33419         (POLL_OUT): Likewise.
33420         (POLL_MSG): Likewise.
33421         (POLL_ERR): Likewise.
33422         (POLL_PRI): Likewise.
33423         (POLL_HUP): Likewise.
33424         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33425         Likewise.
33426         (ILL_ILLOPN): Likewise.
33427         (ILL_ILLADR): Likewise.
33428         (ILL_ILLTRP): Likewise.
33429         (ILL_PRVOPC): Likewise.
33430         (ILL_PRVREG): Likewise.
33431         (ILL_COPROC): Likewise.
33432         (ILL_BADSTK): Likewise.
33433         (FPE_INTDIV): Likewise.
33434         (FPE_INTOVF): Likewise.
33435         (FPE_FLTDIV): Likewise.
33436         (FPE_FLTOVF): Likewise.
33437         (FPE_FLTUND): Likewise.
33438         (FPE_FLTRES): Likewise.
33439         (FPE_FLTINV): Likewise.
33440         (FPE_FLTSUB): Likewise.
33441         (SEGV_MAPERR): Likewise.
33442         (SEGV_ACCERR): Likewise.
33443         (BUS_ADRALN): Likewise.
33444         (BUS_ADRERR): Likewise.
33445         (BUS_OBJERR): Likewise.
33446         (BUS_MCEERR_AR): Likewise.
33447         (BUS_MCEERR_AO): Likewise.
33448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33449         (TRAP_TRACE): Likewise.
33450         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33451         __USE_XOPEN2K8].
33452         (CLD_KILLED): Likewise.
33453         (CLD_DUMPED): Likewise.
33454         (CLD_TRAPPED): Likewise.
33455         (CLD_STOPPED): Likewise.
33456         (CLD_CONTINUED): Likewise.
33457         (POLL_IN): Likewise.
33458         (POLL_OUT): Likewise.
33459         (POLL_MSG): Likewise.
33460         (POLL_ERR): Likewise.
33461         (POLL_PRI): Likewise.
33462         (POLL_HUP): Likewise.
33463         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33464         (ILL_ILLOPN): Likewise.
33465         (ILL_ILLADR): Likewise.
33466         (ILL_ILLTRP): Likewise.
33467         (ILL_PRVOPC): Likewise.
33468         (ILL_PRVREG): Likewise.
33469         (ILL_COPROC): Likewise.
33470         (ILL_BADSTK): Likewise.
33471         (FPE_INTDIV): Likewise.
33472         (FPE_INTOVF): Likewise.
33473         (FPE_FLTDIV): Likewise.
33474         (FPE_FLTOVF): Likewise.
33475         (FPE_FLTUND): Likewise.
33476         (FPE_FLTRES): Likewise.
33477         (FPE_FLTINV): Likewise.
33478         (FPE_FLTSUB): Likewise.
33479         (SEGV_MAPERR): Likewise.
33480         (SEGV_ACCERR): Likewise.
33481         (BUS_ADRALN): Likewise.
33482         (BUS_ADRERR): Likewise.
33483         (BUS_OBJERR): Likewise.
33484         (BUS_MCEERR_AR): Likewise.
33485         (BUS_MCEERR_AO): Likewise.
33486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33487         (TRAP_TRACE): Likewise.
33488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33489         __USE_XOPEN2K8].
33490         (CLD_KILLED): Likewise.
33491         (CLD_DUMPED): Likewise.
33492         (CLD_TRAPPED): Likewise.
33493         (CLD_STOPPED): Likewise.
33494         (CLD_CONTINUED): Likewise.
33495         (POLL_IN): Likewise.
33496         (POLL_OUT): Likewise.
33497         (POLL_MSG): Likewise.
33498         (POLL_ERR): Likewise.
33499         (POLL_PRI): Likewise.
33500         (POLL_HUP): Likewise.
33501         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33502         Likewise.
33503         (ILL_ILLOPN): Likewise.
33504         (ILL_ILLADR): Likewise.
33505         (ILL_ILLTRP): Likewise.
33506         (ILL_PRVOPC): Likewise.
33507         (ILL_PRVREG): Likewise.
33508         (ILL_COPROC): Likewise.
33509         (ILL_BADSTK): Likewise.
33510         (ILL_BADIADDR): Likewise.
33511         (ILL_BREAK): Likewise.
33512         (FPE_INTDIV): Likewise.
33513         (FPE_INTOVF): Likewise.
33514         (FPE_FLTDIV): Likewise.
33515         (FPE_FLTOVF): Likewise.
33516         (FPE_FLTUND): Likewise.
33517         (FPE_FLTRES): Likewise.
33518         (FPE_FLTINV): Likewise.
33519         (FPE_FLTSUB): Likewise.
33520         (FPE_DECOVF): Likewise.
33521         (FPE_DECDIV): Likewise.
33522         (FPE_DECERR): Likewise.
33523         (FPE_INVASC): Likewise.
33524         (FPE_INVDEC): Likewise.
33525         (SEGV_MAPERR): Likewise.
33526         (SEGV_ACCERR): Likewise.
33527         (SEGV_PSTKOVF): Likewise.
33528         (BUS_ADRALN): Likewise.
33529         (BUS_ADRERR): Likewise.
33530         (BUS_OBJERR): Likewise.
33531         (BUS_MCEERR_AR): Likewise.
33532         (BUS_MCEERR_AO): Likewise.
33533         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33534         (TRAP_TRACE): Likewise.
33535         (TRAP_BRANCH): Likewise.
33536         (TRAP_HWBKPT): Likewise.
33537         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33538         __USE_XOPEN2K8].
33539         (CLD_KILLED): Likewise.
33540         (CLD_DUMPED): Likewise.
33541         (CLD_TRAPPED): Likewise.
33542         (CLD_STOPPED): Likewise.
33543         (CLD_CONTINUED): Likewise.
33544         (POLL_IN): Likewise.
33545         (POLL_OUT): Likewise.
33546         (POLL_MSG): Likewise.
33547         (POLL_ERR): Likewise.
33548         (POLL_PRI): Likewise.
33549         (POLL_HUP): Likewise.
33550         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33551         (ILL_ILLOPN): Likewise.
33552         (ILL_ILLADR): Likewise.
33553         (ILL_ILLTRP): Likewise.
33554         (ILL_PRVOPC): Likewise.
33555         (ILL_PRVREG): Likewise.
33556         (ILL_COPROC): Likewise.
33557         (ILL_BADSTK): Likewise.
33558         (FPE_INTDIV): Likewise.
33559         (FPE_INTOVF): Likewise.
33560         (FPE_FLTDIV): Likewise.
33561         (FPE_FLTOVF): Likewise.
33562         (FPE_FLTUND): Likewise.
33563         (FPE_FLTRES): Likewise.
33564         (FPE_FLTINV): Likewise.
33565         (FPE_FLTSUB): Likewise.
33566         (SEGV_MAPERR): Likewise.
33567         (SEGV_ACCERR): Likewise.
33568         (BUS_ADRALN): Likewise.
33569         (BUS_ADRERR): Likewise.
33570         (BUS_OBJERR): Likewise.
33571         (BUS_MCEERR_AR): Likewise.
33572         (BUS_MCEERR_AO): Likewise.
33573         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33574         (TRAP_TRACE): Likewise.
33575         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33576         __USE_XOPEN2K8].
33577         (CLD_KILLED): Likewise.
33578         (CLD_DUMPED): Likewise.
33579         (CLD_TRAPPED): Likewise.
33580         (CLD_STOPPED): Likewise.
33581         (CLD_CONTINUED): Likewise.
33582         (POLL_IN): Likewise.
33583         (POLL_OUT): Likewise.
33584         (POLL_MSG): Likewise.
33585         (POLL_ERR): Likewise.
33586         (POLL_PRI): Likewise.
33587         (POLL_HUP): Likewise.
33588         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33589         (ILL_ILLOPN): Likewise.
33590         (ILL_ILLADR): Likewise.
33591         (ILL_ILLTRP): Likewise.
33592         (ILL_PRVOPC): Likewise.
33593         (ILL_PRVREG): Likewise.
33594         (ILL_COPROC): Likewise.
33595         (ILL_BADSTK): Likewise.
33596         (FPE_INTDIV): Likewise.
33597         (FPE_INTOVF): Likewise.
33598         (FPE_FLTDIV): Likewise.
33599         (FPE_FLTOVF): Likewise.
33600         (FPE_FLTUND): Likewise.
33601         (FPE_FLTRES): Likewise.
33602         (FPE_FLTINV): Likewise.
33603         (FPE_FLTSUB): Likewise.
33604         (SEGV_MAPERR): Likewise.
33605         (SEGV_ACCERR): Likewise.
33606         (BUS_ADRALN): Likewise.
33607         (BUS_ADRERR): Likewise.
33608         (BUS_OBJERR): Likewise.
33609         (BUS_MCEERR_AR): Likewise.
33610         (BUS_MCEERR_AO): Likewise.
33611         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33612         (TRAP_TRACE): Likewise.
33613         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33614         __USE_XOPEN2K8].
33615         (CLD_KILLED): Likewise.
33616         (CLD_DUMPED): Likewise.
33617         (CLD_TRAPPED): Likewise.
33618         (CLD_STOPPED): Likewise.
33619         (CLD_CONTINUED): Likewise.
33620         (POLL_IN): Likewise.
33621         (POLL_OUT): Likewise.
33622         (POLL_MSG): Likewise.
33623         (POLL_ERR): Likewise.
33624         (POLL_PRI): Likewise.
33625         (POLL_HUP): Likewise.
33626         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33627         (ILL_ILLOPN): Likewise.
33628         (ILL_ILLADR): Likewise.
33629         (ILL_ILLTRP): Likewise.
33630         (ILL_PRVOPC): Likewise.
33631         (ILL_PRVREG): Likewise.
33632         (ILL_COPROC): Likewise.
33633         (ILL_BADSTK): Likewise.
33634         (FPE_INTDIV): Likewise.
33635         (FPE_INTOVF): Likewise.
33636         (FPE_FLTDIV): Likewise.
33637         (FPE_FLTOVF): Likewise.
33638         (FPE_FLTUND): Likewise.
33639         (FPE_FLTRES): Likewise.
33640         (FPE_FLTINV): Likewise.
33641         (FPE_FLTSUB): Likewise.
33642         (SEGV_MAPERR): Likewise.
33643         (SEGV_ACCERR): Likewise.
33644         (BUS_ADRALN): Likewise.
33645         (BUS_ADRERR): Likewise.
33646         (BUS_OBJERR): Likewise.
33647         (BUS_MCEERR_AR): Likewise.
33648         (BUS_MCEERR_AO): Likewise.
33649         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33650         (TRAP_TRACE): Likewise.
33651         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33652         __USE_XOPEN2K8].
33653         (CLD_KILLED): Likewise.
33654         (CLD_DUMPED): Likewise.
33655         (CLD_TRAPPED): Likewise.
33656         (CLD_STOPPED): Likewise.
33657         (CLD_CONTINUED): Likewise.
33658         (POLL_IN): Likewise.
33659         (POLL_OUT): Likewise.
33660         (POLL_MSG): Likewise.
33661         (POLL_ERR): Likewise.
33662         (POLL_PRI): Likewise.
33663         (POLL_HUP): Likewise.
33664         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33665         (ILL_ILLOPN): Likewise.
33666         (ILL_ILLADR): Likewise.
33667         (ILL_ILLTRP): Likewise.
33668         (ILL_PRVOPC): Likewise.
33669         (ILL_PRVREG): Likewise.
33670         (ILL_COPROC): Likewise.
33671         (ILL_BADSTK): Likewise.
33672         (ILL_DBLFLT): Likewise.
33673         (ILL_HARDWALL): Likewise.
33674         (FPE_INTDIV): Likewise.
33675         (FPE_INTOVF): Likewise.
33676         (FPE_FLTDIV): Likewise.
33677         (FPE_FLTOVF): Likewise.
33678         (FPE_FLTUND): Likewise.
33679         (FPE_FLTRES): Likewise.
33680         (FPE_FLTINV): Likewise.
33681         (FPE_FLTSUB): Likewise.
33682         (SEGV_MAPERR): Likewise.
33683         (SEGV_ACCERR): Likewise.
33684         (BUS_ADRALN): Likewise.
33685         (BUS_ADRERR): Likewise.
33686         (BUS_OBJERR): Likewise.
33687         (BUS_MCEERR_AR): Likewise.
33688         (BUS_MCEERR_AO): Likewise.
33689         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33690         (TRAP_TRACE): Likewise.
33691         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33692         __USE_XOPEN2K8].
33693         (CLD_KILLED): Likewise.
33694         (CLD_DUMPED): Likewise.
33695         (CLD_TRAPPED): Likewise.
33696         (CLD_STOPPED): Likewise.
33697         (CLD_CONTINUED): Likewise.
33698         (POLL_IN): Likewise.
33699         (POLL_OUT): Likewise.
33700         (POLL_MSG): Likewise.
33701         (POLL_ERR): Likewise.
33702         (POLL_PRI): Likewise.
33703         (POLL_HUP): Likewise.
33704         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33705         (ILL_ILLOPN): Likewise.
33706         (ILL_ILLADR): Likewise.
33707         (ILL_ILLTRP): Likewise.
33708         (ILL_PRVOPC): Likewise.
33709         (ILL_PRVREG): Likewise.
33710         (ILL_COPROC): Likewise.
33711         (ILL_BADSTK): Likewise.
33712         (FPE_INTDIV): Likewise.
33713         (FPE_INTOVF): Likewise.
33714         (FPE_FLTDIV): Likewise.
33715         (FPE_FLTOVF): Likewise.
33716         (FPE_FLTUND): Likewise.
33717         (FPE_FLTRES): Likewise.
33718         (FPE_FLTINV): Likewise.
33719         (FPE_FLTSUB): Likewise.
33720         (SEGV_MAPERR): Likewise.
33721         (SEGV_ACCERR): Likewise.
33722         (BUS_ADRALN): Likewise.
33723         (BUS_ADRERR): Likewise.
33724         (BUS_OBJERR): Likewise.
33725         (BUS_MCEERR_AR): Likewise.
33726         (BUS_MCEERR_AO): Likewise.
33727         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33728         (TRAP_TRACE): Likewise.
33729         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33730         __USE_XOPEN2K8].
33731         (CLD_KILLED): Likewise.
33732         (CLD_DUMPED): Likewise.
33733         (CLD_TRAPPED): Likewise.
33734         (CLD_STOPPED): Likewise.
33735         (CLD_CONTINUED): Likewise.
33736         (POLL_IN): Likewise.
33737         (POLL_OUT): Likewise.
33738         (POLL_MSG): Likewise.
33739         (POLL_ERR): Likewise.
33740         (POLL_PRI): Likewise.
33741         (POLL_HUP): Likewise.
33742         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33743         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33745         [BZ #16670]
33746         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33747         before #include of <time.h>.
33748         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33749         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33750         (test-xfail-UNIX98/sched.h/conform): Likewise.
33752 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33754         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33755         error absence of trapping exception support.
33756         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33758 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33760         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33761         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33762         * timezone/Makefile (testdata): Move definition above include of
33763         Rules.
33764         (test-zones): New variable.
33765         (tests-special): Add zone files.
33766         (build-testdata): Use $(evaluate-test).
33768         * elf/Makefile (tests-special): Rename tests to end with .out.
33769         ($(objpfx)noload-mem): Likewise.
33770         ($(objpfx)tst-leaks1-mem): Likewise.
33771         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33772         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33773         $(objpfx)test-iconvconfig.out.
33774         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33775         set -e inside subshell and redirect output to file.
33776         * iconvdata/Makefile (generated): Rename tests to end with .out.
33777         Correct type.
33778         (tests-special): Rename tests to end with .out.
33779         ($(objpfx)mtrace-tst-loading): Likewise.
33780         * intl/Makefile (generated): Likewise.
33781         (tests-special): Likewise.
33782         ($(objpfx)mtrace-tst-gettext): Likewise.
33783         * misc/Makefile (generated): Likewise.
33784         (tests-special): Likewise.
33785         ($(objpfx)tst-error1-mem): Likewise.
33786         * nptl/Makefile (tests-special): Likewise.
33787         ($(objpfx)tst-stack3-mem): Likewise.
33788         (generated): Likewise.
33789         * posix/Makefile (generated): Likewise.
33790         (tests-special): Likewise.
33791         (xtests-special): Likewise.
33792         ($(objpfx)tst-fnmatch-mem): Likewise.
33793         ($(objpfx)bug-regex2-mem): Likewise.
33794         ($(objpfx)bug-regex14-mem): Likewise.
33795         ($(objpfx)bug-regex21-mem): Likewise.
33796         ($(objpfx)bug-regex31-mem): Likewise.
33797         ($(objpfx)tst-vfork3-mem): Likewise.
33798         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33799         ($(objpfx)tst-pcre-mem): Likewise.
33800         ($(objpfx)tst-boost-mem): Likewise.
33801         ($(objpfx)bug-ga2-mem): Likewise.
33802         ($(objpfx)bug-glob2-mem): Likewise.
33803         * resolv/Makefile (generate): Likewise.
33804         (tests-special): Likewise.
33805         (xtests-special): Likewise.
33806         (generated): Likewise.
33807         ($(objpfx)mtrace-tst-leaks): Likewise.
33808         ($(objpfx)mtrace-tst-leaks2): Likewise.
33810         * scripts/merge-test-results.sh: New file.
33811         * Makefile (tests-special-notdir): New variable.
33812         (tests): Run merge-test-results.sh.
33813         (xtests): Likewise.
33814         * Rules (tests-special-notdir): New variable.
33815         (xtests-special-notdir): Likewise.
33816         (tests): Run merge-test-results.sh
33817         (xtests): Likewise.
33819         * Makeconfig (test-xfail-name): New variable.
33820         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33821         compute variable name for expected failures.
33822         * conform/Makefile (conformtest-headers-data): New variable.
33823         (conformtest-standards): Likewise.
33824         (conformtest-headers-ISO): Likewise.
33825         (conformtest-headers-ISO99): Likewise.
33826         (conformtest-headers-ISO11): Likewise.
33827         (conformtest-headers-POSIX): Likewise.
33828         (conformtest-headers-XPG3): Likewise.
33829         (conformtest-headers-XPG4): Likewise.
33830         (conformtest-headers-UNIX98): Likewise.
33831         (conformtest-headers-XOPEN2K): Likewise.
33832         (conformtest-headers-POSIX2008): Likewise.
33833         (conformtest-headers-XOPEN2K8): Likewise.
33834         (conformtest-header-list-base): Likewise.
33835         (conformtest-header-list-tests): Likewise.
33836         (conformtest-header-base): Likewise.
33837         (conformtest-header-tests): Likewise.
33838         (tests-special): Add $(conformtest-header-list-tests).  If
33839         [$(fast-check) && !$(cross-compiling)], add
33840         $(conformtest-header-tests) instead of
33841         $(objpfx)run-conformtest.out.
33842         (generated): Add $(conformtest-header-list-base).  If
33843         [$(fast-check) && !$(cross-compiling)], add
33844         $(conformtest-header-base).  Remove previous setting.
33845         ($(conformtest-header-list-tests)): New target.
33846         (test-xfail-run-conformtest): Remove variable.
33847         ($(objpfx)run-conformtest.out): Remove target.
33848         (test-xfail-ISO11/complex.h/conform): New variable.
33849         (test-xfail-ISO11/stdalign.h/conform): Likewise.
33850         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
33851         (test-xfail-XPG3/varargs.h/conform): Likewise.
33852         (test-xfail-XPG4/varargs.h/conform): Likewise.
33853         (test-xfail-UNIX98/varargs.h/conform): Likewise.
33854         (test-xfail-XPG4/ndbm.h/conform): Likewise.
33855         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
33856         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
33857         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
33858         (test-xfail-XPG3/fcntl.h/conform): Likewise.
33859         (test-xfail-XPG3/ftw.h/conform): Likewise.
33860         (test-xfail-XPG3/grp.h/conform): Likewise.
33861         (test-xfail-XPG3/langinfo.h/conform): Likewise.
33862         (test-xfail-XPG3/limits.h/conform): Likewise.
33863         (test-xfail-XPG3/pwd.h/conform): Likewise.
33864         (test-xfail-XPG3/search.h/conform): Likewise.
33865         (test-xfail-XPG3/signal.h/conform): Likewise.
33866         (test-xfail-XPG3/stdio.h/conform): Likewise.
33867         (test-xfail-XPG3/stdlib.h/conform): Likewise.
33868         (test-xfail-XPG3/string.h/conform): Likewise.
33869         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
33870         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
33871         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33872         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33873         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
33874         (test-xfail-XPG3/sys/types.h/conform): Likewise.
33875         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
33876         (test-xfail-XPG3/termios.h/conform): Likewise.
33877         (test-xfail-XPG3/time.h/conform): Likewise.
33878         (test-xfail-XPG3/unistd.h/conform): Likewise.
33879         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
33880         (test-xfail-XPG4/fcntl.h/conform): Likewise.
33881         (test-xfail-XPG4/langinfo.h/conform): Likewise.
33882         (test-xfail-XPG4/netdb.h/conform): Likewise.
33883         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
33884         (test-xfail-XPG4/signal.h/conform): Likewise.
33885         (test-xfail-XPG4/stdio.h/conform): Likewise.
33886         (test-xfail-XPG4/stdlib.h/conform): Likewise.
33887         (test-xfail-XPG4/stropts.h/conform): Likewise.
33888         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33889         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33890         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33891         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33892         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33893         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
33894         (test-xfail-XPG4/sys/time.h/conform): Likewise.
33895         (test-xfail-XPG4/sys/types.h/conform): Likewise.
33896         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
33897         (test-xfail-XPG4/termios.h/conform): Likewise.
33898         (test-xfail-XPG4/ucontext.h/conform): Likewise.
33899         (test-xfail-XPG4/unistd.h/conform): Likewise.
33900         (test-xfail-XPG4/utmpx.h/conform): Likewise.
33901         (test-xfail-POSIX/sched.h/conform): Likewise.
33902         (test-xfail-POSIX/signal.h/conform): Likewise.
33903         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33904         (test-xfail-POSIX/tar.h/conform): Likewise.
33905         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
33906         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
33907         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
33908         (test-xfail-UNIX98/netdb.h/conform): Likewise.
33909         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
33910         (test-xfail-UNIX98/sched.h/conform): Likewise.
33911         (test-xfail-UNIX98/signal.h/conform): Likewise.
33912         (test-xfail-UNIX98/stdio.h/conform): Likewise.
33913         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
33914         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33915         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33916         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33917         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33918         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33919         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33920         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
33921         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
33922         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
33923         (test-xfail-UNIX98/unistd.h/conform): Likewise.
33924         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
33925         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
33926         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
33927         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
33928         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
33929         (test-xfail-XOPEN2K/math.h/conform): Likewise.
33930         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
33931         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33932         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33933         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
33934         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
33935         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
33936         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
33937         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33938         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33939         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33940         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33941         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33942         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33943         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
33944         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
33945         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
33946         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
33947         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33948         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
33949         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33950         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
33951         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
33952         (test-xfail-POSIX2008/signal.h/conform): Likewise.
33953         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33954         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
33955         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
33956         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33957         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33958         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
33959         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
33960         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33961         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33962         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
33963         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
33964         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33965         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33966         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33967         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
33968         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33969         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33970         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33971         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33972         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
33973         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
33974         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
33975         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
33976         (conformtest-cc-flags): Likewise.
33977         ($(conformtest-header-tests): New target.
33978         * conform/check-header-lists.sh: New file.
33979         * conform/run-conformtest.sh: Remove.
33981         * conform/conformtest.pl: Allow ' and \ in values given for
33982         constants.
33983         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
33984         inclusion.
33985         [POSIX] (sys/types.h): Likewise.
33986         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
33987         inclusion.
33988         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
33989         inclusion.
33990         * conform/data/signal.h-data (SIGIO): Remove expectation.
33991         [XPG3] (SIGBUS): Do not expect.
33992         [POSIX || XPG3] (SIGPOLL): Likewise.
33993         [POSIX || XPG3] (SIGPROF): Likewise.
33994         [POSIX || XPG3] (SIGSYS): Likewise.
33995         [XPG3] (SIGTRAP): Likewise.
33996         [POSIX || XPG3] (SIGURG): Likewise.
33997         [POSIX || XPG3] (SIGVTALRM): Likewise.
33998         [POSIX || XPG3] (SIGXCPU): Likewise.
33999         [POSIX || XPG3] (SIGXFSZ): Likewise.
34000         [POSIX] (SA_SIGINFO): Expect.
34001         [XPG3] (siginfo_t): Do not expect type or contents.
34002         [POSIX] (si_pid): Do not expect element.
34003         [POSIX] (si_uid): Likewise.
34004         [POSIX] (si_addr): Likewise.
34005         [POSIX] (si_status): Likewise.
34006         [POSIX] (si_band): Likewise.
34007         [XPG4] (si_value): Likewise.
34008         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34009         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34010         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34011         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34012         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34013         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34014         [POSIX || XPG3] (ILL_COPROC): Likewise.
34015         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34016         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34017         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34018         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34019         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34020         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34021         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34022         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34023         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34024         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34025         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34026         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34027         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34028         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34029         [POSIX || XPG3] (CLD_EXITED): Likewise.
34030         [POSIX || XPG3] (CLD_KILLED): Likewise.
34031         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34032         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34033         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34034         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34035         [POSIX || XPG3] (POLL_IN): Likewise.
34036         [POSIX || XPG3] (POLL_OUT): Likewise.
34037         [POSIX || XPG3] (POLL_MSG): Likewise.
34038         [POSIX || XPG3] (POLL_ERR): Likewise.
34039         [POSIX || XPG3] (POLL_PRI): Likewise.
34040         [POSIX || XPG3] (POLL_HUP): Likewise.
34041         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34042         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34043         (SIG*): Do not allow.
34044         [XPG3] (si_*): Likewise.
34045         [XPG3] (SI_*): Likewise.
34046         [XPG3 || XPG4] (sigev_*): Likewise.
34047         [XPG3 || XPG4] (SIGEV_*): Likewise.
34048         [XPG3 || XPG4] (sival_*): Likewise.
34049         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34050         [POSIX || XPG3] (BUS_*): Likewise.
34051         [POSIX || XPG3] (CLD_*): Likewise.
34052         [POSIX || XPG3] (FPE_*): Likewise.
34053         [POSIX || XPG3] (ILL_*): Likewise.
34054         [POSIX || XPG3] (POLL_*): Likewise.
34055         [POSIX || XPG3] (SEGV_*): Likewise.
34056         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34057         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34058         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34059         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34060         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34061         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34062         Specify type and value.
34063         (TVERSLEN): Likewise.
34064         (REGTYPE): Likewise.
34065         (AREGTYPE): Likewise.
34066         (LNKTYPE): Likewise.
34067         (SYMTYPE): Likewise.
34068         (CHRTYPE): Likewise.
34069         (BLKTYPE): Likewise.
34070         (DIRTYPE): Likewise.
34071         (FIFOTYPE): Likewise.
34072         (CONTTYPE): Likewise.
34073         (TSUID): Likewise.
34074         (TSGID): Likewise.
34075         (TSVTX): Likewise.
34076         (TUREAD): Likewise.
34077         (TUWRITE): Likewise.
34078         (TUEXEC): Likewise.
34079         (TGREAD): Likewise.
34080         (TGWRITE): Likewise.
34081         (TGEXEC): Likewise.
34082         (TOREAD): Likewise.
34083         (TOWRITE): Likewise.
34084         (TOEXEC): Likewise.
34085         [POSIX] (TSVTX): Expect constant.
34087 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34089         * Makefile (tests): Change dependencies to ....
34090         (tests-special): ... additions to this variable.
34091         (tests): Depend on $(tests-special).
34092         * Makerules (check-abi-list): New variable.
34093         (check-abi): Depend on $(check-abi-list).
34094         [$(subdir) = elf] (tests-special): Add
34095         $(objpfx)check-abi-libc.out.
34096         [$(build-shared) = yes && subdir] (tests-special): Add
34097         $(check-abi-list).
34098         [$(build-shared) = yes && subdir] (tests): Do not depend on
34099         check-abi.
34100         * Rules (tests): Depend on $(tests-special).
34101         (xtests): Depend on $(xtests-special).
34102         * catgets/Makefile (tests): Change dependencies to ....
34103         (tests-special): ... additions to this variable.
34104         * conform/Makefile (tests): Change dependencies to ....
34105         (tests-special): ... additions to this variable.
34106         * elf/Makefile (tests): Change dependencies to ....
34107         (tests-special): ... additions to this variable.
34108         * grp/Makefile (tests): Change dependencies to ....
34109         (tests-special): ... additions to this variable.
34110         * iconv/Makefile (xtests): Change dependencies to ....
34111         (xtests-special): ... additions to this variable.
34112         * iconvdata/Makefile (tests): Change dependencies to ....
34113         (tests-special): ... additions to this variable.
34114         * intl/Makefile (tests): Change dependencies to ....
34115         (tests-special): ... additions to this variable.  Also add
34116         $(objpfx)tst-gettext.out.
34117         * io/Makefile (tests): Change dependencies to ....
34118         (tests-special): ... additions to this variable.
34119         * libio/Makefile (tests): Change dependencies to ....
34120         (tests-special): ... additions to this variable.
34121         * malloc/Makefile (tests): Change dependencies to ....
34122         (tests-special): ... additions to this variable.
34123         * misc/Makefile (tests): Change dependencies to ....
34124         (tests-special): ... additions to this variable.
34125         * nptl/Makefile (tests): Change dependencies to ....
34126         (tests-special): ... additions to this variable.
34127         * nptl_db/Makefile (tests): Change dependencies to ....
34128         (tests-special): ... additions to this variable.
34129         * posix/Makefile (tests): Change dependencies to ....
34130         (tests-special): ... additions to this variable.
34131         (xtests): Change dependencies to ....
34132         (xtests-special): ... additions to this variable.
34133         * resolv/Makefile (tests): Change dependencies to ....
34134         (tests-special): ... additions to this variable.
34135         (xtests): Change dependencies to ....
34136         (xtests-special): ... additions to this variable.
34137         * stdio-common/Makefile (tests): Change dependencies to ....
34138         (tests-special): ... additions to this variable.
34139         (do-tst-unbputc): Remove target.
34140         (do-tst-printf): Likewise.
34141         * stdlib/Makefile (tests): Change dependencies to ....
34142         (tests-special): ... additions to this variable.
34143         * string/Makefile (tests): Change dependencies to ....
34144         (tests-special): ... additions to this variable.
34145         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34146         (tests-special): ... additions to this variable.
34148         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34149         whole file.
34150         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34151         whole file.
34152         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34153         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34155         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34156         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34157         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34158         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34159         * conform/data/libgen.h-data [XPG3]: Likewise.
34160         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34161         * conform/data/ndbm.h-data [XPG3]: Likewise.
34162         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34163         * conform/data/netdb.h-data [XPG3]: Likewise.
34164         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34165         * conform/data/poll.h-data [XPG3]: Likewise.
34166         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34167         * conform/data/strings.h-data [XPG3]: Likewise.
34168         * conform/data/stropts.h-data [XPG3]: Likewise.
34169         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34170         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34171         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34172         Likewise.
34173         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34174         * conform/data/sys/time.h-data [XPG3]: Likewise.
34175         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34176         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34177         * conform/data/sys/un.h-data [XPG3]: Likewise.
34178         * conform/data/syslog.h-data [XPG3]: Likewise.
34179         * conform/data/ucontext.h-data [XPG3]: Likewise.
34180         * conform/data/utmpx.h-data [XPG3]: Likewise.
34181         * conform/data/varargs.h-data [UNIX98]: Enable file.
34183         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34185         * math/libm-test.inc (struct test_f_f_data): Move expected results
34186         into structure for each rounding mode.
34187         (struct test_ff_f_data): Likewise.
34188         (struct test_ff_f_data_nexttoward): Likewise.
34189         (struct test_fi_f_data): Likewise.
34190         (struct test_fl_f_data): Likewise.
34191         (struct test_if_f_data): Likewise.
34192         (struct test_fff_f_data): Likewise.
34193         (struct test_c_f_data): Likewise.
34194         (struct test_f_f1_data): Likewise.
34195         (struct test_fF_f1_data): Likewise.
34196         (struct test_ffI_f1_data): Likewise.
34197         (struct test_c_c_data): Likewise.
34198         (struct test_cc_c_data): Likewise.
34199         (struct test_f_i_data): Likewise.
34200         (struct test_ff_i_data): Likewise.
34201         (struct test_f_l_data): Likewise.
34202         (struct test_f_L_data): Likewise.
34203         (struct test_fFF_11_data): Likewise.
34204         (RM_): New macro.
34205         (RM_FE_DOWNWARD): Likewise.
34206         (RM_FE_TONEAREST): Likewise.
34207         (RM_FE_TOWARDZERO): Likewise.
34208         (RM_FE_UPWARD): Likewise.
34209         (RUN_TEST_LOOP_f_f): Update references to expected results.
34210         (RUN_TEST_LOOP_2_f): Likewise.
34211         (RUN_TEST_LOOP_fff_f): Likewise.
34212         (RUN_TEST_LOOP_c_f): Likewise.
34213         (RUN_TEST_LOOP_f_f1): Likewise.
34214         (RUN_TEST_LOOP_fF_f1): Likewise.
34215         (RUN_TEST_LOOP_fI_f1): Likewise.
34216         (RUN_TEST_LOOP_ffI_f1): Likewise.
34217         (RUN_TEST_LOOP_c_c): Likewise.
34218         (RUN_TEST_LOOP_cc_c): Likewise.
34219         (RUN_TEST_LOOP_f_i): Likewise.
34220         (RUN_TEST_LOOP_f_i_tg): Likewise.
34221         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34222         (RUN_TEST_LOOP_f_b): Likewise.
34223         (RUN_TEST_LOOP_f_b_tg): Likewise.
34224         (RUN_TEST_LOOP_f_l): Likewise.
34225         (RUN_TEST_LOOP_f_L): Likewise.
34226         (RUN_TEST_LOOP_fFF_11): Likewise.
34227         * math/gen-libm-test.pl (parse_args): Output four copies of
34228         expected results for each test.
34230         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34231         (__ASSUME_UTIMES): Remove.
34232         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34233         (__ASSUME_UTIMES): Likewise.
34235         * math/gen-auto-libm-tests.c: Update comment on output format.
34236         (output_for_one_input_case): Generate before-rounding and
34237         after-rounding information as conditions on output flags not
34238         floating-point format.
34239         * math/auto-libm-test-out: Regenerated.
34240         * math/gen-libm-test.pl (cond_value): New function.
34241         (or_cond_value): Use cond_value.
34242         (generate_testfile): Handle conditional exceptions.
34244 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34246         * math/libm-test.inc (max_valid_error): New variable.
34247         (init_max_error): Take new argument specifying whether function
34248         results are exactly determined.  Set max_valid_error and bound
34249         other variables for errors based on this argument.
34250         (set_max_error): Do not record results above max_valid_error.
34251         (check_float_internal): Only accept errors of up to 0.5ulps if
34252         also at most max_valid_error.
34253         (START): Take new argument EXACT and pass it to init_max_error.
34254         (acos_test): Update call to START.
34255         (acos_test_tonearest): Likewise.
34256         (acos_test_towardzero): Likewise.
34257         (acos_test_downward): Likewise.
34258         (acos_test_upward): Likewise.
34259         (acosh_test): Likewise.
34260         (asin_test): Likewise.
34261         (asin_test_tonearest): Likewise.
34262         (asin_test_towardzero): Likewise.
34263         (asin_test_downward): Likewise.
34264         (asin_test_upward): Likewise.
34265         (asinh_test): Likewise.
34266         (atan_test): Likewise.
34267         (atanh_test): Likewise.
34268         (atan2_test): Likewise.
34269         (cabs_test): Likewise.
34270         (cacos_test): Likewise.
34271         (cacosh_test): Likewise.
34272         (carg_test): Likewise.
34273         (casin_test): Likewise.
34274         (casinh_test): Likewise.
34275         (catan_test): Likewise.
34276         (catanh_test): Likewise.
34277         (cbrt_test): Likewise.
34278         (ccos_test): Likewise.
34279         (ccosh_test): Likewise.
34280         (ceil_test): Likewise.
34281         (cexp_test): Likewise.
34282         (cimag_test): Likewise.
34283         (clog_test): Likewise.
34284         (clog10_test): Likewise.
34285         (conj_test): Likewise.
34286         (copysign_test): Likewise.
34287         (cos_test): Likewise.
34288         (cos_test_tonearest): Likewise.
34289         (cos_test_towardzero): Likewise.
34290         (cos_test_downward): Likewise.
34291         (cos_test_upward): Likewise.
34292         (cosh_test): Likewise.
34293         (cosh_test_tonearest): Likewise.
34294         (cosh_test_towardzero): Likewise.
34295         (cosh_test_downward): Likewise.
34296         (cosh_test_upward): Likewise.
34297         (cpow_test): Likewise.
34298         (cproj_test): Likewise.
34299         (creal_test): Likewise.
34300         (csin_test): Likewise.
34301         (csinh_test): Likewise.
34302         (csqrt_test): Likewise.
34303         (ctan_test): Likewise.
34304         (ctan_test_tonearest): Likewise.
34305         (ctan_test_towardzero): Likewise.
34306         (ctan_test_downward): Likewise.
34307         (ctan_test_upward): Likewise.
34308         (ctanh_test): Likewise.
34309         (ctanh_test_tonearest): Likewise.
34310         (ctanh_test_towardzero): Likewise.
34311         (ctanh_test_downward): Likewise.
34312         (ctanh_test_upward): Likewise.
34313         (erf_test): Likewise.
34314         (erfc_test): Likewise.
34315         (exp_test): Likewise.
34316         (exp_test_tonearest): Likewise.
34317         (exp_test_towardzero): Likewise.
34318         (exp_test_downward): Likewise.
34319         (exp_test_upward): Likewise.
34320         (exp10_test): Likewise.
34321         (exp10_test_tonearest): Likewise.
34322         (exp10_test_towardzero): Likewise.
34323         (exp10_test_downward): Likewise.
34324         (exp10_test_upward): Likewise.
34325         (pow10_test): Likewise.
34326         (exp2_test): Likewise.
34327         (expm1_test): Likewise.
34328         (expm1_test_tonearest): Likewise.
34329         (expm1_test_towardzero): Likewise.
34330         (expm1_test_downward): Likewise.
34331         (expm1_test_upward): Likewise.
34332         (fabs_test): Likewise.
34333         (fdim_test): Likewise.
34334         (floor_test): Likewise.
34335         (fma_test): Likewise.
34336         (fma_test_towardzero): Likewise.
34337         (fma_test_downward): Likewise.
34338         (fma_test_upward): Likewise.
34339         (fmax_test): Likewise.
34340         (fmin_test): Likewise.
34341         (fmod_test): Likewise.
34342         (fpclassify_test): Likewise.
34343         (frexp_test): Likewise.
34344         (hypot_test): Likewise.
34345         (ilogb_test): Likewise.
34346         (isfinite_test): Likewise.
34347         (finite_test): Likewise.
34348         (isgreater_test): Likewise.
34349         (isgreaterequal_test): Likewise.
34350         (isinf_test): Likewise.
34351         (isless_test): Likewise.
34352         (islessequal_test): Likewise.
34353         (islessgreater_test): Likewise.
34354         (isnan_test): Likewise.
34355         (isnormal_test): Likewise.
34356         (issignaling_test): Likewise.
34357         (isunordered_test): Likewise.
34358         (j0_test): Likewise.
34359         (j1_test): Likewise.
34360         (jn_test): Likewise.
34361         (ldexp_test): Likewise.
34362         (lgamma_test): Likewise.
34363         (gamma_test): Likewise.
34364         (lrint_test): Likewise.
34365         (lrint_test_tonearest): Likewise.
34366         (lrint_test_towardzero): Likewise.
34367         (lrint_test_downward): Likewise.
34368         (lrint_test_upward): Likewise.
34369         (llrint_test): Likewise.
34370         (llrint_test_tonearest): Likewise.
34371         (llrint_test_towardzero): Likewise.
34372         (llrint_test_downward): Likewise.
34373         (llrint_test_upward): Likewise.
34374         (log_test): Likewise.
34375         (log10_test): Likewise.
34376         (log1p_test): Likewise.
34377         (log2_test): Likewise.
34378         (logb_test): Likewise.
34379         (logb_test_downward): Likewise.
34380         (lround_test): Likewise.
34381         (llround_test): Likewise.
34382         (modf_test): Likewise.
34383         (nearbyint_test): Likewise.
34384         (nextafter_test): Likewise.
34385         (nexttoward_test): Likewise.
34386         (pow_test): Likewise.
34387         (pow_test_tonearest): Likewise.
34388         (pow_test_towardzero): Likewise.
34389         (pow_test_downward): Likewise.
34390         (pow_test_upward): Likewise.
34391         (remainder_test): Likewise.
34392         (drem_test): Likewise.
34393         (remainder_test_tonearest): Likewise.
34394         (drem_test_tonearest): Likewise.
34395         (remainder_test_towardzero): Likewise.
34396         (drem_test_towardzero): Likewise.
34397         (remainder_test_downward): Likewise.
34398         (drem_test_downward): Likewise.
34399         (remainder_test_upward): Likewise.
34400         (drem_test_upward): Likewise.
34401         (remquo_test): Likewise.
34402         (rint_test): Likewise.
34403         (rint_test_tonearest): Likewise.
34404         (rint_test_towardzero): Likewise.
34405         (rint_test_downward): Likewise.
34406         (rint_test_upward): Likewise.
34407         (round_test): Likewise.
34408         (scalb_test): Likewise.
34409         (scalbn_test): Likewise.
34410         (scalbln_test): Likewise.
34411         (signbit_test): Likewise.
34412         (sin_test): Likewise.
34413         (sin_test_tonearest): Likewise.
34414         (sin_test_towardzero): Likewise.
34415         (sin_test_downward): Likewise.
34416         (sin_test_upward): Likewise.
34417         (sincos_test): Likewise.
34418         (sinh_test): Likewise.
34419         (sinh_test_tonearest): Likewise.
34420         (sinh_test_towardzero): Likewise.
34421         (sinh_test_downward): Likewise.
34422         (sinh_test_upward): Likewise.
34423         (sqrt_test): Likewise.
34424         (sqrt_test_tonearest): Likewise.
34425         (sqrt_test_towardzero): Likewise.
34426         (sqrt_test_downward): Likewise.
34427         (sqrt_test_upward): Likewise.
34428         (tan_test): Likewise.
34429         (tan_test_tonearest): Likewise.
34430         (tan_test_towardzero): Likewise.
34431         (tan_test_downward): Likewise.
34432         (tan_test_upward): Likewise.
34433         (tanh_test): Likewise.
34434         (tgamma_test): Likewise.
34435         (trunc_test): Likewise.
34436         (y0_test): Likewise.
34437         (y1_test): Likewise.
34438         (yn_test): Likewise.
34439         (significand_test): Likewise.
34441         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34442         individual tests in comment.
34443         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34444         (prev_max_error): New variable.
34445         (prev_real_max_error): Likewise.
34446         (prev_imag_max_error): Likewise.
34447         (compare_ulp_data): Don't refer to test names in comment.
34448         (find_test_ulps): Remove function.
34449         (find_function_ulps): Likewise.
34450         (find_complex_function_ulps): Likewise.
34451         (init_max_error): Take function name as argument.  Look up ulps
34452         for that function.
34453         (print_ulps): Remove function.
34454         (print_max_error): Use prev_max_error instead of calling
34455         find_function_ulps.
34456         (print_complex_max_error): Use prev_real_max_error and
34457         prev_imag_max_error instead of calling find_complex_function_ulps.
34458         (check_float_internal): Take max_ulp parameter instead of calling
34459         find_test_ulps.  Don't call print_ulps.
34460         (check_float): Update call to check_float_internal.
34461         (check_complex): Update calls to check_float_internal.
34462         (START): Pass argument to init_max_error.
34463         * math/gen-libm-test.pl (%results): Don't include "kind"
34464         information.
34465         (parse_ulps): Don't handle ulps of individual tests.
34466         (print_ulps_file): Likewise.
34467         (output_ulps): Likewise.
34468         * math/README.libm-test: Update.
34469         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34470         individual tests.
34471         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34472         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34473         * sysdeps/arm/libm-test-ulps: Likewise.
34474         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34475         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34476         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34477         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34478         * sysdeps/microblaze/libm-test-ulps: Likewise.
34479         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34480         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34481         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34482         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34483         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34484         * sysdeps/sh/libm-test-ulps: Likewise.
34485         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34486         * sysdeps/tile/libm-test-ulps: Likewise.
34487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34489 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34491         * math/libm-test.inc (print_complex_max_error): Check separately
34492         whether real and imaginary errors are within allowed range and
34493         pass 0 to print_complex_function_ulps instead of value within
34494         allowed range.
34496 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34498         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34499         formatting.
34500         (get_handles_fopen): Likewise.
34501         (do_write_test): Likewise.
34503         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34505         * libio/fileops.c (do_ftell): Use cached offset when
34506         available.
34507         * libio/iofwide.c (do_ftell_wide): Likewise.
34508         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34509         _IO_file_attach.
34510         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34512         [BZ #16532]
34513         * libio/libioP.h (get_file_offset): New function.
34514         * libio/fileops.c (get_file_offset): Likewise.
34515         (do_ftell): Likewise.
34516         (_IO_new_file_seekoff): Split out ftell logic.
34517         * libio/wfileops.c (do_ftell_wide): Likewise.
34518         (_IO_wfile_seekoff): Split out ftell logic.
34519         * libio/tst-ftell-active-handler.c: New test case.
34520         * libio/Makefile (tests): Add it.
34522 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34524         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34525         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34527 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34529         [BZ #16639]
34530         * nscd/connections.c (nscd_init): Call do_exit.
34531         (start_threads): Call do_exit and notify_parent.
34532         (begin_drop_privileges): Call do_exit.
34533         (finish_drop_privileges): Likewise.
34534         * nscd/selinux.c (preserve_capabilities): Likewise.
34535         (install_real_capabilities): Likewise.
34536         (nscd_selinux_enabled): Likewise.
34537         (avc_create_thread): Likewise.
34538         (avc_alloc_lock): Likewise.
34539         (nscd_avc_init): Likewise.
34540         * nscd/nscd.c (parent_fd): New static variable.
34541         (main): Create a pipe between parent and child processes.
34542         Skip closing parent_fd.
34543         (monitor_child): New function.
34544         (do_exit): Likewise.
34545         (notify_parent): Likewise.
34546         * nscd/nscd.h (notify_parent): Likewise.
34547         (do_exit): Likewise.
34549 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34551         * malloc/malloc.c (__libc_calloc): Revert last change.
34553 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34557 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34559         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34561         implementation.
34562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34563         (__libc_ifunc_impl_list): Likewise.
34564         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34565         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34566         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34567         * string/strrchr.c: Define STRRCHR.
34569 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34571         * benchtest/bench-strtok.c (simple_strtok): Delete.
34572         (strtok_string): Use as benchmark.
34573         * string/strtok (STRTOK): New macro.
34575 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34577         * manual/threads.texi: Add header and standard comments to all
34578         functions.
34580         * elf/dl-lookup.c (check_match): New function.
34581         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34582         (do_lookup_x): Remove nested function check_match. Use non-nested
34583         function check_match.
34585 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34587         * csu/Makefile (generated, before-compile): Use += rather than =.
34588         * catgets/Makefile (generated, generated-dirs): Likewise.
34589         * debug/Makefile (generated): Likewise.
34590         * dlfcn/Makefile (generated): Likewise.
34591         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34592         * iconvdata/Makefile (before-compile, generated): Likewise.
34593         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34594         * libio/Makefile (generated): Likewise.
34595         * malloc/Makefile (generated): Likewise.
34596         * manual/Makefile (generated, generated-dirs): Likewise.
34597         * misc/Makefile (generated): Likewise.
34598         * posix/Makefile (generated): Likewise.
34599         * resolv/Makefile (generated): Likewise.
34600         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34601         * timezone/Makefile (generated, generated-dirs): Likewise.
34603         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34605 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34608         power8 implementation.
34609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34610         file: POWER8 llround ifunc implementation.
34611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34612         (__lllround): Add POWER8 implementation.
34613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34614         POWER8 llround implementation.
34616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34617         power8 implementation.
34618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34619         file: POWER8 llrint ifunc implementation.
34620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34621         Add POWER8 implementation.
34622         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34623         POWER8 llrint implementation.
34625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34626         power8 implementation.
34627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34628         file: POWER8 finite ifunc implementation.
34629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34630         Add POWER8 implementation.
34631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34632         Likewise.
34633         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34634         POWER8 finite implementation.
34635         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34638         power8 implementation.
34639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34640         file: POWER8 isinf ifunc implementation.
34641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34642         POWER8 implementation.
34643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34644         Likewise.
34645         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34646         isinf implementation.
34647         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34649         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34650         (INIT_ARCH): Add hwcap2 initialization.
34651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34652         power8 implementation.
34653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34654         file: POWER8 isnan ifunc implementation.
34655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34656         POWER8 implementation.
34657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34658         Likewise.
34659         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34660         isnan implementation.
34661         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34663 2014-02-27  Joey Ye  <joey.ye@arm.com>
34665         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34666         (_FP_NANFRAC_Q): Set to zero.
34668 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34670         [BZ #16623]
34671         * math/auto-libm-test-in: New test inputs.
34672         * math/auto-libm-test-out: Regenerate.
34673         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34674         and DA.
34675         (__cos): Likewise.
34676         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34678 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34680         * scripts/evaluate-test.sh: Take new argument indicating whether
34681         failure is expected.
34682         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34683         indicating whether failure is expected.
34684         * conform/Makefile (test-xfail-run-conformtest): New variable.
34685         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34686         level.
34687         * posix/Makefile (test-xfail-annexc): New variable.
34688         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34690 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34692         * argp/Makefile: Include Makeconfig immediately after defining
34693         subdir.
34694         * assert/Makefile: Likewise.
34695         * benchtests/Makefile: Likewise.
34696         * catgets/Makefile: Likewise.
34697         * conform/Makefile: Likewise.
34698         * crypt/Makefile: Likewise.
34699         * csu/Makefile: Likewise.
34700         (all): Remove target.
34701         * ctype/Makefile: Include Makeconfig immediately after defining
34702         subdir.
34703         * debug/Makefile: Likewise.
34704         * dirent/Makefile: Likewise.
34705         * dlfcn/Makefile: Likewise.
34706         * gmon/Makefile: Likewise.
34707         * gnulib/Makefile: Likewise.
34708         * grp/Makefile: Likewise.
34709         * gshadow/Makefile: Likewise.
34710         * hesiod/Makefile: Likewise.
34711         * hurd/Makefile: Likewise.
34712         (all): Remove target.
34713         * iconvdata/Makefile: Include Makeconfig immediately after
34714         defining subdir.
34715         * inet/Makefile: Likewise.
34716         * intl/Makefile: Likewise.
34717         * io/Makefile: Likewise.
34718         * libio/Makefile: Likewise.
34719         (all): Remove target.
34720         * locale/Makefile: Include Makeconfig immediately after defining
34721         subdir.
34722         * login/Makefile: Likewise.
34723         * mach/Makefile: Likewise.
34724         (all): Remove target.
34725         * malloc/Makefile: Include Makeconfig immediately after defining
34726         subdir.
34727         (all): Remove target.
34728         * manual/Makefile: Include Makeconfig immediately after defining
34729         subdir.
34730         * math/Makefile: Likewise.
34731         * misc/Makefile: Likewise.
34732         * nis/Makefile: Likewise.
34733         * nss/Makefile: Likewise.
34734         * po/Makefile: Likewise.
34735         (all): Remove target.
34736         * posix/Makefile: Include Makeconfig immediately after defining
34737         subdir.
34738         * pwd/Makefile: Likewise.
34739         * resolv/Makefile: Likewise.
34740         * resource/Makefile: Likewise.
34741         * rt/Makefile: Likewise.
34742         * setjmp/Makefile: Likewise.
34743         * shadow/Makefile: Likewise.
34744         * signal/Makefile: Likewise.
34745         * socket/Makefile: Likewise.
34746         * soft-fp/Makefile: Likewise.
34747         * stdio-common/Makefile: Likewise.
34748         * stdlib/Makefile: Likewise.
34749         * streams/Makefile: Likewise.
34750         * string/Makefile: Likewise.
34751         * sunrpc/Makefile: Likewise.
34752         (all): Remove target.
34753         * sysvipc/Makefile: Include Makeconfig immediately after defining
34754         subdir.
34755         * termios/Makefile: Likewise.
34756         * time/Makefile: Likewise.
34757         * timezone/Makefile: Likewise.
34758         (all): Remove target.
34759         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34760         subdir.
34761         * wctype/Makefile: Likewise.
34763 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34765         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34766         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34767         (libc_feholdexcept_setround_mips): Ditto.
34768         (libc_feholdsetround): New.
34769         (libc_feholdsetroundf): New.
34770         (libc_feholdsetroundl): New.
34771         (libc_feupdateenv_test_mips): New.
34772         (libc_feupdateenv_test): New.
34773         (libc_feupdateenv_testf): New.
34774         (libc_feupdateenv_testl): New.
34775         (libc_feresetround): New.
34776         (libc_feresetroundf): New.
34777         (libc_feresetroundl): New.
34778         (libc_fetestexcept_mips): New.
34779         (libc_fetestexcept): New.
34780         (libc_fetestexceptf): New.
34781         (libc_fetestexceptl): New.
34782         (HAVE_RM_CTX): New.
34783         (libc_feholdexcept_setround_mips_ctx): New.
34784         (libc_feholdexcept_setround_ctx): New.
34785         (libc_feholdexcept_setroundf_ctx): New.
34786         (libc_feholdexcept_setroundl_ctx): New.
34787         (libc_fesetenv_mips_ctx): New.
34788         (libc_fesetenv_ctx): New.
34789         (libc_fesetenv_ctxf): New.
34790         (libc_fesetenv_ctxl): New.
34791         (libc_feupdateenv_mips_ctx): New.
34792         (libc_feupdateenv_ctx): New.
34793         (libc_feupdateenvf_ctx): New.
34794         (libc_feupdateenvl_ctx): New.
34795         (libc_feholdsetround_mips_ctx): New.
34796         (libc_feholdsetround_ctx): New.
34797         (libc_feholdsetroundf_ctx): New.
34798         (libc_feholdsetroundl_ctx): New.
34799         (libc_feresetround_mips_ctx): New.
34800         (libc_feresetround_ctx): New.
34801         (libc_feresetroundf_ctx): New.
34802         (libc_feresetroundl_ctx): New.
34804 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34806         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34808         * manual/ipc.texi: New file.
34809         * manual/Makefile (chapters): Add ipc.
34810         * manual/job.texi: Add "Inter-Process Communication" to next.
34811         * manual/process.texi: Add "Inter-Process Communication" to prev.
34813 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34817 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34819         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34821         * manual/arith.texi: Fix spaces after sentences.
34822         * manual/charset.texi: Likewise.
34823         * manual/errno.texi: Likewise.
34824         * manual/install.texi: Likewise.
34825         * manual/llio.texi: Likewise.
34826         * manual/locale.texi: Likewise.
34827         * manual/maint.texi: Likewise.
34828         * manual/math.texi: Likewise.
34829         * manual/memory.texi: Likewise.
34830         * manual/message.texi: Likewise.
34831         * manual/probes.texi: Likewise.
34832         * manual/resource.texi: Likewise.
34833         * manual/signal.texi: Likewise.
34834         * manual/socket.texi: Likewise.
34835         * manual/stdio.texi: Likewise.
34836         * manual/string.texi: Likewise.
34837         * manual/time.texi: Likewise.
34838         * manual/users.texi: Likewise.
34840 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
34842         [BZ #16632]
34843         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
34844         _DEFAULT_SOURCE is defined.
34846 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
34847             Carlos O'Donell  <carlos@redhat.com>
34849         [BZ #16613]
34850         * elf/dl-tls.c (_dl_count_modids): New function.
34851         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
34852         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
34853         audit library and increment generation counter.
34854         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
34855         * elf/tst-audit9.c: New file.
34856         * elf/tst-auditmod9a.c: New file.
34857         * elf/tst-auditmod9b.c: New file.
34858         * elf/Makefile: Add rules to build and run tst-audit9.
34860 2014-02-25  Florian Weimer  <fweimer@redhat.com>
34862         [BZ #15347]
34863         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
34865 2014-02-25  Will Newton  <will.newton@linaro.org>
34867         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
34868         (__longjmp): Restore sp and lr before restoring callee
34869         saved registers.  Add longjmp and longjmp_target
34870         SystemTap probe point.
34871         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
34872         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
34873         Define to zero to match jmpbuf layout.
34874         * sysdeps/arm/setjmp.S: Include stap-probe.h.
34875         (__sigsetjmp): Save sp and lr before saving callee
34876         saved registers.  Add setjmp SystemTap probe point.
34878 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34880         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34882 2014-02-24  Andreas Schwab  <schwab@suse.de>
34884         [BZ #15804]
34885         * elf/pldd.c (wait_for_ptrace_stop): New function.
34886         (main): Call it after attaching.
34888 2014-02-22  Roland McGrath  <roland@hack.frob.com>
34890         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
34891         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
34892         Versions files is now verboten.
34893         * hurd/Versions (libc: GLIBC_2.0):
34894         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
34895         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
34896         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
34897         * mach/Versions: Likewise.
34899         * csu/Versions: Remove unused %include.
34900         * resolv/Versions: Likewise.
34902 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
34904         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
34905         ($(objpfx)check-local-headers.out): Likewise.
34906         ($(objpfx)begin-end-check.out): Likewise.
34907         * Makerules (check-abi-%.out): Likewise.
34908         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
34909         ($(objpfx)test2.cat): Likewise.
34910         ($(objpfx)de/libc.cat): Likewise.
34911         ($(objpfx)test-gencat.out): Likewise.
34912         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
34913         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
34914         ($(objpfx)noload-mem): Likewise.
34915         ($(objpfx)tst-pathopt.out): Likewise.
34916         ($(objpfx)tst-rtld-load-self.out): Likewise.
34917         ($(objpfx)tst-array1-cmp.out): Likewise.
34918         ($(objpfx)tst-array1-static-cmp.out): Likewise.
34919         ($(objpfx)tst-array2-cmp.out): Likewise.
34920         ($(objpfx)tst-array3-cmp.out): Likewise.
34921         ($(objpfx)tst-array4-cmp.out): Likewise.
34922         ($(objpfx)tst-array5-cmp.out): Likewise.
34923         ($(objpfx)tst-array5-static-cmp.out): Likewise.
34924         ($(objpfx)check-textrel.out): Likewise.
34925         ($(objpfx)check-execstack.out): Likewise.
34926         ($(objpfx)check-localplt.out): Likewise.
34927         ($(objpfx)order2-cmp.out): Likewise.
34928         ($(objpfx)tst-leaks1-mem): Likewise.
34929         ($(objpfx)tst-leaks1-static-mem): Likewise.
34930         ($(objpfx)tst-initorder-cmp.out): Likewise.
34931         ($(objpfx)tst-initorder2-cmp.out): Likewise.
34932         ($(objpfx)tst-unused-dep.out): Likewise.
34933         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
34934         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34935         * iconv/Makefile (test-iconvconfig): Likewise.
34936         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
34937         ($(objpfx)iconv-test.out): Likewise.
34938         ($(objpfx)tst-tables.out): Likewise.
34939         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
34940         ($(objpfx)tst-gettext.out): Likewise.
34941         ($(objpfx)tst-translit.out): Likewise.
34942         ($(objpfx)tst-gettext2.out): Likewise.
34943         ($(objpfx)tst-gettext4.out): Likewise.
34944         ($(objpfx)tst-gettext6.out): Likewise.
34945         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
34946         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34947         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
34948         ($(objpfx)tst-fopenloc-mem.out): Likewise.
34949         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34950         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
34951         * posix/Makefile ($(objpfx)globtest.out): Likewise.
34952         ($(objpfx)wordexp-tst.out): Likewise.
34953         ($(objpfx)annexc.out): Likewise.
34954         ($(objpfx)tst-fnmatch-mem): Likewise.
34955         ($(objpfx)bug-regex2-mem): Likewise.
34956         ($(objpfx)bug-regex14-mem): Likewise.
34957         ($(objpfx)bug-regex21-mem): Likewise.
34958         ($(objpfx)bug-regex31-mem): Likewise.
34959         ($(objpfx)tst-vfork3-mem): Likewise.
34960         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34961         ($(objpfx)tst-pcre-mem): Likewise.
34962         ($(objpfx)tst-boost-mem): Likewise.
34963         ($(objpfx)tst-getconf.out): Likewise.
34964         ($(objpfx)bug-ga2-mem): Likewise.
34965         ($(objpfx)bug-glob2-mem): Likewise.
34966         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
34967         ($(objpfx)mtrace-tst-leaks2): Likewise.
34968         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
34969         ($(objpfx)tst-printf.out): Likewise.
34970         ($(objpfx)tst-setvbuf1.out): Likewise.
34971         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
34972         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
34973         ($(objpfx)tst-fmtmsg.out): Likewise.
34974         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
34975         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
34977         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
34978         * bits/sigaction.h [__USE_MISC]: Likewise.
34979         * bits/waitstatus.h: Update #endif comments.
34980         * ctype/ctype.h: Likewise.
34981         * dirent/dirent.h: Likewise.
34982         [__USE_MISC]: Remove redundant conditionals.
34983         * grp/grp.h: Update #endif comments.
34984         [__USE_GNU]: Remove redundant conditionals.
34985         [__USE_MISC]: Likewise.
34986         * inet/netinet/in.h [__USE_GNU]: Likewise.
34987         * io/sys/stat.h [__USE_MISC]: Likewise.
34988         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
34989         * libio/bits/stdio.h: Update #endif comments.
34990         [__USE_MISC]: Remove redundant conditionals.
34991         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
34992         * libio/stdio.h: Update #endif comments.
34993         [__USE_MISC]: Remove redundant conditionals.
34994         * math/bits/math-finite.h [__USE_MISC]: Likewise.
34995         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
34996         * math/math.h: Update #else and #endif comments.
34997         [__USE_MISC]: Remove redundant conditionals.
34998         * misc/sys/uio.h: Update #endif comments.
34999         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35000         * posix/glob.h [__USE_MISC]: Likewise.
35001         * posix/sys/types.h: Update #endif comments.
35002         [__USE_MISC]: Remove redundant conditionals.
35003         * posix/sys/wait.h: Update #endif comments.
35004         [__USE_MISC]: Remove redundant conditionals.
35005         * posix/unistd.h: Update #endif comments.
35006         [__USE_MISC]: Remove redundant conditionals.
35007         * pwd/pwd.h [__USE_GNU]: Likewise.
35008         [__USE_MISC]: Likewise.
35009         * resolv/netdb.h [__USE_GNU]: Likewise.
35010         * signal/signal.h: Update #endif comments.
35011         [__USE_MISC]: Remove redundant conditionals.
35012         * stdlib/stdlib.h: Update #else and #endif comments.
35013         [__USE_MISC]: Remove redundant conditionals.
35014         [__USE_GNU]: Likewise.
35015         * string/bits/string2.h [__USE_MISC]: Likewise.
35016         * string/string.h: Update #endif comments.
35017         [__USE_MISC]: Remove redundant conditionals.
35018         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35019         Likewise.
35020         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35021         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35022         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35023         Likewise.
35024         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35025         Likewise.
35026         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35027         comments.
35028         [__USE_MISC]: Remove redundant conditionals.
35029         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35030         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35031         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35032         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35033         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35034         Likewise.
35035         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35036         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35037         Likewise.
35038         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35039         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35040         Likewise.
35041         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35042         Likewise.
35043         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35044         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35045         Likewise.
35046         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35047         Likewise.
35048         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35049         * sysdeps/x86/bits/string.h: Update #endif comments.
35050         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35051         conditionals.
35052         * time/sys/time.h: Update #endif comments.
35053         * time/time.h: Likewise.
35054         [__USE_MISC]: Remove redundant conditionals.
35056 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35058         [BZ #16600]
35059         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35061 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35063         * Versions.def (librt): Add GLIBC_2.17.
35065 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35067         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35068         synonym for _SYS_AUXV_H to allow direct inclusion.
35069         * sysdeps/sparc/bits/hwcap.h: Likewise.
35070         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35071         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35072         * sysdeps/sparc/sysdep.h: Likewise.
35074 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35076         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35078 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35080         * benchtests/bench-strrchr.c: Print length instead of position.
35082 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35084         [BZ #16611]
35085         * sysdeps/unix/sysv/linux/kernel-features.h
35086         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35087         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35088         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35089         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35090         Likewise.
35091         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35092         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35093         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35094         (__ASSUME_SENDMMSG): Define instead of using previous
35095         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35096         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35097         (__ASSUME_SENDMMSG_SYSCALL): Define.
35098         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35099         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35100         Likewise.
35101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35102         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35103         Likewise.
35104         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35105         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35106         Likewise.
35107         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35108         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35109         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35110         [__ASSUME_SENDMMSG]: Change conditionals to
35111         [__ASSUME_SENDMMSG_SOCKETCALL].
35112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35113         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35114         Define.
35115         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35116         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35117         Likewise.
35118         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35119         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35120         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35121         [!__ASSUME_SENDMMSG]: Change conditional to
35122         [!__ASSUME_SENDMMSG_SOCKETCALL].
35123         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35124         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35125         Define.
35127         [BZ #16610]
35128         * sysdeps/unix/sysv/linux/kernel-features.h
35129         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35130         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35131         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35132         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35133         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35134         [__i386__ || __sparc__]
35135         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35136         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35137         (__ASSUME_RECVMMSG): Define instead of using previous
35138         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35139         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35140         (__ASSUME_RECVMMSG_SYSCALL): Define.
35141         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35142         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35143         Likewise.
35144         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35145         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35146         Likewise.
35147         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35148         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35149         Likewise.
35150         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35151         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35152         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35153         [__ASSUME_RECVMMSG]: Change condition to
35154         [__ASSUME_RECVMMSG_SOCKETCALL].
35155         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35156         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35157         Define.
35158         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35159         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35160         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35161         Likewise.
35162         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35163         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35164         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35165         [!__ASSUME_RECVMMSG]: Change condition to
35166         [!__ASSUME_RECVMMSG_SOCKETCALL].
35167         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35168         (__ASSUME_RECVMMSG_SYSCALL): Define.
35170         [BZ #16609]
35171         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35172         __powerpc__ || __s390__ || __sh__ || __sparc__]
35173         (__ASSUME_SOCKETCALL): Define.
35174         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35175         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35176         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35177         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35178         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35179         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35180         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35181         (__ASSUME_ACCEPT4): Define instead of using previous
35182         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35183         __powerpc__ || __sparc__ || __s390__)] condition.
35184         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35185         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35186         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35187         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35188         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35189         [!__ASSUME_ACCEPT4]: Change condition to
35190         [!__ASSUME_ACCEPT4_SOCKETCALL].
35191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35192         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35193         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35194         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35195         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35196         __ASSUME_ACCEPT4_SYSCALL.
35197         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35198         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35199         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35200         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35201         __ASSUME_ACCEPT4_SYSCALL.
35202         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35203         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35204         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35205         [__ASSUME_ACCEPT4]: Change condition to
35206         [__ASSUME_ACCEPT4_SOCKETCALL].
35207         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35208         (__ASSUME_SOCKETCALL): Define.
35209         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35210         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35211         (__ASSUME_SOCKETCALL): Define.
35212         (__ASSUME_ACCEPT4): Remove.
35213         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35214         Define.
35215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35216         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35217         Likewise.
35218         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35219         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35221         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35222         macro.
35223         (HWCAP_ARM_LPAE): Likewise.
35224         (HWCAP_ARM_EVTSTRM): Likewise.
35225         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35226         Add vpfd32, lpae and evtstrm.
35227         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35228         Increase to 22.
35230 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35232         * math/auto-libm-test-in: Add tests of clog10.
35233         * math/auto-libm-test-out: Regenerated.
35234         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35235         * sysdeps/i386/fpu/libm-test-ulps: Update.
35236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35238 2014-02-18  Andreas Schwab  <schwab@suse.de>
35240         [BZ #16574]
35241         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35242         Store non-zero if the second buffer was newly allocated.
35243         (send_dg): Likewise.
35244         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35245         to send_vc and send_dg.
35246         (res_nsend): Pass NULL for ansp2_malloced.
35247         * resolv/res_query.c (__libc_res_nquery): Add parameter
35248         answerp2_malloced and pass it down to __libc_res_nsend.
35249         (res_nquery): Pass additional NULL to __libc_res_nquery.
35250         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35251         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35252         second answer buffer if answerp2_malloced was set.
35253         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35254         (__libc_res_nquerydomain): Add parameter
35255         answerp2_malloced and pass it down to __libc_res_nquery.
35256         (res_nquerydomain): Pass additional NULL to
35257         __libc_res_nquerydomain.
35258         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35259         additional NULL to __libc_res_nsend and __libc_res_nquery.
35260         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35261         additional NULL to __libc_res_nsearch.
35262         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35263         parameter of __libc_res_nsearch to check for separately allocated
35264         second buffer.
35265         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35266         __libc_res_nquery.
35267         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35268         additional NULL to __libc_res_nquery.
35269         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35270         __libc_res_nsearch.
35271         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35272         * include/resolv.h: Update prototypes of __libc_res_nquery,
35273         __libc_res_nsearch, __libc_res_nsend.
35275 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35277         * math/auto-libm-test-in: Add tests of fma.
35278         * math/auto-libm-test-out: Regenerated.
35279         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35280         (fma_towardzero_test_data): Likewise.
35281         (fma_downward_test_data): Likewise.
35282         (fma_upward_test_data): Likewise.
35283         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35284         mpc_mode.
35285         (rounding_modes): Add values for new field.
35286         (func_calc_method): Add value mpfr_fff_f.
35287         (func_calc_desc): Add mpfr_fff_f union field.
35288         (test_function): Add field exact_args.
35289         (FUNC): Add macro argument EXACT_ARGS.
35290         (FUNC_mpfr_f_f): Update call to FUNC.
35291         (FUNC_mpfr_f_f): Likewise.
35292         (FUNC_mpfr_ff_f): Likewise.
35293         (FUNC_mpfr_if_f): Likewise.
35294         (FUNC_mpc_c_f): Likewise.
35295         (FUNC_mpc_c_c): Likewise.
35296         (test_functions): Add fma.  Update calls to FUNC.
35297         (handle_input_arg): Add argument exact_args.
35298         (add_test): Update call to handle_input_arg.
35299         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35300         (output_for_one_input_case): Update call to calc_generic_results.
35301         Recalculate exact zero results in each rounding mode.
35303         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35304         non-negative before setting low bit.
35305         * math/auto-libm-test-in: Mark one asin test possibly having
35306         spurious underflow.
35307         * math/auto-libm-test-out: Regenerated.
35308         * sysdeps/i386/fpu/libm-test-ulps: Update.
35309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35311 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35313         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35314         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35315         ports/sysdeps/unix/sysv/linux/microblaze.
35316         * README: Add missing listing for microblaze*-*-linux-gnu.
35318 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35320         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35321         duplicate code
35323 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35325         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35326         * sysdeps/unix/sysv/linux/ia64: Move directory from
35327         ports/sysdeps/unix/sysv/linux/ia64.
35328         * README: Update listing for ia64-*-linux-gnu.
35330 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35331             Joseph Myers  <joseph@codesourcery.com>
35333         * Makeconfig (test-name): New variable.
35334         (evaluate-test): Likewise.
35335         * Makerules (do-test-clean): Remove .test-result files.
35336         (common-mostlyclean): Likewise.
35337         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35338         * scripts/evaluate-test.sh: New file.
35340 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35342         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35343         separate $(objpfx)tst-fopenloc-cmp.out and
35344         $(objpfx)tst-fopenloc-mem.out targets.
35345         (tests): Update dependencies.
35346         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35347         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35348         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35349         (tst-rxspencer-no-utf8-ARGS): New variable.
35350         (tst-rxspencer-no-utf8-ENV): Likewise.
35351         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35352         instead of $(objpfx)tst-rxspencer-mem.
35353         ($(objpfx)tst-rxspencer-mem): Change target to
35354         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35355         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35356         * posix/tst-rxspencer-no-utf8.c: New file.
35358         * elf/Makefile ($(objpfx)order.out): Remove rule.
35359         [$(run-built-tests) = yes] (tests): Depend on
35360         $(objpfx)order-cmp.out.
35361         ($(objpfx)order-cmp.out): New rule.
35362         [$(run-built-tests) = yes] (tests): Depend on
35363         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35364         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35365         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35366         $(objpfx)tst-array5-static-cmp.out.
35367         ($(objpfx)tst-array1.out): Remove rule.
35368         ($(objpfx)tst-array1-cmp.out): New rule.
35369         ($(objpfx)tst-array1-static.out): Remove rule.
35370         ($(objpfx)tst-array1-static-cmp.out): New rule.
35371         ($(objpfx)tst-array2.out): Remove rule.
35372         ($(objpfx)tst-array2-cmp.out): New rule.
35373         ($(objpfx)tst-array3.out): Remove rule.
35374         ($(objpfx)tst-array3-cmp.out): New rule.
35375         ($(objpfx)tst-array4.out): Remove rule.
35376         ($(objpfx)tst-array4-cmp.out): New rule.
35377         ($(objpfx)tst-array5.out): Remove rule.
35378         ($(objpfx)tst-array5-cmp.out): New rule.
35379         ($(objpfx)tst-array5-static.out): Remove rule.
35380         ($(objpfx)tst-array5-static-cmp.out): New rule.
35381         [$(run-built-tests) = yes] (tests): Depend on
35382         $(objpfx)order2-cmp.out.
35383         ($(objpfx)order2.out): Remove rule.
35384         ($(objpfx)order2-cmp.out): New rule.
35385         ($(objpfx)tst-initorder.out): Remove rule.
35386         [$(run-built-tests) = yes] (tests): Depend on
35387         $(objpfx)tst-initorder-cmp.out.
35388         ($(objpfx)tst-initorder-cmp.out): New rule.
35389         ($(objpfx)tst-initorder2.out): Remove rule.
35390         [$(run-built-tests) = yes] (tests): Depend on
35391         $(objpfx)tst-initorder2-cmp.out.
35392         ($(objpfx)tst-initorder2-cmp.out): New rule.
35393         [$(run-built-tests) = yes] (tests): Depend on
35394         $(objpfx)tst-unused-dep-cmp.out.
35395         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35396         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35397         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35398         on $(objpfx)tst-setvbuf1-cmp.out.
35399         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35400         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35401         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35402         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35403         ($(objpfx)tst-svc.out): Remove rule.
35404         ($(objpfx)tst-svc-cmp.out): New rule.
35406 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35408         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35409         * ctype/ctype.h [__USE_MISC]: Likewise.
35410         * dirent/dirent.h [__USE_MISC]: Likewise.
35411         * grp/grp.h [__USE_MISC]: Likewise.
35412         * io/fcntl.h [__USE_MISC]: Likewise.
35413         * io/sys/stat.h [__USE_MISC]: Likewise.
35414         * libio/stdio.h [__USE_MISC]: Likewise.
35415         * posix/unistd.h [__USE_MISC]: Likewise.
35416         * pwd/pwd.h [__USE_MISC]: Likewise.
35417         * stdlib.h [__USE_MISC]: Likewise.
35418         * string/bits/string2.h [__USE_MISC]: Likewise.
35419         * string/string.h [__USE_MISC]: Likewise.
35420         * time/time.h [__USE_MISC]: Likewise.
35422 2014-02-13  Andreas Schwab  <schwab@suse.de>
35424         [BZ #16574]
35425         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35426         second answer buffer if it was separately allocated.
35428 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35430         * sysdeps/mips/math-tests.h: Include <features.h>.
35431         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35432         (ROUNDING_TESTS_long_double): Do not define.
35433         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35434         (EXCEPTION_TESTS_long_double): Likewise.
35435         * sysdeps/mips/mips64/libm-test-ulps: Update.
35437         * include/features.h (__USE_BSD): Remove macro definitions.
35438         (__USE_SVID): Likewise.
35439         (_BSD_SOURCE): Likewise.
35440         (_SVID_SOURCE): Likewise.
35441         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35442         from definition of _DEFAULT_SOURCE.
35443         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35444         [_DEFAULT_SOURCE].
35445         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35446         * bits/mman.h [__USE_BSD]: Likewise.
35447         * bits/termios.h [__USE_BSD]: Likewise.
35448         * bits/waitstatus.h [__USE_BSD]: Likewise.
35449         * ctype/ctype.h [__USE_SVID]: Likewise.
35450         * dirent/dirent.h [__USE_BSD]: Likewise.
35451         * grp/grp.h [__USE_SVID]: Likewise.
35452         [__USE_BSD]: Likewise.
35453         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35454         * io/fcntl.h [__USE_BSD]: Likewise.
35455         * io/ftw.h [__USE_BSD]: Likewise.
35456         * io/sys/stat.h [__USE_BSD]: Likewise.
35457         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35458         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35459         * libio/stdio.h [__USE_SVID]: Likewise.
35460         [__USE_BSD]: Likewise.
35461         * math/math.h [__USE_SVID]: Likewise.
35462         [__USE_BSD]: Likewise.
35463         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35464         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35465         * misc/search.h [__USE_SVID]: Likewise.
35466         * misc/sys/mman.h [__USE_BSD]: Likewise.
35467         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35468         * misc/sys/uio.h [__USE_BSD]: Likewise.
35469         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35470         * posix/glob.h [__USE_BSD]: Likewise.
35471         * posix/regex.h [__USE_BSD]: Likewise.
35472         * posix/sys/types.h [__USE_BSD]: Likewise.
35473         [__USE_SVID]: Likewise.
35474         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35475         * posix/sys/wait.h [__USE_BSD]: Likewise.
35476         [__USE_SVID]: Likewise.
35477         * posix/unistd.h [__USE_BSD]: Likewise.
35478         [__USE_SVID]: Likewise.
35479         * pwd/pwd.h [__USE_SVID]: Likewise.
35480         * resolv/netdb.h [__USE_BSD]: Likewise.
35481         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35482         * signal/signal.h [__USE_BSD]: Likewise.
35483         [__USE_SVID]: Likewise.
35484         * socket/sys/socket.h [__USE_BSD]: Likewise.
35485         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35486         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35487         [__USE_SVID]: Likewise.
35488         * string/bits/string2.h [__USE_BSD]: Likewise.
35489         [__USE_SVID]: Likewise.
35490         * string/bits/string3.h [__USE_BSD]: Likewise.
35491         * string/endian.h [__USE_BSD]: Likewise.
35492         * string/string.h [__USE_SVID]: Likewise.
35493         [__USE_BSD]: Likewise.
35494         * string/strings.h [__USE_BSD]: Likewise.
35495         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35496         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35497         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35498         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35499         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35500         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35501         Likewise.
35502         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35503         Likewise.
35504         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35505         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35506         Likewise.
35507         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35508         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35509         Likewise.
35510         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35511         Likewise.
35512         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35513         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35514         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35515         Likewise.
35516         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35517         Likewise.
35518         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35519         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35520         * termios/termios.h [__USE_BSD]: Likewise.
35521         * time/sys/time.h [__USE_BSD]: Likewise.
35522         * time/time.h [__USE_BSD]: Likewise.
35523         [__USE_SVID]: Likewise.
35525         * Makefile (subdir_targets): Remove subdir_lint.out.
35527         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35528         (do-tst-printf): Likewise.
35529         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35530         $(objpfx)tst-printf.out.
35532         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35534         * Makerules (check-abi-%): Change target to
35535         $(objpfx)check-abi-%.out.
35536         (check-abi target): Update dependencies.
35537         (check-abi-pattern variable): Redirect output of diff to $@.
35538         (check-abi variable): Likewise.
35539         * elf/Makefile (check-abi): Update dependencies.
35541         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35542         unused.
35543         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35544         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35545         subnormal range.
35546         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35547         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35548         value has largest subnormal exponent.
35549         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35550         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35551         * sysdeps/aarch64/soft-fp/sfp-machine.h
35552         (_FP_TININESS_AFTER_ROUNDING): New macro.
35553         * sysdeps/alpha/soft-fp/sfp-machine.h
35554         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35555         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35556         Likewise.
35557         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35558         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35559         * sysdeps/mips/soft-fp/sfp-machine.h
35560         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35561         * sysdeps/powerpc/soft-fp/sfp-machine.h
35562         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35563         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35564         Likewise.
35565         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35566         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35567         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35568         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35569         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35570         Likewise.
35572 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35574         [BZ #16545]
35575         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35576         model 1.
35578 2014-02-12  Richard Henderson  <rth@redhat.com>
35580         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35581         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35582         * sysdeps/unix/sysv/linux/alpha: Move directory from
35583         ports/sysdeps/unix/sysv/linux/alpha.
35584         * README: Update listing for alpha-*-linux-gnu.
35586 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35588         * include/features.h: Update comment documenting feature test
35589         macros.
35590         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35591         _DEFAULT_SOURCE.
35592         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35593         (_SVID_SOURCE): Likewise.
35594         (_DEFAULT_SOURCE): Update description of default features.
35595         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35596         with _GNU_SOURCE.
35597         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35598         (S_ISVTX): Likewise.
35599         * manual/math.texi (Mathematical Constants): Likewise.
35600         * manual/signal.texi (Interrupted Primitives): Likewise.
35601         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35602         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35603         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35604         Don't refer to _SVID_SOURCE in warning text.
35606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35608         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35609         already defined.
35610         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35611         * sysdeps/mips/dl-lookup.c: Remove.
35612         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35614 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35616         [BZ #16447]
35617         * math/auto-libm-test-in: Add testcase for expl.
35618         * math/auto-libm-test-out: Regenerate.
35619         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35620         calculation of unsafe.
35621         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35623 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35625         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35626         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35627         ports/sysdeps/unix/sysv/linux/aarch64.
35628         * README: Update listing for aarch64*-*-linux-gnu.
35630 2014-02-11  Will Newton  <will.newton@linaro.org>
35632         * manual/probes.texi (Mathematical Function Probes): Use
35633         "triggered" instead of "hit".
35635         * manual/probes.texi (Internal Probes): Add documentation
35636         of setjmp, longjmp and longjmp_target probes.
35638         * include/stap-probe.h: Add comment about probe argument
35639         format.
35641         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35642         definition.  (tr_where, tr_freehook, tr_mallochook,
35643         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35645 2014-02-11  David S. Miller  <davem@davemloft.net>
35647         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35648         processing int_tests.
35650 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35652         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35653         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35654         * sysdeps/unix/sysv/linux/mips: Move directory from
35655         ports/sysdeps/unix/sysv/linux/mips.
35656         * README: Update listing for mips-*-linux-gnu and
35657         mips64-*-linux-gnu.
35659 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35661         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35662         * sysdeps/unix/sysv/linux/m68k: Move directory from
35663         ports/sysdeps/unix/sysv/linux/m68k.
35664         * README: Update listing for m68k-*-linux-gnu.
35666 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35668         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35669         * sysdeps/unix/sysv/linux/generic: Move directory from
35670         ports/sysdeps/unix/sysv/linux/generic.
35671         * sysdeps/unix/sysv/linux/tile: Move directory from
35672         ports/sysdeps/unix/sysv/linux/tile.
35673         * README: Update listing for tile*-*-linux-gnu.
35675 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35677         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35678         __builtin_expect.
35679         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35680         * catgets/open_catalog.c (__open_catalog): Likewise.
35681         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35682         * debug/confstr_chk.c: Likewise.
35683         * debug/fread_chk.c (__fread_chk): Likewise.
35684         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35685         * debug/getgroups_chk.c: Likewise.
35686         * debug/mbsnrtowcs_chk.c: Likewise.
35687         * debug/mbsrtowcs_chk.c: Likewise.
35688         * debug/mbstowcs_chk.c: Likewise.
35689         * debug/memcpy_chk.c: Likewise.
35690         * debug/memmove_chk.c: Likewise.
35691         * debug/mempcpy_chk.c: Likewise.
35692         * debug/memset_chk.c: Likewise.
35693         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35694         * debug/strcat_chk.c (__strcat_chk): Likewise.
35695         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35696         * debug/strncat_chk.c (__strncat_chk): Likewise.
35697         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35698         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35699         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35700         * debug/wcpncpy_chk.c: Likewise.
35701         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35702         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35703         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35704         * debug/wcsncpy_chk.c: Likewise.
35705         * debug/wcsnrtombs_chk.c: Likewise.
35706         * debug/wcsrtombs_chk.c: Likewise.
35707         * debug/wcstombs_chk.c: Likewise.
35708         * debug/wmemcpy_chk.c: Likewise.
35709         * debug/wmemmove_chk.c: Likewise.
35710         * debug/wmempcpy_chk.c: Likewise.
35711         * debug/wmemset_chk.c: Likewise.
35712         * dirent/scandirat.c (SCANDIRAT): Likewise.
35713         * dlfcn/dladdr1.c (dladdr1): Likewise.
35714         * dlfcn/dladdr.c (dladdr): Likewise.
35715         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35716         * dlfcn/dlerror.c (__dlerror): Likewise.
35717         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35718         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35719         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35720         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35721         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35722         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35723         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35724         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35725         Likewise.
35726         * elf/dl-conflict.c: Likewise.
35727         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35728         * elf/dl-dst.h: Likewise.
35729         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35730         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35731         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35732         * elf/dl-init.c (call_init, _dl_init): Likewise.
35733         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35734         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35735         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35736         Likewise.
35737         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35738         Likewise.
35739         * elf/dl-minimal.c (__libc_memalign): Likewise.
35740         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35741         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35742         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35743         * elf/dl-sym.c (do_sym): Likewise.
35744         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35745         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35746         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35747         * elf/dl-writev.h (_dl_writev): Likewise.
35748         * elf/ldconfig.c (search_dir): Likewise.
35749         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35750         (dl_main): Likewise.
35751         * elf/setup-vdso.h (setup_vdso): Likewise.
35752         * grp/compat-initgroups.c (compat_call): Likewise.
35753         * grp/fgetgrent.c (fgetgrent): Likewise.
35754         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35755         * grp/putgrent.c (putgrent): Likewise.
35756         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35757         Likewise.
35758         * hurd/hurdinit.c: Likewise.
35759         * iconvdata/8bit-gap.c (struct): Likewise.
35760         * iconvdata/ansi_x3.110.c : Likewise.
35761         * iconvdata/big5.c : Likewise.
35762         * iconvdata/big5hkscs.c : Likewise.
35763         * iconvdata/cp1255.c: Likewise.
35764         * iconvdata/cp1258.c : Likewise.
35765         * iconvdata/cp932.c : Likewise.
35766         * iconvdata/euc-cn.c: Likewise.
35767         * iconvdata/euc-jisx0213.c : Likewise.
35768         * iconvdata/euc-jp.c: Likewise.
35769         * iconvdata/euc-jp-ms.c : Likewise.
35770         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35771         * iconvdata/gb18030.c : Likewise.
35772         * iconvdata/gbbig5.c (const): Likewise.
35773         * iconvdata/gbgbk.c: Likewise.
35774         * iconvdata/gbk.c : Likewise.
35775         * iconvdata/ibm1364.c : Likewise.
35776         * iconvdata/ibm930.c : Likewise.
35777         * iconvdata/ibm932.c: Likewise.
35778         * iconvdata/ibm933.c : Likewise.
35779         * iconvdata/ibm935.c : Likewise.
35780         * iconvdata/ibm937.c : Likewise.
35781         * iconvdata/ibm939.c : Likewise.
35782         * iconvdata/ibm943.c: Likewise.
35783         * iconvdata/iso_11548-1.c: Likewise.
35784         * iconvdata/iso-2022-cn.c : Likewise.
35785         * iconvdata/iso-2022-cn-ext.c : Likewise.
35786         * iconvdata/iso-2022-jp-3.c: Likewise.
35787         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35788         * iconvdata/iso-2022-kr.c : Likewise.
35789         * iconvdata/iso646.c (gconv_end): Likewise.
35790         * iconvdata/iso_6937-2.c : Likewise.
35791         * iconvdata/iso_6937.c : Likewise.
35792         * iconvdata/iso8859-1.c: Likewise.
35793         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35794         * iconvdata/shift_jisx0213.c : Likewise.
35795         * iconvdata/sjis.c : Likewise.
35796         * iconvdata/t.61.c : Likewise.
35797         * iconvdata/tcvn5712-1.c : Likewise.
35798         * iconvdata/tscii.c: Likewise.
35799         * iconvdata/uhc.c : Likewise.
35800         * iconvdata/unicode.c (gconv_end): Likewise.
35801         * iconvdata/utf-16.c (gconv_end): Likewise.
35802         * iconvdata/utf-32.c (gconv_end): Likewise.
35803         * iconvdata/utf-7.c (base64): Likewise.
35804         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35805         * iconv/gconv_close.c (__gconv_close): Likewise.
35806         * iconv/gconv_open.c (__gconv_open): Likewise.
35807         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35808         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35809         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35810         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35811         (ucs4le_internal_loop_single): Likewise.
35812         * iconv/iconv.c (iconv): Likewise.
35813         * iconv/iconv_close.c: Likewise.
35814         * iconv/loop.c (SINGLE): Likewise.
35815         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35816         * include/atomic.h: Likewise.
35817         * inet/inet6_option.c (option_alloc): Likewise.
35818         * intl/bindtextdom.c (set_binding_values): Likewise.
35819         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35820         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35821         * intl/localealias.c (read_alias_file): Likewise.
35822         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35823         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35824         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35825         * libio/fmemopen.c (fmemopen): Likewise.
35826         * libio/iofgets.c (_IO_fgets): Likewise.
35827         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35828         * libio/iofgetws.c (fgetws): Likewise.
35829         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35830         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35831         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35832         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35833         * locale/findlocale.c (_nl_find_locale): Likewise.
35834         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
35835         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
35836         Likewise.
35837         * locale/setlocale.c (setlocale): Likewise.
35838         * login/programs/pt_chown.c (main): Likewise.
35839         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
35840         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
35841         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
35842         (mmap, mmap64, mremap, munmap): Likewise.
35843         * math/e_exp2l.c: Likewise.
35844         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
35845         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
35846         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
35847         * math/s_catan.c (__catan): Likewise.
35848         * math/s_catanf.c (__catanf): Likewise.
35849         * math/s_catanh.c (__catanh): Likewise.
35850         * math/s_catanhf.c (__catanhf): Likewise.
35851         * math/s_catanhl.c (__catanhl): Likewise.
35852         * math/s_catanl.c (__catanl): Likewise.
35853         * math/s_ccosh.c (__ccosh): Likewise.
35854         * math/s_ccoshf.c (__ccoshf): Likewise.
35855         * math/s_ccoshl.c (__ccoshl): Likewise.
35856         * math/s_cexp.c (__cexp): Likewise.
35857         * math/s_cexpf.c (__cexpf): Likewise.
35858         * math/s_cexpl.c (__cexpl): Likewise.
35859         * math/s_clog10.c (__clog10): Likewise.
35860         * math/s_clog10f.c (__clog10f): Likewise.
35861         * math/s_clog10l.c (__clog10l): Likewise.
35862         * math/s_clog.c (__clog): Likewise.
35863         * math/s_clogf.c (__clogf): Likewise.
35864         * math/s_clogl.c (__clogl): Likewise.
35865         * math/s_csin.c (__csin): Likewise.
35866         * math/s_csinf.c (__csinf): Likewise.
35867         * math/s_csinh.c (__csinh): Likewise.
35868         * math/s_csinhf.c (__csinhf): Likewise.
35869         * math/s_csinhl.c (__csinhl): Likewise.
35870         * math/s_csinl.c (__csinl): Likewise.
35871         * math/s_csqrt.c (__csqrt): Likewise.
35872         * math/s_csqrtf.c (__csqrtf): Likewise.
35873         * math/s_csqrtl.c (__csqrtl): Likewise.
35874         * math/s_ctan.c (__ctan): Likewise.
35875         * math/s_ctanf.c (__ctanf): Likewise.
35876         * math/s_ctanh.c (__ctanh): Likewise.
35877         * math/s_ctanhf.c (__ctanhf): Likewise.
35878         * math/s_ctanhl.c (__ctanhl): Likewise.
35879         * math/s_ctanl.c (__ctanl): Likewise.
35880         * math/w_pow.c: Likewise.
35881         * math/w_powf.c: Likewise.
35882         * math/w_powl.c: Likewise.
35883         * math/w_scalb.c (sysv_scalb): Likewise.
35884         * math/w_scalbf.c (sysv_scalbf): Likewise.
35885         * math/w_scalbl.c (sysv_scalbl): Likewise.
35886         * misc/error.c (error_tail): Likewise.
35887         * misc/pselect.c (__pselect): Likewise.
35888         * nis/nis_callback.c (__nis_create_callback): Likewise.
35889         * nis/nis_call.c (__nisfind_server): Likewise.
35890         * nis/nis_creategroup.c (nis_creategroup): Likewise.
35891         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
35892         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
35893         * nis/nis_getservlist.c (nis_getservlist): Likewise.
35894         * nis/nis_lookup.c (nis_lookup): Likewise.
35895         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
35896         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
35897         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
35898         * nis/nis_xdr.c (xdr_endpoint): Likewise.
35899         * nis/nss_compat/compat-grp.c (getgrent_next_file)
35900         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
35901         * nis/nss_compat/compat-initgroups.c (add_group)
35902         (internal_getgrent_r): Likewise.
35903         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
35904         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
35905         * nis/nss_compat/compat-spwd.c (getspent_next_file)
35906         (internal_getspnam_r): Likewise.
35907         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
35908         (_nss_nis_getaliasbyname_r): Likewise.
35909         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
35910         (_nss_nis_getntohost_r): Likewise.
35911         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
35912         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
35913         (_nss_nis_getgrgid_r): Likewise.
35914         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
35915         (internal_nis_gethostent_r, internal_gethostbyname2_r)
35916         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
35917         (_nss_nis_gethostbyname4_r): Likewise.
35918         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
35919         (initgroups_netid): Likewise.
35920         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
35921         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
35922         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
35923         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
35924         (_nss_nis_getprotobynumber_r): Likewise.
35925         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
35926         (_nss_nis_getsecretkey): Likewise.
35927         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
35928         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
35929         (_nss_nis_getpwuid_r): Likewise.
35930         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
35931         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
35932         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
35933         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
35934         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
35935         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
35936         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
35937         Likewise.
35938         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
35939         (_nss_nisplus_getntohost_r): Likewise.
35940         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
35941         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
35942         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
35943         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
35944         Likewise.
35945         * nis/nss_nisplus/nisplus-initgroups.c
35946         (_nss_nisplus_initgroups_dyn): Likewise.
35947         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
35948         (_nss_nisplus_getnetbyaddr_r): Likewise.
35949         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
35950         (_nss_nisplus_getprotobynumber_r): Likewise.
35951         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
35952         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
35953         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
35954         Likewise.
35955         * nis/nss_nisplus/nisplus-service.c
35956         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
35957         (_nss_nisplus_getservbyport_r): Likewise.
35958         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
35959         (_nss_nisplus_getspnam_r): Likewise.
35960         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
35961         Likewise.
35962         * nscd/aicache.c (addhstaiX): Likewise.
35963         * nscd/cache.c (cache_search, prune_cache): Likewise.
35964         * nscd/connections.c (register_traced_file, send_ro_fd)
35965         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
35966         (main_loop_epoll): Likewise.
35967         * nscd/grpcache.c (addgrbyX): Likewise.
35968         * nscd/hstcache.c (addhstbyX): Likewise.
35969         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35970         * nscd/mem.c (gc, mempool_alloc): Likewise.
35971         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
35972         (addinnetgrX): Likewise.
35973         * nscd/nscd-client.h (__nscd_acquire_maplock)
35974         (__nscd_drop_map_ref): Likewise.
35975         * nscd/nscd_getai.c (__nscd_getai): Likewise.
35976         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35977         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
35978         Likewise.
35979         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
35980         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35981         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
35982         (__nscd_get_map_ref): Likewise.
35983         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
35984         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
35985         Likewise.
35986         * nscd/pwdcache.c (addpwbyX): Likewise.
35987         * nscd/selinux.c (preserve_capabilities): Likewise.
35988         * nscd/servicescache.c (addservbyX): Likewise.
35989         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
35990         * posix/fnmatch.c (fnmatch): Likewise.
35991         * posix/getopt.c (_getopt_internal_r): Likewise.
35992         * posix/glob.c (glob, glob_in_dir): Likewise.
35993         * posix/wordexp.c (exec_comm_child): Likewise.
35994         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
35995         (getanswer_r, gaih_getanswer_slice): Likewise.
35996         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
35997         * resolv/res_init.c: Likewise.
35998         * resolv/res_mkquery.c (res_nmkquery): Likewise.
35999         * resolv/res_query.c (__libc_res_nquery): Likewise.
36000         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36001         Likewise.
36002         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36003         * stdio-common/perror.c (perror): Likewise.
36004         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36005         * stdio-common/tmpnam.c (tmpnam): Likewise.
36006         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36007         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36008         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36009         Likewise.
36010         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36011         * stdlib/putenv.c (putenv): Likewise.
36012         * stdlib/setenv.c (__add_to_environ): Likewise.
36013         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36014         * stdlib/strtol_l.c (INTERNAL): Likewise.
36015         * string/memmem.c (memmem): Likewise.
36016         * string/strerror.c (strerror): Likewise.
36017         * string/strnlen.c (__strnlen): Likewise.
36018         * string/test-memmem.c (simple_memmem): Likewise.
36019         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36020         * sunrpc/pm_getport.c (__get_socket): Likewise.
36021         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36022         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36023         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36024         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36025         Likewise.
36026         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36027         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36028         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36029         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36030         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36031         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36032         Likewise.
36033         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36034         Likewise.
36035         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36036         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36037         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36038         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36039         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36041         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36042         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36043         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36044         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36045         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36046         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36047         Likewise.
36048         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36049         Likewise.
36050         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36051         Likewise.
36052         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36053         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36054         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36055         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36056         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36057         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36058         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36059         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36060         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36061         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36062         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36064         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36065         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36067         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36068         Likewise.
36069         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36070         Likewise.
36071         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36072         Likewise.
36073         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36074         Likewise.
36075         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36076         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36077         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36078         Likewise.
36079         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36080         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36081         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36082         * sysdeps/posix/sleep.c: Likewise.
36083         * sysdeps/posix/tempname.c: Likewise.
36084         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36085         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36086         Likewise.
36087         * sysdeps/powerpc/powerpc32/dl-machine.h
36088         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36089         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36090         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36091         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36092         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36093         Likewise.
36094         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36095         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36096         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36097         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36098         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36099         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36100         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36101         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36102         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36103         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36105         (elf_machine_lazy_rel): Likewise.
36106         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36107         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36108         (elf_machine_lazy_rel): Likewise.
36109         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36110         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36111         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36112         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36113         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36114         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36115         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36116         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36117         Likewise.
36118         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36119         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36120         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36121         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36122         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36123         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36124         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36125         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36126         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36127         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36128         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36129         Likewise.
36130         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36131         (__posix_fallocate64_l64): Likewise.
36132         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36133         (posix_fallocate): Likewise.
36134         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36135         Likewise.
36136         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36137         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36138         (getifaddrs_internal): Likewise.
36139         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36140         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36141         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36142         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36143         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36144         (__posix_fallocate64_l64): Likewise.
36145         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36146         Likewise.
36147         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36148         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36149         (__get_clockfreq): Likewise.
36150         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36151         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36152         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36153         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36155         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36156         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36157         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36158         Likewise.
36159         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36160         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36161         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36162         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36163         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36164         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36165         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36166         Likewise.
36167         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36168         (posix_fallocate): Likewise.
36169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36170         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36171         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36172         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36173         (elf_machine_rela, elf_machine_rela_relative)
36174         (elf_machine_lazy_rel): Likewise.
36175         * time/asctime.c (asctime_internal): Likewise.
36176         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36177         * time/tzset.c (__tzset_parse_tz): Likewise.
36178         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36179         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36180         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36181         * wcsmbs/wcsmbsload.h: Likewise.
36183         [BZ #15894]
36184         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36186         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36187         (arena_get2): Remove THREAD_STATS conditionals.
36188         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36189         (__malloc_stats, int): Likewise.
36191 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36193         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36194         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36196         * manual/setjmp.texi: Fix typos/grammar errors.
36198         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36199         Only return early when n is <= 0.  Delete unused return statement.
36201         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36202         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36203         * debug/tst-longjmp_chk3.c: New file.
36205         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36206         (test_main): Replace code with set_fortify_handler call.
36207         * debug/test-strcpy_chk.c: Likewise.
36208         * debug/tst-chk1.c: Likewise.
36209         * debug/tst-longjmp_chk.c: Likewise.
36210         * test-skeleton.c: Include fcntl.h & paths.h
36211         (set_fortify_handler): Define.
36213         * debug/tst-longjmp_chk.c: Add header comment and include
36214         ../test-skeleton.c.
36215         (do_test): Mark static.
36216         (TEST_FUNCTION): Define.
36218         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36219         (IP_PMTUDISC_INTERFACE): Likewise.
36220         (IP_MULTICAST_IF): Likewise.
36221         (IP_MULTICAST_TTL): Likewise.
36222         (IP_MULTICAST_LOOP): Likewise.
36223         (IP_ADD_MEMBERSHIP): Likewise.
36224         (IP_DROP_MEMBERSHIP): Likewise.
36225         (IP_UNBLOCK_SOURCE): Likewise.
36226         (IP_BLOCK_SOURCE): Likewise.
36227         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36228         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36229         (IP_MSFILTER): Likewise.
36230         (MCAST_JOIN_GROUP): Likewise.
36231         (MCAST_BLOCK_SOURCE): Likewise.
36232         (MCAST_UNBLOCK_SOURCE): Likewise.
36233         (MCAST_LEAVE_GROUP): Likewise.
36234         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36235         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36236         (MCAST_MSFILTER): Likewise.
36237         (IP_MULTICAST_ALL): Likewise.
36238         (IP_UNICAST_IF): Likewise.
36240         * timezone/Makefile: Delete $(have-ksh) check.
36241         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36242         * timezone/tzselect.ksh: Add +x mode bits.
36244         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36245         (ANON_INODE_FS_MAGIC): Likewise.
36246         (BDEVFS_MAGIC): Likewise.
36247         (BINFMTFS_MAGIC): Likewise.
36248         (BTRFS_TEST_MAGIC): Likewise.
36249         (CRAMFS_MAGIC_WEND): Likewise.
36250         (DEBUGFS_MAGIC): Likewise.
36251         (ECRYPTFS_SUPER_MAGIC): Likewise.
36252         (EXT3_SUPER_MAGIC): Likewise.
36253         (EXT4_SUPER_MAGIC): Likewise.
36254         (FUTEXFS_SUPER_MAGIC): Likewise.
36255         (HOSTFS_SUPER_MAGIC): Likewise.
36256         (HUGETLBFS_MAGIC): Likewise.
36257         (MINIX3_SUPER_MAGIC): Likewise.
36258         (MTD_INODE_FS_MAGIC): Likewise.
36259         (NILFS_SUPER_MAGIC): Likewise.
36260         (OPENPROM_SUPER_MAGIC): Likewise.
36261         (PIPEFS_MAGIC): Likewise.
36262         (PSTOREFS_MAGIC): Likewise.
36263         (QNX6_SUPER_MAGIC): Likewise.
36264         (RAMFS_MAGIC): Likewise.
36265         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36266         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36267         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36268         (SECURITYFS_MAGIC): Likewise.
36269         (SELINUX_MAGIC): Likewise.
36270         (SMACK_MAGIC): Likewise.
36271         (SOCKFS_MAGIC): Likewise.
36272         (SQUASHFS_MAGIC): Likewise.
36273         (STACK_END_MAGIC): Likewise.
36274         (TMPFS_MAGIC): Likewise.
36275         (USBDEVICE_SUPER_MAGIC): Likewise.
36276         (V9FS_MAGIC): Likewise.
36277         (XENFS_SUPER_MAGIC): Likewise.
36278         (CRAMFS_MAGIC): Fix typo in comment.
36279         (EXT2_SUPER_MAGIC): Update comment.
36280         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36282 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36284         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36285         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36286         * sysdeps/unix/sysv/linux/arm: Move directory from
36287         ports/sysdeps/unix/sysv/linux/arm.
36288         * README: Update listing for arm-*-linux-gnueabi.
36290         * README: Remove mention of am33.
36292 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36294         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36295         than the comma operator, to avoid "rhs of comma has no effect"
36296         compiler warnings.
36297         (__sigfillset, __sigandset, __sigorset): Likewise.
36298         * include/signal.h (__sigemptyset): Likewise.
36299         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36301 2014-02-07  Allan McRae  <allan@archlinux.org>
36303         * version.h (RELEASE): Set to "development".
36304         (VERSION): Set to "2.19.90"
36305         * NEWS: Add 2.20 section.
36307 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36309         [BZ #16529]
36310         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36312 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36314         * manual/contrib.texi: Update entry for Carlos O'Donell,
36315         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36317 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36319         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36321         * sysdeps/unix/sysv/linux/kernel-features.h
36322         [__LINUX_KERNEL_VERSION >= 0x020621]
36323         (__ASSUME_PROC_PID_TASK_COMM): Define.
36325 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36327         [BZ #16398]
36328         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36329         conversion when destination buffer does not have enough space.
36330         * libio/tst-ftell-partial-wide.c: New test case.
36331         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36333         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36334         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36335         Leonard and Allan McRae.
36337 2014-02-04  David S. Miller  <davem@davemloft.net>
36339         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36340         32-bit.
36342 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36345         New file
36346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36347         New file
36348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36349         New file.
36350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36351         New file.
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36353         New file.
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36355         New file.
36356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36357         New file.
36358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36359         New file.
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36361         New file.
36362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36363         New file.
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36365         New file.
36366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36367         New file.
36368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36369         New file.
36371 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36373         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36374         * shlib-versions: Likewise.
36376 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36377             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36379         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36380         (abilist-pattern): New variable, set to %-le.abilist.
36382         * Makerules (abilist-pattern): New variable.
36383         (vpath): Use $(abilist-pattern) in place of %.abilist.
36384         (check-abi-% pattern rule): Likewise.
36385         (check-abi, update-abi): Likewise.
36387 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36389         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36391 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36393         * manual/startup.texi: Add next, previous, and top entries for
36394         the `Program Arguments' and `Environment Variables' nodes.
36396 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36398         * manual/macros.texi: Add comments before MTASC-safety macros.
36400         * manual/users.texi: Document MTASC-safety properties.
36402         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36403         (pthread_getspecific, pthread_setspecific): Format with
36404         @deftypefun, and add @safety note.
36405         * manual/signal.texi: Move comments that analyze the above
36406         functions to their home place.
36408 2014-02-03  Allan McRae  <allan@archlinux.org>
36410         * po/sl.po: Update Slovenian translation from translation project.
36412 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36414         * manual/time.texi (timegm): Add missing blank after @c.
36415         Reported by Joseph Myers <joseph@codesourcery.com>.
36417 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36419         * manual/check-safety.sh: New.
36420         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36422         * manual/terminal.texi: Document MTASC-safety properties.
36424         * manual/filesys.texi: Document MTASC-safety properties.
36426         * manual/errno.texi: Document MTASC-safety properties.
36428         * manual/intro.texi: Document safety identifiers and
36429         conditionals.
36431         * manual/string.texi (wcstok): Fix prototype.
36432         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36434         * manual/time.texi: Document MTASC-safety properties.
36436         * manual/string.texi: Document MTASC-safety properties.
36438         * manual/threads.texi: Document MTASC-safety properties.
36440         * manual/stdio.texi: Document MTASC-safety properties.
36442         * manual/syslog.texi: Document MTASC-safety properties.
36444         * manual/sysinfo.texi: Document MTASC-safety properties.
36446         * manual/startup.texi: Document MTASC-safety properties.
36448         * manual/socket.texi: Document MTASC-safety properties.
36450         * manual/signal.texi: Document MTASC-safety properties.
36452 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36454         * manual/setjmp.texi: Document MTASC-safety properties.
36456         * manual/search.texi: Document MTASC-safety properties.
36458         * manual/resource.texi: Document MTASC-safety properties.
36460         * manual/process.texi: Document MTASC-safety properties.
36462         * manual/platform.texi: Document MTASC-safety properties.
36464         * manual/pipe.texi: Document MTASC-safety properties.
36466         * manual/pattern.texi: Document MTASC-safety properties.
36468         * manual/message.texi: Document MTASC-safety properties.
36470         [BZ #12751]
36471         * manual/memory.texi: Document MTASC-safety properties.
36473         * manual/math.texi: Document MTASC-safety properties.
36475         * manual/locale.texi: Document MTASC-safety properties.
36477         * manual/llio.texi: Document MTASC-safety properties.
36479         * manual/libdl.texi: New.
36481         * manual/lang.texi: Document MTASC-safety properties.
36483         * manual/job.texi: Document MTASC-safety properties.
36485         * manual/getopt.texi: Document MTASC-safety properties.
36487         * manual/ctype.texi: Document MTASC-safety properties.
36489 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36491         [BZ #16046]
36492         * csu/libc-tls.c (static_map): Remove variable.
36493         (__libc_setup_tls): Use main executable's link map for TLS data.
36494         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36495         casing for LM_ID_BASE and GL(dl_nns).
36496         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36497         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36498         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36499         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36500         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36501         member.
36502         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36503         l_phnum members.
36505 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36507         * manual/debug.texi: Document MTASC-safety properties.
36509 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36511         [BZ #16510]
36512         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36513         of __x86_64__ when disabling x87 inline functions.
36515 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36517         * manual/charset.texi: Document MTASC-safety properties.
36519         * manual/crypt.texi: Document MTASC-safety properties.
36521         * manual/conf.texi: Document MTASC-safety properties.
36523         * manual/arith.texi: Document MTASC-safety properties.
36525         * manual/argp.texi: Document MTASC-safety properties.
36527         * manual/macros.texi: Introduce macros to document multi
36528         thread, asynchronous signal and asynchronous cancellation
36529         safety properties.
36530         * manual/intro.texi: Introduce the properties themselves.
36532 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36534         * sysdeps/sh/sh4/Makefile: New file.
36536 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36538         * math/gen-libm-test.pl ($srcdir): New variable.
36539         ($auto_input): Use it.
36541 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36543         [BZ #16506]
36544         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36545         access beyond array bounds when parsing netgroups file.
36547         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36548         the old buffer before realloc.
36550 2014-01-27  Allan McRae  <allan@archlinux.org>
36552         * po/fr.po: Update French translation from translation project.
36554 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36556         * sysdeps/sh/libm-test-ulps: Regenerate.
36558 2014-01-24  David S. Miller  <davem@davemloft.net>
36560         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36562 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36564         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36565         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36567 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36569         [BZ #16474]
36570         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36571         string pointers after reallocation.
36573 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36575         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36576         __SH4A__ instead of __SH_FPU_ANY__.
36578 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36580         * sysdeps/sh/fpu_control.h: New file.
36581         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36582         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36583         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36584         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36585         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36586         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36587         * sysdeps/sh/sys/ucontext.h: Remove.
36588         * sysdeps/sh/sys: Remove directory.
36590 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36592         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36593         s390/sys/ucontext.h.
36594         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36595         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36597 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36599         [BZ #15605]
36600         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36602 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36604         [BZ#16431]
36605         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36606         Adjust the vDSO correctly for internal calls.
36607         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36609 2014-01-20  Allan McRae  <allan@archlinux.org>
36611         * po/ca.po: Update Catalan translation from translation project.
36613 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36615         * sysdeps/s390/sotruss-lib.c: New file.
36617 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36619         [BZ#16430]
36620         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36621         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36622         local calls issues by not having a PLT stub required for IFUNC calls.
36623         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36625 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36627         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36628         * math/test-fpucw-static.c: Likewise.
36630 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36632         [BZ #16453]
36633         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36635 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36637         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36638         implementation for powerpc.
36640 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36642         [BZ #14782]
36643         * sysdeps/posix/system.c (__libc_system): Do not enable
36644         asynchronous cancellation.
36646 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36648         [BZ #16427]
36649         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36650         handling only for numbers special also in the IEEE case.
36652 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36654         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36656 2014-01-11  Allan McRae  <allan@archlinux.org>
36658         * po/bg.po: Update Bulgarian translation from translation project.
36660         * po/de.po: Update German translation from translation project.
36662 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36664         * sysdeps/generic/gcc-compat.h: New file.
36666 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36668         * benchtests/asin-inputs: Correct slow inputs.
36669         * benchtests/acos-inputs: Likewise.
36671 2014-01-10  Allan McRae  <allan@archlinux.org>
36673         * po:sv.po: Update Swedish translation from translation project.
36675         * po/vi.po: Update Vietnamese translation from translation project.
36677         * po/eo.po: Update Esperanto translation from translation project.
36679         * po/cs.po: Update Czech translation from translation project.
36681         * po/nl.po: Update Dutch translation from translation project.
36683         * po/pl.po: Update Polish translation from translation project.
36685         * po/ru.po: Update Russian translation from translation project.
36687         * po/uk.po: Update Ukrainian translation from translation project.
36689 2014-01-08  Brooks Moses  <bmoses@google.com>
36691         * elf/dl-load.c: Fix comment typo.
36693 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36695         * po/header.pot: Rename to...
36696         * po/pot.header: ... this.
36697         * po/Makefile: Use pot.header.
36699 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36700             Maxim Kuvyrkov  <maxim@kugelworks.com>
36702         [BZ #16394]
36703         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36704         SRC and DEST against LEN.
36706 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36708         [BZ #16414]
36709         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36710         implementation.
36711         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36713 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36717 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36719         [BZ #16408]
36720         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36721         for large positive arguments.
36723 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36725         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36727         * math/auto-libm-test-in: Mark various tests with
36728         xfail-rounding:ldbl-128ibm.
36729         * math/auto-libm-test-out: Regenerated.
36731         [BZ #16407]
36732         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36733         Increase overflow threshold.
36735 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36737         [BZ #14286]
36738         * stdio-common/vfprintf.c: Check for integer overflow.
36740 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36742         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36743         the first argument and return value of __tls_get_addr_internal.
36745 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36747         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36748         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36750 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36752         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36753         * sysdeps/s390/rtld-global-offsets.sym: New file.
36754         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36755         GLIBC_2.19 symbol.
36756         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36757         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36758         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36759         ... this.
36760         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36761         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36762         ... this.
36763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36764         Regenerate.
36765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36766         Regenerate.
36767         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36768         halfs of GPRs for high_gprs contexts.
36769         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36770         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36771         field.
36772         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36773         uc_flags field.
36774         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36775         64 bit versions:
36776         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36777         for high GPRs (uc_high_gprs) and for future extensions
36778         (__reserved).
36779         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36780         for future extensions (__reserved).
36781         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36782         64 bit versions:
36783         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36784         SC_HIGHGPRS offset definition.
36785         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36786         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36788         * Versions.def: Add GLIBC_2.19 for libpthread.
36789         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36790         siglongjmp for libpthread with GLIBC_2.19 symver.
36791         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36792         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36793         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36794         * sysdeps/s390/__longjmp.c: New file.
36795         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36796         * sysdeps/s390/longjmp.c: New file.
36797         * sysdeps/s390/setjmp.S: New file.
36798         * sysdeps/s390/sigjmp.S: New file.
36799         * sysdeps/s390/v1-longjmp.c: New file.
36800         * sysdeps/s390/v1-setjmp.h: New file.
36801         * sysdeps/s390/v1-sigjmp.c: New file.
36802         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36803         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36804         GLIBC_2.19 version.
36805         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36806         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36807         versioned symbols for ____longjmp_chk.
36808         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36809         Likewise.
36810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36811         Regenerate.
36812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36813         Regenerate.
36814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36815         Regenerate.
36816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36817         Regenerate.
36818         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36819         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36820         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36821         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36822         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36823         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36824         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36825         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36826         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36827         * sysdeps/s390/rtld-__longjmp.c: New file.
36828         * sysdeps/s390/rtld-setjmp.S: New file.
36830 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36832         [BZ #16400]
36833         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36834         Return -__logl (x) for small positive arguments without evaluating
36835         a polynomial.
36837 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
36839         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
36840         Rename to ...
36841         (__ptrace_peeksiginfo_args): ... this.
36842         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36843         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36844         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36846 2014-01-06  Allan McRae  <allan@archlinux.org>
36848         * inet/netinet/in.h: Fix typo in comment.
36850 2014-01-05  Andreas Jaeger  <aj@suse.de>
36852         * sysdeps/i386/fpu/libm-test-ulps: Update.
36854 2014-01-05  Allan McRae  <allan@archlinux.org>
36856         * po/libc.pot: Regenerated.
36858         * malloc/memusagestat.c: Fix gettext call formatting.
36860 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
36862         * nscd/nscd.c: Improve usage() output.
36864 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
36866         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
36867         * sysdeps/unix/sysv/linux/configure: Regenerated.
36868         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
36869         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
36871 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36873         [BZ #16390]
36874         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36875         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
36877 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
36880         extra tokens at end of #undef directive.
36881         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
36882         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
36883         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36885 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
36887         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36889         * math/auto-libm-test-in: Mark various tests with
36890         xfail-rounding:ldbl-128ibm.
36891         * math/auto-libm-test-out: Regenerated.
36893 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
36895         [BZ #16386]
36896         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
36897         numbers with subnormal high part when calculating exponent.
36899         [BZ #16385]
36900         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
36901         fabs.
36903         [BZ #16384]
36904         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
36905         M_LN2l.
36906         (__ieee754_acoshl): Use __log1pl not __log1p.
36908 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
36910         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
36911         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
36912         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
36913         (grow_heap, heap_trim, _int_new_arena, get_free_list)
36914         (reused_arena, arena_get2): Convert to GNU style.
36915         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
36916         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
36917         (memalign_check, __malloc_set_state): Likewise.
36918         * malloc/mallocbug.c (main): Likewise.
36919         * malloc/malloc.c (__malloc_assert, malloc_init_state)
36920         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
36921         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
36922         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
36923         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
36924         (__posix_memalign, malloc_info): Likewise.
36925         * malloc/malloc.h: Likewise.
36926         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
36927         (mallochook, memalignhook, reallochook, mabort): Likewise.
36928         * malloc/mcheck.h: Likewise.
36929         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
36930         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
36931         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
36932         * malloc/morecore.c (__default_morecore): Likewise.
36933         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
36934         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
36935         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
36936         (print_and_abort): Likewise.
36937         * malloc/obstack.h: Likewise.
36938         * malloc/set-freeres.c (__libc_freeres): Likewise.
36939         * malloc/tst-mallocstate.c (main): Likewise.
36940         * malloc/tst-mtrace.c (main): Likewise.
36941         * malloc/tst-realloc.c (do_test): Likewise.
36943 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36945         [BZ #16366]
36946         * nscd/netgroupcache.c (do_notfound): New function.
36947         (addgetnetgrentX): Use it.
36949         [BZ # 16365]
36950         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
36951         NSS_STATUS_NOTFOUND.
36953 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
36955         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
36956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36958 2014-01-01  Allan McRae  <allan@archlinux.org>
36960         * scripts/update-copyrights: Update configure input file suffix.
36962         * NEWS: Update copyright year.
36963         * catgets/gencat.c: Likewise.
36964         * csu/version.c: Likewise.
36965         * debug/catchsegv.sh: Likewise.
36966         * debug/pcprofiledump.c: Likewise.
36967         * debug/xtrace.sh: Likewise.
36968         * elf/ldconfig.c: Likewise.
36969         * elf/ldd.bash.in: Likewise.
36970         * elf/pldd.c: Likewise.
36971         * elf/sotruss.ksh: Likewise.
36972         * elf/sprof.c: Likewise.
36973         * iconv/iconv_prog.c: Likewise.
36974         * iconv/iconvconfig.c: Likewise.
36975         * locale/programs/locale.c: Likewise.
36976         * locale/programs/localedef.c: Likewise.
36977         * login/programs/pt_chown.c: Likewise.
36978         * malloc/memusage.sh: Likewise.
36979         * malloc/memusagestat.c: Likewise.
36980         * malloc/mtrace.pl: Likewise.
36981         * manual/libc.texinfo: Likewise.
36982         * nscd/nscd.c: Likewise.
36983         * nss/getent.c: Likewise.
36984         * nss/makedb.c: Likewise.
36985         * posix/getconf.c: Likewise.
36986         * scripts/test-installation.pl: Likewise.
36988         * All files with FSF copyright notices: Update copyright dates
36989         using scripts/update-copyrights.
36990         * intl/plural.c: Regenerated.
36991         * locale/programs/charmap-kw.h: Likewise.
36992         * locale/programs/locfile-kw.h: Likewise.
36994 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
36996         * sysdeps/unix/sysv/linux/configure: Regenerated.
36997         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
36998         the linux/fanotify.h header.
36999         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37000         HAVE_LINUX_FANOTIFY_H is defined.
37002 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37004         * benchtests/cos-inputs: New inputs.
37005         * benchtests/sin-inputs: Likewise.
37007         * benchtests/atan-inputs: New inputs. Fix name of multiple
37008         precision fallback inputs.
37010         * benchtests/atanh-inputs: New inputs.
37011         * benchtests/tanh-inputs: Likewise.
37013         * benchtests/acosh-inputs: New inputs.
37014         * benchtests/asinh-inputs: Likewise.
37016         * benchtests/cosh-inputs: New inputs.
37017         * benchtests/sinh-inputs: Likewise.
37019         * benchtests/acos-inputs: Add more inputs.
37020         * benchtests/asin-inputs: Likewise.
37022 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37024         [BZ #16375]
37025         * manual/arith.texi: Fix spelling.
37026         * manual/charset.texi: Likewise.
37027         * manual/errno.texi: Likewise.
37028         * manual/filesys.texi: Likewise.
37029         * manual/lang.texi: Likewise.
37030         * manual/llio.texi: Likewise.
37031         * manual/locale.texi: Likewise.
37032         * manual/message.texi: Likewise.
37033         * manual/resource.texi: Likewise.
37034         * manual/search.texi: Likewise.
37035         * manual/setjmp.texi: Likewise.
37036         * manual/stdio.texi: Likewise.
37037         * manual/string.texi: Likewise.
37038         * manual/sysinfo.texi: Likewise.
37039         * manual/time.texi: Likewise.
37041 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37043         * po/sl.po: New file.
37045 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37047         * .gitignore: Add core/.gdbinit/.gdb_history.
37049 2013-12-27  Allan McRae  <allan@archlinux.org>
37051         [BZ #16369]
37052         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37053         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37055 2013-12-24  Brooks Moses  <bmoses@google.com>
37057         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37058         all compilers that claim C++98 compliance, not just GCC.
37059         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37060         Likewise.
37062 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37064         * NEWS: Restore accidentally deleted bug-fix entries.
37066 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37067             Ondřej Bílka  <neleai@seznam.cz>
37069         [BZ #15073]
37070         * malloc/malloc.c (_int_free): Perform sanity check only if we
37071         have_lock.
37073 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37075         [BZ #12986]
37076         * manual/stdio.texi (String Input Conversions): Clarify that character
37077         classes are not supported.
37079 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37083 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37085         [BZ #16337]
37086         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37087         Calculate results for small negative arguments directly rather
37088         than using reflection formula with special underflow handling.
37090         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37091         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37092         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37093         (fchflags): Likewise.
37094         (revoke): Likewise.
37095         (setlogin): Likewise.
37096         (sigaltstack): Likewise.
37097         (wait4): Likewise.
37098         (sigblock): Remove.
37099         (sigsetmask): Likewise.
37100         (wait3): Likewise.
37101         (waitpid): Likewise.
37102         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37103         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37104         file.
37105         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37106         * sysdeps/unix/bsd/Makefile: ... here.
37107         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37108         * sysdeps/unix/bsd/Versions: ... here.
37109         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37110         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37111         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37112         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37113         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37114         * sysdeps/unix/bsd/sigblock.c: ... here.
37115         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37116         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37117         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37118         * sysdeps/unix/bsd/sigvec.c: ... here.
37119         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37120         * sysdeps/unix/bsd/tcdrain.c: ... here.
37121         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37122         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37123         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37124         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37125         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37126         * sysdeps/unix/bsd/wait.c: ... here.
37127         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37128         * sysdeps/unix/bsd/wait3.c: ... here.
37129         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37130         * sysdeps/unix/bsd/waitpid.c: ... here.
37132 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37134         [BZ #16356]
37135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37136         round-to-nearest for [!USE_AS_EXPM1L].
37137         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37138         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37139         more tests of exp and exp10.  Expect some exp10 tests to miss
37140         exceptions or fail in directed rounding modes.
37141         * math/auto-libm-test-out: Regenerated.
37142         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37143         (exp10_test_tonearest): New function.
37144         (exp10_towardzero_test_data): New array.
37145         (exp10_test_towardzero): New function.
37146         (exp10_downward_test_data): New array.
37147         (exp10_test_downward): New function.
37148         (exp10_upward_test_data): New array.
37149         (exp10_test_upward): New function.
37150         (main): Call the new functions.
37151         * sysdeps/i386/fpu/libm-test-ulps: Update.
37152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37154 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37156         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37157         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37158         * math/auto-libm-test-out: Regenerated.
37159         * math/libm-test.inc (acosh_test_data): Add more tests.
37160         (atanh_test_data): Likewise.
37161         (ceil_test_data): Likewise.
37162         (copysign_test_data): Likewise.
37163         * sysdeps/i386/fpu/libm-test-ulps: Update.
37164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37166         * timezone/checktab.awk: Update from tzcode 2013i.
37167         * timezone/private.h: Likewise.
37168         * timezone/scheck.c: Likewise.
37169         * timezone/tzfile.h: Likewise.
37170         * timezone/tzselect.ksh: Likewise.
37171         * timezone/zdump.c: Likewise.
37172         * timezone/zic.c: Likewise.
37174         * math/auto-libm-test-in: Add tests of cpow.
37175         * math/auto-libm-test-out: Regenerated.
37176         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37177         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37178         mpc_cc_c.
37179         (func_calc_desc): Add mpc_cc_c union field.
37180         (test_functions): Add cpow.
37181         (special_fill_2pi): New function.
37182         (special_real_inputs): Add 2pi.
37183         (calc_generic_results): Handle mpc_cc_c.
37184         * sysdeps/i386/fpu/libm-test-ulps: Update.
37185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37187         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37188         csqrt, ctan and ctanh.
37189         * math/auto-libm-test-out: Regenerated.
37190         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37191         (TEST_COND_x86): Likewise.
37192         (ccos_test_data): Use AUTO_TESTS_c_c.
37193         (ccosh_test_data): Likewise.
37194         (cexp_test_data): Likewise.
37195         (clog_test_data): Likewise.
37196         (csqrt_test_data): Likewise.
37197         (ctan_test_data): Likewise.
37198         (ctan_tonearest_test_data): Likewise.
37199         (ctan_towardzero_test_data): Likewise.
37200         (ctan_downward_test_data): Likewise.
37201         (ctan_upward_test_data): Likewise.
37202         (ctanh_test_data): Likewise.
37203         (ctanh_tonearest_test_data): Likewise.
37204         (ctanh_towardzero_test_data): Likewise.
37205         (ctanh_downward_test_data): Likewise.
37206         (ctanh_upward_test_data): Likewise.
37207         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37208         mpc_c_c.
37209         (func_calc_desc): Add mpc_c_c union field.
37210         (FUNC_mpc_c_c): New macro.
37211         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37212         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37213         ctanh.
37214         (special_fill_min_subnorm_p120): New function.
37215         (special_real_inputs): Add min_subnorm_p120.
37216         (calc_generic_results): Handle mpc_c_c.
37217         * sysdeps/i386/fpu/libm-test-ulps: Update.
37218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37220 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37222         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37223         (do_sin_slow): New functions.
37224         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37225         (cslow2, csloww1, csloww2): Use the new functions.
37227         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37228         Use M to change sign of result instead of X.  Assume X is
37229         positive.
37230         (csloww1): Likewise.
37231         (__sin): Adjust.
37232         (__cos): Adjust.
37234         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37235         arguments A and DA.
37236         (__sin): Adjust.
37237         (__cos): Likewise.
37239         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37240         (__cos): Likewise.
37241         (sloww1): Don't adjust sign of DX.
37242         (csloww1): Likewise.
37243         (sloww2): Use X directly and don't adjust sign of DX.
37244         (csloww2): Likewise.
37246 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37248         * math/auto-libm-test-in: Add tests of cabs and carg.
37249         * math/auto-libm-test-out: Regenerated.
37250         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37251         (carg_test_data): Likewise.
37252         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37253         mpc_c_f.
37254         (func_calc_desc): Add mpc_c_f union field.
37255         (test_functions): Add cabs and carg.
37256         (calc_generic_results): Handle mpc_c_f.
37258         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37259         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37260         as a macro and a compat symbol.
37261         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37262         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37263         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37264         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37265         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37266         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37267         not use .hidden.
37268         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37269         Likewise.
37270         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37271         Likewise.
37272         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37273         Likewise.
37274         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37275         Likewise.
37276         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37277         Likewise.
37278         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37279         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37280         from GLIBC_2.3.2.
37282 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37286 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37288         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37289         trailing whitespace removed.
37290         * scripts/config.guess: Update to version 2013-11-29.
37291         * scripts/config.sub: Update to version 2013-10-01.
37293         * math/auto-libm-test-in: Add tests of sincos.
37294         * math/auto-libm-test-out: Regenerated.
37295         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37296         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37297         mpfr_f_11.
37298         (func_calc_desc): Add mpfr_f_11 union field.
37299         (test_functions): Add sincos.
37300         (calc_generic_results): Handle mpfr_f_11.
37301         * sysdeps/i386/fpu/libm-test-ulps: Update.
37302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304 2013-12-19  Andreas Schwab  <schwab@suse.de>
37306         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37307         CALL_MCOUNT.
37308         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37309         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37310         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37312 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37314         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37315         * sysdeps/i386/fpu/libm-test-ulps: Update.
37316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37318         [BZ #16293]
37319         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37320         round-to-nearest mode when using frndint.
37321         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37322         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37323         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37324         Likewise.
37325         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37326         sinh test to fail.
37327         * math/auto-libm-test-out: Regenerated.
37328         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37329         (TEST_COND_x86): Likewise.
37330         (expm1_tonearest_test_data): New array.
37331         (expm1_test_tonearest): New function.
37332         (expm1_towardzero_test_data): New array.
37333         (expm1_test_towardzero): New function.
37334         (expm1_downward_test_data): New array.
37335         (expm1_test_downward): New function.
37336         (expm1_upward_test_data): New array.
37337         (expm1_test_upward): New function.
37338         (main): Run the new test functions.
37339         * sysdeps/i386/fpu/libm-test-ulps: Update.
37340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37342         * include/features.h: Update comment documenting feature test
37343         macros.  Mention _DEFAULT_SOURCE in comment.
37344         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37345         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37346         _BSD_SOURCE and _SVID_SOURCE.
37347         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37348         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37349         !_SVID_SOURCE]: Likewise.
37350         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37351         (__USE_POSIX_IMPLICITLY): Define.
37352         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37353         (_POSIX_SOURCE): Undefine and redefine.
37354         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37355         (_POSIX_C_SOURCE): Likewise.
37356         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37357         (Feature Test Macros): Update documentation of default features.
37359 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37361         * benchtests/Makefile: Add bench-strtok.
37362         * benchtests/bench-strtok.c: New file: strtok benchtest.
37364 2013-12-19  Allan McRae  <allan@archlinux.org>
37366         * manual/install.texi: Suppress menu for plain text output.
37367         * INSTALL: Regenerated.
37369 2013-12-18  Brooks Moses  <bmoses@google.com>
37371         [BZ #15846]
37372         * misc/getauxval.c: Include errno.h.
37373         (__getauxval): Set errno to ENOENT if the requested type is not
37374         found.
37375         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37376         don't declare with __attribute_const__.
37377         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37378         * manual/startup.texi: Document that getauxval sets errno.
37380 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37382         * math/auto-libm-test-in: Add tests of jn and yn.
37383         * math/auto-libm-test-out: Regenerated.
37384         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37385         (yn_test_data): Likewise.
37386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37387         mpfr_if_f.
37388         (func_calc_desc): Add mpfr_if_f union field.
37389         (FUNC_mpfr_if_f): New macro.
37390         (test_functions): Add jn and yn.
37391         (calc_generic_results): Assert type of second input for
37392         mpfr_ff_f.  Handle mpfr_if_f.
37393         (output_for_one_input_case): Disable all checking for arguments
37394         fitting floating-point types in case of an integer argument.
37395         * sysdeps/i386/fpu/libm-test-ulps: Update.
37396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37399         Don't expect fegetround reference in libm.so.
37401 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37403         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37404         $(config-cflags-nofma).
37406 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37408         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37409         * math/auto-libm-test-out: Regenerated.
37411         [BZ #16338]
37412         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37413         to determine exponent and adjust argument to have exponent of -1.
37414         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37415         log2.
37416         * math/auto-libm-test-out: Regenerated.
37417         * sysdeps/i386/fpu/libm-test-ulps: Update.
37418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37420 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37422         * manual/probes.texi: Remove cases when per-thread arenas are
37423         disabled.
37425 2013-12-18  Andreas Schwab  <schwab@suse.de>
37427         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37428         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37429         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37430         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37431         * sysdeps/i386/i686/multiarch/Makefile: Update.
37432         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37434 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37436         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37437         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37439 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37441         [BZ #15968]
37442         Support TZ transition times < 00:00:00.
37443         This is needed for version-3 tz-format files; it supports time
37444         stamps past 2037 for America/Godthab (the only entry in the tz
37445         database for which this change is relevant).
37446         * manual/time.texi (TZ Variable): Document transition times
37447         from -167:59:59 through -00:00:01.
37448         * time/tzset.c (tz_rule): Time of day is now signed.
37449         (__tzset_parse_tz): Parse negative time of day.
37451         Document TZ transition times >= 25:00:00.
37452         * manual/time.texi (TZ Variable): Document transition times from
37453         25:00:00 through 167:59:59.  These are already supported, and this
37454         support will help with version-3 tz-format files.
37456         * manual/time.texi (TZ Variable): Modernize North America example
37457         to reflect current (i.e., 2007-and-later) daylight saving rules.
37459         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37461 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37463         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37464         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37466         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37467         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37468         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37469         * sysdeps/unix/bsd/clock.c: Likewise.
37470         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37471         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37472         * sysdeps/unix/bsd/init-posix.c: Likewise.
37473         * sysdeps/unix/bsd/poll.c: Likewise.
37474         * sysdeps/unix/bsd/ptsname.c: Likewise.
37475         * sysdeps/unix/bsd/seekdir.c: Likewise.
37476         * sysdeps/unix/bsd/setegid.c: Likewise.
37477         * sysdeps/unix/bsd/seteuid.c: Likewise.
37478         * sysdeps/unix/bsd/setgid.c: Likewise.
37479         * sysdeps/unix/bsd/setrgid.c: Likewise.
37480         * sysdeps/unix/bsd/setruid.c: Likewise.
37481         * sysdeps/unix/bsd/setsid.c: Likewise.
37482         * sysdeps/unix/bsd/setuid.c: Likewise.
37483         * sysdeps/unix/bsd/sigaction.c: Likewise.
37484         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37485         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37486         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37487         * sysdeps/unix/bsd/telldir.c: Likewise.
37488         * sysdeps/unix/bsd/times.c: Likewise.
37489         * sysdeps/unix/bsd/usleep.c: Likewise.
37491         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37492         ($(objpfx)libbsd-compat.a): Remove rule.
37494         * include/features.h (__FAVOR_BSD): Do not define.
37495         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37496         features conflicting with POSIX.
37497         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37498         (_BSD_SOURCE): Remove description of not being a subset of other
37499         feature test macros.
37500         * manual/job.texi (getpgrp): Do not document BSD version.
37501         (getpgid): Do not document by reference to BSD getpgrp.
37502         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37503         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37504         * signal/signal.h [__FAVOR_BSD]: Likewise.
37505         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37506         instead of making contents conditional on [__FAVOR_BSD].
37507         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37509 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37513 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37515         [BZ #16314]
37516         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37517         values below 2**-450, not 2**-500.
37518         * math/auto-libm-test-in: Don't allow spurious underflow from
37519         hypot.
37520         * math/auto-libm-test-out: Regenerated.
37522         [BZ #16316]
37523         [BZ #16330]
37524         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37525         values of ha and hb and sort them after adjusting subnormal
37526         arguments.
37527         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37528         Likewise.
37529         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37530         values of ea and eb and sort them after adjusting subnormal
37531         arguments.
37532         * math/auto-libm-test-in: Do not expect some hypot tests of
37533         subnormals to fail.  Add more hypot tests.
37534         * math/auto-libm-test-out: Regenerated.
37536 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37538         [BZ #13304]
37539         * sysdeps/sh/s_fma.c: New file.
37540         * sysdeps/sh/s_fmaf.c: New file.
37541         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37542         version.
37543         * sysdeps/sh/Implies: Add sh/soft-fp.
37545 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37547         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37548         level of indirection to members `objname', `errstring', `malloced'.
37549         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37550         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37551         it as the __longjmp argument (just pass 1 instead).
37552         (_dl_catch_error): Initialize C with argument pointers and address of
37553         volatile local ERRCODE rather than copying values out of C at return.
37555 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37557         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37558         * math/auto-libm-test-out: Regenerated.
37559         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37560         (hypot_test_data): Likewise.
37561         (pow_test_data): Likewise.
37562         (pow_tonearest_test_data): Likewise.
37563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37564         mpfr_ff_f.
37565         (func_calc_desc): Add mpfr_ff_f union field.
37566         (FUNC_mpfr_ff_f): New macro.
37567         (test_functions): Add atan2, hypot and pow.
37568         (special_fill_min): New function.
37569         (special_fill_minus_min): Likewise.
37570         (special_fill_min_subnorm): Likewise.
37571         (special_fill_minus_min_subnorm): Likewise.
37572         (special_real_inputs): Add min, -min, min_subnorm and
37573         -min_subnorm.
37574         (calc_generic_results): Handle mpfr_ff_f.
37575         * sysdeps/i386/fpu/libm-test-ulps: Update.
37576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37578 2013-12-16  Will Newton  <will.newton@linaro.org>
37580         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37581         (Aligned Memory Blocks): Add documentation for aligned_alloc
37582         and suggest it as an alternative to posix_memalign.
37583         (Hooks for Malloc): Document __memalign_hook is also called
37584         for aligned_alloc.  (Summary of Malloc): Add summary for
37585         aligned alloc.  Document __memalign_hook is also called
37586         for aligned_alloc.
37588 2013-12-16  Will Newton  <will.newton@linaro.org>
37590         * manual/memory.texi (Malloc Examples): Clarify default
37591         alignment documentation.  Suggest posix_memalign rather
37592         than memalign or valloc.
37593         (Aligned Memory Blocks): Remove suggestion to use memalign
37594         or valloc.  Remove obsolete comment about BSD.
37595         Document memalign errno values and mark the function obsolete.
37596         Document posix_memalign returned error codes.  Mark valloc
37597         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37598         called for posix_memalign and valloc.
37599         (Summary of Malloc): Add posix_memalign to function summary.
37600         __memalign_hook is also called for posix_memalign and valloc.
37602 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37604         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37605         TAYLOR_SIN.
37606         (__sin): Adjust.
37607         (__cos): Likewise.
37608         (sloww): Use mynumber union.  Expand ternary operator into
37609         if-else statements.
37610         (cslow): use mynumber union.
37612 2013-12-16  Allan McRae  <allan@archlinux.org>
37614         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37615         * configure: Regenerated.
37617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37619         [BZ #14120]
37620         * configure.ac: Added --enable-maintainer-mode. Check for
37621         autoconf when enabled.
37622         * configure: Regenerated.
37624         * nscd/nscd.service: New file.
37625         * nscd/nscd.tmpfiles: New file.
37627 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37629         [BZ #12100]
37630         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37631         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37632         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37633         (strstr): Add __strstr_sse2_unaligned ifunc.
37634         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37635         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37636         (strcasestr): Remove __strcasestr_sse42 ifunc.
37637         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37641 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37643         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37644         * sysdeps/sh/bits/fenv.h: ... here.
37645         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37647 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37649         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37652         hypotf multiarch implementations.
37653         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37654         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37655         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37656         multiarch hypot for PPC64.
37657         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37658         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37659         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37660         multiarch hypotf for PPC64.
37662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37663         modff multiarch implementations.
37664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37667         multiarch modf for PPC64.
37668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37671         multiarch modff for PPC64.
37673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37674         and logl multiarch implementations.
37675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37678         multiarch logb for PPC64.
37679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37682         multiarch logb for PPC64.
37683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37686         multiarch logb for PPC64.
37688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37689         isinff multiarch implementation.
37690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37691         file.
37692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37694         multiarch isinf for PPC64.
37695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37696         file.
37697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37698         multiarch isinff for PPC64.
37700         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37701         finitef multiarch implementation.
37702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37703         file.
37704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37706         multiarch finite for PPC64.
37707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37708         file.
37709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37710         multiarch finitef for PPC64.
37712         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37713         lrint multiarch implementation.
37714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37715         file.
37716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37718         multiarch llrint for PPC64.
37719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37720         multiarch lrint for PPC64.
37722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37723         copysignf multiarch implementation.
37724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37725         file.
37726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37727         file.
37728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37729         multiarch copysign for PPC64.
37730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37731         multiarch copysignf for PPC64.
37733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37734         multiarch implementation.
37735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37736         file.
37737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37738         file.
37739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37740         file.
37741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37742         file.
37743         multiarch llround for PPC64.
37744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37745         multiarch trunc for PPC64.
37746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37747         multiarch truncf for PPC64.
37749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37750         multiarch implementation.
37751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37752         file.
37753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37754         file.
37755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37756         file.
37757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37758         file.
37759         multiarch llround for PPC64.
37760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37761         multiarch round for PPC64.
37762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37763         multiarch roundf for PPC64.
37765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37766         multiarch implementation.
37767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37768         file.
37769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37770         file.
37771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37772         file.
37773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37774         file.
37775         multiarch llround for PPC64.
37776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37777         multiarch floor for PPC64.
37778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37779         multiarch floorf for PPC64.
37781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37782         multiarch implementation.
37783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37784         file.
37785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37786         file.
37787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37788         file.
37789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37790         file.
37791         multiarch llround for PPC64.
37792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37793         multiarch ceil for PPC64.
37794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37795         multiarch ceilf for PPC64.
37797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37798         multiarch implementation.
37799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37800         file.
37801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37802         file.
37803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37804         file.
37805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37806         multiarch llround for PPC64.
37807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37808         multiarch lround for PPC64.
37810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37811         multiarch implementation.
37812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37815         file.
37816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37819         multiarch isnan for PPC64.
37820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37821         multiarch isnanf for PPC64.
37823         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37824         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37825         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37826         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37827         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37830         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37831         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
37836         multiarch implementations.
37837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37838         (__libc_ifunc_impl_list): Likewise.
37839         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
37840         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
37841         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
37842         multiarch stpcpy for PPC64.
37844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
37845         multiarch implementations.
37846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37847         (__libc_ifunc_impl_list): Likewise.
37848         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
37849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
37850         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
37851         multiarch strcpy for PPC64.
37853         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
37854         redefine function name.
37855         (_wordcopy_fwd_dest_aligned): Likewise.
37856         (_wordcopy_bwd_aligned): Likewise.
37857         (_wordcopy_bwd_dest_aligned): Likewise.
37858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
37859         multiarch implementations.
37860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37861         (__libc_ifunc_impl_list): Likewise.
37862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
37863         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
37864         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
37865         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
37866         multiarch wcscpy for PPC64.
37868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
37869         multiarch implementations.
37870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37871         (__libc_ifunc_impl_list): Likewise.
37872         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
37873         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
37874         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
37875         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
37876         multiarch wcscpy for PPC64.
37878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
37879         multiarch implementations.
37880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37881         (__libc_ifunc_impl_list): Likewise.
37882         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
37883         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
37884         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
37885         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
37886         multiarch wcsrchr for PPC64.
37888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
37889         multiarch implementations.
37890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37891         (__libc_ifunc_impl_list): Likewise.
37892         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
37893         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
37894         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
37895         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
37896         multiarch wcschr for PPC64.
37898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
37899         multiarch implementations.
37900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37901         (__libc_ifunc_impl_list): Likewise.
37902         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
37903         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
37904         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
37905         multiarch strchrnul for PPC64.
37907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
37908         implementations.
37909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37910         (__libc_ifunc_impl_list): Likewise.
37911         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
37912         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
37913         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
37914         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
37915         strchr for PPC64.
37917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
37918         implementations.
37919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37920         (__libc_ifunc_impl_list): Likewise.
37921         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
37922         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
37923         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
37924         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
37925         strncmp for PPC64.
37927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
37928         multiarch implementations.
37929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37930         (__libc_ifunc_impl_list): Likewise.
37931         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
37932         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
37933         strncasecmp for PPC64.
37934         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
37935         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
37936         multiarch strncasecmp_l for PPC64.
37938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
37939         multiarch implementations.
37940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37941         (__libc_ifunc_impl_list): Likewise.
37942         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
37943         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
37944         multiarch strcasecmp for PPC64.
37945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
37946         file.
37947         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
37948         multiarch strcasecmp_l for PPC64.
37950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
37951         implementations.
37952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37953         (__libc_ifunc_impl_list): Likewise.
37954         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
37955         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
37956         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
37957         strnlen for PPC64.
37959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
37960         implementations.
37961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37962         (__libc_ifunc_impl_list): Likewise.
37963         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
37964         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
37965         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
37966         strlen for PPC64.
37968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
37969         implementations.
37970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37971         (__libc_ifunc_impl_list): Likewise.
37972         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
37973         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
37974         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
37975         rawmemrchr for PPC64.
37977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
37978         implementation.
37979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37980         (__libc_ifunc_impl_list): Likewise.
37981         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
37982         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
37983         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
37984         memrchr for PPC64.
37986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
37987         implementation.
37988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37989         (__libc_ifunc_impl_list): Likewise.
37990         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
37991         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
37992         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
37993         memchr for PPC64.
37995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
37996         implementation.
37997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37998         (__libc_ifunc_impl_list): Likewise.
37999         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38000         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38001         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38002         mempcpy for PPC64.
38004         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38005         avoid cretion of __bzero symbol.
38006         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38007         Likewise.
38008         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38009         Likewise.
38010         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38011         Likewise.
38012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38013         multiarch implementations.
38014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38015         (__libc_ifunc_impl_list): Likewise.
38016         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38017         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38018         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38019         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38020         bzero for PPC32.
38021         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38022         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38023         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38024         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38025         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38026         memset for PPC64.
38027         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38029         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38031         implementations.
38032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38033         (__libc_ifunc_impl_list): Likewise.
38034         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38035         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38036         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38037         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38038         memcmp for PPC64.
38040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38041         multiarch for POWER/PPC64.
38042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38043         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38044         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38045         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38046         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38047         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38048         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38049         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38050         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38051         memcpy for PPC64.
38053         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38054         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38055         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38056         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38057         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38058         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38059         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38060         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38061         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38062         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38063         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38064         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38065         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38066         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38067         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38076 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38078         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38080 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38082         * benchtests/Makefile (bench): Add exp2 and log2.
38083         (LDLIBS-bench-exp2): Add -lm.
38084         (LDLIBS-bench-log2): Likewise.
38085         * benchtests/exp2-inputs: New inputs file.
38086         * benchtests/log2-inputs: New inputs file.
38087         * benchtests/log-inputs: Add new inputs.
38088         * benchtests/tan-inputs: Likewise.
38090 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38092         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38093         definition...
38094         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38095         (csloww2): ... from here.
38097         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38098         instead of structures.
38099         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38100         (POLYNOMIAL): Likewise.
38101         (TAYLOR_SLOW): Likewise.
38102         (__sin): Likewise.
38103         (__cos): Likewise.
38104         (slow1): Likewise.
38105         (slow2): Likewise.
38106         (sloww): Likewise.
38107         (sloww1); Likewise.
38108         (sloww2): Likewise.
38109         (bsloww1): Likewise.
38110         (bsloww2): Likewise.
38111         (cslow2): Likewise.
38112         (csloww): Likewise.
38113         (csloww1): Likewise.
38114         (csloww2): Likewise.
38116 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38118         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38119         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38120         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38121         * malloc/hooks.c (realloc_check): Likewise.
38123         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38124         * malloc/arena.c: Remove PER_THREAD conditional.
38125         [!PER_THREAD]: Remove code.
38126         (ptmalloc_unlock_all2): Likewise.
38127         (ptmalloc_init): Likewise.
38128         (_int_new_arena): Likewise.
38129         (arena_get2): Likewise.
38130         * malloc/hooks.c (__malloc_get_state): Likewise.
38131         (__malloc_set_state): Likewise.
38132         * malloc/malloc.c: Likewise.
38133         (struct malloc_state): Likewise.
38134         (struct malloc_par): Likewise.
38135         (__libc_realloc): Likewise.
38136         (__libc_mallopt): Likewise.
38138 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38140         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38142 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38144         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38145         macro to a function.  Check for zero perturb_byte.
38146         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38148         * malloc/malloc.c: (force_reg): Remove.
38149         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38150         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38151         force_reg by atomic_forced_read.
38152         * malloc/arena.c (ptmalloc_init): Likewise.
38153         * malloc/hooks.c (top_check): Likewise.
38155 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38159 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38161         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38163 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38165         * math/auto-libm-test-in: Add tests of lgamma.
38166         * math/auto-libm-test-out: Regenerated.
38167         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38168         (M_LOG_2_SQRT_PIl): Likewise.
38169         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38170         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38171         mpfr_f_f1.
38172         (func_calc_desc): Add mpfr_f_f1 union field.
38173         (ARGS1): New macro.
38174         (ARGS2): Likewise.
38175         (ARGS3): Likewise.
38176         (ARGS4): Likewise.
38177         (RET1): Likewise.
38178         (RET2): Likewise.
38179         (CALC): Likewise.
38180         (FUNC): Likewise.
38181         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38182         (test_functions): Add lgamma.
38183         (calc_generic_results): Handle mpfr_f_f1.
38184         * sysdeps/i386/fpu/libm-test-ulps: Update.
38185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38187 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38189         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38190         __mpn_add_n for PowerPC64/POWER7.
38191         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38192         __mpn_sub_n for PowerPC64/POWER7.
38194         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38195         __mpn_addmul_1 for PowerPC64.
38196         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38197         __mpn_submul_1 for PowerPC64.
38198         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38199         for PowerPC64.
38200         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38201         for PowerPC64.
38203 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38205         [BZ #15089]
38206         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38208 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38210         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38212         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38213         add multiarch folders.
38214         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38215         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38216         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38217         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38218         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38219         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38220         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38221         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38222         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38223         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38224         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38233         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38235         New file.
38236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38237         New file.
38238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38239         multiarch __ieee754_hypot for PowerPC32.
38240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38241         New file.
38242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38243         New file.
38244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38245         multiarch __ieee754_hypotf for PowerPC32.
38247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38248         long_double_symbol only if __logbl is defined.
38249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38250         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38251         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38252         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38254         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38255         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38256         path for implementation.
38257         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38260         logb, and logbl multiarch implementations for PowerPC32.
38261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38262         file.
38263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38264         file.
38265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38266         multiarch logb for PowerPC32.
38267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38268         file.
38269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38270         file.
38271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38272         multiarch logbf for PowerPC32.
38273         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38275         file.
38276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38277         multiarch logbl implementation for PowerPC32.
38279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38280         and modff multiarch implementations.
38281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38282         New file.
38283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38284         New file.
38285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38286         multiarch modf for PowerPC32.
38287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38288         New file.
38289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38290         New file.
38291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38292         multiarch modff for PowerPC32.
38294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38295         and lrintf multiarch implementations.
38296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38297         New file.
38298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38299         New file.
38300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38301         multiarch lrint for PowerPC32.
38302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38303         file: multiarch lrintf for PowerPC32.
38305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38306         and lroundf multiarch implementations.
38307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38308         New file.
38309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38310         New file.
38311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38312         New file.
38313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38314         multiarch lround for PowerPC32.
38315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38316         file: multiarch lroundf for PowerPC32.
38318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38319         copysign and copysignf multiarch implementations.
38320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38321         New file.
38322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38323         New file.
38324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38325         file: multiarch copysign for PowerPC32.
38326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38327         file: multiarch copysignf for PowerPC32.
38329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38330         and truncf multiarch implementations.
38331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38332         New file.
38333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38334         file.
38335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38336         multiarch trunc for PowerPC32.
38337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38338         New file.
38339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38340         New file.
38341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38342         multiarch truncf for PowerPC32.
38344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38345         and roundf multiarch implementations.
38346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38347         New file.
38348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38349         file.
38350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38351         multiarch round for PowerPC32.
38352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38353         New file.
38354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38355         New file.
38356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38357         multiarch roundf for PowerPC32.
38359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38360         and floorf multiarch implementations.
38361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38362         New file.
38363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38364         file.
38365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38366         multiarch floor for PowerPC32.
38367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38368         New file.
38369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38370         New file.
38371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38372         multiarch floorf for PowerPC32.
38374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38375         and ceilf multiarch implementations.
38376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38377         New file.
38378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38379         file.
38380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38381         multiarch ceil for PowerPC32.
38382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38383         New file.
38384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38385         file.
38386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38387         multiarch ceilf for PowerPC32.
38389         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38390         is defined.
38391         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38392         FINITEF is defined.
38393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38394         and finitef multiarch implementations.
38395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38396         New file.
38397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38398         file.
38399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38400         multiarch finite for PowerPC32.
38401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38402         New file.
38403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38404         file: multiarch finitef for PowerPC32.
38406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38407         and isinff multiarch implementations.
38408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38409         file.
38410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38411         file.
38412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38413         multiarch isinf for PowerPC32.
38414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38415         New file.
38416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38417         multiarch isinff for PowerPC32.
38419         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38420         alias when __isnan is defined.
38421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38422         and isnanf multiarch implementations.
38423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38424         file.
38425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38426         file.
38427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38428         file.
38429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38430         file.
38431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38432         multiarch isnan for PowerPC32.
38433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38434         New file.
38435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38436         New file.
38437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38438         multiarch isnanf for PowerPC32.
38440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38441         and sqrtf multiarch implementations.
38442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38443         file.
38444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38445         file.
38446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38447         multiarch sqrt for PowerPC32.
38448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38449         file.
38450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38451         file.
38452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38453         multiarch sqrtf for PowerPC32.
38455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38456         and llroundf multiarch implementations.
38457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38458         New file.
38459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38460         New file.
38461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38462         New file.
38463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38464         file: multiarch llround for PowerPC32.
38465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38466         file: multiarch llroundf for PowerPC32.
38468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38469         multiarch PowerPC32 fpu implementations.
38470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38471         New file.
38472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38473         New file.
38474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38475         multiarch llrint for PowerPC32.
38476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38477         New file.
38478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38479         New file.
38480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38481         file.
38483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38485         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38486         file.
38487         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38488         file.
38489         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38490         file.
38491         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38492         multiarch wordcopy for PPC32.
38493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38494         wordcopy objects.
38495         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38496         (__libc_ifunc_impl_list): Likewise.
38497         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38498         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38499         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38500         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38501         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38502         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38504         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38506         file.
38507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38508         file.
38509         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38510         file.
38511         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38512         multiarch wcscpy for PPC32.
38513         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38514         multiarch objects.
38515         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38516         (__libc_ifunc_impl_list): Likewise.
38517         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38518         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38519         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38520         sysdeps/powerpc/power6/wcscpy.c.
38522         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38523         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38524         file.
38525         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38526         file.
38527         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38528         file.
38529         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38530         multiarch wcsrchr for PPC32.
38531         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38532         multiarch objects.
38533         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38534         (__libc_ifunc_impl_list): Likewise.
38535         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38536         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38537         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38538         sysdeps/powerpc/power6/wcsrchr.c.
38540         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38541         file.
38542         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38543         file.
38544         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38546         multiarch wcschr for PPc32.
38547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38548         multiarch objects.
38549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38550         (__libc_ifunc_impl_list): Likewise.
38551         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38552         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38553         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38554         sysdeps/powerpc/power6/wcschr.c.
38556         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38557         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38558         file.
38559         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38560         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38561         file: multiarch strchr for PPC32.
38562         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38563         multiarch objects.
38564         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38565         (__libc_ifunc_impl_list): Likewise.
38567         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38568         name.
38569         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38570         file.
38571         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38572         file.
38573         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38574         multiarch strchrnul for PPC32.
38575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38576         multiarch objects.
38577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38578         (__libc_ifunc_impl_list): Likewise.
38580         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38581         file.
38582         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38583         multiarch strncasecmp for PPC32.
38584         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38585         file.
38586         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38587         multiarch strncasecmp_l for PPC32.
38588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38589         strncasecmp multiarch objects.
38590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38591         (__libc_ifunc_impl_list): Likewise.
38593         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38594         file.
38595         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38596         multiarch strncasecmp for PPC32.
38597         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38598         New file.
38599         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38600         multiarch strcasecmp_l for PPC32.
38601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38602         multiarch objects.
38603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38604         (__libc_ifunc_impl_list): Likewise.
38606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38607         file.
38608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38609         file.
38610         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38611         multiarch strncmp for PPC32.
38612         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38613         multiarch objects.
38614         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38615         (__libc_ifunc_impl_list): Likewise.
38617         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38618         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38619         file.
38620         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38621         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38623         multiarch objects.
38624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38625         (__libc_ifunc_impl_list): Likewise.
38627         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38628         file.
38629         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38630         file.
38631         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38633         multiarch objects.
38634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38635         (__libc_ifunc_impl_list): Likewise.
38637         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38638         file.
38639         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38640         file.
38641         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38642         multiarch rawmemchr for PPC32.
38643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38644         multiarch objects.
38645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38646         (__libc_ifunc_impl_list): Likewise.
38648         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38649         file.
38650         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38651         file.
38652         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38653         file: memrchr multiarch for PPC32.
38654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38655         multiarch objects.
38656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38657         (__libc_ifunc_impl_list): Likewise.
38659         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38660         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38661         file.
38662         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38663         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38664         multiarch memchr for PPC32.
38665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38666         multiarch objects.
38667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38668         (__libc_ifunc_impl_list): Likewise.
38670         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38671         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38672         file.
38673         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38674         file.
38675         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38676         file: multiarch mempcpy for PPC32.
38677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38678         multiarch objects.
38679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38680         (__libc_ifunc_impl_list): Likewise.
38682         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38683         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38684         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38685         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38686         multiarch bzero for PPC32.
38687         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38688         file.
38689         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38690         file.
38691         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38692         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38693         file: multiarch memset for PPC32.
38694         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38696         memset multiarch objects.
38697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38698         (__libc_ifunc_impl_list): Likewise.
38700         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38701         file.
38702         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38704         memcmp for PPC32.
38705         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38707         multiarch objects.
38708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38709         (__libc_ifunc_impl_list): Likewise.
38711         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38712         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38713         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38714         file.
38715         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38716         file.
38717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38718         file.
38719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38720         multiarch memcpy for PPC32.
38721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38722         multiarch objects.
38723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38724         (__libc_ifunc_impl_list): Likewise.
38726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38727         support multiarch for POWER/PPC32.
38728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38729         Likewise.
38730         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38732         Implies file to make multiarch folder appers before the fpu and
38733         default folder for power4 configuration.
38735 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38737         * scripts/bench.pl: Append volatile keyword to type.
38739 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38741         * sysdeps/sh/sotruss-lib.c: New file.
38742         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38744 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38748 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38750         [BZ #6810]
38751         * math/w_tgamma.c: Include <errno.h>.
38752         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38753         * math/w_tgammaf.c: Include <errno.h>.
38754         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38755         * math/w_tgammal.c: Include <errno.h>.
38756         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38757         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38758         underflow.  Add more tgamma tests.
38759         * math/auto-libm-test-out: Regenerated.
38760         * sysdeps/i386/fpu/libm-test-ulps: Update.
38761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38763         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38764         sin, sinh, tan, tanh, tgamma, y0 and y1.
38765         * math/auto-libm-test-out: Regenerated.
38766         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38767         (TEST_COND_x86): Likewise.
38768         (M_E2l): Remove macro.
38769         (M_E3l): Likewise.
38770         (M_2_SQRT_PIl): Likewise.
38771         (M_SQRT_PIl): Likewise.
38772         (M_1_DIV_El): Likewise.
38773         (log_test_data): Use AUTO_TESTS_f_f.
38774         (log10_test_data): Likewise.
38775         (log1p_test_data): Likewise.
38776         (log2_test_data): Likewise.
38777         (sin_test_data): Likewise.
38778         (sin_tonearest_test_data): Likewise.
38779         (sin_towardzero_test_data): Likewise.
38780         (sin_downward_test_data): Likewise.
38781         (sin_upward_test_data): Likewise.
38782         (sinh_test_data): Likewise.
38783         (sinh_tonearest_test_data): Likewise.
38784         (sinh_towardzero_test_data): Likewise.
38785         (sinh_downward_test_data): Likewise.
38786         (sinh_upward_test_data): Likewise.
38787         (tan_test_data): Likewise.
38788         (tan_tonearest_test_data): Likewise.
38789         (tan_towardzero_test_data): Likewise.
38790         (tan_downward_test_data): Likewise.
38791         (tan_upward_test_data): Likewise.
38792         (tanh_test_data): Likewise.
38793         (tgamma_test_data): Likewise.
38794         (y0_test_data): Likewise.
38795         (y1_test_data): Likewise.
38796         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38797         (special_real_inputs): Add pi/4.
38798         * sysdeps/i386/fpu/libm-test-ulps: Update.
38799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38801 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38803         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38804         "longjmp_target" static probes.
38805         (__longjmp): Rename to __longjmp_symbol.
38806         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38807         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38808         on which longjmp to generate.
38809         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38810         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38811         probe.
38812         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38813         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38814         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38815         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38816         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38817         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38819         __longjmp_symbol based on which __longjmp to generate.
38820         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38821         probe.
38822         (setjmp): Rename to setjmp_symbol.
38823         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38824         (_setjmp): Rename to _setjmp_symbol.
38825         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38826         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38827         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38828         which setjmp to generate.
38829         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38830         "longjmp_target" static probes.
38832 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38834         * benchtests/README: Add note about output arguments.
38835         * benchtests/bench-sincos.c: Remove file.
38836         * benchtests/sincos-inputs: New file.
38837         * scripts/bench.pl: Identify output arguments and define
38838         static variables for them.
38840         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
38842         [BZ #15941]
38843         * Makefile (INSTALL): Add install-plain.texi as the primary
38844         dependency.
38845         * manual/install-plain.texi: New file.
38846         * manual/install.texi: Include node directive only for
38847         non-plaintext output.
38849 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
38851         * stdlib/longlong.h: Update from GCC.
38853         [BZ #6807]
38854         [BZ #15901]
38855         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
38856         * math/w_j0f.c (y0f): Likewise.
38857         * math/w_j0l.c (__y0l): Likewise.
38858         * math/w_j1.c (y1): Likewise.
38859         * math/w_j1f.c (y1f): Likewise.
38860         * math/w_j1l.c (__y1l): Likewise.
38861         * math/w_jn.c (yn): Likewise.
38862         * math/w_jnf.c (ynf): Likewise.
38863         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
38864         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
38865         value for Bessel function domain errors outside _SVID_ mode.
38866         Adjust sign of return value for yn (negative integer, 0).
38867         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
38868         by zero in return for negative x and set sign appropriately for
38869         negative n.
38870         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
38871         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38872         * math/libm-test.inc (y0_test_data): Add more tests and adjust
38873         expectations in error cases.
38874         (y1_test_data): Likewise.
38875         (yn_test_data): Likewise.
38876         * sysdeps/i386/fpu/libm-test-ulps: Update.
38877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38879 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38881         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
38882         "64" to "64-v1".  Add "64-v2".
38883         (abi-64-options): Rename to ...
38884         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
38885         (abi-64-condition): Rename to ...
38886         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
38887         (abi-64-ld-soname): Rename to ...
38888         (abi-64-v1-ld-soname): ... this.
38889         (abi-64-v2-options): Define.
38890         (abi-64-v2-condition): Likewise.
38891         (abi-64-v2-ld-soname): Likewise.
38892         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
38893         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
38894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
38896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
38898 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38899             Alan Modra  <amodra@gmail.com>
38901         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
38902         New versions for use with the ELFv2 ABI.
38903         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
38904         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
38905         declaration.
38906         (struct La_ppc64v2_retval): Likewise.
38907         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
38908         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
38909         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
38910         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
38911         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
38912         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38913         Do not save or restore CR.
38914         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
38915         (_dl_profile_resolve): Do no save or restore CR.  Support extended
38916         return values for ELFv2 ABI.  Fix location of FPR return registers.
38917         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
38918         updated values for _CALL_ELF == 2.
38919         (La_regs, La_retval, int_retval): Likewise.
38921 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38923         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
38924         (FRAME_MIN_SIZE_PARM): Likewise.
38925         (FRAME_BACKCHAIN): Likewise.
38926         (FRAME_CR_SAVE): Likewise.
38927         (FRAME_LR_SAVE): Likewise.
38928         (FRAME_TOC_SAVE): Likewise.
38929         (FRAME_PARM_SAVE): Likewise.
38930         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
38931         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
38932         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38933         (call_mcount_parm_offset): New macro.
38934         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
38935         (PROF): Use symbolic stack frame offsets.
38936         (TAIL_CALL_SYSCALL_ERROR): Likewise.
38937         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
38938         Redefine in terms of FRAME_MIN_SIZE.
38939         (_dl_runtime_resolve): Use symbolic stack frame offsets.
38940         (_dl_profile_resolve): Likewise.  Update comment.
38941         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
38942         symbols stack frame offsets.
38943         (__sigsetjmp): Likewise.
38944         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
38945         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
38946         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
38947         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
38950         (FRAME_BACKCHAIN): Remove.
38951         (FRAME_CR_SAVE): Likewise.
38952         (FRAME_LR_SAVE): Likewise.
38953         (FRAME_COMPILER_DW): Likewise.
38954         (FRAME_LINKER_DW): Likewise.
38955         (FRAME_TOC_SAVE): Likewise.
38956         (FRAME_PARM_SAVE): Likewise.
38957         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
38958         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
38959         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
38960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
38961         (CHECK_SP): Use symbolic stack frame offsets.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
38963         zone" instead of caller's parameter save area for temp storage.
38964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38965         Likewise.  Also, use symbolic stack frame offsets.
38966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
38967         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
38968         our own stack frame instead of the caller's.
38969         (__socket): Use symbolic stack frame offsets.
38971 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38972             Alan Modra  <amodra@gmail.com>
38974         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
38975         Define.
38976         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
38977         (PPC64_LOCAL_ENTRY_OFFSET): Define.
38978         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
38979         New function.
38980         (elf_machine_fixup_plt): Call it.
38981         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
38982         reloc arguments.
38983         (elf_machine_rela): Update call to elf_machine_plt_conflict.
38984         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
38985         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
38986         r2 before calling target.
38988 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
38989             Alan Modra  <amodra@gmail.com>
38991         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
38992         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
38993         versions of macros to support ELFv2 ABI.
38994         (LOCALENTRY): New macro.
38995         (ENTRY, EALIGN): Use it.
38996         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
38997         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
38998         fall through into ENTRY entry point.
38999         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39000         Only define if _CALL_ELF != 2.
39002         (elf_machine_matches_host): Verify ABI version matches.
39003         (RTLD_START): Use LOCALENTRY.
39004         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39005         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39006         (PLT_ENTRY_WORDS): New macro.
39007         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39008         (elf_machine_runtime_setup): Support ELFv2 ABI.
39009         (elf_machine_fixup_plt): Likewise.
39010         (elf_machine_plt_conflict): Likewise.
39011         (resolve_ifunc): Likewise.
39012         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39013         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39014         Likewise.
39015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39016         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39018         (makecontext): Support ELFv2 ABI.
39019         * elf/elf.h (EF_PPC64_ABI): Define.
39021 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39023         * sysdeps/powerpc/powerpc64/sysdep.h
39024         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39025         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39026         (ENTRY) [ASSEMBLER]: ... but instead here ...
39027         (EALIGN) [ASSEMBLER]: ... and here.
39028         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39029         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39030         (ENTRY_2) [!ASSEMBLER]: Use it.
39031         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39032         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39033         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39034         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39035         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39037         Use PPC64_LOAD_FUNCPTR.
39039         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39041 2013-12-04  Alan Modra  <amodra@gmail.com>
39043         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39044         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39045         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39046         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39048         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39049         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39050         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39051         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39052         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39053         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39055 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39058         (__makecontext): Fix incorrect CFI when backtracing out of
39059         context created via makecontext.
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39061         (__setcontext): Fix incorrect CFI during switch to new context.
39062         (__novec_setcontext): Likewise.
39064 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39066         [BZ #4772]
39067         * time/strptime_l.c (__strptime_internal): Allow modifiers
39068         in strptime.
39069         * time/tst-strptime.c (day_tests): Add testcase.
39071 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39073         * scripts/bench.pl: Skip over blank lines.
39075 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39077         [BZ #926]
39078         * manual/time.texi (Calendar Time): Clarify what timezone functions
39079         use.
39081 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39085 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39087         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39088         implementation.
39089         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39090         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39091         * debug/memset_chk.c (__memset_chk): Likewise.
39092         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39093         * debug/strncpy_chk.c: Likewise.
39095 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #15268]
39098         [BZ #15425]
39099         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39100         (__ieee754_exp): For possibly underflowing results, check size of
39101         result and force underflow exception if required.
39102         * math/auto-libm-test-in: Add more tests of exp.
39103         * math/auto-libm-test-out: Regenerated.
39104         * sysdeps/i386/fpu/libm-test-ulps: Update.
39105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39107         [BZ #16283]
39108         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39109         * math/w_exp2f.c (__exp2f): Likewise.
39110         * math/w_exp2l.c (__exp2l): Likewise.
39111         * math/auto-libm-test-in: Do not allow missing errno on exp2
39112         underflow.
39113         * math/auto-libm-test-out: Regenerated.
39115 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39117         [BZ #16274]
39118         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39119         handle filename validation.
39120         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39121         (do_open): Delete.
39123 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39125         [BZ #6786]
39126         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39127         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39128         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39129         <float.h>.
39130         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39131         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39132         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39133         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39134         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39135         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39136         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39137         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39138         Add more erfc tests.
39139         * math/auto-libm-test-out: Regenerated.
39140         * sysdeps/i386/fpu/libm-test-ulps: Update.
39141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39143         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39144         exp2, expm1, j0 and j1.
39145         * math/auto-libm-test-out: Regenerated.
39146         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39147         (erfc_test_data): Likewise.
39148         (exp_test_data): Likewise.
39149         (exp_tonearest_test_data): Likewise.
39150         (exp_towardzero_test_data): Likewise.
39151         (exp_downward_test_data): Likewise.
39152         (exp_upward_test_data): Likewise.
39153         (exp10_test_data): Likewise.
39154         (exp2_test_data): Likewise.
39155         (expm1_test_data): Likewise.
39156         (j0_test_data): Likewise.
39157         (j1_test_data): Likewise.
39158         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39159         (input_flag_type): Add flag_xfail_rounding.
39160         (input_flags): Add xfail-rounding.
39161         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39162         (output_for_one_input_case): Handle flag_xfail_rounding.
39163         * sysdeps/i386/fpu/libm-test-ulps: Update.
39164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39166 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39168         [BZ #16289]
39169         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39170         division by 0.
39172 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39174         [BZ #16195]
39175         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39176         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39177         (STAP_PROBE0): New macro.
39178         (STAP_PROBE1): Likewise.
39179         (STAP_PROBE2): Likewise.
39180         (STAP_PROBE3): Likewise.
39181         (STAP_PROBE4): Likewise.
39183 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39185         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39187 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39189         * benchtests/Makefile (bench): Add sqrt.
39190         (LDLIBS-bench-sqrt): New.
39191         * benchtests/sqrt-input: New.
39193 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39195         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39196         (GAIH_EAI): Likewise.
39197         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39198         (gaih_inet): Likewise.
39199         (getaddrinfo): Don't use GAIH_EAI.
39201         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39202         (struct gaih): Remove definition.
39204 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39206         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39207         Use HERRNOP directly.
39209 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39213 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39215         * math/gen-auto-libm-tests.c (test_functions): Add more
39216         single-argument functions.
39217         (special_fill_pi_2): New function.
39218         (special_fill_minus_pi_2): Likewise.
39219         (special_fill_pi_6): Likewise.
39220         (special_fill_minus_pi_6): Likewise.
39221         (special_fill_pi_3): Likewise.
39222         (special_fill_2pi_3): Likewise.
39223         (special_fill_e): Likewise.
39224         (special_fill_1_e): Likewise.
39225         (special_fill_e_minus_1): Likewise.
39226         (special_real_inputs): Add more special inputs.
39227         (output_for_one_input_case): Do not require ERANGE on underflow to
39228         zero if round-to-nearest result does not underflow to zero, unless
39229         exact results required.
39230         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39231         atan, atanh, cbrt, cos and cosh.
39232         * math/auto-libm-test-out: Regenerated.
39233         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39234         (acos_tonearest_test_data): Likewise.
39235         (acos_towardzero_test_data): Likewise.
39236         (acos_downward_test_data): Likewise.
39237         (acos_upward_test_data): Likewise.
39238         (acosh_test_data): Likewise.
39239         (asin_test_data): Likewise.
39240         (asin_tonearest_test_data): Likewise.
39241         (asin_towardzero_test_data): Likewise.
39242         (asin_upward_test_data): Likewise.
39243         (asinh_test_data): Likewise.
39244         (atan_test_data): Likewise.
39245         (atanh_test_data): Likewise.
39246         (cbrt_test_data): Likewise.
39247         (cos_test_data): Likewise.
39248         (cos_tonearest_test_data): Likewise.
39249         (cos_towardzero_test_data): Likewise.
39250         (cos_downward_test_data): Likewise.
39251         (cos_upward_test_data): Likewise.
39252         (cosh_test_data): Likewise.
39253         (cosh_tonearest_test_data): Likewise.
39254         (cosh_towardzero_test_data): Likewise.
39255         (cosh_downward_test_data): Likewise.
39256         (cosh_upward_test_data): Likewise.
39257         * sysdeps/i386/fpu/libm-test-ulps: Update.
39258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39260 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39262         [BZ #6787]
39263         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39264         * math/w_exp10f.c (__exp10f): Likewise.
39265         * math/w_exp10l.c (__exp10l): Likewise.
39266         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39267         errno settings in existing tests.
39269         [BZ #14032]
39270         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39271         precision control set to double precision.
39272         * sysdeps/i386/fpu/w_sqrt.c: New file.
39273         * math/auto-libm-test-in: Add more tests.
39274         * math/auto-libm-test-out: Update.
39276         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39277         (sqrt_test_tonearest): New function.
39278         (sqrt_towardzero_test_data): New variable.
39279         (sqrt_test_towardzero): New function.
39280         (sqrt_downward_test_data): New variable.
39281         (sqrt_test_downward): New function.
39282         (sqrt_upward_test_data): New variable.
39283         (sqrt_test_upward): New function.
39284         (main): Call the new functions.
39286         * math/gen-auto-libm-tests.c: New file.
39287         * math/auto-libm-test-in: Likewise.
39288         * math/auto-libm-test-out: New generated file.
39289         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39290         variables.
39291         (%beautify): Add generated representations of zero.
39292         (top level): Set $auto_input and call parse_auto_input.
39293         (beautify): Remove trailing "f" from hex float constants.
39294         (parse_args): Handle XFAIL_TEST.
39295         (convert_condition): New function.
39296         (or_value): Likewise.
39297         (or_cond_value): Likewise.
39298         (generate_testfile): Handle AUTO_TESTS_* lines.
39299         (parse_auto_input): New function.
39300         * math/libm-test.inc (XFAIL_TEST): New macro.
39301         (ERRNO_UNCHANGED): Update value.
39302         (ERRNO_EDOM): Likewise.
39303         (ERRNO_ERANGE): Likewise.
39304         (IGNORE_RESULT): Likewise.
39305         (TEST_COND_flt_32): New macro.
39306         (TEST_COND_dbl_64): Likewise.
39307         (TEST_COND_ldbl_96_intel): Likewise.
39308         (TEST_COND_ldbl_96_m68k): Likewise.
39309         (TEST_COND_ldbl_128): Likewise.
39310         (TEST_COND_ldbl_128ibm): Likewise.
39311         (TEST_COND_long32): Likewise.
39312         (TEST_COND_long64): Likewise.
39313         (TEST_COND_before_rounding): Likewise.
39314         (TEST_COND_after_rounding): Likewise.
39315         (enable_test): Handle XFAIL_TEST flag.
39316         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39317         with finite results.
39318         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39319         auto-libm-test-out.
39321 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39322             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39324         [BZ #16214]
39325         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39326         __tls_get_addr_internal instead of __tls_get_offset in order to
39327         avoid GOT pointer dependency.  Make rtld export
39328         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39329         __tls_get_addr since we are a __tls_get_offset platform.
39330         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39331         GOT pointer being set up before.
39332         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39334 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39336         * manual/math.texi (Errors in Math Functions): Document accuracy
39337         goals.
39339         [BZ #15004]
39340         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39341         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39342         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39343         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39344         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39345         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39346         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39347         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39348         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39349         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39350         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39351         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39352         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39353         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39354         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39355         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39357         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39358         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39359         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39360         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39361         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39362         Likewise.
39363         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39364         Likewise.
39365         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39366         Likewise.
39367         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39368         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39369         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39370         atomic-feupdateenv and flt-rounds.
39371         * sysdeps/powerpc/nofpu/Versions (libc): Add
39372         __atomic_feholdexcept, __atomic_feclearexcept,
39373         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39374         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39375         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39376         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39377         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39378         here.
39379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39380         Update.
39382         * manual/arith.texi (FP Exceptions): Document that exceptions may
39383         not be raised when matherr is used.
39384         (Math Error Reporting): Document overflow in directed rounding
39385         modes.  Document that errno may not be set when finite values are
39386         returned on overflow.  Document intent to set errno on underflow
39387         only for underflow to zero.
39389         [BZ #16271]
39390         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39391         round-to-nearest then adjust result for other rounding modes.
39392         * include/fenv.h (fegetround): Use libm_hidden_proto.
39393         * math/fegetround.c (fegetround): Use libm_hidden_def.
39394         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39395         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39396         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39397         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39398         Likewise.
39399         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39400         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39401         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39402         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39404 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39406         [BZ #16077]
39407         * nss/Versions (libnss_files): Add
39408         _nss_files_gethostbyname3_r.
39409         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39410         New function.
39411         (HOST_DB_LOOKUP): Remove macro.
39412         (_nss_files_gethostbyname_r): Implement function without the
39413         HOST_DB_LOOKUP macro.
39414         (_nss_files_gethostbyname2_r): Likewise.
39416 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39418         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39420 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39422         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39423         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39424         warning.
39426 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39428         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39429         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39430         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39431         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39432         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39433         __fe_nomask_env_priv and attribute_hidden.
39434         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39435         (libc_feupdateenv_test_ppc): Likewise.
39436         (libc_feresetround_ppc): Likewise.
39437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39438         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39439         compat_symbol macro.
39440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39441         (__fe_nomask_env): Likewise.
39442         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39444 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39446         * string/Makefile: Remove ifunc tests.
39447         * string/test-string.h: Define TEST_IFUNC.
39448         * string/test-bcopy-ifunc.c: Remove.
39449         * string/test-bzero-ifunc.c: Likewise.
39450         * string/test-memccpy-ifunc.c: Likewise.
39451         * string/test-memchr-ifunc.c: Likewise.
39452         * string/test-memcmp-ifunc.c: Likewise.
39453         * string/test-memcpy-ifunc.c: Likewise.
39454         * string/test-memmem-ifunc.c: Likewise.
39455         * string/test-memmove-ifunc.c: Likewise.
39456         * string/test-mempcpy-ifunc.c: Likewise.
39457         * string/test-memrchr-ifunc.c: Likewise.
39458         * string/test-memset-ifunc.c: Likewise.
39459         * string/test-rawmemchr-ifunc.c: Likewise.
39460         * string/test-stpcpy-ifunc.c: Likewise.
39461         * string/test-stpncpy-ifunc.c: Likewise.
39462         * string/test-strcasecmp-ifunc.c: Likewise.
39463         * string/test-strcasestr-ifunc.c: Likewise.
39464         * string/test-strcat-ifunc.c: Likewise.
39465         * string/test-strchr-ifunc.c: Likewise.
39466         * string/test-strchrnul-ifunc.c: Likewise.
39467         * string/test-strcmp-ifunc.c: Likewise.
39468         * string/test-strcpy-ifunc.c: Likewise.
39469         * string/test-strcspn-ifunc.c: Likewise.
39470         * string/test-strlen-ifunc.c: Likewise.
39471         * string/test-strncasecmp-ifunc.c: Likewise.
39472         * string/test-strncat-ifunc.c: Likewise.
39473         * string/test-strncmp-ifunc.c: Likewise.
39474         * string/test-strncpy-ifunc.c: Likewise.
39475         * string/test-strnlen-ifunc.c: Likewise.
39476         * string/test-strpbrk-ifunc.c: Likewise.
39477         * string/test-strrchr-ifunc.c: Likewise.
39478         * string/test-strspn-ifunc.c: Likewise.
39479         * string/test-strstr-ifunc.c: Likewise.
39481 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39483         * benchtests/Makefile: Remove ifunc tests.
39484         * benchtests/bench-string.h: Define TEST_IFUNC.
39485         * benchtests/bench-bcopy-ifunc.c: Remove.
39486         * benchtests/bench-bzero-ifunc.c: Likewise.
39487         * benchtests/bench-memccpy-ifunc.c: Likewise.
39488         * benchtests/bench-memchr-ifunc.c: Likewise.
39489         * benchtests/bench-memcmp-ifunc.c: Likewise.
39490         * benchtests/bench-memcpy-ifunc.c: Likewise.
39491         * benchtests/bench-memmem-ifunc.c: Likewise.
39492         * benchtests/bench-memmove-ifunc.c: Likewise.
39493         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39494         * benchtests/bench-memrchr-ifunc.c: Likewise.
39495         * benchtests/bench-memset-ifunc.c: Likewise.
39496         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39497         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39498         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39499         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39500         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39501         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39502         * benchtests/bench-strcat-ifunc.c: Likewise.
39503         * benchtests/bench-strchr-ifunc.c: Likewise.
39504         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39505         * benchtests/bench-strcmp-ifunc.c: Likewise.
39506         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39507         * benchtests/bench-strcpy-ifunc.c: Likewise.
39508         * benchtests/bench-strcspn-ifunc.c: Likewise.
39509         * benchtests/bench-strlen-ifunc.c: Likewise.
39510         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39511         * benchtests/bench-strncat-ifunc.c: Likewise.
39512         * benchtests/bench-strncmp-ifunc.c: Likewise.
39513         * benchtests/bench-strncpy-ifunc.c: Likewise.
39514         * benchtests/bench-strnlen-ifunc.c: Likewise.
39515         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39516         * benchtests/bench-strrchr-ifunc.c: Likewise.
39517         * benchtests/bench-strsep-ifunc.c: Likewise.
39518         * benchtests/bench-strspn-ifunc.c: Likewise.
39519         * benchtests/bench-strstr-ifunc.c: Likewise.
39521 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39523         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39525 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39527         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39528         * rt/aio.h: Likewise.
39529         * sysdeps/gnu/bits/utmp.h: Likewise.
39530         * sysdeps/gnu/bits/utmpx.h: Likewise.
39531         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39532         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39533         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39534         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39535         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39536         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39537         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39538         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39539         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39540         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39541         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39542         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39543         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39545         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39546         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39547         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39548         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39549         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39550         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39551         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39552         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39553         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39554         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39555         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39556         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39557         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39558         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39559         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39560         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39561         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39562         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39563         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39564         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39565         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39566         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39567         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39568         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39569         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39570         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39571         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39572         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39574 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39576         [BZ #16245]
39577         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39578         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39580 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39582         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39583         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39584         Likewise.
39586 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39588         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39589         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39590         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39591         (__fesetround): Remove define.
39592         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39593         rounding and exceptions handling.
39594         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39595         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39596         (__fe_nomask_env): Likewise.
39597         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39598         __fegetround instead of fegetround.
39599         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39600         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39602 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39604         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39605         it's there.
39607         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39609 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39611         [BZ #11157]
39612         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39613         (encrypt_r): Likewise.
39614         * malloc/obstack.h (obstack_free): Likewise.
39615         * posix/unistd.h (encrypt): Likewise.
39617 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39619         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39620         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39621         DL_CALL_DT_FINI() that call the functions directly.
39622         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39623         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39624         * elf/dl-fini.c: Likewise.
39626 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39628         * malloc/hooks.c (memalign_check): Add alignment rounding.
39629         * malloc/malloc.c (_mid_memalign): New function.
39630         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39631         Implement by calling _mid_memalign.
39632         * manual/probes.texi (Memory Allocation Probes): Remove
39633         memory_valloc_retry and memory_pvalloc_retry.
39635 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39637         * locale/programs/locarchive.c (open_archive): Add const
39638         qualifier to ARCHIVEFNAME and copy default fname to
39639         DEFAULT_FNAME.
39641         [BZ #15601]
39642         * libio/tst-widetext.input: Rename Oriya to Odia.
39643         * locale/iso-639.def: Likewise.
39645         * manual/probes.texi (Mathematical Function Probes): Add
39646         documentation for sin, cos, asin and acos probes.
39647         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39648         (__sin32): Add slowasin probe.
39649         (__cos32): Add slowacos probe.
39650         (__mpsin): Add slowsin probe.
39651         (__mpcos): Add slowcos probe.
39653 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39655         [BZ #15483]
39656         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39657         thread-local __sim_exceptions_thread and global
39658         __sim_exceptions_global.
39659         (__sim_disabled_exceptions): Change to thread-local
39660         __sim_disabled_exceptions_thread and global
39661         __sim_disabled_exceptions_global.
39662         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39663         and global __sim_round_mode_global.
39664         (__simulate_exceptions): Use thread-local floating-point state and
39665         set global state from it as needed.
39666         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39667         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39668         __sim_round_mode_thread.
39669         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39670         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39671         and global __sim_exceptions_global.
39672         (__sim_disabled_exceptions): Change to thread-local
39673         __sim_disabled_exceptions_thread and global
39674         __sim_disabled_exceptions_global.
39675         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39676         and global __sim_round_mode_global.
39677         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39678         (SIM_SET_GLOBAL): Likewise.
39679         * sysdeps/powerpc/soft-fp/sfp-machine.h
39680         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39681         __sim_round_mode_thread.
39682         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39683         __sim_disabled_exceptions_thread.
39684         (__sim_exceptions): Change to __sim_exceptions_thread.
39685         (__sim_disabled_exceptions): Change to
39686         __sim_disabled_exceptions_thread.
39687         (__sim_round_mode): Change to __sim_round_mode_thread.
39688         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39689         thread-local floating-point state and set global state from it as
39690         needed.
39691         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39692         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39693         (__sim_disabled_exceptions): Remove extern declaration.
39694         (feenableexcept): Use thread-local floating-point state and set
39695         global state from it as needed.
39696         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39697         extern declaration.
39698         (__sim_disabled_exceptions): Likewise.
39699         (__sim_round_mode): Likewise.
39700         (__fegetenv): Use thread-local floating-point state.
39701         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39702         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39703         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39704         floating-point state and set global state from it as needed.
39705         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39706         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39707         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39708         Likewise.
39709         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39710         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39711         Likewise.
39712         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39713         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39714         Use __sim_round_mode_thread.
39715         * math/test-fenv-tls.c: New file.
39716         * math/Makefile (tests): Add test-fenv-tls.
39717         ($(objpfx)test-fenv-tls): Depend on
39718         $(common-objpfx)nptl/libpthread.so.
39720 2013-11-19  Andreas Schwab  <schwab@suse.de>
39722         * locale/programs/locale.c (show_info): Decode wordarray elements.
39723         * locale/categories.def (LC_MONETARY): Add element for
39724         _NL_MONETARY_CRNCYSTR.
39725         * locale/C-monetary.c (conversion_rate): New variable.
39726         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39727         element.
39729 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39731         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39732         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39734 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39736         * elf/Makefile (tst-auxv): New test.
39737         * elf/tst-auxv.c: New
39738         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39740 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39742         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39743         (hidden_proto): Caller changed.
39744         (hidden_tls_proto): New macro.
39745         (libc_hidden_tls_proto): Likewise.
39746         (rtld_hidden_tls_proto): Likewise.
39747         (libm_hidden_tls_proto): Likewise.
39748         (libresolv_hidden_tls_proto): Likewise.
39749         (librt_hidden_tls_proto): Likewise.
39750         (libdl_hidden_tls_proto): Likewise.
39751         (libnss_files_hidden_tls_proto): Likewise.
39752         (libnsl_hidden_tls_proto): Likewise.
39753         (libnss_nisplus_hidden_tls_proto): Likewise.
39754         (libutil_hidden_tls_proto): Likewise.
39756 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39758         [BZ #10253]
39759         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39760         (decompose_rpath): Defer expansion to fillin_rpath.
39761         (_dl_init_paths): Pass linkmap to fillin_rpath.
39763 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39765         * benchtests/Makefile: Add strsep.
39766         * benchtests/bench-strsep.c: New file: strsep benchtest.
39767         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39769 2013-11-18  Andreas Schwab  <schwab@suse.de>
39771         * locale/programs/locale.c (show_info) [case byte]: Check for
39772         '\377' instead of '\177'.
39773         * locale/C-monetary.c (not_available): Always use "\377".
39774         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39775         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39776         detect unavailable sign_posn locale elements.
39777         * locale/localeconv.c (__localeconv): For grouping and
39778         mon_grouping handle "\177" and "\377" like no grouping.
39779         (INT_ELEM): New macro.  Use it to set all numeric members.
39780         * locale/programs/ld-monetary.c (monetary_read)
39781         <tok_mon_grouping>: Normalize single -1 to the empty string.
39782         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39783         Likewise.
39785 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39787         [BZ #16055]
39788         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39789         when we match (nil).
39790         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39792 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39794         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39795         (NO_TEST_INLINE): Update value.
39796         (ERRNO_UNCHANGED): Likewise.
39797         (ERRNO_EDOM): Likewise.
39798         (ERRNO_ERANGE): Likewise.
39799         (IGNORE_RESULT): Likewise.
39800         (check_float_internal): Check signs of NaN results if
39801         TEST_NAN_SIGN used.
39802         (check_complex): Pass TEST_NAN_SIGN flag through to second
39803         check_float_internal call.
39804         (copysign_test_data): Add tests with quiet NaNs as second
39805         argument.  Use TEST_NAN_SIGN.
39806         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39807         TEST_NAN_SIGN.
39808         (signbit_test_data): Add tests of quiet NaN argument.
39809         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39811         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39812         $ignore_result.
39813         (parse_args): Handle function results specified as IGNORE.
39814         * math/libm-test.inc (IGNORE_RESULT): New macro.
39815         (check_float_internal): Do not check numerical result if flag
39816         IGNORE_RESULT set.
39817         (check_complex): Pass through IGNORE_RESULT to second
39818         check_float_internal call.
39819         (check_int): Do not check numerical result if flag IGNORE_RESULT
39820         set.
39821         (check_long): Likewise.
39822         (check_bool): Likewise.
39823         (check_longlong): Likewise.
39824         (lrint_test_data): Add tests of infinite and NaN arguments.
39825         (lrint_tonearest_test_data): Likewise.
39826         (lrint_towardzero_test_data): Likewise.
39827         (lrint_downward_test_data): Likewise.
39828         (lrint_upward_test_data): Likewise.
39829         (llrint_test_data): Likewise.
39830         (llrint_tonearest_test_data): Likewise.
39831         (llrint_towardzero_test_data): Likewise.
39832         (llrint_downward_test_data): Likewise.
39833         (llrint_upward_test_data): Likewise.
39834         (lround_test_data): Likewise.
39835         (llround_test_data): Likewise.
39837         * math/libm-test.inc (NO_TEST_INLINE): New macro.
39838         (ERRNO_UNCHANGED): Update value.
39839         (ERRNO_EDOM): Likewise.
39840         (ERRNO_ERANGE): Likewise.
39841         (NO_TEST_INLINE_FLOAT): New macro.
39842         (NO_TEST_INLINE_DOUBLE): Likewise.
39843         (enable_test): New function.
39844         (RUN_TEST_f_f): Check enable_test before running test.
39845         (RUN_TEST_2_f): Likewise.
39846         (RUN_TEST_fff_f): Likewise.
39847         (RUN_TEST_c_f): Likewise.
39848         (RUN_TEST_f_f1): Likewise.
39849         (RUN_TEST_fF_f1): Likewise.
39850         (RUN_TEST_fI_f1): Likewise.
39851         (RUN_TEST_ffI_f1): Likewise.
39852         (RUN_TEST_c_c): Likewise.
39853         (RUN_TEST_cc_c): Likewise.
39854         (RUN_TEST_f_i): Likewise.
39855         (RUN_TEST_f_i_tg): Likewise.
39856         (RUN_TEST_ff_i_tg): Likewise.
39857         (RUN_TEST_f_b): Likewise.
39858         (RUN_TEST_f_b_tg): Likewise.
39859         (RUN_TEST_f_l): Likewise.
39860         (RUN_TEST_f_L): Likewise.
39861         (RUN_TEST_fFF_11): Likewise.
39862         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
39863         conditionals.
39864         (cosh_test_data): Likewise.
39865         (exp_test_data): Likewise.
39866         (expm1_test_data): Likewise.
39867         (hypot_test_data): Likewise.
39868         (pow_test_data): Likewise.
39869         (sinh_test_data): Likewise.
39870         (tanh_test_data): Likewise.
39871         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
39872         flags argument.
39874         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
39875         tests with quiet NaN input and output.
39876         (acosh_test_data): Likewise.
39877         (asin_test_data): Likewise.
39878         (asinh_test_data): Likewise.
39879         (atan_test_data): Likewise.
39880         (atanh_test_data): Likewise.
39881         (atan2_test_data): Likewise.
39882         (cbrt_test_data): Likewise.
39883         (cos_test_data): Likewise.
39884         (cosh_test_data): Likewise.
39885         (erf_test_data): Likewise.
39886         (erfc_test_data): Likewise.
39887         (exp_test_data): Likewise.
39888         (exp10_test_data): Likewise.
39889         (exp2_test_data): Likewise.
39890         (expm1_test_data): Likewise.
39891         (hypot_test_data): Likewise.
39892         (j0_test_data): Likewise.
39893         (j1_test_data): Likewise.
39894         (jn_test_data): Likewise.
39895         (lgamma_test_data): Likewise.
39896         (log_test_data): Likewise.
39897         (log10_test_data): Likewise.
39898         (log1p_test_data): Likewise.
39899         (log2_test_data): Likewise.
39900         (pow_test_data): Likewise.
39901         (scalb_test_data): Likewise.
39902         (sin_test_data): Likewise.
39903         (sincos_test_data): Likewise.
39904         (sinh_test_data): Likewise.
39905         (tan_test_data): Likewise.
39906         (tanh_test_data): Likewise.
39907         (tgamma_test_data): Likewise.
39908         (y0_test_data): Likewise.
39909         (y1_test_data): Likewise.
39910         (yn_test_data): Likewise.
39912         [BZ #16167]
39913         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
39914         argument being NaN and avoid computations with second argument in
39915         that case.
39916         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39917         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39918         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39920 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
39922         * locale/iso-639.def: Add Chitwani Tharu (the).
39924 2013-11-14  Andreas Schwab  <schwab@suse.de>
39926         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
39927         word instead of empty string.
39929 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39932         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
39933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39934         (__fe_nomask_env): Likewise.
39936 2013-11-13  Steve Ellcey  <sellcey@mips.com>
39938         * benchtests/bench-timing.h: Include time.h.
39940 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
39942         [BZ #15997]
39943         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
39944         to 3.4.0 for x32.
39945         * sysdeps/unix/sysv/linux/configure: Regenerated.
39947 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
39949         [BZ #16151]
39950         * stdlib/strtod_l.c (round_and_return): Do not consider
39951         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
39952         exponent one less than half the least subnormal exponent.
39953         * stdlib/test-strtod-round-data: Add more tests.
39954         * stdlib/tst-strtod-round.c (tests): Regenerated.
39956 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39958         [BZ #14143]
39959         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
39960         (__fe_mask_env): Likewise.
39961         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39962         libm_hidden_proto and add function prototype.
39963         (__fe_mask_env): Add function prototype.
39964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39965         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
39966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39967         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
39968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39969         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
39971 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39973         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
39974         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
39976 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39978         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
39979         of htab_find_slot().
39981 2013-11-11  David S. Miller  <davem@davemloft.net>
39983         [BZ #16150]
39984         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
39985         symbol in the non-vis3 case in static builds.
39986         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
39987         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
39988         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
39989         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
39991 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
39993         [BZ #387]
39994         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
39995         it is empty.
39997 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39999         * benchtests/Makefile: Add bench-strtod.
40000         * benchtests/bench-strtod.c: New file: strtod benchtest
40002 2013-11-11  Andreas Schwab  <schwab@suse.de>
40004         [BZ #16153]
40005         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40006         terminating NUL in key length.
40008 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40010         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40011         Add artificial ODP entry for vDSO symbol for PPC64.
40012         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40013         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40015 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40017         [BZ #15374]
40018         * nss/getent.c (services_keys): Recognize services starting with digit.
40020 2013-11-06  David S. Miller  <davem@davemloft.net>
40022         [BZ #15985]
40023         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40024         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40026 2013-11-06  Will Newton  <will.newton@linaro.org>
40028         * manual/memory.texi (Malloc Examples): Remove register
40029         keyword from examples.
40031 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40033         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40035 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40037         [BZ #6981]
40038         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40039         depending on [__GCC_IEC_559 > 0].
40040         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40041         depending on [__GCC_IEC_559_COMPLEX > 0].
40043 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40045         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40046         to iso-639.def.
40048 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40050         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40052 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40054         [BZ #16112]
40055         * malloc/malloc (malloc_info): Do not handle first bin as
40056         special case.
40058 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40060         * locale/iso-639.def: Add Central Nahuatl (nhn).
40062 2013-11-01  Bruno Haible  <bruno@clisp.org>
40064         [BZ #7003]
40065         * manual/math.texi (BSD Random): Specify range upper bound as
40066         in POSIX.
40068 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40070         * locale/iso-639.def: Add Meadow Mari (mhr).
40072 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40074         [BZ #14752], [BZ #15763]
40075         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40076         Validate name.
40077         * rt/tst_shm.c: Add test for escaping directory.
40079 2013-10-31  Andreas Schwab  <schwab@suse.de>
40081         [BZ #15917]
40082         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40083         followed by 'x' as part of digit sequence.
40084         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40086 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40088         [BZ #16037]
40089         * configure.ac: allow GNU Make 4.0 and greater.
40090         * configure: Regenerated.
40092 2013-10-30  Will Newton  <will.newton@linaro.org>
40094         [BZ #16038]
40095         * malloc/hooks.c (memalign_check): Limit alignment to the
40096         maximum representable power of two.
40097         * malloc/malloc.c (__libc_memalign): Likewise.
40098         * malloc/tst-memalign.c (do_test): Add test for very
40099         large alignment values.
40100         * malloc/tst-posix_memalign.c (do_test): Likewise.
40102 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40104         [BZ #11087]
40105         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40106         (munmap_chunk): Likewise.
40107         (mremap_chunk): Likewise.
40109 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40111         [BZ #15799]
40112         * stdlib/div.c (div): Remove obsolete code.
40113         * stdlib/ldiv.c (ldiv): Likewise.
40114         * stdlib/lldiv.c (lldiv): Likewise.
40116 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40118         [BZ #16071]
40119         * nss/nss_files/files-XXX.c (get_contents_ret): New
40120         enumerator.
40121         (get_contents): New function.
40122         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40124 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40126         * configure.in: Moved to ...
40127         * configure.ac: ... here. Change reference to configure.in
40128         to configure.ac.
40129         * sysdeps/arm/preconfigure.ac: ... here.
40130         configure.in to configure.ac.
40131         * sysdeps/gnu/configure.in: Moved to ...
40132         * sysdeps/gnu/configure.ac: ... here.
40133         * sysdeps/i386/configure.in: Moved to ...
40134         * sysdeps/i386/configure.ac: ... here.
40135         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40136         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40137         * sysdeps/mach/configure.in: Moved to ...
40138         * sysdeps/mach/configure.ac: ... here.
40139         * sysdeps/mach/hurd/configure.in: Moved to ...
40140         * sysdeps/mach/hurd/configure.ac: ... here.
40141         * sysdeps/powerpc/configure.in: Moved to ...
40142         * sysdeps/powerpc/configure.ac: ... here.
40143         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40144         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40145         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40146         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40147         * sysdeps/s390/s390-32/configure.in: Moved to ...
40148         * sysdeps/s390/s390-32/configure.ac: ... here.
40149         * sysdeps/s390/s390-64/configure.in: Moved to ...
40150         * sysdeps/s390/s390-64/configure.ac: ... here.
40151         * sysdeps/sh/configure.in: Moved to ...
40152         * sysdeps/sh/configure.ac: ... here.
40153         * sysdeps/sparc/configure.in: Moved to ...
40154         * sysdeps/sparc/configure.ac: ... here.
40155         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40156         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40157         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40158         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40159         * sysdeps/x86_64/configure.in: Moved to ...
40160         * sysdeps/x86_64/configure.ac: ... here.
40161         * sysdeps/x86_64/preconfigure.in: Moved to ...
40162         * sysdeps/x86_64/preconfigure.ac: ... here.
40163         * aclocal.m4: Change reference to configure.in to configure.ac.
40164         * config.h.in: Likewise.
40165         * manual/install.texi: Likewise.
40166         * manual/maint.texi: Likewise.
40167         * Makefile: Likewise.
40168         * malloc/Makefile: Likewise.
40169         * nscd/Makefile: Likewise.
40170         * Makeconfig: Change reference to configure.in and
40171         preconfigure.in to configure.ac and preconfigure.ac
40172         respectively.
40173         * INSTALL: Regenerated.
40174         * configure: Likewise.
40175         * sysdeps/gnu/configure: Likewise.
40176         * sysdeps/i386/configure: Likewise.
40177         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40178         * sysdeps/mach/configure: Likewise.
40179         * sysdeps/mach/hurd/configure: Likewise.
40180         * sysdeps/powerpc/configure: Likewise.
40181         * sysdeps/powerpc/powerpc32/configure: Likewise.
40182         * sysdeps/powerpc/powerpc64/configure: Likewise.
40183         * sysdeps/s390/s390-32/configure: Likewise.
40184         * sysdeps/s390/s390-64/configure: Likewise.
40185         * sysdeps/sh/configure: Likewise.
40186         * sysdeps/sparc/configure: Likewise.
40187         * sysdeps/unix/sysv/linux/configure: Likewise.
40188         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40189         * sysdeps/x86_64/configure: Likewise.
40190         * sysdeps/x86_64/preconfigure: Likewise.
40192 2013-10-29  Andreas Schwab  <schwab@suse.de>
40194         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40196 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40198         * benchtests/pow-inputs: Add new inputs.
40200         * benchtests/exp-inputs: Add new inputs.
40202         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40203         conditional check for return value.
40204         (__cos32): Likewise.
40206 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40208         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40209         to provide a boost for large inputs with word alignment.
40210         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40211         implementation based on optimized PPC64 strcpy.
40212         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40213         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40214         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40215         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40217 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40219         [BZ #2801]
40220         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40222 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40224         [BZ #14876]
40225         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40226         * time/tst-strptime.c (day_tests): Add testcase.
40228 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40230         [BZ #14029]
40231         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40233 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40235         [BZ #16074]
40236         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40237         MAP_FAILED on error.
40239 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40241         [BZ #16072]
40242         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40243         heap for large requests.
40245 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40247         [BZ #9954]
40248         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40249         result if the result has no associated interface.
40250         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40251         interface for all 127.X.Y.Z addresses.
40253 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40255         * locale/iso-639.def: Add Ligurian (lij)
40257 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40259         [BZ #15825]
40260         * sunrpc/rpc_main.c: Document rpcgen -5.
40262 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40264         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40266 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40268         [BZ #10278]
40269         * posix/glob.c: Match only directories when trailing slash is present.
40270         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40271         (main): Add testcase.
40273 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40275         [BZ #15670]
40276         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40278 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40280         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40281         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40282         AUTH_DES and cindex for FIPS 140-2.
40283         (DES Encryption): Add cindex FIPS 46-3.
40285         * locale/locarchive.h (struct locarhandle): Add fname.
40286         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40287         if an optional argument was specified to --list-archive,
40288         otherwise NULL.
40289         * locale/programs/locarchive.c (show_archive_content): Take new
40290         argument fname and pass it via ah.fname to open_archive.
40291         * locale/programs/localedef.h: Update decl.
40292         (open_archive): If AH->fname is non-null, open that file
40293         rather than the default file name, and don't ignore ENOENT.
40294         (create_archive): Set AH.fname to NULL.
40295         (delete_locales_from_archive): Likewise.
40296         (add_locales_to_archive): Likewise.
40297         * locale/programs/locfile.c (write_all_categories): Likewise.
40299 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40300             Aldy Hernandez  <aldyh@redhat.com>
40302         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40303         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40304         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40305         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40306         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40307         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40308         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40309         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40310         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40311         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40312         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40313         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40314         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40315         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40316         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40317         Likewise.
40318         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40319         Likewise.
40320         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40321         Likewise.
40322         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40323         Likewise.
40324         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40325         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40326         Likewise.
40327         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40328         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40329         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40330         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40331         Likewise.
40332         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40333         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40334         * sysdeps/powerpc/preconfigure: Likewise.
40335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40336         Likewise.
40337         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40338         Replace contents of file by #include of <fenv_libc.h>.
40339         * sysdeps/powerpc/soft-fp/sfp-machine.h
40340         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40341         and <sys/prctl.h>.
40342         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40343         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40344         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40345         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40346         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40347         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40348         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40349         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40350         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40351         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40352         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40353         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40355         Allow copysignl PLT reference to be missing.
40357 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40358             Joseph Myers  <joseph@codesourcery.com
40360         [BZ #15948]
40361         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40362         single character.
40363         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40365 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40367         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40368         * elf/tst-tls1.c: Likewise.
40369         * elf/tst-tls10.h: Likewise.
40370         * elf/tst-tls14.c: Likewise.
40371         * elf/tst-tls2.c: Likewise.
40372         * elf/tst-tls3.c: Likewise.
40373         * elf/tst-tls4.c: Likewise.
40374         * elf/tst-tls5.c: Likewise.
40375         * elf/tst-tls6.c: Likewise.
40376         * elf/tst-tls7.c: Likewise.
40377         * elf/tst-tls8.c: Likewise.
40378         * elf/tst-tls9.c: Likewise.
40379         * elf/tst-tlsmod1.c: Likewise.
40380         * elf/tst-tlsmod13.c: Likewise.
40381         * elf/tst-tlsmod13a.c: Likewise.
40382         * elf/tst-tlsmod14a.c: Likewise.
40383         * elf/tst-tlsmod16a.c: Likewise.
40384         * elf/tst-tlsmod16b.c: Likewise.
40385         * elf/tst-tlsmod2.c: Likewise.
40386         * elf/tst-tlsmod3.c: Likewise.
40387         * elf/tst-tlsmod4.c: Likewise.
40388         * elf/tst-tlsmod5.c: Likewise.
40389         * elf/tst-tlsmod6.c: Likewise.
40391 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40393         [BZ #12486]
40394         * malloc/malloc.c: remove checks for statistics.
40396 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40398         [BZ #15277]
40399         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40400         * inet/tst-network.c: Add testcase.
40402 2013-10-17  Andreas Schwab  <schwab@suse.de>
40404         [BZ #15218]
40405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40406         to determine canonical name.
40408 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40410         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40411         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40413         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40415         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40416         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40417         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40419         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40421         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40427         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40428         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40429         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40430         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40431         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40432         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40433         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40434         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40435         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40436         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40437         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40438         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40439         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40440         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40441         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40442         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40443         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40444         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40445         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40446         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40447         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40448         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40449         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40450         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40469 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40471         [BZ #16041]
40472         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40473         make result into a quiet NaN.
40475 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40477         * soft-fp/adddf3.c: Fix horizontal whitespace.
40478         * soft-fp/addsf3.c: Likewise.
40479         * soft-fp/addtf3.c: Likewise.
40480         * soft-fp/divdf3.c: Likewise.
40481         * soft-fp/divsf3.c: Likewise.
40482         * soft-fp/divtf3.c: Likewise.
40483         * soft-fp/double.h: Likewise.
40484         * soft-fp/eqdf2.c: Likewise.
40485         * soft-fp/eqsf2.c: Likewise.
40486         * soft-fp/eqtf2.c: Likewise.
40487         * soft-fp/extenddftf2.c: Likewise.
40488         * soft-fp/extended.h: Likewise.
40489         * soft-fp/extendsfdf2.c: Likewise.
40490         * soft-fp/extendsftf2.c: Likewise.
40491         * soft-fp/extendxftf2.c: Likewise.
40492         * soft-fp/fixdfdi.c: Likewise.
40493         * soft-fp/fixdfsi.c: Likewise.
40494         * soft-fp/fixdfti.c: Likewise.
40495         * soft-fp/fixsfdi.c: Likewise.
40496         * soft-fp/fixsfsi.c: Likewise.
40497         * soft-fp/fixsfti.c: Likewise.
40498         * soft-fp/fixtfdi.c: Likewise.
40499         * soft-fp/fixtfsi.c: Likewise.
40500         * soft-fp/fixtfti.c: Likewise.
40501         * soft-fp/fixunsdfdi.c: Likewise.
40502         * soft-fp/fixunsdfsi.c: Likewise.
40503         * soft-fp/fixunsdfti.c: Likewise.
40504         * soft-fp/fixunssfdi.c: Likewise.
40505         * soft-fp/fixunssfsi.c: Likewise.
40506         * soft-fp/fixunssfti.c: Likewise.
40507         * soft-fp/fixunstfdi.c: Likewise.
40508         * soft-fp/fixunstfsi.c: Likewise.
40509         * soft-fp/fixunstfti.c: Likewise.
40510         * soft-fp/floatdidf.c: Likewise.
40511         * soft-fp/floatdisf.c: Likewise.
40512         * soft-fp/floatditf.c: Likewise.
40513         * soft-fp/floatsidf.c: Likewise.
40514         * soft-fp/floatsisf.c: Likewise.
40515         * soft-fp/floatsitf.c: Likewise.
40516         * soft-fp/floattidf.c: Likewise.
40517         * soft-fp/floattisf.c: Likewise.
40518         * soft-fp/floattitf.c: Likewise.
40519         * soft-fp/floatundidf.c: Likewise.
40520         * soft-fp/floatundisf.c: Likewise.
40521         * soft-fp/floatunditf.c: Likewise.
40522         * soft-fp/floatunsidf.c: Likewise.
40523         * soft-fp/floatunsisf.c: Likewise.
40524         * soft-fp/floatunsitf.c: Likewise.
40525         * soft-fp/floatuntidf.c: Likewise.
40526         * soft-fp/floatuntisf.c: Likewise.
40527         * soft-fp/floatuntitf.c: Likewise.
40528         * soft-fp/fmadf4.c: Likewise.
40529         * soft-fp/fmasf4.c: Likewise.
40530         * soft-fp/fmatf4.c: Likewise.
40531         * soft-fp/gedf2.c: Likewise.
40532         * soft-fp/gesf2.c: Likewise.
40533         * soft-fp/getf2.c: Likewise.
40534         * soft-fp/ledf2.c: Likewise.
40535         * soft-fp/lesf2.c: Likewise.
40536         * soft-fp/letf2.c: Likewise.
40537         * soft-fp/muldf3.c: Likewise.
40538         * soft-fp/mulsf3.c: Likewise.
40539         * soft-fp/multf3.c: Likewise.
40540         * soft-fp/negdf2.c: Likewise.
40541         * soft-fp/negsf2.c: Likewise.
40542         * soft-fp/negtf2.c: Likewise.
40543         * soft-fp/op-1.h: Likewise.
40544         * soft-fp/op-2.h: Likewise.
40545         * soft-fp/op-4.h: Likewise.
40546         * soft-fp/op-8.h: Likewise.
40547         * soft-fp/op-common.h: Likewise.
40548         * soft-fp/quad.h: Likewise.
40549         * soft-fp/single.h: Likewise.
40550         * soft-fp/soft-fp.h: Likewise.
40551         * soft-fp/sqrtdf2.c: Likewise.
40552         * soft-fp/sqrtsf2.c: Likewise.
40553         * soft-fp/sqrttf2.c: Likewise.
40554         * soft-fp/subdf3.c: Likewise.
40555         * soft-fp/subsf3.c: Likewise.
40556         * soft-fp/subtf3.c: Likewise.
40557         * soft-fp/truncdfsf2.c: Likewise.
40558         * soft-fp/trunctfdf2.c: Likewise.
40559         * soft-fp/trunctfsf2.c: Likewise.
40560         * soft-fp/trunctfxf2.c: Likewise.
40561         * soft-fp/unorddf2.c: Likewise.
40562         * soft-fp/unordsf2.c: Likewise.
40563         * soft-fp/unordtf2.c: Likewise.
40565 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40567         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40568         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40570 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40572         * elf/dl-libc.c: Clear initfini list after freeing.
40574 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40576         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40577         * soft-fp/addsf3.c: Likewise.
40578         * soft-fp/addtf3.c: Likewise.
40579         * soft-fp/divdf3.c: Likewise.
40580         * soft-fp/divsf3.c: Likewise.
40581         * soft-fp/divtf3.c: Likewise.
40582         * soft-fp/double.h: Likewise.
40583         * soft-fp/eqdf2.c: Likewise.
40584         * soft-fp/eqsf2.c: Likewise.
40585         * soft-fp/eqtf2.c: Likewise.
40586         * soft-fp/extenddftf2.c: Likewise.
40587         * soft-fp/extended.h: Likewise.
40588         * soft-fp/extendsfdf2.c: Likewise.
40589         * soft-fp/extendsftf2.c: Likewise.
40590         * soft-fp/extendxftf2.c: Likewise.
40591         * soft-fp/fixdfdi.c: Likewise.
40592         * soft-fp/fixdfsi.c: Likewise.
40593         * soft-fp/fixdfti.c: Likewise.
40594         * soft-fp/fixsfdi.c: Likewise.
40595         * soft-fp/fixsfsi.c: Likewise.
40596         * soft-fp/fixsfti.c: Likewise.
40597         * soft-fp/fixtfdi.c: Likewise.
40598         * soft-fp/fixtfsi.c: Likewise.
40599         * soft-fp/fixtfti.c: Likewise.
40600         * soft-fp/fixunsdfdi.c: Likewise.
40601         * soft-fp/fixunsdfsi.c: Likewise.
40602         * soft-fp/fixunsdfti.c: Likewise.
40603         * soft-fp/fixunssfdi.c: Likewise.
40604         * soft-fp/fixunssfsi.c: Likewise.
40605         * soft-fp/fixunssfti.c: Likewise.
40606         * soft-fp/fixunstfdi.c: Likewise.
40607         * soft-fp/fixunstfsi.c: Likewise.
40608         * soft-fp/fixunstfti.c: Likewise.
40609         * soft-fp/floatdidf.c: Likewise.
40610         * soft-fp/floatdisf.c: Likewise.
40611         * soft-fp/floatditf.c: Likewise.
40612         * soft-fp/floatsidf.c: Likewise.
40613         * soft-fp/floatsisf.c: Likewise.
40614         * soft-fp/floatsitf.c: Likewise.
40615         * soft-fp/floattidf.c: Likewise.
40616         * soft-fp/floattisf.c: Likewise.
40617         * soft-fp/floattitf.c: Likewise.
40618         * soft-fp/floatundidf.c: Likewise.
40619         * soft-fp/floatundisf.c: Likewise.
40620         * soft-fp/floatunsidf.c: Likewise.
40621         * soft-fp/floatunsisf.c: Likewise.
40622         * soft-fp/floatuntidf.c: Likewise.
40623         * soft-fp/floatuntisf.c: Likewise.
40624         * soft-fp/floatuntitf.c: Likewise.
40625         * soft-fp/fmadf4.c: Likewise.
40626         * soft-fp/fmasf4.c: Likewise.
40627         * soft-fp/fmatf4.c: Likewise.
40628         * soft-fp/gedf2.c: Likewise.
40629         * soft-fp/gesf2.c: Likewise.
40630         * soft-fp/getf2.c: Likewise.
40631         * soft-fp/ledf2.c: Likewise.
40632         * soft-fp/lesf2.c: Likewise.
40633         * soft-fp/letf2.c: Likewise.
40634         * soft-fp/muldf3.c: Likewise.
40635         * soft-fp/mulsf3.c: Likewise.
40636         * soft-fp/multf3.c: Likewise.
40637         * soft-fp/negdf2.c: Likewise.
40638         * soft-fp/negsf2.c: Likewise.
40639         * soft-fp/negtf2.c: Likewise.
40640         * soft-fp/op-1.h: Likewise.
40641         * soft-fp/op-2.h: Likewise.
40642         * soft-fp/op-4.h: Likewise.
40643         * soft-fp/op-8.h: Likewise.
40644         * soft-fp/op-common.h: Likewise.
40645         * soft-fp/quad.h: Likewise.
40646         * soft-fp/single.h: Likewise.
40647         * soft-fp/soft-fp.h: Likewise.
40648         * soft-fp/sqrtdf2.c: Likewise.
40649         * soft-fp/sqrtsf2.c: Likewise.
40650         * soft-fp/sqrttf2.c: Likewise.
40651         * soft-fp/subdf3.c: Likewise.
40652         * soft-fp/subsf3.c: Likewise.
40653         * soft-fp/subtf3.c: Likewise.
40654         * soft-fp/truncdfsf2.c: Likewise.
40655         * soft-fp/trunctfdf2.c: Likewise.
40656         * soft-fp/trunctfsf2.c: Likewise.
40657         * soft-fp/trunctfxf2.c: Likewise.
40658         * soft-fp/unorddf2.c: Likewise.
40659         * soft-fp/unordsf2.c: Likewise.
40660         * soft-fp/unordtf2.c: Likewise.
40662 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40664         [BZ #15672]
40665         * misc/error.c (error_tail): Fix possible buffer overflow.
40667 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40669         [BZ #13028]
40670         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40671         address.
40673 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40675         [BZ #832]
40676         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40677         testing pipefail option.
40679 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40681         * soft-fp/double.h: Indent preprocessor directives inside #if.
40682         * soft-fp/extended.h: Likewise.
40683         * soft-fp/op-2.h: Likewise.
40684         * soft-fp/op-4.h: Likewise.
40685         * soft-fp/op-common.h: Likewise.
40686         * soft-fp/quad.h: Likewise.
40687         * soft-fp/single.h: Likewise.
40688         * soft-fp/soft-fp.h: Likewise.
40690 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40692         * iconv/iconv_prog.c: Fix typos.
40693         * stdio-common/psiginfo-data.h: Likewise.
40695 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40697         [BZ #15764]
40698         * locale/setlocale.c: Fix typo.
40700 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40702         [BZ #16036]
40703         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40704         signaling NaN arguments.
40705         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40706         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40708         [BZ #14910]
40709         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40710         unordered operands.
40711         * soft-fp/gesf2.c (__gesf2): Likewise.
40712         * soft-fp/getf2.c (__getf2): Likewise.
40713         * soft-fp/ledf2.c (__ledf2): Likewise.
40714         * soft-fp/lesf2.c (__lesf2): Likewise.
40715         * soft-fp/letf2.c (__letf2): Likewise.
40717         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40718         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40719         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40720         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40721         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40722         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40723         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40724         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40725         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40726         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40727         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40728         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40729         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40730         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40731         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40732         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40733         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40734         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40735         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40736         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40737         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40738         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40739         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40740         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40741         * soft-fp/floattidf.c (__floattidf): Likewise.
40742         * soft-fp/floattisf.c (__floattisf): Likewise.
40743         * soft-fp/floattitf.c (__floattitf): Likewise.
40744         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40745         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40746         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40747         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40748         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40749         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40750         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40751         * soft-fp/gesf2.c (__gesf2): Likewise.
40752         * soft-fp/getf2.c (__getf2): Likewise.
40753         * soft-fp/ledf2.c (__ledf2): Likewise.
40754         * soft-fp/lesf2.c (__lesf2): Likewise.
40755         * soft-fp/letf2.c (__letf2): Likewise.
40757         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40758         Undefine and redefine.
40759         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40760         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40761         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40762         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40763         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40764         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40765         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40766         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40767         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40768         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40769         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40770         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40771         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40772         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40773         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40775         [BZ #16032]
40776         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40777         without decrementing exponent if mantissa >= that for the
40778         denominator, not >.
40779         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40780         denominator, not >.  Decrement exponent in < case instead of
40781         incrementing in >= case.
40782         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40783         without decrementing exponent if mantissa >= that for the
40784         denominator, not >.
40786         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40787         computing saturated result for unsigned overflow.
40789 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40790             Jeff Law  <law@redhat.com>
40792         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40793         (atan2Mp): Add systemtap probe marker.
40794         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40795         (__ieee754_log): Add systemtap probe marker.
40796         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40797         (atanMp): Add systemtap probe marker.
40798         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40799         (tanMp): Add systemtap probe marker.
40800         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40801         (__slowexp): Add systemtap probe marker.
40802         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40803         (__slowpow): Add systemtap probe marker.
40804         * manual/probes.texi: Document probes.
40806 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40808         [BZ #15362]
40809         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40810         written.
40811         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40812         written.
40813         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40814         written to buffer but not flushed.
40815         * libio/iofwrite_u.c:  Likewise.
40816         * libio/iopadn.c:  Return bytes returned even if EOF was
40817         encountered.
40818         * libio/iowpadn.c:  Likewise.
40819         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40820         if _IO_padn does not write the whole buffer.
40821         [!COMPILE_WPRINTF] (PAD): Likewise.
40823 2013-10-10  David S. Miller  <davem@davemloft.net>
40825         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40826         directory block.
40828 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40830         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40831         instead of FSF address.
40832         * soft-fp/fixdfti.c: Likewise.
40833         * soft-fp/fixsfti.c: Likewise.
40834         * soft-fp/fixtfti.c: Likewise.
40835         * soft-fp/fixunsdfti.c: Likewise.
40836         * soft-fp/fixunssfti.c: Likewise.
40837         * soft-fp/fixunstfti.c: Likewise.
40838         * soft-fp/floattidf.c: Likewise.
40839         * soft-fp/floattisf.c: Likewise.
40840         * soft-fp/floattitf.c: Likewise.
40841         * soft-fp/floatuntidf.c: Likewise.
40842         * soft-fp/floatuntisf.c: Likewise.
40843         * soft-fp/floatuntitf.c: Likewise.
40844         * soft-fp/trunctfxf2.c: Likewise.
40846         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
40847         * soft-fp/fixdfti.c: Likewise.
40848         * soft-fp/fixsfti.c: Likewise.
40849         * soft-fp/fixtfti.c: Likewise.
40850         * soft-fp/fixunsdfti.c: Likewise.
40851         * soft-fp/fixunssfti.c: Likewise.
40852         * soft-fp/fixunstfti.c: Likewise.
40853         * soft-fp/floattidf.c: Likewise.
40854         * soft-fp/floattisf.c: Likewise.
40855         * soft-fp/floattitf.c: Likewise.
40856         * soft-fp/floatuntidf.c: Likewise.
40857         * soft-fp/floatuntisf.c: Likewise.
40858         * soft-fp/floatuntitf.c: Likewise.
40859         * soft-fp/trunctfxf2.c: Likewise.
40861 2013-10-10  David S. Miller  <davem@davemloft.net>
40863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40865 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
40867         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40868         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
40869         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
40870         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
40871         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
40872         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
40873         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
40875         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
40876         for NaNs before doing comparisons on argument.
40877         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
40878         Likewise.
40880 2013-10-10  Will Newton  <will.newton@linaro.org>
40882         * malloc/hooks.c (memalign_check): Ensure the value of bytes
40883         passed to _int_memalign does not overflow.
40885 2013-10-10  Torvald Riegel  <triegel@redhat.com>
40887         * scripts/bench.pl: Add include-sources directive.
40888         * benchtests/README: Update documentation.
40890 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40892         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
40893         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
40894         instead of FP_INIT_ROUNDMODE.
40895         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
40896         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
40898         [BZ #16034]
40899         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
40900         copy class of input value.
40901         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
40902         not handle exceptions.
40903         * soft-fp/negsf2.c (__negsf2): Likewise.
40904         * soft-fp/negtf2.c (__negtf2): Likewise.
40905         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
40907 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
40909         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
40910         semicolon.  From Linux kernel.
40912 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
40914         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
40916 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
40918         [BZ #156]
40919         * manual/socket.texi: Added statement about buffer
40920         for gethostbyname2_r.
40922 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
40924         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
40925         Use .p2align directive instead, throughout.
40926         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40927         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40928         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
40929         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40930         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40931         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
40932         * sysdeps/x86_64/strchr.S: Likewise.
40933         * sysdeps/x86_64/strrchr.S: Likewise.
40935 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40937         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
40939         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
40941         * sysdeps/generic/math_private.h (__mpsin1): Remove
40942         declaration.
40943         (__mpcos1): Likewise.
40944         (__mpsin): New argument __range_reduce.
40945         (__mpcos): Likewise.
40946         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40947         (slow): Use __mpsin and __mpcos.
40948         (slow1): Likewise.
40949         (slow2): Likewise.
40950         (sloww): Likewise.
40951         (sloww1): Likewise.
40952         (sloww2): Likewise.
40953         (bsloww): Likewise.
40954         (bsloww1): Likewise.
40955         (bsloww2): Likewise.
40956         (cslow2): Likewise.
40957         (csloww): Likewise.
40958         (csloww1): Likewise.
40959         (csloww2): Likewise.
40960         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
40961         range_reduce.  Merge in __mpsin1.
40962         (__mpcos): Likewise.
40963         (__mpsin1): Remove.
40964         (__mpcos1): Likewise.
40966 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
40968         * locale/loadlocale.c (_nl_intern_locale_data): Use
40969         LOCFILE_ALIGNED_P.
40970         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
40971         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
40972         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
40973         obstack data is appropriately aligned.
40974         (obstack_int32_grow_fast): Likewise.
40975         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
40976         * locale/programs/locfile.c (add_locale_uint32): Likewise.
40977         (add_locale_uint32_array): Likewise.
40979 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40981         * benchtests/Makefile: Remove ARGLIST and RET variables.
40982         ($(objpfx)bench-%.c): Pass only function name to the script.
40983         * benchtests/README: Update documentation.
40984         * benchtests/acos-inputs: Add new directives.
40985         * benchtests/acosh-inputs: Likewise.
40986         * benchtests/asin-inputs: Likewise.
40987         * benchtests/asinh-inputs: Likewise.
40988         * benchtests/atan-inputs: Likewise.
40989         * benchtests/atanh-inputs: Likewise.
40990         * benchtests/cos-inputs: Likewise.
40991         * benchtests/cosh-inputs: Likewise.
40992         * benchtests/exp-inputs: Likewise.
40993         * benchtests/log-inputs: Likewise.
40994         * benchtests/pow-inputs: Likewise.
40995         * benchtests/rint-inputs: Likewise.
40996         * benchtests/sin-inputs: Likewise.
40997         * benchtests/sinh-inputs: Likewise.
40998         * benchtests/tan-inputs: Likewise.
40999         * benchtests/tanh-inputs: Likewise.
41000         * scripts/bench.pl: Add support for new directives.
41002 2013-10-07  Alan Modra  <amodra@gmail.com>
41004         * README: Fix careless merge.
41006 2013-10-05  Alan Modra  <amodra@gmail.com>
41008         * NEWS: Mention powerpc64le support and bugs fixed.
41009         * README: Both big-endian and little-endian powerpc64 supported.
41011 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41013         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41014         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41015         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41016         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41018 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41020         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41021         match prototype.
41023 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41025         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41026         Move -mhard-float appending from
41027         ports/sysdeps/powerpc/powerpc32/Makefile.
41028         [$(with-fp) = yes] (ASFLAGS): Likewise.
41029         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41030         * sysdeps/powerpc/nofpu: Move directory from
41031         ports/sysdeps/powerpc/nofpu.
41032         * sysdeps/powerpc/soft-fp: Move directory from
41033         ports/sysdeps/powerpc/soft-fp.
41034         * sysdeps/powerpc/powerpc32/405: Move directory from
41035         ports/sysdeps/powerpc/powerpc32/405.
41036         * sysdeps/powerpc/powerpc32/440: Move directory from
41037         ports/sysdeps/powerpc/powerpc32/440.
41038         * sysdeps/powerpc/powerpc32/464: Move directory from
41039         ports/sysdeps/powerpc/powerpc32/464.
41040         * sysdeps/powerpc/powerpc32/476: Move directory from
41041         ports/sysdeps/powerpc/powerpc32/476.
41042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41043         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41045         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41047         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41049         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41051         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41052         * README: Update for powerpc-*-linux-gnu software floating point
41053         support in libc.
41055         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41056         case to powerpc/powerpc32*.
41057         * sysdeps/unix/sysv/linux/configure: Regenerated.
41059         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41060         (_FPU_MASK_OM): Define as 0x04.
41061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41063         0x00c10080.
41064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41065         0x0000003c.
41066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41069         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41070         getcontext_e500.
41071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41072         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41073         setcontext_e500.
41074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41075         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41076         and setcontext_e500.
41078 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41080         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41082 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41084         * manual/threads.texi (Default Thread Attributes): Fix typo.
41086 2013-10-04  Will Newton  <will.newton@linaro.org>
41088         * malloc/Makefile: Add tst-memalign.
41089         * malloc/tst-memalign.c: New file.
41091         * malloc/tst-posix_memalign.c: Add comments.
41092         (do_test): Add comments and call free on all potentially
41093         allocated pointers. Add space after cast.
41095         * malloc/tst-pvalloc.c: Add comments.
41096         (do_test): Add comments and call free on all potentially
41097         allocated pointers. Remove duplicate check for NULL pointer.
41098         Add space after cast.
41100         * malloc/tst-valloc.c: Add comments.
41101         (do_test): Add comments and call free on all potentially
41102         allocated pointers. Remove duplicate check for NULL pointer.
41103         Add space after cast.
41105 2013-10-04  Alan Modra  <amodra@gmail.com>
41107         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41108         Use stdint types in rather than __attribute__((mode())).
41109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41111 2013-10-04  Alan Modra  <amodra@gmail.com>
41113         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41114         Correct handling of unaligned relocs for little-endian.
41115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41117 2013-10-04  Alan Modra  <amodra@gmail.com>
41119         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41120         * configure: Regenerate.
41121         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41122         * shlib-versions: Likewise.
41124 2013-10-04  Alan Modra  <amodra@gmail.com>
41126         * string/tester.c (test_memrchr): Increment reported test cycle.
41128 2013-10-04  Alan Modra  <amodra@gmail.com>
41130         * string/test-memcpy.c (do_one_test): When reporting errors, print
41131         string address and don't overrun end of string.
41133 2013-10-04  Alan Modra  <amodra@gmail.com>
41135         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41136         insrdi.  Make better use of reg selection to speed exit slightly.
41137         Schedule entry path a little better.  Remove useless "are we done"
41138         checks on entry to main loop.  Handle wrapping around zero address.
41139         Correct main loop count.  Handle single left-over word from main
41140         loop inline rather than by using loop_small.  Remove extra word
41141         case in loop_small caused by wrong loop count.  Add little-endian
41142         support.
41143         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41144         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41145         cache hint.
41146         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41147         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41148         support.  Avoid rlwimi.
41149         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41151 2013-10-04  Alan Modra  <amodra@gmail.com>
41153         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41154         insrdi.  Formatting.
41155         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41156         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41157         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41158         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41159         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41160         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41162 2013-10-04  Alan Modra  <amodra@gmail.com>
41164         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41165         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41166         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41167         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41168         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41169         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41170         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41171         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41172         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41173         use of regs.  Use power7 mtocrf.  Tidy function tails.
41175 2013-10-04  Alan Modra  <amodra@gmail.com>
41177         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41178         Formatting.  Consistently use rXXX register defines or rN defines.
41179         Use early exit labels that avoid restoring unused non-volatile regs.
41180         Make cr field use more consistent with rWORDn compares.  Rename
41181         regs used as shift registers for unaligned loop, using rN defines
41182         for short lifetime/multiple use regs.
41183         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41184         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41185         addi 1,1,64 to pop stack frame.  Simplify return value code.
41186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41188 2013-10-04  Alan Modra  <amodra@gmail.com>
41190         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41191         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41192         rather than rlwimi.
41193         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41194         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41195         little-endian support.  Correct typos.
41196         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41197         rather than rlwimi.
41198         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41199         in loop and entry code to keep "and." results.
41200         (strchr): Add little-endian support.  Comment.  Move cntlzd
41201         earlier in tail.
41202         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41204 2013-10-04  Alan Modra  <amodra@gmail.com>
41206         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41207         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41208         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41209         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41211 2013-10-04  Alan Modra  <amodra@gmail.com>
41213         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41214         (rTMP): Define as r11.
41215         (strcmp): Add little-endian support.  Optimise tail.
41216         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41217         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41218         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41219         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41220         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41221         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41222         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41224 2013-10-04  Alan Modra  <amodra@gmail.com>
41226         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41227         little-endian support.  Remove unnecessary "are we done" tests.
41228         Handle "s" wrapping around zero and extremely large "size".
41229         Correct main loop count.  Handle single left-over word from main
41230         loop inline rather than by using small_loop.  Correct comments.
41231         Delete "zero" tail, use "end_max" instead.
41232         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41234 2013-10-04  Alan Modra  <amodra@gmail.com>
41236         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41237         support.  Don't branch over align.
41238         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41239         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41240         support.  Rearrange tmp reg use to suit.  Comment.
41241         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41243 2013-10-04  Alan Modra  <amodra@gmail.com>
41245         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41247 2013-10-04  Alan Modra  <amodra@gmail.com>
41249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41250         conditional form of branch and link when obtaining pc.
41251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41253 2013-10-04  Alan Modra  <amodra@gmail.com>
41255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41256         HIWORD/LOWORD.
41257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41260 2013-10-04  Alan Modra  <amodra@gmail.com>
41262         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41263         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41264         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41265         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41266         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41267         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41268         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41269         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41270         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41271         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41273 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41274             Alistair Popple <alistair@ozlabs.au.ibm.com>
41275             Alan Modra <amodra@gmail.com>
41277         [BZ #15723]
41278         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41279         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41280         _dl_hwcap access for little-endian.
41281         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41282         destroy vmx regs when saving unaligned.
41283         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41284         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41285         destroy vmx regs when saving unaligned.
41287 2013-10-04  Alan Modra  <amodra@gmail.com>
41289         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41290         Don't use a union to pack hi/low value.
41292 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41294         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41295         for little-endian.
41296         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41297         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41298         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41299         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41300         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41302 2013-10-04  Alan Modra  <amodra@gmail.com>
41304         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41305         constants to usual value for .cst8 section, and remove redundant
41306         high address load.
41307         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41308         constant for 0x1p52.  Load little-endian words of double from
41309         correct stack offsets.
41311 2013-10-04  Alan Modra  <amodra@gmail.com>
41313         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41314         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41315         words of double from correct stack offsets.
41316         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41317         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41318         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41319         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41320         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41321         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41322         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41323         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41324         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41325         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41326         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41327         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41328         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41329         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41330         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41331         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41332         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41334 2013-10-04  Alan Modra  <amodra@gmail.com>
41336         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41337         64-bit int/double union.
41338         (_FPU_SETCW): Likewise.
41339         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41340         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41342 2013-10-04  Alan Modra  <amodra@gmail.com>
41344         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41345         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41347 2013-10-04  Alan Modra  <amodra@gmail.com>
41349         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41350         use vector int constants.
41351         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41353 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41355         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41356         array with long long.
41357         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41358         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41359         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41360         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41361         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41362         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41363         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41364         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41365         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41366         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41367         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41368         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41369         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41371 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41373         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41374         (__signbit): Likewise.  Correct for little-endian.
41375         (__signbitl): Call __signbit.
41376         (lrint): Correct for little-endian.
41377         (lrintf): Call lrint.
41379 2013-10-04  Alan Modra  <amodra@gmail.com>
41381         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41382         union 32-bit int array member with 64-bit int array.
41383         (t515, tm256): Double rather than long double.
41384         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41386 2013-10-04  Alan Modra  <amodra@gmail.com>
41388         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41389         Delete.
41390         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41391         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41392         version of math_ldbl.h.
41394 2013-10-04  Alan Modra  <amodra@gmail.com>
41396         [BZ #15734], [BZ #15735]
41397         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41398         all uses of ieee875 long double macros and unions.  Simplify test
41399         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41400         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41401         normalize after ldbl_extract_mantissa, and don't add hidden bit
41402         already handled.  Don't treat low word of ieee854 mantissa like
41403         low word of IBM long double and mask off bit when testing for
41404         zero.
41405         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41406         all uses of ieee875 long double macros and unions.  Simplify tests
41407         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41408         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41409         two1022, instead use their values.  Recognise that tests for large
41410         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41411         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41412         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41413         test for 0.0L and nan.  Correct negation.
41414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41415         ieee875 long double macros and unions.  Correct output for large
41416         magnitude x.  Correct absolute value calculation.
41417         (__erfcl): Likewise.
41418         * math/libm-test.inc: Add tests for errors discovered in IBM long
41419         double versions of fmodl, remainderl, erfl and erfcl.
41421 2013-10-04  Alan Modra  <amodra@gmail.com>
41423         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41424         all uses of ieee854 long double macros and unions.  Simplify tests
41425         for long doubles that are fully specified by the high double.
41426         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41427         Likewise.
41428         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41429         Remove dead code too.
41430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41431         (__ieee754_ynl): Likewise.
41432         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41433         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41434         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41435         Remove dead code too.
41436         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41437         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41439         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41440         Simplify.
41441         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41442         Simplify.
41443         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41444         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41445         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41446         Comment on variable precision.
41447         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41448         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41449         Likewise.
41450         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41451         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41452         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41453         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41454         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41456 2013-10-04  Alan Modra  <amodra@gmail.com>
41458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41459         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41460         all uses of ieee854 long double macros and unions.
41461         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41462         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41463         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41464         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41465         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41466         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41467         Likewise.
41468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41469         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41470         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41471         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41472         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41473         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41474         Simplify sign and nan test too.
41475         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41476         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41477         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41478         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41479         Likewise.
41480         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41481         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41482         Likewise.
41483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41484         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41485         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41486         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41487         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41488         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41490 2013-10-04  Alan Modra  <amodra@gmail.com>
41492         * stdio-common/printf_size.c (__printf_size): Don't use
41493         union ieee854_long_double in fpnum union.
41494         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41495         signbit macro to retrieve sign from long double.
41496         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41497         retrieve sign from long double.
41498         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41499         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41500         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41501         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41502         * math/test-misc.c (main): Don't use union ieee854_long_double.
41504 2013-10-04  Alan Modra  <amodra@gmail.com>
41506         [BZ #15680]
41507         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41508         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41509         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41510         calculation.  Remove unnecessary test for denormal exponent.
41511         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41512         Correct handling of denormals.  Avoid undefined shift behaviour.
41513         Correct normalisation of low mantissa when low double is denormal.
41514         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41515         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41516         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41517         Correct normalisation of low mantissa.  Test for overflow of high
41518         mantissa and normalise.
41519         (ldbl_nearbyint): Use more readable constant for two52.
41520         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41521         (__mpn_construct_long_double): Fix test for overflow of high
41522         mantissa and correct normalisation.  Avoid undefined shift.
41524 2013-10-04  Alan Modra  <amodra@gmail.com>
41526         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41527         (union ibm_extended_long_double): Define as an array of ieee754_double.
41528         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41529         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41530         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41531         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41532         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41533         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41535         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41536         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41537         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41538         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41540 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41542         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41543         page size instead of calling getpagesize.
41545         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41546         (LOCFILE_ALIGN_MASK): Likewise.
41547         (LOCFILE_ALIGN_UP): Likewise.
41548         (LOCFILE_ALIGNED_P): Likewise.
41549         * locale/programs/ld-collate.c (collate_output): Use the new
41550         macros instead of __alignof__ (int32_t).
41551         * locale/weight.h (findidx): Likewise.
41553 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41555         [BZ #431]
41556         * manual/string.texi: Fix strncat and wcsncat.
41558 2013-10-03  Brooks Moses  <bmoses@google.com>
41560         [BZ #15915]
41561         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41562         * Makerules: ...here, and adjust associated comments.
41564 2013-10-02  Will Newton  <will.newton@linaro.org>
41566         * malloc/Makefile: Add tst-pvalloc.
41567         * malloc/tst-pvalloc.c: New file.
41569 2013-10-02  Will Newton  <will.newton@linaro.org>
41571         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41572         improve test coverage.
41574 2013-10-02  Will Newton  <will.newton@linaro.org>
41576         * malloc/Makefile: Add tst-posix_memalign.
41577         * malloc/tst-posix_memalign.c: New file.
41579 2013-10-01  Eric Blake  <eblake@redhat.com>
41581         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41582         Use __THROWNL rather than __THROW on static functions.
41584 2013-09-30  Petr Machata  <pmachata@redhat.com>
41586         * elf/elf.h (R_AARCH64_ABS16): New macro.
41587         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41588         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41589         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41590         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41591         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41592         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41593         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41594         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41595         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41596         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41597         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41598         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41599         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41600         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41601         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41602         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41603         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41604         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41605         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41606         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41607         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41608         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41609         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41610         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41611         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41612         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41613         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41614         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41615         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41616         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41617         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41618         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41619         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41620         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41621         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41622         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41623         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41624         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41625         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41626         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41627         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41628         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41629         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41630         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41631         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41632         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41633         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41634         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41635         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41636         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41637         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41638         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41639         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41640         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41641         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41642         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41643         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41644         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41645         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41646         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41647         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41648         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41649         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41650         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41651         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41652         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41653         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41654         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41655         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41656         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41657         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41658         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41659         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41660         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41661         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41662         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41663         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41664         (R_AARCH64_TLSDESC_LDR): Likewise.
41665         (R_AARCH64_TLSDESC_ADD): Likewise.
41666         (R_AARCH64_TLSDESC_CALL): Likewise.
41668 2013-09-30  Andreas Schwab  <schwab@suse.de>
41670         [BZ #15048]
41671         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41672         the nss database lookup.
41673         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41676 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41678         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41680 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41682         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41683         ${Bash-specific parameter/pattern/string} parameter expansion.
41684         * sysdeps/unix/make-syscalls.sh: Likewise.
41686 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41688         * sysdeps/sh/stackguard-macros.h: New file.
41690 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41693         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41694         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41695         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41696         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41697         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41699 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41701         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41702         Fix thread ID register.
41704 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41706         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41707         [POSIX || UNIX98]: Require rather than permitting all symbols from
41708         <time.h>.
41709         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41710         element of struct sched_param.
41711         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41712         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41713         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41714         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41715         constant.
41717 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41719         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41720         argument calculation.
41722 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41724         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41725         Expect macro.
41726         [POSIX] (pthread_attr_t): Do not require type.
41727         [POSIX] (pthread_cond_t): Likewise.
41728         [POSIX] (pthread_condattr_t): Likewise.
41729         [POSIX] (pthread_key_t): Likewise.
41730         [POSIX] (pthread_mutex_t): Likewise.
41731         [POSIX] (pthread_mutexattr_t): Likewise.
41732         [POSIX] (pthread_once_t): Likewise.
41733         [POSIX] (pthread_t): Likewise.
41734         [POSIX-based standards] (pthread_atfork): Expect function.
41736 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41737             Richard Sandiford  <richard@codesourcery.com>
41739         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41740         (swap_endianness_p): New extern variable.
41741         (set_big_endian): New inline function.
41742         (maybe_swap_uint32): Likewise.
41743         (maybe_swap_uint32_array): Likewise.
41744         (maybe_swap_uint32_obstack): Likewise.
41745         * locale/programs/locfile.c: Include <stdbool.h>.
41746         (swap_endianness_p): New variable.
41747         (add_locale_uint32): Call maybe_swap_uint32.
41748         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41749         (write_locale_data): Call maybe_swap_uint32_array.
41750         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41751         maybe_swap_uint32.
41752         (obstack_int32_grow_fast): Likewise.
41753         (output_weightwc): Call maybe_swap_uint32_obstack.
41754         (collate_output): Likewise.
41755         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41756         (OPT_LITTLE_ENDIAN): Likewise.
41757         (options): Add --little-endian and --big-endian options.
41758         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41759         * locale/programs/locarchive.c: Include "locfile.h".
41760         (GET): New macro.
41761         (SET): Likewise.
41762         (INC): Likewise.
41763         (create_archive): Use the new macros to access fields of
41764         structures directly mapped from or written to locale archives.
41765         (oldlocrecentcmp): Likewise.
41766         (enlarge_archive): Likewise.
41767         (insert_name): Likewise.
41768         (add_alias): Likewise.
41769         (add_locale): Likewise.
41770         (delete_locales_from_archive): Likewise.
41771         (show_archive_content): Likewise.
41772         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41773         locale data.
41775 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41777         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41778         http://www.gnu.org/doc/freemanuals.texi.
41779         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41781 2013-09-24  Will Newton  <will.newton@linaro.org>
41783         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41784         macro.
41786 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41788         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41789         unsigned char.
41791 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41793         * manual/threads.texi (POSIX Threads): Fix a typo.
41795 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41797         [BZ #14547]
41798         * string/tst-strcoll-overflow.c: New test case.
41799         * string/Makefile (xtests): Add tst-strcoll-overflow.
41800         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41801         cache if string sizes may cause integer overflow.
41803         [BZ #14547]
41804         * string/strcoll_l.c (coll_seq): New members rule, idx,
41805         save_idx and back_us.
41806         (get_next_seq_nocache): New function.
41807         (do_compare_nocache): New function.
41808         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41809         when malloc fails.
41811 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41813         [BZ #15754]
41814         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41815         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41816         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41818         [BZ #15754]
41819         * elf/Makefile (tests): Add tst-ptrguard1.
41820         (tests-static): Add tst-ptrguard1-static.
41821         (tst-ptrguard1-ARGS): Define.
41822         (tst-ptrguard1-static-ARGS): Define.
41823         * elf/tst-ptrguard1.c: New file.
41824         * elf/tst-ptrguard1-static.c: New file.
41825         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41826         * sysdeps/i386/stackguard-macros.h: Likewise.
41827         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41828         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41829         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41830         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41831         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41832         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41834 2013-09-23  Hector Marco  <hecmargi@upv.es>
41835             Ismael Ripoll  <iripoll@disca.upv.es>
41836             Carlos O'Donell  <carlos@redhat.com>
41838         [BZ #15754]
41839         * sysdeps/generic/stackguard-macros.h: Define
41840         __pointer_chk_guard_local and POINTER_CHK_GUARD.
41841         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
41842         Define __pointer_chk_guard_local.
41843         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
41844         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
41846 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
41848         [BZ #15859]
41849         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
41851 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
41853         * include/string.h (__ffs): Declare as hidden.
41854         * string/ffs.c (__ffs): Define as hidden.
41855         * sysdeps/i386/ffs.c (__ffs): Likewise.
41856         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
41857         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
41858         * sysdeps/s390/ffs.c (__ffs): Likewise.
41859         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
41861 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
41863         * NEWS: Mention malloc probes.
41865         * malloc/arena.c (new_heap): New memory_heap_new probe.
41866         (grow_heap): New memory_heap_more probe.
41867         (shrink_heap): New memory_heap_less probe.
41868         (heap_trim): New memory_heap_free probe.
41869         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
41870         (systrim): New memory_sbrk_less probe.
41871         * manual/probes.texi: Document them.
41873         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
41874         * manual/probes.texi: Document it.
41876         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
41877         (__libc_realloc): Add memory_realloc_retry probe.
41878         (__libc_memalign): Add memory_memalign_retry probe.
41879         (__libc_valloc): Add memory_valloc_retry probe.
41880         (__libc_pvalloc): Add memory_pvalloc_retry probe.
41881         (__libc_calloc): Add memory_calloc_retry probe.
41882         * manual/probes.texi: Document them.
41884         * malloc/arena.c (get_free_list): Add probe
41885         memory_arena_reuse_free_list.
41886         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
41887         and memory_arena_reuse.
41888         (arena_get2) [!PER_THREAD]: Likewise.
41889         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
41890         memory_arena_reuse_realloc.
41891         * manual/probes.texi: Document them.
41893         * malloc/malloc.c (__libc_free): Add
41894         memory_mallopt_free_dyn_thresholds probe.
41895         (__libc_mallopt): Add multiple memory_mallopt probes.
41896         * manual/probes.texi: Document them.
41898         * malloc/malloc.c: Include stap-probe.h.
41899         (__libc_mallopt): Add memory_mallopt probe.
41900         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
41901         * manual/probes.texi: New.
41902         * manual/Makefile (chapters): Add probes.
41903         * manual/threads.texi: Set next node.
41905 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
41907         [BZ #15963, #13985]
41908         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
41909         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
41910         Add `Chinese' to `nan' entry name.
41912 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41914         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
41915         (POLYNOMIAL): Likewise.
41916         (TAYLOR_SINCOS): Likewise.
41917         (TAYLOR_SLOW): Likewise.
41918         (__sin): Use TAYLOR_SINCOS.
41919         (__cos): Likewise.
41920         (slow): Use TAYLOR_SLOW.
41921         (sloww): Likewise.
41922         (bsloww): Likewise.
41923         (csloww): Likewise.
41925 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41927         * stdlib/strtod_l.c: Fix buffer overrun.
41929 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41931         * benchtests/Makefile (bench): Add sincos.
41932         * benchtests/bench-sincos.c: New file.
41934         * math/libm-test.inc (cos_test_data): New test inputs.
41935         (sin_test_data): Likewise.
41937         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
41938         macro.
41939         (__sin): Use it.
41940         (__cos): Likewise.
41941         (slow1): Likewise.
41942         (slow2): Likewise.
41943         (sloww1): Likewise.
41944         (sloww2): Likewise.
41945         (bsloww1): Likewise.
41946         (bsloww2): Likewise.
41947         (cslow2): Likewise.
41948         (csloww1): Likewise.
41949         (csloww2): Likewise.
41951         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
41952         function.
41953         (__sin): Use it.
41954         (__cos): Likewise.
41956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
41957         gotos.
41958         (__cos): Likewise.
41960 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
41962         * config.h.in (HAVE_MIPS_NAN2008): New macro.
41963         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
41964         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
41965         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
41966         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
41967         * elf/cache.c (print_entry): Handle the new cache flags.
41969 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41970             Aldy Hernandez  <aldyh@redhat.com>
41972         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
41973         Change condition to [_SOFT_FLOAT].
41974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
41975         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
41976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
41977         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
41978         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
41979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
41980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
41981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
41982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
41983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
41984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
41985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
41986         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
41987         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
41988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
41989         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
41990         declaration.
41992 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
41994         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
41995         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41996         (__longjmp): Use LOAD_GP to load saved GPRs.
41997         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
41998         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
41999         (__sigsetjmp): Use SAVE_GP to save GPRs.
42001         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42002         Do not append -msoft-float.
42003         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42005 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42007         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42009 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42011         [BZ #15966]
42012         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42013         (_FPU_GETCW): Use initial "__" on variable and field names but not
42014         on macro parameter name.
42015         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42016         parentheses around reference to macro parameter.
42018 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42020         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42021         prototype.
42022         (ctype_startup): Use uint32_t in cast and sizeof for
42023         ctype->charnames.
42025 2013-09-11  Jia Liu  <proljc@gmail.com>
42027         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42028         __daddr_t_defined.
42029         [__FreeBSD__]: Likewise.
42031 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42033         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42034         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42035         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42036         (strchr): Remove __strchr_sse42 ifunc selection.
42037         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42038         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42040 2013-09-11  Will Newton  <will.newton@linaro.org>
42042         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42043         parameter to RES. Remove hardcoded 1000 value.
42044         * benchtests/bench-skeleton.c (main): Pass RES parameter
42045         to TIMING_INIT and multiply result by 1000.
42047 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42051 2013-09-11  Andreas Schwab  <schwab@suse.de>
42053         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42054         if not defined.
42055         (O_TMPFILE) [__USE_GNU]: Define.
42056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42057         Define.
42059 2013-09-11  Will Newton  <will.newton@linaro.org>
42061         [BZ #15857]
42062         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42063         does not overflow.
42065 2013-09-11  Will Newton  <will.newton@linaro.org>
42067         [BZ #15856]
42068         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42069         does not overflow.
42071 2013-09-11  Will Newton  <will.newton@linaro.org>
42073         [BZ #15855]
42074         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42075         does not overflow.
42077 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42079         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42080         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42081         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42082         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42083         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42085 2013-09-10  Allan McRae  <allan@archlinux.org>
42087         [BZ #15748]
42088         * manual/arith.texi (Parsing of Floats): Clarify
42089         cross-reference.
42091         [BZ #15849]
42092         * manual/install.texi (Running make install): Mention
42093         --enable-pt-chown.
42094         * INSTALL: Regenerated.
42096 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42098         * csu/init-first.c (_init): Remove the !SHARED condition around
42099         FPU control word initialization.
42100         * elf/dl-support.c (_dl_fpu_control): New variable.
42101         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42102         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42103         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42104         * math/test-fpucw-static.c: New file.
42105         * math/test-fpucw-ieee.c: New file.
42106         * math/test-fpucw-ieee-static.c: New file.
42107         * math/Makefile (tests): Add `test-fpucw-ieee' and
42108         `$(tests-static)'.
42109         (tests-static): New variable.
42110         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42111         dependency to...
42112         [($(build-shared),yes)]
42113         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42114         ... this.
42115         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42116         New dependency.
42118 2013-09-09  Allan McRae  <allan@archlinux.org>
42120         [BZ #15939]
42121         * manual/string.texi (Collation Functions): Fix typo in
42122         strcoll example.
42123         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42125         [BZ #15893]
42126         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42128         [BZ #15892]
42129         * libio/memstream.c (open_memstream): Fix memory leak.
42130         * libio/wmemstream.c (open_wmemstream): Likewise.
42132         [BZ #15895]
42133         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42135 2013-09-09  Will Newton  <will.newton@linaro.org>
42137         * malloc/Makefile: Add tst-realloc to tests.
42138         * malloc/tst-realloc.c: New file.
42140 2013-09-09  Allan McRae  <allan@archlinux.org>
42142         [BZ #15844]
42143         * COPYING: Update from GNU website to fix FSF address.
42144         * COPYING.LIB: Likewise.
42146 2013-09-06  David S. Miller  <davem@davemloft.net>
42148         * po/zh_TW.po: Update Chinese (traditional) translation from
42149         translation project.
42151 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42152             Joseph Myers  <joseph@codesourcery.com>
42154         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42155         "localeinfo.h".
42156         (obstack_chunk_alloc): New macro.
42157         (obstack_chunk_free): Likewise.
42158         (record_offset): New function.
42159         (init_locale_data): Likewise.
42160         (align_locale_data): Likewise.
42161         (add_locale_empty): Likewise.
42162         (add_locale_raw_data): Likewise.
42163         (add_locale_raw_obstack): Likewise.
42164         (add_locale_string): Likewise.
42165         (add_locale_wstring): Likewise.
42166         (add_locale_uint32): Likewise.
42167         (add_locale_uint32_array): Likewise.
42168         (add_locale_char): Likewise.
42169         (start_locale_structure): Likewise.
42170         (end_locale_structure): Likewise.
42171         (start_locale_prelude): Likewise.
42172         (end_locale_prelude): Likewise.
42173         (write_locale_data): Take locale_file structure rather than an
42174         iovec.
42175         * locale/programs/locfile.h: Include "obstack.h".
42176         (struct locale_file): Change to store locale file contents instead
42177         of header.
42178         (init_locale_data): New prototype.
42179         (align_locale_data): Likewise.
42180         (add_locale_empty): Likewise.
42181         (add_locale_raw_data): Likewise.
42182         (add_locale_raw_obstack): Likewise.
42183         (add_locale_string): Likewise.
42184         (add_locale_wstring): Likewise.
42185         (add_locale_uint32): Likewise.
42186         (add_locale_uint32_array): Likewise.
42187         (add_locale_char): Likewise.
42188         (start_locale_structure): Likewise.
42189         (end_locale_structure): Likewise.
42190         (start_locale_prelude): Likewise.
42191         (end_locale_prelude): Likewise.
42192         (write_locale_data): Update prototype.
42193         * locale/programs/3level.h (struct TABLE): Remove result field.
42194         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42195         Use new locale_file interface.
42196         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42197         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42198         * locale/programs/ld-address.c (address_output): Use new
42199         locale_file interface.
42200         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42201         NO_ADD_LOCALE.
42202         (collate_finish): Don't call collseq_table_finalize.
42203         (collate_output): Use new locale_file interface.
42204         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42205         in file.
42206         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42207         (TABLE): Move defines earlier in file.
42208         (ELEMENT): Likewise.
42209         (DEFAULT): Likewise.
42210         (wctrans_table_add): Move macro and inline function earlier in
42211         file.
42212         (struct wctype_table): Move type earlier in file.
42213         (add_locale_wctype_table): New static prototype.
42214         (struct locale_ctype_t): Use logical types instead of struct iovec
42215         pointers for members.
42216         (ctype_output): Use new locale_file interface.
42217         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42218         new locale_file interface.
42219         (allocate_arrays): Update for use of new locale_file interface.
42220         * locale/programs/ld-identification.c (identification_output): Use
42221         new locale_file interface.
42222         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42223         * locale/programs/ld-messages.c (messages_output): Likewise.
42224         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42225         * locale/programs/ld-name.c (name_output): Likewise.
42226         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42227         * locale/programs/ld-paper.c (paper_output): Likewise.
42228         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42229         * locale/programs/ld-time.c (time_output): Likewise.
42231 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42233         * benchtests/Makefile: Add memrchr benchmark.
42234         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42235         benchmark as memrchr.
42236         * benchtests/bench-memrchr-ifunc.c: New file.
42237         * benchtests/bench-memrchr.c: New file.
42239 2013-09-06   Will Newton  <will.newton@linaro.org>
42241         * benchtests/Makefile (string-bench): Add memcpy.
42243 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42244             Cong Wang  <amwang@redhat.com>
42246         [BZ #15850]
42247         * sysdeps/unix/sysv/linux/bits/in.h
42248         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42249         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42250         before __USE_KERNEL_IPV6_DEFS uses.
42251         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42252         IPPROTO_BEETPH.
42253         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42254         sockaddr_in6, or ipv6_mreq.
42256 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42258         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42259         memory access for final bytes in some large inputs.
42260         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42262 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42264         * string/test-memrchr.c: New file.
42265         * string/test-memrchr-ifunc.c: New file.
42266         * string/Makefile: Add new memrchr testcase.
42268 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42270         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42271         fanotify_init returns EPERM.
42273 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42275         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42276         errors.
42277         (top level): Treat second token from macro or constant entries for
42278         allowed headers as allowed.
42279         * include/complex.h: Condition internal declarations on
42280         [!_ISOMAC].
42281         * include/fenv.h: Condition include of <stdbool.h> and internal
42282         declarations on [!_ISOMAC].
42284 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42286         [BZ #15923]
42287         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42289 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42291         * configure.in (--enable-versioning): Remove configure option.
42292         (libc_cv_asm_symver_directive): Remove configure test.
42293         (libc_cv_ld_version_script_option): Likewise.
42294         (VERSIONING): Remove variable and AC_SUBST.
42295         (DO_VERSIONING): Remove AC_DEFINE.
42296         * configure: Regenerated.
42297         * config.h.in (DO_VERSIONING): Remove macro.
42298         * Makerules [$(versioning) = yes]: Change conditionals to
42299         [$(build-shared) = yes].
42300         * config.make.in (versioning): Remove variable.
42301         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42302         [$(build-shared) = yes].
42303         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42304         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42305         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42306         [$(build-shared) = yes].
42307         * extra-lib.mk [$(versioning) = yes]: Likewise.
42308         * hurd/Makefile [$(versioning) = yes]: Likewise.
42309         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42310         [SHARED].
42311         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42312         [SHARED].
42313         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42314         [SHARED && !NO_HIDDEN].
42315         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42316         [SHARED].
42317         [SHARED && DO_VERSIONING]: Likewise..
42318         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42319         [$(build-shared) = yes].
42320         * manual/install.texi (--disable-versioning): Remove
42321         documentation.
42322         * INSTALL: Regenerated.
42323         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42324         to [SHARED].
42325         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42326         [$(build-shared) = yes].
42327         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42328         * sysdeps/i386/i686/multiarch/strstr-c.c
42329         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42330         [SHARED && !NO_HIDDEN].
42331         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42332         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42333         * sysdeps/powerpc/powerpc32/dl-machine.c
42334         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42335         * sysdeps/powerpc/powerpc32/sysdep.h
42336         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42337         to [SHARED && PIC && !NO_HIDDEN].
42338         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42339         conditional to [SHARED].
42341 2013-09-04   Will Newton  <will.newton@linaro.org>
42343         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42344         * benchtests/bench-string.h: Include bench-timing.h instead
42345         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42346         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42347         call to HP_TIMING_DIFF_INIT.
42348         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42349         instead of hp-timing.h macros.
42350         * benchtests/bench-memchr.c: Likewise.
42351         * benchtests/bench-memcmp.c: Likewise.
42352         * benchtests/bench-memcpy.c: Likewise.
42353         * benchtests/bench-memmem.c: Likewise.
42354         * benchtests/bench-memmove.c: Likewise.
42355         * benchtests/bench-memset.c: Likewise.
42356         * benchtests/bench-rawmemchr.c: Likewise.
42357         * benchtests/bench-strcasecmp.c: Likewise.
42358         * benchtests/bench-strcasestr.c: Likewise.
42359         * benchtests/bench-strcat.c: Likewise.
42360         * benchtests/bench-strchr.c: Likewise.
42361         * benchtests/bench-strcmp.c: Likewise.
42362         * benchtests/bench-strcpy.c: Likewise.
42363         * benchtests/bench-strcpy_chk.c: Likewise.
42364         * benchtests/bench-strlen.c: Likewise.
42365         * benchtests/bench-strncasecmp.c: Likewise.
42366         * benchtests/bench-strncat.c: Likewise.
42367         * benchtests/bench-strncmp.c: Likewise.
42368         * benchtests/bench-strncpy.c: Likewise.
42369         * benchtests/bench-strnlen.c: Likewise.
42370         * benchtests/bench-strpbrk.c: Likewise.
42371         * benchtests/bench-strrchr.c: Likewise.
42372         * benchtests/bench-strspn.c: Likewise.
42373         * benchtests/bench-strstr.c: Likewise.
42375 2013-09-04  Will Newton  <will.newton@linaro.org>
42377         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42379 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42381         [BZ #15427]
42382         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42383         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42384         * math/libm-test.inc (lgamma_test_data): Add more tests.
42385         * sysdeps/i386/fpu/libm-test-ulps: Update.
42386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42388 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42390         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42392         Add ifunc.
42393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42394         Add strcmp-sse2-unaligned
42395         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42397 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42399         * Versions.def (libc): Add GLIBC_2.19.
42401 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42403         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42404         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42406 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42408         [BZ #14155]
42409         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42410         intermediate calculations in recurrence.
42411         (__ieee754_ynf): Likewise.
42412         * math/libm-test.inc (jn_test_data): Do not allow spurious
42413         underflow exception.  Add more tests.
42414         (yn_test_data): Add more tests.
42415         * sysdeps/i386/fpu/libm-test-ulps: Update.
42416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42418 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42420         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42422 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42424         * csu/init-first.c: Fix then/than typos.
42425         * locale/programs/ld-collate.c: Likewise.
42426         * locale/programs/linereader.h: Likewise.
42427         * manual/charset.texi: Likewise.
42428         * manual/filesys.texi: Likewise.
42429         * manual/stdio.texi: Likewise.
42430         * manual/string.texi: Likewise.
42431         * stdlib/fmtmsg.c: Likewise.
42432         * sysdeps/i386/stpncpy.S: Likewise.
42433         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42434         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42435         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42436         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42438 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42440         * elf/dl-open.c: Fix typos.
42441         * iconvdata/gbbig5.c: Likewise.
42442         * iconvdata/iso-2022-jp.c: Likewise.
42443         * iconv/gconv_int.h: Likewise.
42444         * iconv/loop.c: Likewise.
42445         * nis/rpcsvc/nis.h: Likewise.
42446         * resolv/ns_name.c: Likewise.
42447         * stdio-common/vfscanf.c: Likewise.
42448         * streams/stropts.h: Likewise.
42449         * sunrpc/rpc_thread.c: Likewise.
42450         * sysdeps/i386/strpbrk.S: Likewise.
42451         * sysdeps/ieee754/k_standard.c: Likewise.
42452         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42454         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42455         * sysdeps/mach/hurd/profil.c: Likewise.
42456         * sysdeps/s390/dl-procinfo.h: Likewise.
42457         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42458         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42459         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42460         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42463 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42465         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42466         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42468 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42470         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42471         aix specific files.
42472         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42473         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42474         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42475         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42476         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42477         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42478         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42479         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42481 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42482             Roland McGrath  <roland@hack.frob.com>
42484         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42485         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42487 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42489         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42490         __executable_start symbol instead of _start.
42492 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42494         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42495         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42496         Move macros to...
42497         * sysdeps/gnu/ldsodefs.h: ... this new file.
42499         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42500         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42501         instead of ELFOSABI_LINUX.
42503         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42504         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42505         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42506         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42507         Likewise.
42508         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42509         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42510         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42511         Likewise.
42512         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42513         (ibm_extended_long_double): Add ieee_nan member.
42514         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42515         (do_test): New function.
42517         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42518         TEST_TRUNC.
42519         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42520         functions, renamed from truncdfsf_test, trunctfsf_test,
42521         trunctfdf_test.
42522         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42523         functions.
42524         (do_test): Run all these.
42526 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42528         * argp/argp-help.c: Fix typos.
42529         * argp/argp-parse.c: Likewise.
42530         * debug/backtracesyms.c: Likewise.
42531         * elf/elf.h: Likewise.
42532         * malloc/malloc.c: Likewise.
42533         * nis/nis_print.c: Likewise.
42534         * resolv/res_comp.c: Likewise.
42535         * stdlib/stdlib.h: Likewise.
42536         * sunrpc/clnt_tcp.c: Likewise.
42537         * sunrpc/clnt_udp.c: Likewise.
42538         * sunrpc/clnt_unix.c: Likewise.
42539         * sysdeps/unix/bsd/ptsname.c: Likewise.
42540         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42541         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42543         Likewise.
42544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42545         Likewise.
42546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42547         Likewise.
42548         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42550 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42552         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42555 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42557         [BZ #15897]
42558         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42559         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42560         ($(objpfx)bug-dl-leaf): New rule.
42561         ($(objpfx)bug-dl-leaf.so): Likewise.
42562         ($(objpfx)bug-dl-leaf.out): Likewise.
42563         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42564         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42565         * dlfcn/bug-dl-leaf.c: New test.
42566         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42567         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42568         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42569         (dlclose): Likewise.
42570         (dlmopen): Likewise.
42572 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42574         * include/netdb.h [!_ISOMAC]:
42575         Don't include <tls.h>.
42576         (h_errno, __libc_h_errno): Move declaration and macros out of
42577         [_LIBC_REENTRANT].
42579         * include/resolv.h [_RESOLV_H_]:
42580         Don't include <tls.h>.
42581         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42582         * resolv/res_libc.c: Don't include <tls.h>.
42583         (_res): Use __attribute__ ((nocommon)) in place of
42584         __attribute__ ((section (".bss"))).
42586         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42587         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42589         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42591         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42592         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42594         * resolv/res_mkquery.c: Include <sys/time.h>.
42596         * inet/ifreq.c: Moved to ...
42597         * sysdeps/unix/ifreq.c: ... here.
42598         * inet/ifreq.c: New file, true stub version.
42600         * socket/sa_len.c: New file.
42601         * socket/Makefile (aux): Add it.
42602         * sysdeps/unix/sysv/linux/Makefile
42603         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42604         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42605         and #include <socket/sa_len.c>.
42606         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42607         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42609         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42610         * bits/socket.h: ... here.
42612         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42613         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42614         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42616 2013-08-27  Andreas Schwab  <schwab@suse.de>
42618         [BZ #15736]
42619         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42620         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42621         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42622         * string/test-strcasecmp.c (test_main): Run tests in several
42623         locales.
42624         * string/test-strncasecmp.c (test_main): Likewise.
42626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42627         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42628         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42629         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42630         (__strncasecmp_ssse3) [PIC]: Likewise.
42632 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42634         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42636         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42637         instead of explicitly declaring xdecrypt.
42638         * nis/nss_nis/nis-publickey.c: Likewise.
42640 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42642         [BZ #15890]
42643         * nscd/aicache.c: Include res_hconf.h.
42644         (addhstaiX): Initialize res_hconf.
42646 2013-08-26  Andreas Schwab  <schwab@suse.de>
42648         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42649         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42651 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42653         * nscd/aicache.c (addhstaiX): Fix indentation.
42655 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42657         * configure.ac: Quote $build_pt_chown test.
42658         * configure: Regenerated.
42660 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42662         [BZ #15532]
42663         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42664         * math/s_cexpf.c (__cexpf): Likewise.
42665         * math/s_cexpl.c (__cexpl): Likewise.
42666         * math/libm-test.inc (cexp_test_data): Correct expected return
42667         value for NaN + i0.  Add another test.
42669 2013-08-22  David S. Miller  <davem@davemloft.net>
42671         * po/ca.po: Update Catalan translation from translation project.
42672         * po/uk.po: Add Ukrainian translations from translation project.
42674 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42676         [BZ #15797]
42677         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42678         is infinite, not alongside NaN test.
42679         * math/s_fdimf.c (__fdimf): Likewise.
42680         * math/s_fdiml.c (__fdiml): Likewise.
42681         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42682         errno is unchanged.
42684 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42686         * argp/argp-help.c: Fix typos.
42687         * crypt/speeds.c: Likewise.
42688         * csu/check_fds.c: Likewise.
42689         * elf/dl-load.c: Likewise.
42690         * elf/dl-open.c: Likewise.
42691         * elf/reldep3.c: Likewise.
42692         * elf/reldep.c: Likewise.
42693         * elf/sprof.c: Likewise.
42694         * iconv/iconv_charmap.c: Likewise.
42695         * iconv/skeleton.c: Likewise.
42696         * iconv/strtab.c: Likewise.
42697         * io/lockf64.c: Likewise.
42698         * libio/libioP.h: Likewise.
42699         * resolv/gai_notify.c: Likewise.
42700         * resolv/ns_name.c: Likewise.
42701         * resolv/ns_samedomain.c: Likewise.
42702         * resolv/res_send.c: Likewise.
42703         * stdlib/random.c: Likewise.
42704         * sunrpc/rpc/xdr.h: Likewise.
42705         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42706         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42707         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42708         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42709         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42710         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42711         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42712         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42713         * sysdeps/mach/hurd/check_fds.c: Likewise.
42714         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42715         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42716         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42717         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42718         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42719         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42720         * sysdeps/pthread/aio_notify.c: Likewise.
42721         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42722         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42723         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42724         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42725         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42727 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42729         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42730         version if bit_Slow_SSE4_2 is set.
42731         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42732         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42734 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42736         [BZ #15867]
42737         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42738         trampoline stack frame information.
42739         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42740         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42741         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42742         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42743         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42744         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42745         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42746         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42747         sa_flags value.
42748         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42749         interrupting a syscall and set with option SA_SIGINFO.
42751 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42753         [BZ #15531]
42754         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42755         argument is infinite.
42756         * math/s_cprojf.c (__cprojf): Likewise.
42757         * math/s_cprojl.c (__cprojl): Likewise.
42758         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42759         * math/libm-test.inc (cproj_test_data): Add more tests.
42761         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42763         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42764         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42765         size.  Use __ffs to determine corresponding shift.
42767 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42768             Roland McGrath  <roland@hack.frob.com>
42770         * Makefile (INSTALL): Remove trailing blank lines from output of
42771         makeinfo.
42773 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42775         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42776         Align 32 bit compat elf_greg to 8 bytes.
42778 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42780         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42782 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42784         * string/strcoll_l.c (coll_seq): New structure.
42785         (get_next_seq_cached): New function.
42786         (get_next_seq): New function.
42787         (do_compare): New function.
42788         (STRCOLL): Use GNU style definition.  Simplify implementation
42789         by using get_next_seq, get_next_seq_cached and do_compare.
42791 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42793         [BZ #14699]
42794         CVE-2013-4237
42795         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42796         member.
42797         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42798         member.
42799         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42800         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42801         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42802         conditional.
42803         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42804         GETDENTS_64BIT_ALIGNED.
42805         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42806         * manual/filesys.texi (Reading/Closing Directory): Document
42807         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42808         strongly.
42809         * manual/conf.texi (Limits for Files): Add portability note to
42810         NAME_MAX, PATH_MAX.
42811         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42813 2013-08-13  Andreas Schwab  <schwab@suse.de>
42815         [BZ #15749]
42816         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42817         of fabs.
42818         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42819         LDBL_MAX_EXP >= 16384]: Add tests for it.
42821 2013-08-12  David S. Miller  <davem@davemloft.net>
42823         * version.h (RELEASE): Set to "development".
42824         (VERSION): Set to "2.18.90".
42825         * NEWS: Add 2.19 section.
42827 2013-08-03  David S. Miller  <davem@davemloft.net>
42829         * po/ko.po: Update Korean translation from translation project.
42831 2013-08-01  David S. Miller  <davem@davemloft.net>
42833         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42834         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
42835         Bilka.
42837 2013-07-30  David S. Miller  <davem@davemloft.net>
42839         * po/fr.po: Update French translation from translation project.
42841 2013-07-28  David S. Miller  <davem@davemloft.net>
42843         * po/cs.po: Update Czech translation from translation project.
42845         * po/sv.po: Update Swedish translation from translation project.
42847 2013-07-27  David S. Miller  <davem@davemloft.net>
42849         * po/eo.po: Update Esperanto translation from translation project.
42851         * po/vi.po: Update Vietnamese translation from translation project.
42853         * po/de.po: Update German translation from translation project.
42855 2013-07-26  David S. Miller  <davem@davemloft.net>
42857         * po/bg.po: Update Bulgarian translation from translation project.
42859         * po/nl.po: Update Dutch translation from translation project.
42860         * po/pl.po: Update Polish translation from translation project.
42861         * po/ru.po: Update Russian translation from translation project.
42863 2013-07-24  David S. Miller  <davem@davemloft.net>
42865         * po/libc.pot: Update.
42867 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42869         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
42870         variable page size.
42871         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
42872         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
42873         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
42875 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42877         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
42879 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42880             Andreas Schwab  <schwab@suse.de>
42881             Roland McGrath  <roland@hack.frob.com>
42882             Joseph Myers  <joseph@codesourcery.com>
42883             Carlos O'Donell  <carlos@redhat.com>
42885         [BZ #15755]
42886         * config.h.in: Define HAVE_PT_CHOWN.
42887         * config.make.in (build-pt-chown): New variable.
42888         * configure.in (--enable-pt_chown): New configure option.
42889         * configure: Regenerate.
42890         * login/Makefile: Include Makeconfig.  Build pt_chown only if
42891         build-pt-chown is enabled.
42892         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
42893         pt_chown to fix pty ownership.
42894         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
42895         CLOSE_ALL_FDS.
42896         * manual/install.texi (Configuring and compiling): Mention
42897         --enable-pt_chown. Add @findex for grantpt.
42898         * INSTALL: Regenerate.
42900 2013-07-20  David S. Miller  <davem@davemloft.net>
42902         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
42903         difference between 32-bit and 64-bit.
42905 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
42907         [BZ #15711]
42908         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
42909         Avoid system header dependency with -ffreestanding.
42910         ($(objpfx)bits/syscall%d): Likewise.
42912 2013-07-13  David S. Miller  <davem@davemloft.net>
42914         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
42915         underflows from atanl/atan2l due to bug 15319.
42916         (casinh_test_data): Likewise.
42918 2013-07-07  David S. Miller  <davem@davemloft.net>
42920         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
42922 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
42924         * sysdeps/i386/fpu/libm-test-ulps: Update.
42925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42927 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42929         * configure.in (--enable-lock-elision): Fix message text.
42930         * INSTALL: Regenerate.
42931         * configure: Regenerate.
42933 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42937 2013-07-03  Andreas Jaeger  <aj@suse.de>
42939         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
42940         define.
42941         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
42942         (ptrace_peeksiginfo_args): Add.
42943         (__ptrace_peeksiginfo_flags): Add.
42944         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42946         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42948 2013-07-03  Allan McRae  <allan@archlinux.org>
42950         * sysdeps/i386/fpu/libm-test-ulps: Update.
42952 2013-07-02  David S. Miller  <davem@davemloft.net>
42954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42956 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
42958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42960 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42962         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42965 2013-07-02  Andi Kleen <ak@linux.intel.com>
42967         * config.h.in (ENABLE_LOCK_ELISION): Add.
42968         * configure.in (--enable-lock-elision): Add option.
42969         * manual/install.texi: Document --enable lock elision.
42970         * configure: Regenerate
42971         * INSTALL: Regenerate.
42973 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
42975         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
42976         SSE4.2 strcasecmp for libc.a.
42977         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42979 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
42981         [BZ #13304]
42982         * soft-fp/op-common.h (_FP_FMA): New macro.
42983         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
42984         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
42985         (_FP_MUL_MEAT_1_imm): ... here.
42986         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
42987         (_FP_MUL_MEAT_1_wide): ... here.
42988         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
42989         (_FP_MUL_MEAT_1_hard): ... here.
42990         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
42991         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
42992         (_FP_MUL_MEAT_2_wide): ... here.
42993         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
42994         (_FP_MUL_MEAT_2_wide_3mul): ... here.
42995         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
42996         (_FP_MUL_MEAT_2_gmp): ... here.
42997         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
42998         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
42999         (_FP_MUL_MEAT_4_wide): ... here.
43000         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43001         (_FP_MUL_MEAT_4_gmp): ... here.
43002         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43003         (_FP_WFRACBITS_DW_S): Likewise.
43004         (_FP_WFRACXBITS_DW_S): Likewise.
43005         (_FP_HIGHBIT_DW_S): Likewise.
43006         (FP_FMA_S): Likewise.
43007         (_FP_FRAC_HIGH_DW_S): Likewise.
43008         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43009         (_FP_WFRACBITS_DW_D): Likewise.
43010         (_FP_WFRACXBITS_DW_D): Likewise.
43011         (_FP_HIGHBIT_DW_D): Likewise.
43012         (FP_FMA_D): Likewise.
43013         (_FP_FRAC_HIGH_DW_D): Likewise.
43014         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43015         (_FP_WFRACBITS_DW_E): Likewise.
43016         (_FP_WFRACXBITS_DW_E): Likewise.
43017         (_FP_HIGHBIT_DW_E): Likewise.
43018         (FP_FMA_E): Likewise.
43019         (_FP_FRAC_HIGH_DW_E): Likewise.
43020         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43021         (_FP_WFRACBITS_DW_Q): Likewise.
43022         (_FP_WFRACXBITS_DW_Q): Likewise.
43023         (_FP_HIGHBIT_DW_Q): Likewise.
43024         (FP_FMA_Q): Likewise.
43025         (_FP_FRAC_HIGH_DW_Q): Likewise.
43026         * soft-fp/fmasf4.c: New file.
43027         * soft-fp/fmadf4.c: Likewise.
43028         * soft-fp/fmatf4.c: Likewise.
43030 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43033         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43034         Silvermont.
43035         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43036         macro.
43037         (index_Slow_SSE4_2): Likewise.
43038         (index_Prefer_PMINUB_for_stringop): Likewise.
43039         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43040         bit_Slow_SSE4_2 is set.
43041         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43042         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43044 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43046         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43047         rtld_global._dl_hwcap2.
43048         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43049         POWER8.
43050         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43051         POWER8 feature descriptions defined in _dl_hwcap2.
43052         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43053         string handling for POWER8 feature bits.
43054         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43055         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43056         _dl_powerpc_cap_flags.
43057         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43058         * sysdeps/powerpc/rtld-global-offsets.sym
43059         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43060         _dl_hwcap2 in the rtld_global_ro structure.
43062 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43064         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43065         hardware capabilities in support of AT_HWCAP2.
43066         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43067         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43068         GLRO(dl_hwcap2).
43069         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43070         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43071         explicitly the unknown a_type display mechanism is used.
43072         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43073         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43074         struct member.
43075         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43076         to macro prototype for AT_HWCAP2 support.
43077         * sysdeps/i386/dl-procinfo.h: Likewise.
43078         * sysdeps/s390/dl-procinfo.h: Likewise.
43079         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43080         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43081         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43082         return -1 for unknown a_type display fallback.
43083         * sysdeps/sparc/dl-procinfo.h: Likewise.
43084         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43085         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43087 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43089         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43090         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43092 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43094         [BZ #12492]
43095         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43096         mprotect making __stack_prot writable.
43098 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43099             Joseph Myers  <joseph@codesourcery.com>
43101         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43102         as being properly aligned.
43104 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43106         * dlfcn/modstatic5.c: New file.
43107         * dlfcn/tststatic5.c: New file.
43108         * dlfcn/Makefile (tests): Add tststatic5.
43109         (tests-static): Likewise.
43110         (modules-names): Add modstatic5.
43111         (tststatic5-ENV): New variable.
43112         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43114         [BZ #15022]
43115         * elf/dl-support.c (_dl_main_map): New variable.
43116         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43117         (_dl_nns, _dl_load_adds): Set to 1.
43118         (_dl_initial_searchlist): Refer to _dl_main_map.
43119         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43120         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43121         call to _dl_get_origin.
43122         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43123         around call_map.
43124         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43125         * dlfcn/modstatic3.c: New file.
43126         * dlfcn/tststatic3.c: New file.
43127         * dlfcn/tststatic4.c: New file.
43128         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43129         (tests-static): Likewise.
43130         (modules-names): Add modstatic3.
43131         (tststatic3-ENV, tststatic4-ENV): New variables.
43132         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43133         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43135 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43137         * configure.in (CC): Require GCC version 4.4 or later.
43138         * configure: Regenerated.
43139         * manual/install.texi (Tools for Compilation): Update GCC version
43140         requirement.
43141         * INSTALL: Regenerated.
43143 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43145         [BZ #15674]
43146         * string/test-memcmp.c (check2): New.
43147         (main): Call check2.
43149         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43151 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43153         [BZ #15022]
43154         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43155         over to...
43156         (dl_open_worker) [!SHARED]: ... here.
43158 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43160         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43162 2013-06-25  Richard Henderson  <rth@redhat.com>
43164         * locale/programs/locarchive.c: Include <libc-internal.h>
43166 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43168         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43169         trailing whitespace removed.
43171 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43173         [BZ #10283]
43174         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43175         * locale/programs/locarchive.c: Include libc-mmap.h.
43176         (prepare_address_space): Take two new outputs (the mmap base and len).
43177         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43178         values.
43179         (create_archive): Declare new mmap base and len values for
43180         prepare_address_space, and store the result in ah.
43181         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43182         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43183         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43184         Declare new mmap base and len values for
43185         prepare_address_space, and store the result in new_ah.
43186         (open_archive): Declare new mmap base and len values for
43187         prepare_address_space, and store the result in ah.
43188         (close_archive): If ah->mmap_base is not NULL, use that and
43189         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43190         * sysdeps/generic/libc-mmap.h: New file.
43192 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43194         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43195         (ALIGN_UP): Likewise.
43196         (PTR_ALIGN_DOWN): Likewise.
43197         (PTR_ALIGN_UP): Likewise.
43199 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43201         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43202         entry mapped to PPC_PLATFORM_POWER8.
43203         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43204         POWER8.
43205         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43206         (_dl_string_platform): Add case for exporting platform position for
43207         POWER8.
43208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43209         search path to sysdeps/powerpc/powerpc32/power8 directory.
43210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43211         search path to sysdeps/powerpc/powerpc64/power8 directory.
43212         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43213         power7 directories.
43214         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43215         power7 directories.
43217 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43219         * INSTALL: Regenerate.
43221         * nscd/connections.c (nscd_init): Fix comment.
43223 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43225         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43227         [BZ #15667]
43228         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43229         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43231 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43233         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43234         DL_DST_REQ_STATIC.
43235         (DL_DST_REQ_STATIC): Remove macro.
43237 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43239         [BZ #7006]
43240         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43241         with a shift of 0 bits.
43243 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43245         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43246         $(tststatic-ENV).
43248 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43250         [BZ #15655]
43251         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43253 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43255         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43256         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43257         accepts -fno-tree-loop-distribute-patterns.
43258         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43259         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43260         recursive call.
43261         * string/memset.c (memset): Likewise.
43262         * string/test-memmove.c (simple_memmove): Disable loop transformation
43263         to library calls.
43264         * string/test-memset.c (simple_memset): Likewise.
43265         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43266         * benchtests/bench-memset.c (simple_memset): Likewise.
43267         * configure: Regenerated.
43269 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43271         * math/test-misc.c (main): Ignore fesetround failure when failures
43272         of subsequent rounding tests would be ignored.
43274         [BZ #15654]
43275         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43276         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43277         * math/fegetenv.c (__fegetenv): Return 0.
43278         * math/fegetexcept.c (fegetexcept): Return 0.
43279         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43280         FE_TONEAREST.
43281         * math/feholdexcpt.c (feholdexcept): Return 0.
43282         * math/fesetenv.c (__fesetenv): Return 0.
43283         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43284         argument FE_TONEAREST.
43285         * math/feupdateenv.c (__feupdateenv): Return 0.
43286         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43288 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43290         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43291         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43292         ($(objpfx)rtld-%.os rules): Use them.
43294 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43296         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43297         fields.
43299 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43301         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43302         length of target pattern, then descending length of dependency pattern.
43303         * configure.in (AWK): Require gawk 3.1.2 or newer.
43304         * manual/install.texi (Tools for Compilation): Say that we do.
43305         * configure: Regenerated.
43307         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43308         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43309         * scripts/sysd-rules.awk: ... this new script.
43310         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43311         than a glob-style pattern.
43313 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43315         * math/test-misc.c (main): Do not treat incorrectly rounded
43316         conversions as failure unless ROUNDING_TESTS passes.
43318 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43320         [BZ #15631]
43321         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43322         restore exception state around main square root computation, then
43323         check for inexactness explicitly.
43325         * math/libm-test.inc (fma_test_data): Add another test.
43327 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43329         * manual/threads.texi (Non-POSIX Extensions): New document
43330         node.  Document pthread_getattr_default_np and
43331         pthread_setattr_default_np.
43333         * Versions.def (libpthread): Add GLIBC_2.18.
43334         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43336         Likewise.
43337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43338         Likewise.
43339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43340         Likewise.
43341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43342         Likewise.
43343         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43344         Likewise.
43345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43346         Likewise.
43347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43348         Likewise.
43349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43350         Likewise.
43351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43352         Likewise.
43354 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43357         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43359 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43360             H.J. Lu  <hjl.tools@gmail.com>
43362         [BZ #15627]
43363         * sysdeps/x86_64/rtld-memset.c: Remove file.
43364         * sysdeps/x86_64/rtld-memset.S: New file.
43366 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43368         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43369         (test_in_one_mode): Take arguments for whether the rounding mode
43370         is supported for each floating-point type.
43371         (do_test): Pass new arguments to test_in_one_mode using
43372         ROUNDING_TESTS.
43374 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43376         * posix/tst-waitid.c (do_test): Distinguish different instances of
43377         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43378         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43379         before entering the kernel for waitpid.
43381 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43383         * NEWS: Fix note on clock function precision.  Text by Roland
43384         McGrath.
43386 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43388         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43389         it into place only when and if the sanity check passes.
43391 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43393         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43394         output for whether conversion result is exact.  Take argument
43395         indicating whether type is IBM long double.
43396         (round_for_all): Change need_exact field to ibm_ld.
43397         * stdlib/tst-strtod-round.c (struct exactness): New type.
43398         (struct test): Change bool ld_ok field to struct exactness exact.
43399         (TEST): Update all definitions for change to field.
43400         (tests): Regenerate array contents.
43401         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43402         field value.  Check for IBM long double here.
43403         (do_test): Update calls to test_in_one_mode.
43405 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43407         [BZ #12515]
43408         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43409         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43411 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43413         [BZ #15605]
43414         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43415         generated by the compiler on loop optimizations.
43416         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43417         general definitions.
43419 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43421         * math/bug-nextafter.c: Include <math-tests.h>.
43422         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43423         the relevant type.
43424         * math/bug-nexttoward.c: Include <math-tests.h>.
43425         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43426         the relevant type.
43427         * math/test-misc.c: Include <math-tests.h>.
43428         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43429         the relevant type.
43431 2013-06-12  Andreas Jaeger  <aj@suse.de>
43433         * po/ia.po: Update Interlingua translation from translation
43434         project.
43436 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43438         * include/fenv.h: Include stdbool.h.
43439         (struct rm_ctx): New structure.
43440         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43441         Define macro.
43442         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43443         (SET_RESTORE_ROUNDF): Likewise.
43444         (SET_RESTORE_ROUNDL): Likewise.
43445         (SET_RESTORE_ROUND_NOEX): Likewise.
43446         (SET_RESTORE_ROUND_NOEXF): Likewise.
43447         (SET_RESTORE_ROUND_NOEXL): Likewise.
43448         (SET_RESTORE_ROUND_53BIT): Likewise.
43449         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43450         (libc_feresetround_noexf_ctx): Likewise.
43451         (libc_feresetround_noexl_ctx): Likewise.
43452         (libc_feholdsetround_53bit_ctx): Likewise.
43453         (libc_feresetround_53bit_ctx): Likewise.
43454         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43455         (libc_feholdexcept_setround_sse_ctx): New function.
43456         (libc_fesetenv_sse_ctx): Likewise.
43457         (libc_feupdateenv_sse_ctx): Likewise.
43458         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43459         (libc_feholdexcept_setround_387_ctx): Likewise.
43460         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43461         (libc_feholdsetround_387_prec_ctx): Likewise.
43462         (libc_feholdsetround_387_ctx): Likewise.
43463         (libc_feholdsetround_387_53bit_ctx): Likewise.
43464         (libc_feholdsetround_sse_ctx): Likewise.
43465         (libc_feresetround_sse_ctx): Likewise.
43466         (libc_feresetround_387_ctx): Likewise.
43467         (libc_feupdateenv_387_ctx): Likewise.
43468         (libc_feholdexcept_setroundf_ctx): Define macro.
43469         (libc_fesetenvf_ctx): Likewise.
43470         (libc_feupdateenvf_ctx): Likewise.
43471         (libc_feholdsetroundf_ctx): Likewise.
43472         (libc_feresetroundf_ctx): Likewise.
43473         (libc_feholdexcept_setround_ctx): Likewise.
43474         (libc_fesetenv_ctx): Likewise.
43475         (libc_feupdateenv_ctx): Likewise.
43476         (libc_feholdsetround_ctx): Likewise.
43477         (libc_feresetround_ctx): Likewise.
43478         (libc_feholdexcept_setroundl_ctx): Likewise.
43479         (libc_feupdateenvl_ctx): Likewise.
43480         (libc_feholdsetroundl_ctx): Likewise.
43481         (libc_feresetroundl_ctx): Likewise.
43482         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43483         (libc_feresetround_53bit_ctx): Likewise.
43485 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43487         * locale/iso-639.def: Convert to UTF-8.
43489 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43491         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43492         (EXCEPTION_TESTS_double): Likewise.
43493         (EXCEPTION_TESTS_long_double): Likewise.
43494         (EXCEPTION_TESTS): Likewise.
43495         * math/libm-test.inc (test_exceptions): Only test exceptions if
43496         EXCEPTION_TESTS (FLOAT).
43498 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43500         * benchtests/Makefile (string-bench): Add strcpy_chk and
43501         stpcpy_chk.
43502         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43503         * benchtests/bench-stpcpy_chk.c: New file.
43504         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43505         * benchtests/bench-strcpy_chk.c: New file.
43506         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43507         code.
43508         (do_test): Likewise.
43510 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43513         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43514         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43515         with tabs where appropriate.
43516         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43517         dl-procinfo.h.
43518         [PPC_PLATFORM_PPC440]: Likewise.
43519         [PPC_PLATFORM_PPC464]: Likewise.
43520         [PPC_PLATFORM_PPC476]: Likewise.
43521         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43522         ppc464, and ppc476 platform strings merging from ports/
43523         dl-procinfo.h.
43525 2013-06-11  Andreas Schwab  <schwab@suse.de>
43527         [BZ #14991]
43528         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43529         (from_ucs4_idx): Regenerate.
43530         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43531         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43532         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43533         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43534         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43535         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43536         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43537         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43538         from FROM_LOOP and TO_LOOP specific macros.
43539         (BODY): Handle combining characters.
43540         * iconvdata/BIG5HKSCS.irreversible: Update.
43541         * iconvdata/BIG5HKSCS.precomposed: New file.
43542         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43543         characters.
43544         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43546 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43548         * include/sys/time.h: Fix indentation and add copyright header.
43550         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43551         (do_test): Likewise.
43552         * string/test-memchr.c (do_one_test): Likewise.
43553         (do_test): Likewise.
43554         * string/test-memcmp.c (do_one_test): Likewise.
43555         (do_test): Likewise.
43556         * string/test-memcpy.c (do_one_test): Likewise.
43557         (do_test): Likewise.
43558         * string/test-memmem.c (do_one_test): Likewise.
43559         (do_test): Likewise.
43560         (do_random_tests): Likewise.
43561         * string/test-memmove.c (do_one_test): Likewise.
43562         (do_test): Likewise.
43563         * string/test-memset.c (do_one_test): Likewise.
43564         (do_test): Likewise.
43565         * string/test-rawmemchr.c (do_one_test): Likewise.
43566         (do_test): Likewise.
43567         * string/test-strcasecmp.c (do_one_test): Likewise.
43568         (do_test): Likewise.
43569         * string/test-strcasestr.c (do_one_test): Likewise.
43570         (do_test): Likewise.
43571         * string/test-strcat.c (do_one_test): Likewise.
43572         (do_test): Likewise.
43573         * string/test-strchr.c (do_one_test): Likewise.
43574         (do_test): Likewise.
43575         * string/test-strcmp.c (do_one_test): Likewise.
43576         (do_test): Likewise.
43577         * string/test-strcpy.c (do_one_test): Likewise.
43578         (do_test): Likewise.
43579         * string/test-string.h: Likewise.
43580         (test_init): Likewise.
43581         * string/test-strlen.c (do_one_test): Likewise.
43582         (do_test): Likewise.
43583         * string/test-strncasecmp.c (do_one_test): Likewise.
43584         (do_test): Likewise.
43585         * string/test-strncat.c (do_one_test): Likewise.
43586         (do_test): Likewise.
43587         * string/test-strncmp.c (do_one_test): Likewise.
43588         (do_test_limit): Likewise.
43589         (do_test): Likewise.
43590         * string/test-strncpy.c (do_one_test): Likewise.
43591         (do_test): Likewise.
43592         * string/test-strnlen.c (do_one_test): Likewise.
43593         (do_test): Likewise.
43594         * string/test-strpbrk.c (do_one_test): Likewise.
43595         (do_test): Likewise.
43596         * string/test-strrchr.c (do_one_test): Likewise.
43597         (do_test): Likewise.
43598         * string/test-strspn.c (do_one_test): Likewise.
43599         (do_test): Likewise.
43600         * string/test-strstr.c (do_one_test): Likewise.
43601         (do_test): Likewise.
43603         * benchtests/Makefile (string-bench): Add string benchmarks.
43604         * benchtests/bench-bcopy-ifunc.c: New file.
43605         * benchtests/bench-bcopy.c: New file.
43606         * benchtests/bench-bzero-ifunc.c: New file.
43607         * benchtests/bench-bzero.c: New file.
43608         * benchtests/bench-memccpy-ifunc.c: New file.
43609         * benchtests/bench-memccpy.c: New file.
43610         * benchtests/bench-memchr-ifunc.c: New file.
43611         * benchtests/bench-memchr.c: New file.
43612         * benchtests/bench-memcmp-ifunc.c: New file.
43613         * benchtests/bench-memcmp.c: New file.
43614         * benchtests/bench-memmem-ifunc.c: New file.
43615         * benchtests/bench-memmem.c: New file.
43616         * benchtests/bench-memmove-ifunc.c: New file.
43617         * benchtests/bench-memmove.c: New file.
43618         * benchtests/bench-mempcpy-ifunc.c: New file.
43619         * benchtests/bench-mempcpy.c: New file.
43620         * benchtests/bench-memset-ifunc.c: New file.
43621         * benchtests/bench-memset.c: New file.
43622         * benchtests/bench-rawmemchr-ifunc.c: New file.
43623         * benchtests/bench-rawmemchr.c: New file.
43624         * benchtests/bench-stpcpy-ifunc.c: New file.
43625         * benchtests/bench-stpcpy.c: New file.
43626         * benchtests/bench-stpncpy-ifunc.c: New file.
43627         * benchtests/bench-stpncpy.c: New file.
43628         * benchtests/bench-strcasecmp-ifunc.c: New file.
43629         * benchtests/bench-strcasecmp.c: New file.
43630         * benchtests/bench-strcasestr-ifunc.c: New file.
43631         * benchtests/bench-strcasestr.c: New file.
43632         * benchtests/bench-strcat-ifunc.c: New file.
43633         * benchtests/bench-strcat.c: New file.
43634         * benchtests/bench-strchr-ifunc.c: New file.
43635         * benchtests/bench-strchr.c: New file.
43636         * benchtests/bench-strchrnul-ifunc.c: New file.
43637         * benchtests/bench-strchrnul.c: New file.
43638         * benchtests/bench-strcmp-ifunc.c: New file.
43639         * benchtests/bench-strcmp.c: New file.
43640         * benchtests/bench-strcpy-ifunc.c: New file.
43641         * benchtests/bench-strcpy.c: New file.
43642         * benchtests/bench-strcspn-ifunc.c: New file.
43643         * benchtests/bench-strcspn.c: New file.
43644         * benchtests/bench-strlen-ifunc.c: New file.
43645         * benchtests/bench-strlen.c: New file.
43646         * benchtests/bench-strncasecmp-ifunc.c: New file.
43647         * benchtests/bench-strncasecmp.c: New file.
43648         * benchtests/bench-strncat-ifunc.c: New file.
43649         * benchtests/bench-strncat.c: New file.
43650         * benchtests/bench-strncmp-ifunc.c: New file.
43651         * benchtests/bench-strncmp.c: New file.
43652         * benchtests/bench-strncpy-ifunc.c: New file.
43653         * benchtests/bench-strncpy.c: New file.
43654         * benchtests/bench-strnlen-ifunc.c: New file.
43655         * benchtests/bench-strnlen.c: New file.
43656         * benchtests/bench-strpbrk-ifunc.c: New file.
43657         * benchtests/bench-strpbrk.c: New file.
43658         * benchtests/bench-strrchr-ifunc.c: New file.
43659         * benchtests/bench-strrchr.c: New file.
43660         * benchtests/bench-strspn-ifunc.c: New file.
43661         * benchtests/bench-strspn.c: New file.
43662         * benchtests/bench-strstr-ifunc.c: New file.
43663         * benchtests/bench-strstr.c: New file.
43665         * benchtests/Makefile: Disable parallel execution of targets.
43666         (string-bench): Add memcpy.
43667         (benchset): New variable to store a list of benchmark sets.
43668         (bench-func): Renamed from bench.
43669         (bench-set): New target.
43670         (bench): Depend on bench-func and bench-set.
43671         * benchtests/README: Add section on benchmark sets.
43672         * benchtests/bench-memcpy-ifunc.c: New file.
43673         * benchtests/bench-memcpy.c: New file.
43674         * benchtests/bench-string.h: New file.
43676 2013-06-11  Andreas Schwab  <schwab@suse.de>
43678         [BZ #15577]
43679         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43680         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43681         values in the triple.
43682         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43683         terminator in the group key.
43685 2013-06-11  Andreas Jaeger  <aj@suse.de>
43687         * po/zh_TW.po: Update Chinese (traditional) translation from
43688         translation project.
43690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43692         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43693         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43694         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43695         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43696         (clock_getcpuclockid): Likewise.
43697         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43698         Add weak_alias and libc_hidden_def.
43699         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43700         * rt/clock_gettime.c (clock_gettime): Rename to
43701         __clock_gettime.  Add weak_alias and libc_hidden_def.
43702         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43703         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43704         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43705         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43706         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43707         Likewise.
43708         * rt/clock_settime.c (clock_settime): Rename to
43709         __clock_settime.  Add weak_alias and libc_hidden_def.
43710         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43712 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43714         * mach/err_boot.sub: Remove trailing whitespace.
43715         * mach/err_ipc.sub: Likewise.
43716         * mach/err_mach.sub: Likewise.
43718         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43719         (ROUNDING_TESTS_double): Likewise.
43720         (ROUNDING_TESTS_long_double): Likewise.
43721         (ROUNDING_TESTS): Likewise.
43722         * math/libm-test.inc: Include <math-tests.h>.
43723         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43724         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43725         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43726         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43728 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43730         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43731         of assigning.
43733 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43735         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43736         otherwise empty TRANS lines.
43737         * sysdeps/gnu/errlist.c: Regenerated.
43739         * catgets/gencat.c (error_print): Use (void) in function
43740         definition.
43741         * crypt/crypt_util.c (__init_des): Likewise.
43742         * crypt/speeds.c (Stop): Likewise.
43743         (main): Likewise.
43744         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43745         * inet/ruserpass.c (token): Likewise.
43746         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43747         * intl/localealias.c (extend_alias_table): Likewise.
43748         * intl/plural-exp.c (init_germanic_plural): Likewise.
43749         * libio/fcloseall.c (__fcloseall): Likewise.
43750         * libio/genops.c (_IO_flush_all): Likewise.
43751         (_IO_flush_all_linebuffered): Likewise.
43752         (_IO_cleanup): Likewise.
43753         (_IO_iter_begin): Likewise.
43754         (_IO_iter_end): Likewise.
43755         (_IO_list_lock): Likewise.
43756         (_IO_list_unlock): Likewise.
43757         (_IO_list_resetlock): Likewise.
43758         * libio/getchar.c (getchar): Likewise.
43759         * libio/getchar_u.c (getchar_unlocked): Likewise.
43760         * libio/getwchar.c (getwchar): Likewise.
43761         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43762         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43763         * login/getpt.c (__getpt): Likewise.
43764         * login/tst-utmp.c (main): Likewise.
43765         * malloc/hooks.c (__malloc_check_init): Likewise.
43766         * malloc/malloc.c (__malloc_stats): Likewise.
43767         * malloc/mtrace.c (tr_break): Likewise.
43768         (mtrace): Likewise.
43769         (muntrace): Likewise.
43770         * misc/fstab.c (endfsent): Likewise.
43771         * misc/getclktck.c (__getclktck): Likewise.
43772         * misc/getdtsz.c (__getdtablesize): Likewise.
43773         * misc/gethostid.c (gethostid): Likewise.
43774         * misc/getpagesize.c (__getpagesize): Likewise.
43775         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43776         (__get_nprocs): Likewise.
43777         (__get_phys_pages): Likewise.
43778         (__get_avphys_pages): Likewise.
43779         * misc/getttyent.c (getttyent): Likewise.
43780         (setttyent): Likewise.
43781         (endttyent): Likewise.
43782         * misc/getusershell.c (getusershell): Likewise.
43783         (endusershell): Likewise.
43784         (setusershell): Likewise.
43785         (initshells): Likewise.
43786         * misc/hsearch.c (__hdestroy): Likewise.
43787         * misc/sync.c (sync): Likewise.
43788         * misc/syslog.c (closelog_internal): Likewise.
43789         (closelog): Likewise.
43790         * misc/ttyslot.c (ttyslot): Likewise.
43791         * misc/vhangup.c (vhangup): Likewise.
43792         * posix/fork.c (__fork): Likewise.
43793         * posix/getegid.c (__getegid): Likewise.
43794         * posix/geteuid.c (__geteuid): Likewise.
43795         * posix/getgid.c (__getgid): Likewise.
43796         * posix/getpid.c (__getpid): Likewise.
43797         * posix/getppid.c (__getppid): Likewise.
43798         * posix/getuid.c (__getuid): Likewise.
43799         * posix/pause.c (pause): Likewise.
43800         * posix/setpgrp.c (setpgrp): Likewise.
43801         * posix/setsid.c (__setsid): Likewise.
43802         * posix/test-vfork.c (noop): Likewise.
43803         * resolv/gethnamaddr.c (_endhtent): Likewise.
43804         (_gethtent): Likewise.
43805         (ht_endhostent): Likewise.
43806         (gethostent): Likewise.
43807         (dns_service): Likewise.
43808         * stdlib/drand48.c (drand48): Likewise.
43809         * stdlib/lrand48.c (lrand48): Likewise.
43810         * stdlib/mrand48.c (mrand48): Likewise.
43811         * stdlib/rand.c (rand): Likewise.
43812         * stdlib/random.c (__random): Likewise.
43813         * stdlib/setenv.c (clearenv): Likewise.
43814         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43815         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43816         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43817         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43818         (__get_nprocs): Likewise.
43819         (__get_phys_pages): Likewise.
43820         (__get_avphys_pages): Likewise.
43821         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43822         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43823         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43824         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43825         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43826         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43827         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43828         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43829         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43830         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43831         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43832         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43833         * sysdeps/posix/clock.c (clock): Likewise.
43834         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
43835         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
43836         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
43837         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
43838         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
43839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
43840         (__get_nprocs_conf): Likewise.
43841         (__get_phys_pages): Likewise.
43842         (__get_avphys_pages): Likewise.
43843         * time/clock.c (clock): Likewise.
43844         * time/tzset.c (__tzname_max): Likewise.
43846 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
43848         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
43849         (__bswap_32): Do not use "register".
43850         * crypt/crypt.c (_ufc_doit_r): Likewise.
43851         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43852         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43853         * gmon/gmon.c (__monstartup): Likewise.
43854         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
43855         * hurd/hurdmalloc.c (more_memory): Likewise.
43856         (malloc): Likewise.
43857         (free): Likewise.
43858         (realloc): Likewise.
43859         (malloc_fork_prepare): Likewise.
43860         (malloc_fork_parent): Likewise.
43861         (malloc_fork_child): Likewise.
43862         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
43863         (_svcauth_des): Likewise.
43864         * inet/inet_lnaof.c (inet_lnaof): Likewise.
43865         * inet/inet_net.c (inet_network): Likewise.
43866         * inet/inet_netof.c (inet_netof): Likewise.
43867         * inet/rcmd.c (__validuser2_sa): Likewise.
43868         * io/fts.c (fts_open): Likewise.
43869         (fts_load): Likewise.
43870         (fts_close): Likewise.
43871         (fts_read): Likewise.
43872         (fts_children): Likewise.
43873         (fts_build): Likewise.
43874         (fts_stat): Likewise.
43875         (fts_sort): Likewise.
43876         (fts_alloc): Likewise.
43877         (fts_lfree): Likewise.
43878         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
43879         (_IO_file_xsgetn): Likewise.
43880         (_IO_file_xsgetn_mmap): Likewise.
43881         * libio/iofopncook.c (_IO_cookie_read): Likewise.
43882         (_IO_cookie_write): Likewise.
43883         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
43884         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
43885         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
43886         * malloc/obstack.c (_obstack_begin): Likewise.
43887         (_obstack_begin_1): Likewise.
43888         (_obstack_newchunk): Likewise.
43889         (_obstack_allocated_p): Likewise.
43890         (obstack_free): Likewise.
43891         (_obstack_memory_used): Likewise.
43892         * misc/getttyent.c (getttynam): Likewise.
43893         (getttyent): Likewise.
43894         (skip): Likewise.
43895         (value): Likewise.
43896         * misc/getusershell.c (initshells): Likewise.
43897         * misc/syslog.c (__vsyslog_chk): Likewise.
43898         * misc/ttyslot.c (ttyslot): Likewise.
43899         * nis/nis_hash.c (__nis_hash): Likewise.
43900         * posix/fnmatch_loop.c (FCT): Likewise.
43901         * posix/getconf.c (print_all): Likewise.
43902         (main): Likewise.
43903         * posix/getopt.c (exchange): Likewise.
43904         * posix/glob.c (globfree): Likewise.
43905         (prefix_array): Likewise.
43906         (__glob_pattern_type): Likewise.
43907         * resolv/arpa/nameser.h (NS_GET16): Likewise.
43908         (NS_GET32): Likewise.
43909         (NS_PUT16): Likewise.
43910         (NS_PUT32): Likewise.
43911         * resolv/gethnamaddr.c (getanswer): Likewise.
43912         (gethostbyname2): Likewise.
43913         (gethostbyaddr): Likewise.
43914         (_gethtent): Likewise.
43915         (_gethtbyname2): Likewise.
43916         (_gethtbyaddr): Likewise.
43917         * resolv/ns_print.c (dst_s_get_int16): Likewise.
43918         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
43919         * resolv/res_init.c (__res_vinit): Likewise.
43920         (net_mask): Likewise.
43921         * resolv/res_mkquery.c (outchar): Likewise.
43922         (PRINT): Likewise.
43923         * stdio-common/printf_fp.c (outchar): Likewise.
43924         (PRINT): Likewise.
43925         * stdio-common/printf_fphex.c (outchar): Likewise.
43926         (PRINT): Likewise.
43927         * stdio-common/printf_size.c (outchar): Likewise.
43928         (PRINT): Likewise.
43929         * stdio-common/test_rdwr.c (main): Likewise.
43930         * stdio-common/tfformat.c (matches): Likewise.
43931         * stdio-common/vfprintf.c (outchar): Likewise.
43932         (printf_unknown): Likewise.
43933         (buffered_vfprintf): Likewise.
43934         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43935         * stdio-common/xbug.c (AppendToBuffer): Likewise.
43936         (ReadFile): Likewise.
43937         * stdlib/qsort.c (SWAP): Likewise.
43938         (_quicksort): Likewise.
43939         * stdlib/setenv.c (__add_to_environ): Likewise.
43940         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43941         * stdlib/strtol_l.c (__strtol_l): Likewise.
43942         * stdlib/tst-strtod.c (main): Likewise.
43943         * stdlib/tst-strtol.c (main): Likewise.
43944         * stdlib/tst-strtoll.c (main): Likewise.
43945         * string/bits/string2.h (__strcmp_cc): Likewise.
43946         (__strcmp_cg): Likewise.
43947         (__strcspn_c1): Likewise.
43948         (__strcspn_c2): Likewise.
43949         (__strcspn_c3): Likewise.
43950         (__strspn_c1): Likewise.
43951         (__strspn_c2): Likewise.
43952         (__strspn_c3): Likewise.
43953         (__strsep_1c): Likewise.
43954         (__strsep_2c): Likewise.
43955         (__strsep_3c): Likewise.
43956         * string/memccpy.c (__memccpy): Likewise.
43957         * string/stpcpy.c (__stpcpy): Likewise.
43958         * string/strcmp.c (strcmp): Likewise.
43959         * string/strrchr.c (strrchr): Likewise.
43960         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
43961         Likewise.
43962         * sysdeps/mach/hurd/getcwd.c
43963         (_hurd_canonicalize_directory_name_internal): Likewise.
43964         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
43965         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
43966         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
43967         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
43968         Likewise, in both definitions.
43969         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
43970         definitions.
43971         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
43972         64] (__bswap_64): Likewise.
43973         * time/test_time.c (main): Likewise.
43974         * time/tzfile.c (__tzfile_read): Likewise.
43975         (__tzfile_compute): Likewise.
43976         * time/tzset.c (__tzset_parse_tz): Likewise.
43977         (tzset_internal): Likewise.
43978         (compute_change): Likewise.
43979         * wcsmbs/wcscat.c (__wcscat): Likewise.
43980         * wcsmbs/wcschr.c (wcschr): Likewise.
43981         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
43982         * wcsmbs/wcscspn.c (wcscspn): Likewise.
43983         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
43984         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
43985         * wcsmbs/wcsspn.c (wcsspn): Likewise.
43986         * wcsmbs/wcsstr.c (wcsstr): Likewise.
43987         * wcsmbs/wmemchr.c (wmemchr): Likewise.
43988         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43989         * wcsmbs/wmemset.c (wmemset): Likewise.
43991 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
43993         * scripts/config.guess: Update to version 2013-05-16.
43994         * scripts/config.sub: Update to version 2013-04-24.
43995         * scripts/install-sh: Update to version 2011-11-20.07.
43996         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
43997         * scripts/move-if-change: Update to version 2012-01-06 07:23.
43999 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44001         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44002         * elf/sln.c: Likewise.
44003         * hurd/hurd/ioctl.h: Likewise.
44004         * hurd/hurdmalloc.c: Likewise.
44005         * hurd/xattr.c: Likewise.
44006         * include/shlib-compat.h: Likewise.
44007         * inet/ruserpass.c: Likewise.
44008         * libio/iofgets_u.c: Likewise.
44009         * libio/iofgetws_u.c: Likewise.
44010         * locale/programs/ld-identification.c: Likewise.
44011         * locale/programs/ld-time.c: Likewise.
44012         * mach/msg-destroy.c: Likewise.
44013         * nss/nss_files/files-netgrp.c: Likewise.
44014         * resolv/res_data.c: Likewise.
44015         * soft-fp/op-1.h: Likewise.
44016         * soft-fp/op-2.h: Likewise.
44017         * soft-fp/op-4.h: Likewise.
44018         * soft-fp/op-common.h: Likewise.
44019         * stdio-common/printf_fphex.c: Likewise.
44020         * stdlib/strtod_l.c: Likewise.
44021         * sunrpc/rpc/clnt.h: Likewise.
44022         * sysdeps/generic/framestate.c: Likewise.
44023         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44024         * sysdeps/i386/bsd-setjmp.S: Likewise.
44025         * sysdeps/i386/__longjmp.S: Likewise.
44026         * sysdeps/i386/setjmp.S: Likewise.
44027         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44028         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44029         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44030         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44031         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44032         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44033         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44034         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44036         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44037         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44038         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44039         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44040         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44041         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44042         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44043         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44044         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44045         * sysdeps/ieee754/support.c: Likewise.
44046         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44047         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44048         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44049         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44050         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44051         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44052         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44053         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44054         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44055         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44056         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44057         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44058         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44059         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44060         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44061         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44062         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44065 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44067         * posix/transbug.c: Remove executable mode.
44069 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44071         * crypt/speeds.c: Remove trailing whitespace.
44072         * dlfcn/default.c: Likewise.
44073         * elf/ifuncdep2.c: Likewise.
44074         * elf/ifuncmain1.c: Likewise.
44075         * elf/ifuncmain1vis.c: Likewise.
44076         * elf/testobj.h: Likewise.
44077         * elf/tst-stackguard1.c: Likewise.
44078         * gmon/sys/gmon.h: Likewise.
44079         * hurd/hurdmsg.c: Likewise.
44080         * hurd/new-fd.c: Likewise.
44081         * hurd/ports-get.c: Likewise.
44082         * iconvdata/ibm1008_420.c: Likewise.
44083         * inet/tst-getni1.c: Likewise.
44084         * inet/tst-getni2.c: Likewise.
44085         * libio/ioungetc.c: Likewise.
44086         * libio/wfiledoalloc.c: Likewise.
44087         * manual/libm-err-tab.pl: Likewise.
44088         * math/w_dremf.c: Likewise.
44089         * misc/ftruncate.c: Likewise.
44090         * posix/bug-glob2.c: Likewise.
44091         * posix/tst-pcre.c: Likewise.
44092         * posix/wait4.c: Likewise.
44093         * resolv/README: Likewise.
44094         * resolv/res_debug.h: Likewise.
44095         * resolv/tst-inet_ntop.c: Likewise.
44096         * setjmp/bug269-setjmp.c: Likewise.
44097         * soft-fp/extended.h: Likewise.
44098         * soft-fp/op-1.h: Likewise.
44099         * soft-fp/op-2.h: Likewise.
44100         * soft-fp/op-4.h: Likewise.
44101         * soft-fp/op-8.h: Likewise.
44102         * soft-fp/testit.c: Likewise.
44103         * stdio-common/bug16.c: Likewise.
44104         * stdlib/random.c: Likewise.
44105         * sunrpc/rpcsvc/rquota.x: Likewise.
44106         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44107         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44108         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44109         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44110         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44111         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44112         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44113         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44114         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44115         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44116         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44117         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44118         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44119         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44120         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44121         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44122         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44123         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44124         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44125         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44126         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44127         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44128         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44129         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44130         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44131         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44133         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44134         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44135         * sysdeps/ieee754/s_lib_version.c: Likewise.
44136         * sysdeps/mach/hurd/check_fds.c: Likewise.
44137         * sysdeps/mach/hurd/getsockname.c: Likewise.
44138         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44139         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44140         * sysdeps/powerpc/bits/link.h: Likewise.
44141         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44142         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44143         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44144         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44145         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44146         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44147         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44148         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44149         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44150         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44151         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44152         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44153         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44154         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44155         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44156         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44157         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44158         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44159         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44160         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44161         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44162         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44163         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44164         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44165         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44166         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44167         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44168         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44169         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44170         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44171         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44172         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44173         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44174         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44175         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44176         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44177         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44178         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44179         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44180         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44181         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44182         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44183         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44184         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44185         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44186         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44187         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44188         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44189         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44190         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44191         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44192         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44193         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44194         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44195         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44196         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44197         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44198         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44199         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44200         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44201         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44202         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44203         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44204         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44205         * sysdeps/powerpc/sysdep.h: Likewise.
44206         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44207         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44208         * sysdeps/sh/dl-trampoline.S: Likewise.
44209         * sysdeps/sh/memset.S: Likewise.
44210         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44211         * sysdeps/sh/strlen.S: Likewise.
44212         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44213         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44214         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44215         * sysdeps/sparc/sparc32/rem.S: Likewise.
44216         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44217         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44218         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44219         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44220         * sysdeps/sparc/sparc32/urem.S: Likewise.
44221         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44222         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44223         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44224         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44225         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44226         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44227         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44228         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44229         * sysdeps/unix/bsd/times.c: Likewise.
44230         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44231         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44235         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44236         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44237         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44238         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44239         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44240         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44241         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44242         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44243         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44244         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44245         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44246         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44247         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44248         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44249         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44250         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44251         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44252         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44253         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44254         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44255         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44256         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44257         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44258         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44259         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44260         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44261         * sysdeps/x86_64/strcspn.S: Likewise.
44263 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44265         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44266         generated file.  Regenerate properly from gen-translit.pl.
44267         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44268         locale/C-translit.h.
44270 2013-06-05  Andreas Schwab  <schwab@suse.de>
44272         [BZ #15100]
44273         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44274         week as 6 instead of -1.
44275         * time/tst-strptime.c (day_tests): Add test case.
44277 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         * sysdeps/generic/math_private.h
44280         (libc_feholdexcept_setround_53bit): Replace with
44281         libc_feholdsetround_53bit.
44282         (libc_feupdateenv_53bit): Replace with
44283         libc_feresetround_53bit.
44284         (SET_RESTORE_ROUND_53BIT): Adjust.
44286 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44288         * string/test-strchrnul.c: Add copyright header.
44290         * posix/tst-getaddrinfo4.c: Increase test timeout.
44292 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44294         [BZ #15536]
44295         * math/libm-test.inc (MAX_EXP): Remove
44296         (MIN_EXP): Define.
44297         (ulp): Use MIN_EXP - MANT_DIG.
44298         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44300 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44302         * po/be.po: Revert last change.
44303         * po/zh_CN.po: Likewise.
44304         * po/header.pot: Likewise.
44306 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44308         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44309         link-libc-deps to empty as target-specific variable.
44310         * Makerules (link-libc-args): New variable.
44311         (libc-for-link): Likewise.
44312         (link-libc-deps): Likewise.
44313         (lib%.so): Depend on $(link-libc-deps).  Link with
44314         $(link-libc-args).
44315         (build-module): Link with $(link-libc-args).
44316         (build-module-asneeded): Likewise.
44317         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44318         list of objects.
44319         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44320         target-specific variable.
44321         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44322         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44323         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44324         libc.
44325         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44326         libc and ld.so.
44327         ($(objpfx)libpcprofile.so): Likewise.
44328         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44329         libc_nonshared.a.
44330         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44331         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44332         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44333         $(link-libc-deps).
44334         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44335         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44336         * login/Makefile ($(objpfx)libutil.so): Likewise.
44337         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44338         * math/Makefile ($(objpfx)libm.so): Likewise.
44339         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44340         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44341         variable instead of depending directly on libc.
44342         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44343         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44344         $(link-libc-deps).
44345         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44346         libc.
44347         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44348         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44349         ($(objpfx)libanl.so): Likewise.
44350         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44351         ld.so.
44352         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44353         $(link-libc-deps).
44354         * sysdeps/i386/fpu/Makefile: Remove file.
44355         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44356         ($(objpfx)libm.so): Remove dependency on ld.so.
44358 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44360         [BZ # 15553]
44361         * nis/yp_xdr.c (XDRMAXNAME): Define.
44362         (XDRMAXRECORD): Define.
44363         (xdr_domainname): Use XDRMAXNAME.
44364         (xdr_mapname): Likewise.
44365         (xdr_peername): Likewise.
44366         (xdr_keydat): Use XDRMAXRECORD.
44367         (xdr_valdat): Likewise.
44369 2013-05-30  Jeff Law  <law@redhat.com>
44371         [BZ #14256]
44372         * manual/errno.texi (ESTALE): Update to account for more than
44373         just NFS file systems.
44374         * sysdeps/gnu/errlist.c: Regenerated.
44376 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44378         [BZ #15465]
44379         * elf/Makefile (tests): Add tst-null-argv.
44380         (modules-names):  Add tst-null-argv-lib.
44381         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44382         (tst-null-argv-ENV): Set environment for tst-null-argv.
44383         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44384         (RTLD_PROGNAME): New macro.
44385         * elf/tst-null-argv.c: New test case.
44386         * elf/tst-null-argv-lib.c: Library for test case.
44387         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44388         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44389         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44390         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44391         * elf/dl-init.c (call_init): Likewise.
44392         (_dl_init): Likewise.
44393         * elf/dl-load.c (print_search_path): Likewise.
44394         (_dl_map_object): Likewise.
44395         * elf/dl-lookup.c (do_lookup_x): Likewise.
44396         (add_dependency): Likewise.
44397         (_dl_lookup_symbol_x): Likewise.
44398         (_dl_debug_bindings): Likewise.
44399         * elf/dl-open.c (_dl_show_scope): Likewise.
44400         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44401         * elf/dl-version.c (match_symbol): Likewise.
44402         (_dl_check_map_versions): Likewise.
44403         * elf/rtld.c (dl_main): Likewise.
44404         (print_unresolved): Use RTLD_PROGNAME.
44405         (print_missing_version): Likewise.
44406         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44407         (elf_machine_rela): Likewise.
44408         * sysdeps/powerpc/powerpc32/dl-machine.c
44409         (__process_machine_rela): Likewise.
44410         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44411         Likewise.
44412         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44413         Likewise.
44414         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44415         Likewise.
44416         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44418         Likewise.
44419         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44420         Likewise.
44421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44423 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44425         * po/be.po: Add descriptive title.
44426         * po/zh_CN.po: Likewise.
44427         * po/header.pot: Likewise.
44429 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44431         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44432         error message.
44433         (enlarge_archive): Likewise.
44435 2013-05-28  Ben North  <ben@redfrontdoor.org>
44437         * manual/arith.texi (frexp): It is the magnitude of the return
44438         value which lies in [0.5, 1), not the return value itself.
44440 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44444 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44446         * stdio-common/bug26.c (main): Correct fscanf template.
44448         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44449         declare _dl_skip_args.
44451         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44452         Don't declare.
44454         * manual/platform.texi: Add missing @end deftypefun.
44456 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44458         [BZ #15529]
44459         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44460         bit of mantissa of 2^16382.
44461         * math/libm-test.inc (hypot_test_data): Add more tests.
44463         * math/libm-test.inc: Add drem and pow10 to list of tested
44464         functions.
44465         (pow10_test): New function.
44466         (drem_test): Likewise.
44467         (drem_test_tonearest): Likewise.
44468         (drem_test_towardzero): Likewise.
44469         (drem_test_downward): Likewise.
44470         (drem_test_upward): Likewise.
44471         (main): Call the new functions.
44473         * math/libm-test.inc (finite_test_data): Remove.
44474         (finite_test): Run tests from isfinite_test_data.
44475         (gamma_test_data): Remove.
44476         (gamma_test): Run tests from lgamma_test_data.
44477         * sysdeps/i386/fpu/libm-test-ulps: Update.
44478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44480 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44482         * manual/platform.texi: Add PowerPC PPR function set documentation.
44483         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44484         implementation.
44486 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44488         * math/libm-test.inc (MAX_EXP): Define.
44489         (ULPDIFF): Define.
44490         (ulp): New function.
44491         (check_float_internal): Use ULPDIFF.
44492         (cpow_test): Disable failing test.
44493         (check_ulp): Test ulp() implemetnation.
44494         (main): Call check_ulp before starting tests.
44496 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44498         * math/gen-libm-test.pl (generate_testfile): Do not handle
44499         START_DATA and END_DATA.
44500         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44501         END_DATA.
44502         (acos_tonearest_test_data): Likewise.
44503         (acos_towardzero_test_data): Likewise.
44504         (acos_downward_test_data): Likewise.
44505         (acos_upward_test_data): Likewise.
44506         (acosh_test_data): Likewise.
44507         (asin_test_data): Likewise.
44508         (asin_tonearest_test_data): Likewise.
44509         (asin_towardzero_test_data): Likewise.
44510         (asin_downward_test_data): Likewise.
44511         (asin_upward_test_data): Likewise.
44512         (asinh_test_data): Likewise.
44513         (atan_test_data): Likewise.
44514         (atanh_test_data): Likewise.
44515         (atan2_test_data): Likewise.
44516         (cabs_test_data): Likewise.
44517         (cacos_test_data): Likewise.
44518         (cacosh_test_data): Likewise.
44519         (carg_test_data): Likewise.
44520         (casin_test_data): Likewise.
44521         (casinh_test_data): Likewise.
44522         (catan_test_data): Likewise.
44523         (catanh_test_data): Likewise.
44524         (cbrt_test_data): Likewise.
44525         (ccos_test_data): Likewise.
44526         (ccosh_test_data): Likewise.
44527         (ceil_test_data): Likewise.
44528         (cexp_test_data): Likewise.
44529         (cimag_test_data): Likewise.
44530         (clog_test_data): Likewise.
44531         (clog10_test_data): Likewise.
44532         (conj_test_data): Likewise.
44533         (copysign_test_data): Likewise.
44534         (cos_test_data): Likewise.
44535         (cos_tonearest_test_data): Likewise.
44536         (cos_towardzero_test_data): Likewise.
44537         (cos_downward_test_data): Likewise.
44538         (cos_upward_test_data): Likewise.
44539         (cosh_test_data): Likewise.
44540         (cosh_tonearest_test_data): Likewise.
44541         (cosh_towardzero_test_data): Likewise.
44542         (cosh_downward_test_data): Likewise.
44543         (cosh_upward_test_data): Likewise.
44544         (cpow_test_data): Likewise.
44545         (cproj_test_data): Likewise.
44546         (creal_test_data): Likewise.
44547         (csin_test_data): Likewise.
44548         (csinh_test_data): Likewise.
44549         (csqrt_test_data): Likewise.
44550         (ctan_test_data): Likewise.
44551         (ctan_tonearest_test_data): Likewise.
44552         (ctan_towardzero_test_data): Likewise.
44553         (ctan_downward_test_data): Likewise.
44554         (ctan_upward_test_data): Likewise.
44555         (ctanh_test_data): Likewise.
44556         (ctanh_tonearest_test_data): Likewise.
44557         (ctanh_towardzero_test_data): Likewise.
44558         (ctanh_downward_test_data): Likewise.
44559         (ctanh_upward_test_data): Likewise.
44560         (erf_test_data): Likewise.
44561         (erfc_test_data): Likewise.
44562         (exp_test_data): Likewise.
44563         (exp_tonearest_test_data): Likewise.
44564         (exp_towardzero_test_data): Likewise.
44565         (exp_downward_test_data): Likewise.
44566         (exp_upward_test_data): Likewise.
44567         (exp10_test_data): Likewise.
44568         (exp2_test_data): Likewise.
44569         (expm1_test_data): Likewise.
44570         (fabs_test_data): Likewise.
44571         (fdim_test_data): Likewise.
44572         (finite_test_data): Likewise.
44573         (floor_test_data): Likewise.
44574         (fma_test_data): Likewise.
44575         (fma_towardzero_test_data): Likewise.
44576         (fma_downward_test_data): Likewise.
44577         (fma_upward_test_data): Likewise.
44578         (fmax_test_data): Likewise.
44579         (fmin_test_data): Likewise.
44580         (fmod_test_data): Likewise.
44581         (fpclassify_test_data): Likewise.
44582         (frexp_test_data): Likewise.
44583         (gamma_test_data): Likewise.
44584         (hypot_test_data): Likewise.
44585         (ilogb_test_data): Likewise.
44586         (isfinite_test_data): Likewise.
44587         (isgreater_test_data): Likewise.
44588         (isgreaterequal_test_data): Likewise.
44589         (isinf_test_data): Likewise.
44590         (isless_test_data): Likewise.
44591         (islessequal_test_data): Likewise.
44592         (islessgreater_test_data): Likewise.
44593         (isnan_test_data): Likewise.
44594         (isnormal_test_data): Likewise.
44595         (issignaling_test_data): Likewise.
44596         (isunordered_test_data): Likewise.
44597         (j0_test_data): Likewise.
44598         (j1_test_data): Likewise.
44599         (jn_test_data): Likewise.
44600         (ldexp_test_data): Likewise.
44601         (lgamma_test_data): Likewise.
44602         (lrint_test_data): Likewise.
44603         (lrint_tonearest_test_data): Likewise.
44604         (lrint_towardzero_test_data): Likewise.
44605         (lrint_downward_test_data): Likewise.
44606         (lrint_upward_test_data): Likewise.
44607         (llrint_test_data): Likewise.
44608         (llrint_tonearest_test_data): Likewise.
44609         (llrint_towardzero_test_data): Likewise.
44610         (llrint_downward_test_data): Likewise.
44611         (llrint_upward_test_data): Likewise.
44612         (log_test_data): Likewise.
44613         (log10_test_data): Likewise.
44614         (log1p_test_data): Likewise.
44615         (log2_test_data): Likewise.
44616         (logb_test_data): Likewise.
44617         (logb_downward_test_data): Likewise.
44618         (lround_test_data): Likewise.
44619         (llround_test_data): Likewise.
44620         (modf_test_data): Likewise.
44621         (nearbyint_test_data): Likewise.
44622         (nextafter_test_data): Likewise.
44623         (nexttoward_test_data): Likewise.
44624         (pow_test_data): Likewise.
44625         (pow_tonearest_test_data): Likewise.
44626         (pow_towardzero_test_data): Likewise.
44627         (pow_downward_test_data): Likewise.
44628         (pow_upward_test_data): Likewise.
44629         (remainder_test_data): Likewise.
44630         (remainder_tonearest_test_data): Likewise.
44631         (remainder_towardzero_test_data): Likewise.
44632         (remainder_downward_test_data): Likewise.
44633         (remainder_upward_test_data): Likewise.
44634         (remquo_test_data): Likewise.
44635         (rint_test_data): Likewise.
44636         (rint_tonearest_test_data): Likewise.
44637         (rint_towardzero_test_data): Likewise.
44638         (rint_downward_test_data): Likewise.
44639         (rint_upward_test_data): Likewise.
44640         (round_test_data): Likewise.
44641         (scalb_test_data): Likewise.
44642         (scalbn_test_data): Likewise.
44643         (scalbln_test_data): Likewise.
44644         (signbit_test_data): Likewise.
44645         (sin_test_data): Likewise.
44646         (sin_tonearest_test_data): Likewise.
44647         (sin_towardzero_test_data): Likewise.
44648         (sin_downward_test_data): Likewise.
44649         (sin_upward_test_data): Likewise.
44650         (sincos_test_data): Likewise.
44651         (sinh_test_data): Likewise.
44652         (sinh_tonearest_test_data): Likewise.
44653         (sinh_towardzero_test_data): Likewise.
44654         (sinh_downward_test_data): Likewise.
44655         (sinh_upward_test_data): Likewise.
44656         (sqrt_test_data): Likewise.
44657         (tan_test_data): Likewise.
44658         (tan_tonearest_test_data): Likewise.
44659         (tan_towardzero_test_data): Likewise.
44660         (tan_downward_test_data): Likewise.
44661         (tan_upward_test_data): Likewise.
44662         (tanh_test_data): Likewise.
44663         (tgamma_test_data): Likewise.
44664         (trunc_test_data): Likewise.
44665         (y0_test_data): Likewise.
44666         (y1_test_data): Likewise.
44667         (yn_test_data): Likewise.
44668         (significand_test_data): Likewise.
44670         * math/gen-libm-test.pl (@functions): Remove variable.
44671         (generate_testfile): Don't handle START and END lines.
44672         * math/libm-test.inc (START): New macro.
44673         (END): Likewise.
44674         (END_COMPLEX): Likewise.
44675         (acos_test): Use END macro without arguments.
44676         (acos_test_tonearest): Likewise.
44677         (acos_test_towardzero): Likewise.
44678         (acos_test_downward): Likewise.
44679         (acos_test_upward): Likewise.
44680         (acosh_test): Likewise.
44681         (asin_test): Likewise.
44682         (asin_test_tonearest): Likewise.
44683         (asin_test_towardzero): Likewise.
44684         (asin_test_downward): Likewise.
44685         (asin_test_upward): Likewise.
44686         (asinh_test): Likewise.
44687         (atan_test): Likewise.
44688         (atanh_test): Likewise.
44689         (atan2_test): Likewise.
44690         (cabs_test): Likewise.
44691         (cacos_test): Use END_COMPLEX macro without arguments.
44692         (cacosh_test): Likewise.
44693         (carg_test): Use END macro without arguments.
44694         (casin_test): Use END_COMPLEX macro without arguments.
44695         (casinh_test): Likewise.
44696         (catan_test): Likewise.
44697         (catanh_test): Likewise.
44698         (cbrt_test): Use END macro without arguments.
44699         (ccos_test): Use END_COMPLEX macro without arguments.
44700         (ccosh_test): Likewise.
44701         (ceil_test): Use END macro without arguments.
44702         (cexp_test): Use END_COMPLEX macro without arguments.
44703         (cimag_test): Use END macro without arguments.
44704         (clog_test): Use END_COMPLEX macro without arguments.
44705         (clog10_test): Likewise.
44706         (conj_test): Likewise.
44707         (copysign_test): Use END macro without arguments.
44708         (cos_test): Likewise.
44709         (cos_test_tonearest): Likewise.
44710         (cos_test_towardzero): Likewise.
44711         (cos_test_downward): Likewise.
44712         (cos_test_upward): Likewise.
44713         (cosh_test): Likewise.
44714         (cosh_test_tonearest): Likewise.
44715         (cosh_test_towardzero): Likewise.
44716         (cosh_test_downward): Likewise.
44717         (cosh_test_upward): Likewise.
44718         (cpow_test): Use END_COMPLEX macro without arguments.
44719         (cproj_test): Likewise.
44720         (creal_test): Use END macro without arguments.
44721         (csin_test): Use END_COMPLEX macro without arguments.
44722         (csinh_test): Likewise.
44723         (csqrt_test): Likewise.
44724         (ctan_test): Likewise.
44725         (ctan_test_tonearest): Likewise.
44726         (ctan_test_towardzero): Likewise.
44727         (ctan_test_downward): Likewise.
44728         (ctan_test_upward): Likewise.
44729         (ctanh_test): Likewise.
44730         (ctanh_test_tonearest): Likewise.
44731         (ctanh_test_towardzero): Likewise.
44732         (ctanh_test_downward): Likewise.
44733         (ctanh_test_upward): Likewise.
44734         (erf_test): Use END macro without arguments.
44735         (erfc_test): Likewise.
44736         (exp_test): Likewise.
44737         (exp_test_tonearest): Likewise.
44738         (exp_test_towardzero): Likewise.
44739         (exp_test_downward): Likewise.
44740         (exp_test_upward): Likewise.
44741         (exp10_test): Likewise.
44742         (exp2_test): Likewise.
44743         (expm1_test): Likewise.
44744         (fabs_test): Likewise.
44745         (fdim_test): Likewise.
44746         (finite_test): Likewise.
44747         (floor_test): Likewise.
44748         (fma_test): Likewise.
44749         (fma_test_towardzero): Likewise.
44750         (fma_test_downward): Likewise.
44751         (fma_test_upward): Likewise.
44752         (fmax_test): Likewise.
44753         (fmin_test): Likewise.
44754         (fmod_test): Likewise.
44755         (fpclassify_test): Likewise.
44756         (frexp_test): Likewise.
44757         (gamma_test): Likewise.
44758         (hypot_test): Likewise.
44759         (ilogb_test): Likewise.
44760         (isfinite_test): Likewise.
44761         (isgreater_test): Likewise.
44762         (isgreaterequal_test): Likewise.
44763         (isinf_test): Likewise.
44764         (isless_test): Likewise.
44765         (islessequal_test): Likewise.
44766         (islessgreater_test): Likewise.
44767         (isnan_test): Likewise.
44768         (isnormal_test): Likewise.
44769         (issignaling_test): Likewise.
44770         (isunordered_test): Likewise.
44771         (j0_test): Likewise.
44772         (j1_test): Likewise.
44773         (jn_test): Likewise.
44774         (ldexp_test): Likewise.
44775         (lgamma_test): Likewise.
44776         (lrint_test): Likewise.
44777         (lrint_test_tonearest): Likewise.
44778         (lrint_test_towardzero): Likewise.
44779         (lrint_test_downward): Likewise.
44780         (lrint_test_upward): Likewise.
44781         (llrint_test): Likewise.
44782         (llrint_test_tonearest): Likewise.
44783         (llrint_test_towardzero): Likewise.
44784         (llrint_test_downward): Likewise.
44785         (llrint_test_upward): Likewise.
44786         (log_test): Likewise.
44787         (log10_test): Likewise.
44788         (log1p_test): Likewise.
44789         (log2_test): Likewise.
44790         (logb_test): Likewise.
44791         (logb_test_downward): Likewise.
44792         (lround_test): Likewise.
44793         (llround_test): Likewise.
44794         (modf_test): Likewise.
44795         (nearbyint_test): Likewise.
44796         (nextafter_test): Likewise.
44797         (nexttoward_test): Likewise.
44798         (pow_test): Likewise.
44799         (pow_test_tonearest): Likewise.
44800         (pow_test_towardzero): Likewise.
44801         (pow_test_downward): Likewise.
44802         (pow_test_upward): Likewise.
44803         (remainder_test): Likewise.
44804         (remainder_test_tonearest): Likewise.
44805         (remainder_test_towardzero): Likewise.
44806         (remainder_test_downward): Likewise.
44807         (remainder_test_upward): Likewise.
44808         (remquo_test): Likewise.
44809         (rint_test): Likewise.
44810         (rint_test_tonearest): Likewise.
44811         (rint_test_towardzero): Likewise.
44812         (rint_test_downward): Likewise.
44813         (rint_test_upward): Likewise.
44814         (round_test): Likewise.
44815         (scalb_test): Likewise.
44816         (scalbn_test): Likewise.
44817         (scalbln_test): Likewise.
44818         (signbit_test): Likewise.
44819         (sin_test): Likewise.
44820         (sin_test_tonearest): Likewise.
44821         (sin_test_towardzero): Likewise.
44822         (sin_test_downward): Likewise.
44823         (sin_test_upward): Likewise.
44824         (sincos_test): Likewise.
44825         (sinh_test): Likewise.
44826         (sinh_test_tonearest): Likewise.
44827         (sinh_test_towardzero): Likewise.
44828         (sinh_test_downward): Likewise.
44829         (sinh_test_upward): Likewise.
44830         (sqrt_test): Likewise.
44831         (tan_test): Likewise.
44832         (tan_test_tonearest): Likewise.
44833         (tan_test_towardzero): Likewise.
44834         (tan_test_downward): Likewise.
44835         (tan_test_upward): Likewise.
44836         (tanh_test): Likewise.
44837         (tgamma_test): Likewise.
44838         (trunc_test): Likewise.
44839         (y0_test): Likewise.
44840         (y1_test): Likewise.
44841         (yn_test): Likewise.
44842         (significand_test): Likewise.
44844 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
44846         [BZ #15381]
44847         * libio/genops.c (_IO_no_init): Initialize wide struct info.
44849 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44851         [BZ #14894]
44852         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
44853         __ppc_mdoio and __ppc_mdoom.
44854         * manual/platform.texi: Document new functions __ppc_yield,
44855         __ppc_mdoio and __ppc_mdoom.
44857 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
44859         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
44860         (main): Mention "tls" pseudo-hwcap is legacy.
44861         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
44863 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44865         * math/gen-libm-test.pl (parse_args): Output only string of
44866         arguments as text for test name, not full call or descriptions of
44867         tests for extra outputs.
44868         (generate_testfile): Do not pass function name to parse_args.
44869         Generate this_func variable from START.
44870         * math/libm-test.inc (struct test_f_f_data): Rename test_name
44871         field to arg_str.
44872         (struct test_ff_f_data): Likewise.
44873         (test_ff_f_data_nexttoward): Likewise.
44874         (struct test_fi_f_data): Likewise.
44875         (struct test_fl_f_data): Likewise.
44876         (struct test_if_f_data): Likewise.
44877         (struct test_fff_f_data): Likewise.
44878         (struct test_c_f_data): Likewise.
44879         (struct test_f_f1_data): Likewise.  Remove field extra_name.
44880         (struct test_fF_f1_data): Likewise.
44881         (struct test_ffI_f1_data): Likewise.
44882         (struct test_c_c_data): Rename test_name field to arg_str.
44883         (struct test_cc_c_data): Likewise.
44884         (struct test_f_i_data): Likewise.
44885         (struct test_ff_i_data): Likewise.
44886         (struct test_f_l_data): Likewise.
44887         (struct test_f_L_data): Likewise.
44888         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
44889         and extra2_name.
44890         (COMMON_TEST_SETUP): New macro.
44891         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
44892         (COMMON_TEST_CLEANUP): Likewise.
44893         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
44894         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
44895         macros.
44896         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
44897         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
44898         macros.
44899         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
44900         (RUN_TEST_fff_f): Take argument string.  Call new setup and
44901         cleanup macros.
44902         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
44903         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
44904         macros.
44905         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
44906         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
44907         macros.
44908         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
44909         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
44910         cleanup macros.
44911         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
44912         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
44913         cleanup macros.
44914         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
44915         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
44916         cleanup macros.
44917         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
44918         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
44919         macros.
44920         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
44921         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
44922         macros.
44923         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
44924         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
44925         macros.
44926         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
44927         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
44928         cleanup macros.
44929         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
44930         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
44931         cleanup macros.
44932         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
44933         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
44934         macros.
44935         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
44936         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
44937         cleanup macros.
44938         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
44939         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
44940         macros.
44941         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
44942         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
44943         macros.
44944         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
44945         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
44946         cleanup macros.
44947         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
44949 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
44951         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
44952         to _sifields.sigfault.
44953         (si_addr_lsb): Define new macro.
44954         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44955         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44956         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
44958 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
44960         [BZ #15441]
44961         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
44962         returns -1.
44963         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
44964         null return -1.
44965         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
44966         loading the domain.
44968 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
44970         * math/gen-libm-test.pl (parse_args): Do not include expected
44971         result in test name.
44972         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
44973         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44974         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44975         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44976         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44979 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44981         * benchtests/Makefile: Sort function entries.
44983         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
44984         tanh, asinh, acosh, atanh.
44985         * benchtests/acos-inputs: New file.
44986         * benchtests/acosh-inputs: New file.
44987         * benchtests/asin-inputs: New file.
44988         * benchtests/asinh-inputs: New file.
44989         * benchtests/atanh-inputs: New file.
44990         * benchtests/cosh-inputs: New file.
44991         * benchtests/log-inputs: New file.
44992         * benchtests/sinh-inputs: New file.
44993         * benchtests/tanh-inputs: New file.
44995 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
44997         [BZ #15339]
44998         * posix/tst-getaddrinfo4.c: New test.
44999         * posix/Makefile (tests): Add it.
45001 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45003         [BZ #15339]
45004         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45005         when no services were used.
45006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45007         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45009 2013-05-21  Andreas Schwab  <schwab@suse.de>
45011         [BZ #15014]
45012         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45013         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45014         successful.
45015         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45016         redundant variable declarations and reallocation of buffer when
45017         parsing as IPv6 address.  Always set NSS status when called from
45018         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45019         buffer too small.  Correct computation of needed size.
45020         * nss/Makefile (tests): Add test-digits-dots.
45021         * nss/test-digits-dots.c: New test.
45023 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45025         * benchtests/Makefile: Remove instructions for adding
45026         benchmark tests.
45027         * benchtests/README: New file to explain how to execute and
45028         enhance the benchmark tests.
45030 2013-05-21  Andreas Schwab  <schwab@suse.de>
45032         [BZ #15493]
45033         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45034         * setjmp/tst-sigsetjmp.c: New test.
45036 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45038         * sysdeps/x86_64/memset.S (memset): New implementation.
45039         (__bzero): Likewise.
45040         (__memset_tail): New function.
45042 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45044         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45045         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45046         __memcpy_sse2_unaligned ifunc selection.
45047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45048         Add memcpy-sse2-unaligned.S.
45049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45050         Add: __memcpy_sse2_unaligned.
45052 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45054         [BZ #15490]
45055         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45056         math_force_eval before restoring floating-point envrionment.
45057         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45058         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45059         Likewise.
45060         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45061         <math_private.h>.
45062         (__nearbyintl): Use math_force_eval before restoring
45063         floating-point environment.
45064         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45066         * math/gen-libm-test.pl (special_functions): Remove.
45067         (parse_args): Don't handle TEST_extra.  Handle functions with no
45068         return value.
45069         * math/libm-test.inc (struct test_sincos_data): Replace with
45070         struct test_fFF_11_data.
45071         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45072         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45073         (sincos_test_data): Change element type to struct
45074         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45075         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45076         RUN_TEST_LOOP_sincos.
45077         * math/README.libm-test: Don't mention special handling of
45078         individual functions.
45079         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45080         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45081         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45082         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45083         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45086         * math/gen-libm-test.pl (get_variable): Remove function.
45087         (parse_args): Don't show pointer parameters to call in test
45088         names.  Use "extra output N" in test names for extra outputs
45089         rather than naming variables.
45091 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45093         [BZ #15488]
45094         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45095         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45096         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45097         double tests.
45098         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45099         disable.
45100         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45101         check_long_double.
45103         * math/gen-libm-test.pl (@tests): Remove variable.
45104         ($count): Likewise.
45105         (new_test): Remove function.
45106         (show_exceptions): New function.
45107         (special_functions): Use show_exceptions instead of new_test.
45108         (parse_args): Likewise.
45109         (generate_testfile): Pass only function name in generated call to
45110         print_max_error or print_complex_max_error.
45111         (get_ulps): Do not handle complex tests specially.
45112         (output_test): Rename to ...
45113         (get_all_ulps_for_test): ... this.  Return a string rather than
45114         printing to a file.  Require ulps to be present.
45115         (output_ulps): Generate arrays rather than #defines.
45116         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45117         (struct ulp_data): New type.
45118         (BUILD_COMPLEX_ULP): Remove macro.
45119         (compare_ulp_data): New function.
45120         (find_ulps): Likewise.
45121         (find_test_ulps): Likewise.
45122         (find_function_ulps): Likewise.
45123         (find_complex_function_ulps): Likewise.
45124         (print_max_error): Determine allowed ulps using
45125         find_function_ulps.
45126         (print_complex_max_error): Determine allowed ulps using
45127         find_complex_function_ulps.
45128         (check_float_internal): Determine max ulps using find_test_ulps.
45129         (check_float): Do not take max_ulp parameter.  Update call to
45130         check_float_internal.
45131         (check_complex): Likewise.
45132         (check_int): Do not take max_ulp parameter.
45133         (check_long): Likewise.
45134         (check_bool): Likewise.
45135         (check_longlong): Likewise.
45136         (struct test_f_f_data): Remove max_ulp field.
45137         (struct test_ff_f_data): Likewise.
45138         (struct test_ff_f_data_nexttoward): Likewise.
45139         (struct test_fi_f_data): Likewise.
45140         (struct test_fl_f_data): Likewise.
45141         (struct test_if_f_data): Likewise.
45142         (struct test_fff_f_data): Likewise.
45143         (struct test_c_f_data): Likewise.
45144         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45145         (struct test_fF_f1_data): Likewise.
45146         (struct test_ffI_f1_data): Likewise.
45147         (struct test_c_c_data): Remove max_ulp field.
45148         (struct test_cc_c_data): Likewise.
45149         (struct test_f_i_data): Likewise.
45150         (struct test_ff_i_data): Likewise.
45151         (struct test_f_l_data): Likewise.
45152         (struct test_f_L_data): Likewise.
45153         (struct test_sincos_data): Likewise.
45154         (RUN_TEST_f_f): Do not handle ulps.
45155         (RUN_TEST_LOOP_f_f): Likewise.
45156         (RUN_TEST_2_f): Likewise.
45157         (RUN_TEST_LOOP_2_f): Likewise.
45158         (RUN_TEST_fff_f): Likewise.
45159         (RUN_TEST_LOOP_fff_f): Likewise.
45160         (RUN_TEST_c_f): Likewise.
45161         (RUN_TEST_LOOP_c_f): Likewise.
45162         (RUN_TEST_f_f1): Likewise.
45163         (RUN_TEST_LOOP_f_f1): Likewise.
45164         (RUN_TEST_fF_f1): Likewise.
45165         (RUN_TEST_LOOP_fF_f1): Likewise.
45166         (RUN_TEST_fI_f1): Likewise.
45167         (RUN_TEST_LOOP_fI_f1): Likewise.
45168         (RUN_TEST_ffI_f1): Likewise.
45169         (RUN_TEST_LOOP_ffI_f1): Likewise.
45170         (RUN_TEST_c_c): Likewise.
45171         (RUN_TEST_LOOP_c_c): Likewise.
45172         (RUN_TEST_cc_c): Likewise.
45173         (RUN_TEST_LOOP_cc_c): Likewise.
45174         (RUN_TEST_f_i): Likewise.
45175         (RUN_TEST_LOOP_f_i): Likewise.
45176         (RUN_TEST_f_i_tg): Likewise.
45177         (RUN_TEST_LOOP_f_i_tg): Likewise.
45178         (RUN_TEST_ff_i_tg): Likewise.
45179         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45180         (RUN_TEST_f_b): Likewise.
45181         (RUN_TEST_LOOP_f_b): Likewise.
45182         (RUN_TEST_f_b_tg): Likewise.
45183         (RUN_TEST_LOOP_f_b_tg): Likewise.
45184         (RUN_TEST_f_l): Likewise.
45185         (RUN_TEST_LOOP_f_l): Likewise.
45186         (RUN_TEST_f_L): Likewise.
45187         (RUN_TEST_LOOP_f_L): Likewise.
45188         (RUN_TEST_sincos): Likewise.
45189         (RUN_TEST_LOOP_sincos): Likewise.
45191 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45193         [BZ #15480]
45194         [BZ #15485]
45195         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45196         main case of finite arguments, set rounding mode to FE_TONEAREST
45197         and discard exceptions.
45198         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45199         exceptions.
45200         (remainder_tonearest_test_data): New variable.
45201         (remainder_test_tonearest): New function.
45202         (remainder_towardzero_test_data): New variable.
45203         (remainder_test_towardzero): New function.
45204         (remainder_downward_test_data): New variable.
45205         (remainder_test_downward): New function.
45206         (remainder_upward_test_data): New variable.
45207         (remainder_test_upward): New function.
45208         (main): Call the new test functions.
45210         * math/libm-test.inc (struct test_f_f1_data): Remove field
45211         extra_init.
45212         (struct test_fF_f1_data): Likewise.
45213         (struct test_ffI_f1_data): Likewise.
45214         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45215         based on value of EXTRA_EXPECTED.
45216         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45217         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45218         EXTRA_VAR based on value of EXTRA_EXPECTED.
45219         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45220         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45221         EXTRA_VAR based on value of EXTRA_EXPECTED.
45222         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45223         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45224         EXTRA_VAR based on value of EXTRA_EXPECTED.
45225         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45226         * math/gen-libm-test.pl (parse_args): Don't output initializers
45227         for extra output values.
45229         * math/libm-test.inc (check_int): Expect result to be exactly
45230         equal to expected value and do not handle ulps.
45231         (check_long): Likewise.
45232         (check_longlong): Likewise.
45234         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45235         exceptions.
45236         (cimag_test_data): Likewise.
45237         (conj_test_data): Likewise.
45238         (copysign_test_data): Likewise.
45239         (cproj_test_data): Likewise.
45240         (creal_test_data): Likewise.
45241         (fabs_test_data): Likewise.
45242         (fdim_test_data): Likewise.
45243         (finite_test_data): Likewise.
45244         (floor_test_data): Likewise.
45245         (fmax_test_data): Likewise.
45246         (fmin_test_data): Likewise.
45247         (fmod_test_data): Likewise.
45248         (fpclassify_test_data): Likewise.
45249         (frexp_test_data): Likewise.
45250         (ilogb_test_data): Likewise.
45251         (isfinite_test_data): Likewise.
45252         (isgreater_test_data): Likewise.
45253         (isgreaterequal_test_data): Likewise.
45254         (isinf_test_data): Likewise.
45255         (isless_test_data): Likewise.
45256         (islessequal_test_data): Likewise.
45257         (islessgreater_test_data): Likewise.
45258         (isnan_test_data): Likewise.
45259         (isnormal_test_data): Likewise.
45260         (issignaling_test_data): Likewise.
45261         (isunordered_test_data): Likewise.
45262         (ldexp_test_data): Likewise.
45263         (lrint_test_data): Likewise.
45264         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45265         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45266         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45267         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45268         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45269         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45270         test input.
45271         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45272         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45273         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45274         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45275         that test input.
45276         (lrint_downward_test_data): Test for "inexact" exceptions.
45277         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45278         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45279         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45280         test input.
45281         (lrint_upward_test_data): Test for "inexact" exceptions.
45282         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45283         test input.
45284         (llrint_test_data): Test for "inexact" exceptions.
45285         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45286         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45287         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45288         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45289         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45290         (llrint_downward_test_data): Test for "inexact" exceptions.
45291         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45292         (llrint_upward_test_data): Test for "inexact" exceptions.
45293         (logb_test_data): Likewise.
45294         (logb_downward_test_data): Likewise.
45295         (nextafter_test_data): Likewise.
45296         (nexttoward_test_data): Likewise.
45297         (remainder_test_data): Likewise.
45298         (remquo_test_data): Likewise.
45299         (scalbn_test_data): Likewise.
45300         (scalbln_test_data): Likewise.
45301         (signbit_test_data): Likewise.
45302         (sqrt_test_data): Likewise.
45303         (significand_test_data): Likewise.
45305 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45307         [BZ #15424]
45308         * benchtests/bench-modf.c (struct args): Mark arg0 as
45309         volatile.
45310         * scripts/bench.pl: Mark members of struct args as volatile.
45312 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45314         [BZ # 15497]
45315         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45316         negative infinity on POWER6 or lower.
45317         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45319 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45321         [BZ #15442]
45322         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45323         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45324         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45325         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45326         (_FP_SETQNAN): New macro.
45327         (_FP_SETQNAN_SEMIRAW): Likewise.
45328         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45329         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45330         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45331         (FP_EXTEND): Use _FP_FRAC_SNANP.
45332         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45333         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45334         into account.
45335         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45336         New macro.
45337         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45338         Likewise.
45340 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45342         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45343         with DIVIDE_BY_ZERO_EXCEPTION.
45344         (gamma_test_data): Likewise.
45345         (lgamma_test_data): Likewise.
45346         (log_test_data): Likewise.
45347         (log10_test_data): Likewise.
45348         (log2_test_data): Likewise.
45349         (tgamma_test_data): Likewise.
45351         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45352         (acos_test_tonearest): Likewise.
45353         (acos_test_towardzero): Likewise.
45354         (acos_test_downward): Likewise.
45355         (acos_test_upward): Likewise.
45356         (acosh_test): Likewise.
45357         (asin_test): Likewise.
45358         (asin_test_tonearest): Likewise.
45359         (asin_test_towardzero): Likewise.
45360         (asin_test_downward): Likewise.
45361         (asin_test_upward): Likewise.
45362         (asinh_test): Likewise.
45363         (atan_test): Likewise.
45364         (atanh_test): Likewise.
45365         (atan2_test): Likewise.
45366         (cabs_test): Likewise.
45367         (cacos_test): Likewise.
45368         (cacosh_test): Likewise.
45369         (casin_test): Likewise.
45370         (casinh_test): Likewise.
45371         (catan_test): Likewise.
45372         (catanh_test): Likewise.
45373         (cbrt_test): Likewise.
45374         (ccos_test): Likewise.
45375         (ccosh_test): Likewise.
45376         (cexp_test): Likewise.
45377         (clog_test): Likewise.
45378         (clog10_test): Likewise.
45379         (cos_test): Likewise.
45380         (cos_test_tonearest): Likewise.
45381         (cos_test_towardzero): Likewise.
45382         (cos_test_downward): Likewise.
45383         (cos_test_upward): Likewise.
45384         (cosh_test): Likewise.
45385         (cosh_test_tonearest): Likewise.
45386         (cosh_test_towardzero): Likewise.
45387         (cosh_test_downward): Likewise.
45388         (cosh_test_upward): Likewise.
45389         (cpow_test): Likewise.
45390         (csin_test): Likewise.
45391         (csinh_test): Likewise.
45392         (csqrt_test): Likewise.
45393         (ctan_test): Likewise.
45394         (ctan_test_tonearest): Likewise.
45395         (ctan_test_towardzero): Likewise.
45396         (ctan_test_downward): Likewise.
45397         (ctan_test_upward): Likewise.
45398         (ctanh_test): Likewise.
45399         (ctanh_test_tonearest): Likewise.
45400         (ctanh_test_towardzero): Likewise.
45401         (ctanh_test_downward): Likewise.
45402         (ctanh_test_upward): Likewise.
45403         (erf_test): Likewise.
45404         (erfc_test): Likewise.
45405         (exp_test): Likewise.
45406         (exp_test_tonearest): Likewise.
45407         (exp_test_towardzero): Likewise.
45408         (exp_test_downward): Likewise.
45409         (exp_test_upward): Likewise.
45410         (exp10_test): Likewise.
45411         (exp2_test): Likewise.
45412         (expm1_test): Likewise.
45413         (fmod_test): Likewise.
45414         (gamma_test): Likewise.
45415         (hypot_test): Likewise.
45416         (j0_test): Likewise.
45417         (j1_test): Likewise.
45418         (jn_test): Likewise.
45419         (lgamma_test): Likewise.
45420         (log_test): Likewise.
45421         (log10_test): Likewise.
45422         (log1p_test): Likewise.
45423         (log2_test): Likewise.
45424         (logb_test_downward): Likewise.
45425         (pow_test): Likewise.
45426         (pow_test_tonearest): Likewise.
45427         (pow_test_towardzero): Likewise.
45428         (pow_test_downward): Likewise.
45429         (pow_test_upward): Likewise.
45430         (remainder_test): Likewise.
45431         (remquo_test): Likewise.
45432         (sin_test): Likewise.
45433         (sin_test_tonearest): Likewise.
45434         (sin_test_towardzero): Likewise.
45435         (sin_test_downward): Likewise.
45436         (sin_test_upward): Likewise.
45437         (sincos_test): Likewise.
45438         (sinh_test): Likewise.
45439         (sinh_test_tonearest): Likewise.
45440         (sinh_test_towardzero): Likewise.
45441         (sinh_test_downward): Likewise.
45442         (sinh_test_upward): Likewise.
45443         (sqrt_test): Likewise.
45444         (tan_test): Likewise.
45445         (tan_test_tonearest): Likewise.
45446         (tan_test_towardzero): Likewise.
45447         (tan_test_downward): Likewise.
45448         (tan_test_upward): Likewise.
45449         (tanh_test): Likewise.
45450         (tgamma_test): Likewise.
45451         (y0_test): Likewise.
45452         (y1_test): Likewise.
45453         (yn_test): Likewise.
45455         * math/gen-libm-test.pl (adjust_arg): Remove function.
45456         (special_function): Remove argument $in_func.  Only handle
45457         generating output for tables of tests, not inside functions.
45458         (parse_args): Likewise.
45459         (generate_testfile): Remove variable $in_func.  Update call to
45460         parse_args.
45461         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45462         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45463         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45464         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45465         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45466         (MAX_VALUE_INIT): Rename macro to max_value.
45467         (MIN_VALUE_INIT): Rename macro to min_value.
45468         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45469         (plus_zero): Remove variable.
45470         (minus_zero): Likewise.
45471         (plus_infty): Likewise.
45472         (minus_infty): Likewise.
45473         (qnan_value): Likewise.
45474         (max_value): Likewise.
45475         (min_value): Likewise.
45476         (min_subnorm_value): Likewise.
45478 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45480         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45481         uint64_t or uint32_t usage.
45482         * crypt/sha256-block.c: Likewise.
45483         * crypt/sha256-crypt.c: Likewise.
45484         * crypt/sha256.c: Likewise.
45485         * crypt/sha512-block.c: Likewise.
45486         * crypt/sha512-crypt.c: Likewise.
45487         * crypt/sha512.c: Likewise.
45488         * debug/backtrace-tst.c: Likewise.
45489         * debug/pcprofiledump.c: Likewise.
45490         * elf/cache.c: Likewise.
45491         * elf/dl-cache.c: Likewise.
45492         * elf/dl-misc.c: Likewise.
45493         * elf/dl-profile.c: Likewise.
45494         * elf/dl-support.c: Likewise.
45495         * elf/ldconfig.c: Likewise.
45496         * elf/sprof.c: Likewise.
45497         * iconv/dummy-repertoire.c: Likewise.
45498         * iconv/iconv_charmap.c: Likewise.
45499         * iconv/skeleton.c: Likewise.
45500         * iconvdata/8bit-generic.c: Likewise.
45501         * iconvdata/cp737.h: Likewise.
45502         * iconvdata/cp775.h: Likewise.
45503         * iconvdata/ibm1008.h: Likewise.
45504         * iconvdata/ibm1025.h: Likewise.
45505         * iconvdata/ibm1046.h: Likewise.
45506         * iconvdata/ibm1097.h: Likewise.
45507         * iconvdata/ibm1112.h: Likewise.
45508         * iconvdata/ibm1122.h: Likewise.
45509         * iconvdata/ibm1123.h: Likewise.
45510         * iconvdata/ibm1124.h: Likewise.
45511         * iconvdata/ibm1129.h: Likewise.
45512         * iconvdata/ibm1130.h: Likewise.
45513         * iconvdata/ibm1132.h: Likewise.
45514         * iconvdata/ibm1133.h: Likewise.
45515         * iconvdata/ibm1137.h: Likewise.
45516         * iconvdata/ibm1140.h: Likewise.
45517         * iconvdata/ibm1141.h: Likewise.
45518         * iconvdata/ibm1142.h: Likewise.
45519         * iconvdata/ibm1143.h: Likewise.
45520         * iconvdata/ibm1144.h: Likewise.
45521         * iconvdata/ibm1145.h: Likewise.
45522         * iconvdata/ibm1146.h: Likewise.
45523         * iconvdata/ibm1147.h: Likewise.
45524         * iconvdata/ibm1148.h: Likewise.
45525         * iconvdata/ibm1149.h: Likewise.
45526         * iconvdata/ibm1153.h: Likewise.
45527         * iconvdata/ibm1154.h: Likewise.
45528         * iconvdata/ibm1155.h: Likewise.
45529         * iconvdata/ibm1156.h: Likewise.
45530         * iconvdata/ibm1157.h: Likewise.
45531         * iconvdata/ibm1158.h: Likewise.
45532         * iconvdata/ibm1160.h: Likewise.
45533         * iconvdata/ibm1161.h: Likewise.
45534         * iconvdata/ibm1162.h: Likewise.
45535         * iconvdata/ibm1163.h: Likewise.
45536         * iconvdata/ibm1164.h: Likewise.
45537         * iconvdata/ibm1166.h: Likewise.
45538         * iconvdata/ibm1167.h: Likewise.
45539         * iconvdata/ibm12712.h: Likewise.
45540         * iconvdata/ibm1390.h: Likewise.
45541         * iconvdata/ibm1399.h: Likewise.
45542         * iconvdata/ibm16804.h: Likewise.
45543         * iconvdata/ibm4517.h: Likewise.
45544         * iconvdata/ibm4899.h: Likewise.
45545         * iconvdata/ibm4909.h: Likewise.
45546         * iconvdata/ibm4971.h: Likewise.
45547         * iconvdata/ibm5347.h: Likewise.
45548         * iconvdata/ibm803.h: Likewise.
45549         * iconvdata/ibm856.h: Likewise.
45550         * iconvdata/ibm901.h: Likewise.
45551         * iconvdata/ibm902.h: Likewise.
45552         * iconvdata/ibm9030.h: Likewise.
45553         * iconvdata/ibm9066.h: Likewise.
45554         * iconvdata/ibm921.h: Likewise.
45555         * iconvdata/ibm922.h: Likewise.
45556         * iconvdata/ibm9448.h: Likewise.
45557         * iconvdata/isiri-3342.h: Likewise.
45558         * iconvdata/jis0201.h: Likewise.
45559         * include/link.h: Likewise.
45560         * include/netdb.h: Likewise.
45561         * inet/check_native.c: Likewise.
45562         * inet/check_pf.c: Likewise.
45563         * inet/getipv4sourcefilter.c: Likewise.
45564         * inet/getnameinfo.c: Likewise.
45565         * inet/getsourcefilter.c: Likewise.
45566         * inet/htonl.c: Likewise.
45567         * inet/setipv4sourcefilter.c: Likewise.
45568         * inet/setsourcefilter.c: Likewise.
45569         * inet/test-inet6_opt.c: Likewise.
45570         * inet/tst-network.c: Likewise.
45571         * locale/C-collate.c: Likewise.
45572         * locale/C-ctype.c: Likewise.
45573         * locale/C-time.c: Likewise.
45574         * locale/C-translit.h: Likewise.
45575         * locale/loadarchive.c: Likewise.
45576         * locale/programs/3level.h: Likewise.
45577         * locale/programs/charmap.c: Likewise.
45578         * locale/programs/charmap.h: Likewise.
45579         * locale/programs/ld-address.c: Likewise.
45580         * locale/programs/ld-collate.c: Likewise.
45581         * locale/programs/ld-ctype.c: Likewise.
45582         * locale/programs/ld-identification.c: Likewise.
45583         * locale/programs/ld-measurement.c: Likewise.
45584         * locale/programs/ld-messages.c: Likewise.
45585         * locale/programs/ld-monetary.c: Likewise.
45586         * locale/programs/ld-name.c: Likewise.
45587         * locale/programs/ld-numeric.c: Likewise.
45588         * locale/programs/ld-paper.c: Likewise.
45589         * locale/programs/ld-telephone.c: Likewise.
45590         * locale/programs/ld-time.c: Likewise.
45591         * locale/programs/linereader.c: Likewise.
45592         * locale/programs/locale.c: Likewise.
45593         * locale/programs/locarchive.c: Likewise.
45594         * locale/programs/locfile.h: Likewise.
45595         * locale/programs/repertoire.c: Likewise.
45596         * locale/programs/simple-hash.c: Likewise.
45597         * locale/programs/simple-hash.h: Likewise.
45598         * malloc/memusage.c: Likewise.
45599         * malloc/memusagestat.c: Likewise.
45600         * nis/nis_defaults.c: Likewise.
45601         * nis/nis_hash.c: Likewise.
45602         * nis/nis_print.c: Likewise.
45603         * nis/nis_xdr.c: Likewise.
45604         * nscd/connections.c: Likewise.
45605         * nscd/hstcache.c: Likewise.
45606         * nscd/nscd_gethst_r.c: Likewise.
45607         * nscd/nscd_getserv_r.c: Likewise.
45608         * nscd/nscd_helper.c: Likewise.
45609         * nscd/servicescache.c: Likewise.
45610         * nss/makedb.c: Likewise.
45611         * nss/nss_db/db-XXX.c: Likewise.
45612         * nss/nss_db/db-initgroups.c: Likewise.
45613         * nss/nss_db/db-netgrp.c: Likewise.
45614         * nss/nss_files/files-network.c: Likewise.
45615         * nss/nss_files/files-parse.c: Likewise.
45616         * posix/bug-regex5.c: Likewise.
45617         * posix/fnmatch_loop.c: Likewise.
45618         * posix/regcomp.c: Likewise.
45619         * posix/regexec.c: Likewise.
45620         * posix/tst-rfc3484-2.c: Likewise.
45621         * posix/tst-rfc3484-3.c: Likewise.
45622         * posix/tst-rfc3484.c: Likewise.
45623         * resolv/nss_dns/dns-canon.c: Likewise.
45624         * resolv/nss_dns/dns-network.c: Likewise.
45625         * resolv/res_init.c: Likewise.
45626         * resolv/res_mkquery.c: Likewise.
45627         * resolv/tst-aton.c: Likewise.
45628         * stdlib/cxa_atexit.c: Likewise.
45629         * stdlib/cxa_finalize.c: Likewise.
45630         * stdlib/gen-fpioconst.c: Likewise.
45631         * stdlib/strtol_l.c: Likewise.
45632         * string/tst-endian.c: Likewise.
45633         * sunrpc/auth_des.c: Likewise.
45634         * sunrpc/clnt_udp.c: Likewise.
45635         * sunrpc/rtime.c: Likewise.
45636         * sunrpc/svcauth_des.c: Likewise.
45637         * sunrpc/xdr.c: Likewise.
45638         * sunrpc/xdr_intXX_t.c: Likewise.
45639         * sunrpc/xdr_rec.c: Likewise.
45640         * sysdeps/generic/ldconfig.h: Likewise.
45641         * sysdeps/generic/ldsodefs.h: Likewise.
45642         * sysdeps/generic/memusage.h: Likewise.
45643         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45644         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45645         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45646         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45647         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45648         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45649         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45652         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45653         * sysdeps/posix/getaddrinfo.c: Likewise.
45654         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45655         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45656         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45657         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45658         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45659         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45660         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45661         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45662         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45663         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45664         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45665         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45666         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45667         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45668         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45669         * sysdeps/x86_64/dl-tls.h: Likewise.
45670         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45671         * time/alt_digit.c: Likewise.
45672         * time/era.c: Likewise.
45673         * wcsmbs/tst-c16c32-1.c: Likewise.
45675 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45677         * math/libm-test.inc (struct test_sincos_data): New type.
45678         (RUN_TEST_LOOP_sincos): New macro.
45679         (sincos_test_data): New variable.
45680         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45682 2013-05-16  Richard Henderson  <rth@redhat.com>
45684         * math/atest-exp2.c (LIMB64): New macro.
45685         (CONSTSZ): New macro.
45686         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45687         (hexdig): Move ...
45688         (print_mpn_fp): ... to function scope.
45689         (read_mpn_hex): Remove.
45690         (get_log2): Remove.
45691         (exp2_mpn): Use mp_log2.
45692         (main): Use mp_exp1.
45694 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45696         * math/libm-test.inc: Remove comment about not testing "inexact"
45697         exceptions.
45698         (INEXACT_EXCEPTION): New macro.
45699         (NO_INEXACT_EXCEPTION): Likewise.
45700         (INVALID_EXCEPTION_OK): Update value.
45701         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45702         (OVERFLOW_EXCEPTION_OK): Likewise.
45703         (UNDERFLOW_EXCEPTION_OK): Likewise.
45704         (IGNORE_ZERO_INF_SIGN): Likewise.
45705         (ERRNO_UNCHANGED): Likewise.
45706         (ERRNO_EDOM): Likewise.
45707         (ERRNO_ERANGE): Likewise.
45708         (test_exceptions): Handle testing "inexact" exceptions.
45709         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45710         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45711         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45712         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45713         INEXACT_EXCEPTION.
45714         (rint_towardzero_test_data): Likewise.
45715         (rint_downward_test_data): Likewise.
45716         (rint_upward_test_data): Likewise.
45718         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45719         with OVERFLOW_EXCEPTION.
45720         (exp10_test_data): Likewise.
45721         (exp2_test_data): Likewise.
45722         (expm1_test_data): Likewise.
45723         (lgamma_test_data): Likewise.
45724         (pow_test_data): Likewise.
45725         (tgamma_test_data): Likewise.
45726         (yn_test_data): Remove duplicate test of overflow.
45728         * math/libm-test.inc (struct test_cc_c_data): New type.
45729         (RUN_TEST_LOOP_cc_c): New macro.
45730         (cpow_test_data): New variable.
45731         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45733         * math/libm-test.inc (struct test_f_L_data): New type.
45734         (RUN_TEST_LOOP_f_L): New macro.
45735         (llrint_test_data): New variable.
45736         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45737         (llrint_tonearest_test_data): New variable.
45738         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45739         (llrint_towardzero_test_data): New variable.
45740         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45741         (llrint_downward_test_data): New variable.
45742         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45743         (llrint_upward_test_data): New variable.
45744         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45745         (llround_test_data): New variable.
45746         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45748 2013-05-13  Peter Collingbourne  <pcc@google.com>
45750         * math/atest-exp2.c (get_log2): Remove const attribute.
45752 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45754         * math/libm-test.inc (struct test_f_l_data): New type.
45755         (RUN_TEST_LOOP_f_l): New macro.
45756         (lrint_test_data): New variable.
45757         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45758         (lrint_tonearest_test_data): New variable.
45759         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45760         (lrint_towardzero_test_data): New variable.
45761         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45762         (lrint_downward_test_data): New variable.
45763         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45764         (lrint_upward_test_data): New variable.
45765         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45766         (lround_test_data): New variable.
45767         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45769 2013-05-15  Peter Collingbourne  <pcc@google.com>
45771         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45772         (EXTRACT_WORDS64) Use where appropriate.
45773         (INSERT_WORDS64) Likewise.
45775         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45776         constraints with x constraints.
45777         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45779         * malloc/obstack.c (_obstack_compat): Add initializer.
45781 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45783         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45784         si_trapno and add si_addr_lsb to _sifields.sigfault.
45785         (si_trapno): Remove macro.
45786         (si_addr_lsb): Define new macro.
45787         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45789 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45791         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45792         instead of TEST_f_l.
45793         (llrint_test_tonearest): Likewise.
45794         (llrint_test_towardzero): Likewise.
45795         (llrint_test_downward): Likewise.
45796         (llrint_test_upward): Likewise.
45797         (llround_test): Likewise.
45799         * math/libm-test.inc (struct test_f_i_data): Add comment.
45800         (RUN_TEST_LOOP_f_b): New macro.
45801         (RUN_TEST_LOOP_f_b_tg): Likewise.
45802         (finite_test_data): New variable.
45803         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45804         (isfinite_test_data): New variable.
45805         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45806         (isinf_test_data): New variable.
45807         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45808         (isnan_test_data): New variable.
45809         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45810         (isnormal_test_data): New variable.
45811         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45812         (issignaling_test_data): New variable.
45813         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45814         (signbit_test_data): New variable.
45815         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45817         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45818         with INVALID_EXCEPTION.
45819         (acosh_test_data): Likewise.
45820         (asin_test_data): Likewise.
45821         (atanh_test_data): Likewise.
45822         (fmod_test_data): Likewise.
45823         (log_test_data): Likewise.
45824         (log10_test_data): Likewise.
45825         (log2_test_data): Likewise.
45826         (pow_test_data): Likewise.
45827         (sqrt_test_data): Likewise.
45828         (y0_test_data): Likewise.
45829         (y1_test_data): Likewise.
45830         (yn_test_data): Likewise.
45832         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45833         function contents.
45835         * math/libm-test.inc (struct test_ff_i_data): New type.
45836         (RUN_TEST_LOOP_ff_i_tg): New macro.
45837         (isgreater_test_data): New variable.
45838         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45839         (isgreaterequal_test_data): New variable.
45840         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45841         (isless_test_data): New variable.
45842         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45843         (islessequal_test_data): New variable.
45844         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45845         (islessgreater_test_data): New variable.
45846         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45847         (isunordered_test_data): New variable.
45848         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45850 2013-05-14  David S. Miller  <davem@davemloft.net>
45852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45854 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
45856         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
45858         * math/libm-test.inc (struct test_fF_f1_data): Change type of
45859         extra_test to int.
45860         (struct test_f_i_data): Change type of max_ulp to int.
45862         * math/libm-test.inc (test_ffI_f1_data): New type.
45863         (RUN_TEST_LOOP_ffI_f1): New macro.
45864         (remquo_test_data): New variable.
45865         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
45867         * setjmp/tst-setjmp-fp.c: New file.
45868         * setjmp/Makefile (tests): Add tst-setjmp-fp.
45869         (link-libm): New variable.
45870         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
45872         * math/libm-test.inc (struct test_f_i_data): New type.
45873         (RUN_TEST_LOOP_f_i): New macro.
45874         (RUN_TEST_LOOP_f_i_tg): Likewise.
45875         (fpclassify_test_data): New variable.
45876         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45877         (ilogb_test_data): New variable.
45878         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
45880         * math/libm-test.inc (scalbln_test): Correct function name in END
45881         call.
45883         * math/libm-test.inc (struct test_f_f1_data): Add comment.
45884         (RUN_TEST_LOOP_fI_f1): New macro.
45885         (frexp_test_data): New variable.
45886         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
45888         * math/libm-test.inc (struct test_fF_f1_data): New type.
45889         (RUN_TEST_LOOP_fF_f1): New macro.
45890         (modf_test_data): New variable.
45891         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
45893         * math/libm-test.inc (struct test_f_f1_data): New type.
45894         (RUN_TEST_LOOP_f_f1): New macro.
45895         (gamma_test_data): New variable.
45896         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45897         (lgamma_test_data): New variable.
45898         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
45900 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
45902         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
45903         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45904         (main): Comment "tls" pseudo-hwcap.
45906 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
45908         * math/libm-test.inc (struct test_fl_f_data): New type.
45909         (RUN_TEST_LOOP_fl_f): New variable.
45910         (scalbln_test_data): New variable.
45911         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
45913         * math/libm-test.inc (struct test_fi_f_data): New type.
45914         (RUN_TEST_LOOP_fi_f): New macro.
45915         (ldexp_test_data): New variable.
45916         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
45917         (scalbn_test_data): New variable.
45918         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
45920         * math/libm-test.inc (struct test_c_f_data): New type.
45921         (RUN_TEST_LOOP_c_f): New macro.
45922         (cabs_test_data): New variable.
45923         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
45924         (carg_test_data): New variable.
45925         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
45926         (cimag_test_data): New variable.
45927         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
45928         (creal_test_data): New variable.
45929         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45931         * math/libm-test.inc (struct test_if_f_data): New type.
45932         (RUN_TEST_LOOP_if_f): New macro.
45933         (jn_test_data): New variable.
45934         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45935         (yn_test_data): New variable.
45936         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
45938         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
45940 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45942         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
45943         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
45945 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45947         * benchtests/Makefile (CPPFLAGS-nonlib): Add
45948         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
45949         (bench-deps): Add bench-timing.h.
45950         * benchtests-bench-skeleton.c: Include bench-timing.h.
45951         (main): Use TIMING_* macros instead of clock_gettime.
45952         * benchtests/bench-timing.h: New file.
45954         [BZ #14582]
45955         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
45956         Renamed from _LIB_VERSION.
45957         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
45959 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
45961         * math/libm-test.inc (struct test_fff_f_data): New type.
45962         (RUN_TEST_LOOP_fff_f): New macro.
45963         (fma_test_data): New variable.
45964         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
45965         (fma_towardzero_test_data): New variable.
45966         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
45967         (fma_downward_test_data): New variable.
45968         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
45969         (fma_upward_test_data): New variable.
45970         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
45972         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
45973         (struct test_c_c_data): New type.
45974         (RUN_TEST_LOOP_c_c): New macro.
45975         (cacos_test_data): New variable.
45976         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
45977         (cacosh_test_data): New variable.
45978         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
45979         (casin_test_data): New variable.
45980         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
45981         (casinh_test_data): New variable.
45982         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
45983         (catan_test_data): New variable.
45984         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
45985         (catanh_test_data): New variable.
45986         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
45987         (ccos_test_data): New variable.
45988         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
45989         (ccosh_test_data): New variable.
45990         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
45991         (cexp_test_data): New variable.
45992         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
45993         (clog_test_data): New variable.
45994         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
45995         (clog10_test_data): New variable.
45996         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
45997         (conj_test_data): New variable.
45998         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
45999         (cproj_test_data): New variable.
46000         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46001         (csin_test_data): New variable.
46002         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46003         (csinh_test_data): New variable.
46004         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46005         (csqrt_test_data): New variable.
46006         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46007         (ctan_test_data): New variable.
46008         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46009         (ctan_tonearest_test_data): New variable.
46010         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46011         (ctan_towardzero_test_data): New variable.
46012         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46013         (ctan_downward_test_data): New variable.
46014         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46015         (ctan_upward_test_data): New variable.
46016         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46017         (ctanh_test_data): New variable.
46018         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46019         (ctanh_tonearest_test_data): New variable.
46020         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46021         (ctanh_towardzero_test_data): New variable.
46022         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46023         (ctanh_downward_test_data): New variable.
46024         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46025         (ctanh_upward_test_data): New variable.
46026         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46027         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46028         of BUILD_COMPLEX.
46030         * math/libm-test.inc (struct test_ff_f_data): New type.
46031         (struct test_ff_f_data_nexttoward): Likewise.
46032         (RUN_TEST_LOOP_2_f): New macro.
46033         (RUN_TEST_LOOP_ff_f): Likewise.
46034         (atan2_test_data): New variable.
46035         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46036         (copysign_test_data): New variable.
46037         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46038         (fdim_test_data): New variable.
46039         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46040         (fmax_test_data): New variable.
46041         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46042         (fmin_test_data): New variable.
46043         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46044         (fmod_test_data): New variable.
46045         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46046         (hypot_test_data): New variable.
46047         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46048         (nextafter_test_data): New variable.
46049         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46050         (nexttoward_test_data): New variable.
46051         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46052         (pow_test_data): New variable.
46053         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46054         (pow_tonearest_test_data): New variable.
46055         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46056         (pow_towardzero_test_data): New variable.
46057         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46058         (pow_downward_test_data): New variable.
46059         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46060         (pow_upward_test_data): New variable.
46061         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46062         (remainder_test_data): New variable.
46063         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46064         (scalb_test_data): New variable.
46065         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46066         * sysdeps/i386/fpu/libm-test-ulps: Update.
46068 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46070         * math/libm-test.inc (fma_test): Use max_value instead of local
46071         variable fltmax.
46072         (nextafter_test): Likewise.
46074         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46075         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46076         (acos_downward_test_data): New variable.
46077         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46078         (acos_upward_test_data): New variable.
46079         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46080         (acosh_test_data): New variable.
46081         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46082         (asin_test_data): New variable.
46083         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46084         (asin_tonearest_test_data): New variable.
46085         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46086         (asin_towardzero_test_data): New variable.
46087         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46088         (asin_downward_test_data): New variable.
46089         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46090         (asin_upward_test_data): New variable.
46091         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46092         (asinh_test_data): New variable.
46093         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46094         (atan_test_data): New variable.
46095         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46096         (atanh_test_data): New variable.
46097         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46098         (cbrt_test_data): New variable.
46099         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46100         (ceil_test_data): New variable.
46101         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46102         (cos_test_data): New variable.
46103         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46104         (cos_tonearest_test_data): New variable.
46105         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46106         (cos_towardzero_test_data): New variable.
46107         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46108         (cos_downward_test_data): New variable.
46109         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46110         (cos_upward_test_data): New variable.
46111         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46112         (cosh_test_data): New variable.
46113         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46114         (cosh_tonearest_test_data): New variable.
46115         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46116         (cosh_towardzero_test_data): New variable.
46117         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46118         (cosh_downward_test_data): New variable.
46119         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46120         (cosh_upward_test_data): New variable.
46121         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46122         (erf_test_data): New variable.
46123         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46124         (erfc_test_data): New variable.
46125         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46126         (exp_test_data): New variable.
46127         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46128         (exp_tonearest_test_data): New variable.
46129         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46130         (exp_towardzero_test_data): New variable.
46131         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46132         (exp_downward_test_data): New variable.
46133         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46134         (exp_upward_test_data): New variable.
46135         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46136         (exp10_test_data): New variable.
46137         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46138         (exp2_test_data): New variable.
46139         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46140         (expm1_test_data): New variable.
46141         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46142         (fabs_test_data): New variable.
46143         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46144         (floor_test_data): New variable.
46145         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46146         (j0_test_data): New variable.
46147         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46148         (j1_test_data): New variable.
46149         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46150         (log_test_data): New variable.
46151         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46152         (log10_test_data): New variable.
46153         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46154         (log1p_test_data): New variable.
46155         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46156         (log2_test_data): New variable.
46157         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46158         (logb_test_data): New variable.
46159         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46160         (logb_downward_test_data): New variable.
46161         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46162         (nearbyint_test_data): New variable.
46163         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46164         (rint_test_data): New variable.
46165         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46166         (rint_tonearest_test_data): New variable.
46167         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46168         (rint_towardzero_test_data): New variable.
46169         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46170         (rint_downward_test_data): New variable.
46171         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46172         (rint_upward_test_data): New variable.
46173         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46174         (round_test_data): New variable.
46175         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46176         (sin_test_data): New variable.
46177         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46178         (sin_tonearest_test_data): New variable.
46179         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46180         (sin_towardzero_test_data): New variable.
46181         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46182         (sin_downward_test_data): New variable.
46183         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46184         (sin_upward_test_data): New variable.
46185         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46186         (sinh_test_data): New variable.
46187         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46188         (sinh_tonearest_test_data): New variable.
46189         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46190         (sinh_towardzero_test_data): New variable.
46191         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46192         (sinh_downward_test_data): New variable.
46193         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46194         (sinh_upward_test_data): New variable.
46195         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46196         (sqrt_test_data): New variable.
46197         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46198         (tan_test_data): New variable.
46199         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46200         (tan_tonearest_test_data): New variable.
46201         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46202         (tan_towardzero_test_data): New variable.
46203         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46204         (tan_downward_test_data): New variable.
46205         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46206         (tan_upward_test_data): New variable.
46207         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46208         (tanh_test_data): New variable.
46209         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46210         (tgamma_test_data): New variable.
46211         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46212         (trunc_test_data): New variable.
46213         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46214         (y0_test_data): New variable.
46215         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46216         (y1_test_data): New variable.
46217         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46218         (significand_test_data): New variable.
46219         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46221 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46223         [BZ #12387]
46224         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46226 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46228         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46230 2013-05-10  Andreas Jaeger  <aj@suse.de>
46232         [BZ #15448]
46233         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46234         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46236 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46238         * math/gen-libm-test.pl (adjust_arg): New function.
46239         (special_functions): Handle generating output in both functions
46240         and arrays.
46241         (parse_args): Likewise.
46242         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46243         $in_func argument to parse_args.
46244         * math/libm-test.inc (struct test_f_f_data): New type.
46245         (IF_ROUND_INIT_): New macro.
46246         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46247         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46248         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46249         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46250         (ROUND_RESTORE_): Likewise.
46251         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46252         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46253         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46254         (ROUND_RESTORE_FE_UPWARD): Likewise.
46255         (RUN_TEST_LOOP_f_f): New macro.
46256         (acos_test_data): New variable.
46257         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46258         (acos_tonearest_test_data): New variable.
46259         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46261 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46263         * benchtests/bench-skeleton.c (startup): Fix coding style.
46265 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46267         [BZ #6809]
46268         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46269         negative infinity argument.
46270         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46271         negative infinity argument.
46272         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46273         negative infinity argument.
46274         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46275         domain errors.
46277 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46279         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46280         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46281         * iconv/iconv_prog.c (main): Likewise.
46282         * locale/programs/charmap-dir.c (charmap_readdir)
46283         (fopen_uncompressed): Likewise.
46284         * locale/programs/locfile.c (siblings_uncached)
46285         (write_locale_data): Use lstat64 instead of lstat.
46286         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46287         stat.
46289 2013-05-10  Andreas Jaeger  <aj@suse.de>
46291         [BZ #15395]
46292         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46293         localization.
46294         Include <locale.h>.
46296 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46298         * elf/dl-close.c (_dl_close_worker): Add comments.
46300 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46302         [BZ #15359]
46303         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46304         high part of pi/2.
46305         (__ieee754_rem_pio2l): Update comments.
46307         [BZ #15429]
46308         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46309         high part of pi/2.
46310         (__ieee754_rem_pio2l): Update comments.
46312         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46313         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46315         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46316         M_PI_4l.
46318         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46319         (M_PI_34_LOG10El): Likewise.
46320         (M_PI2_LOG10El): Likewise.
46321         (M_PI4_LOG10El): Likewise.
46322         (M_PI_LOG10El): Likewise.
46324 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46328 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46330         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46331         (MINUS_ZERO_INIT): Likewise.
46332         (PLUS_INFTY_INIT): Likewise.
46333         (MINUS_INFTY_INIT): Likewise.
46334         (QNAN_VALUE_INIT): Likewise.
46335         (MAX_VALUE_INIT): Likewise.
46336         (MIN_VALUE_INIT): Likewise.
46337         (MIN_SUBNORM_VALUE_INIT): Likewise.
46338         (plus_zero): Initialize with PLUS_ZERO_INIT.
46339         (minus_zero): Initialize with MINUS_ZERO_INIT.
46340         (plus_infty): Initialize with PLUS_INFTY_INIT.
46341         (minus_infty): Initialize with MINUS_INFTY_INIT.
46342         (qnan_value): Initialize with QNAN_VALUE_INIT.
46343         (max_value): Initialize with MAX_VALUE_INIT.
46344         (min_value): Initialize with MIN_VALUE_INIT.
46345         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46347         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46348         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46349         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46350         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46352         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46353         (RUN_TEST_2_f): Likewise.
46354         (RUN_TEST_ff_f): Likewise.
46355         (RUN_TEST_fi_f): Likewise.
46356         (RUN_TEST_fl_f): Likewise.
46357         (RUN_TEST_fff_f): Likewise.
46358         (RUN_TEST_c_f): Likewise.
46359         (RUN_TEST_f_f1): Likewise.
46360         (RUN_TEST_fF_f1): Likewise.
46361         (RUN_TEST_fI_f1): Likewise.
46362         (RUN_TEST_ffI_f1): Likewise.
46363         (RUN_TEST_c_c): Likewise.
46364         (RUN_TEST_cc_c): Likewise.
46365         (RUN_TEST_f_i): Likewise.
46366         (RUN_TEST_f_i_tg): Likewise.
46367         (RUN_TEST_ff_i_tg): Likewise.
46368         (RUN_TEST_f_b): Likewise.
46369         (RUN_TEST_f_b_tg): Likewise.
46370         (RUN_TEST_f_l): Likewise.
46371         (RUN_TEST_f_L): Likewise.
46372         (RUN_TEST_sincos): Likewise.
46373         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46374         whether to show exceptions.  Do not include ");\n" in return
46375         value.
46376         (special_functions): Output call to RUN_TEST_sincos instead of
46377         check_float calls.  Update calls to new_test.
46378         (parse_args): Output call to single RUN_TEST_* macro instead of
46379         check_* calls and other assignments.  Update calls to new_test.
46381         [BZ #2546]
46382         [BZ #2560]
46383         [BZ #5159]
46384         [BZ #15426]
46385         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46386         input to result for tgamma overflow.
46387         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46388         (gamma_coeff): New variable.
46389         (NCOEFF): New macro.
46390         (gamma_positive): New function.
46391         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46392         underflow here.  Use gamma_positive instead of exp (lgamma) for
46393         other arguments.
46394         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46395         (gamma_coeff): New variable.
46396         (NCOEFF): New macro.
46397         (gammaf_positive): New function.
46398         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46399         underflow here.  Use gamma_positive instead of exp (lgamma) for
46400         other arguments.
46401         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46402         (gamma_coeff): New variable.
46403         (NCOEFF): New macro.
46404         (gammal_positive): New function.
46405         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46406         underflow here.  Use gamma_positive instead of exp (lgamma) for
46407         other arguments.
46408         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46409         (gamma_coeff): New variable.
46410         (NCOEFF): New macro.
46411         (gammal_positive): New function.
46412         (__ieee754_gammal_r): Handle positive infinity, overflow and
46413         underflow here.  Handle NaN the same as positive infinity.  Remove
46414         check x < 0xffffffff for negative integers.  Use gamma_positive
46415         instead of exp (lgamma) for other arguments.
46416         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46417         (gamma_coeff): New variable.
46418         (NCOEFF): New macro.
46419         (gammal_positive): New function.
46420         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46421         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46422         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46423         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46424         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46425         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46426         * sysdeps/generic/math_private.h (__gamma_productf): New
46427         prototype.
46428         (__gamma_product): Likewise.
46429         (__gamma_productl): Likewise.
46430         * math/Makefile (libm-calls): Add gamma_product.
46431         * math/libm-test.inc (tgamma_test): Add more tests.
46432         * sysdeps/i386/fpu/libm-test-ulps: Update.
46433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46435 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46437         * benchtests/bench-skeleton.c (main): Preheat CPU.
46439 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46441         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46443 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46445         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46446         and _dl_skip_args_internal.
46448 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46450         * manual/message.texi (Message Translation): Talk about users.
46451         Message to key mapping impacts design.
46453 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46455         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46457         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46459         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46460         * sysdeps/wordsize-64/glob64.c: ... here.
46462         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46463         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46464         New macros.
46466         * debug/getlogin_r_chk.c: Moved to ...
46467         * login/getlogin_r_chk.c: ... here.
46468         * debug/Makefile (routines): Move getlogin_r_chk to ...
46469         * login/Makefile (routines): ... here.
46470         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46471         * login/Versions (libc: GLIBC_2.4): ... here.
46473         * io/poll.c (__poll): Renamed from poll.
46474         Add libc_hidden_def.
46475         (poll): Define as weak alias.
46477         * debug/ptsname_r_chk.c: Moved to ...
46478         * login/ptsname_r_chk.c: ... here.
46479         * debug/Makefile (routines): Move ptsname_r_chk to ...
46480         * login/Makefile (routines): ... here.
46481         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46482         * login/Versions (libc: GLIBC_2.4): ... here.
46484         * posix/getlogin.c: Moved to ...
46485         * login/getlogin.c: ... here.
46486         * posix/getlogin_r.c: Moved to ...
46487         * login/getlogin_r.c: ... here.
46488         * posix/getlogin_r.c: Moved to ...
46489         * login/getlogin_r.c: ... here.
46490         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46491         * login/Makefile (routines): ... here.
46492         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46493         * login/Versions (libc: GLIBC_2.0): ... here.
46495         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46496         (setrlimit): Define as weak alias.
46498         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46499         Call __ names for open, ftruncate, and close.
46500         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46501         (truncate): Define as weak alias.
46503 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46505         * math/gen-libm-test.pl (parse_args): Initialize x before each
46506         test of frexp, modf and remquo.
46508         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46509         test signgam value.
46511 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46513         [BZ #15418]
46514         [BZ #15419]
46515         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46516         internal tests.
46517         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46519 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46521         * elf/dl-writev.h: New file.
46522         * elf/dl-misc.c: Include it.
46523         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46524         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46526 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46528         * math/libm-test.inc (noXFails): Remove variable.
46529         (noXPasses): Likewise.
46530         (BUILD_COMPLEX_INT): Remove macro.
46531         (print_screen): Remove xfail argument.
46532         (print_screen_max_error): Likewise.
46533         (update_stats): Likewise.
46534         (print_max_error): Likewise.  Update calls to other affected
46535         functions.
46536         (print_complex_max_error): Likewise.
46537         (test_single_exception): Update calls to print_screen.
46538         (test_single_errno): Likewise.
46539         (check_float_internal): Remove xfail argument.  Update calls to
46540         other affected functions.
46541         (check_float): Likewise.
46542         (check_complex): Likewise.
46543         (check_int): Likewise.
46544         (check_long): Likewise.
46545         (check_bool): Likewise.
46546         (check_longlong): Likewise.
46547         (main): Don't print noXFails and noXPasses.
46548         * math/gen-libm-test.pl (top level): Don't mention expected
46549         failure handling in comment.
46550         (new_test): Don't handle expected failures.
46551         (parse_args): Don't mention expected failure handling in comment.
46552         (generate_testfile): Don't handle expected failures.
46553         (parse_ulps): Likewise.
46554         (print_ulps_file): Likewise.
46555         (get_failure): Remove function.
46556         (output_test): Don't handle expected failures.
46557         * make/README.libm-test: Don't mention expected failure handling.
46559         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46560         (minus_zero): Likewise.
46561         (plus_infty): Likewise.
46562         (minus_infty): Likewise.
46563         (qnan_value): Likewise.
46564         (max_value): Likewise.
46565         (min_value): Likewise.
46566         (min_subnorm_value): Likewise.
46567         (initialize): Do not initialize those variables dynamically.
46569 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46571         * io/open.c (__open_2): Moved to ...
46572         * io/open_2.c: ... this new file.
46573         * io/open64.c (__open64_2): Moved to ...
46574         * io/open64_2.c: ... this new file.
46575         * io/openat.c (__openat_2): Moved to ...
46576         * io/openat_2.c: ... this new file.
46577         * io/openat64.c (__openat64_2): Moved to ...
46578         * io/openat64_2.c: ... this new file.
46579         * io/Makefile (routines): Add them.
46580         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46581         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46582         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46583         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46584         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46585         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46586         (__openat64): Add hidden_ver.
46587         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46588         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46590         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46591         Separately conditionalize setting of GLRO(dl_sysinfo) so
46592         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46593         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46595 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46597         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46599         definition.
46600         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46601         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46602         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46603         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46604         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46606 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46608         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46609         test signgam value.
46611         * math/libm-test.inc (hypot_test): Do not use
46612         IGNORE_ZERO_INF_SIGN.
46614 2013-05-03  Andreas Jaeger  <aj@suse.de>
46616         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46617         Linux 3.9.
46618         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46619         (PF_MAX): Adjust for VSOCK change.
46621 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46625 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46627         [BZ #15264]
46628         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46629         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46630         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46632 2013-05-02  David S. Miller  <davem@davemloft.net>
46634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46636 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46638         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46640 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46642         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46644 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46646         [BZ #14952]
46647         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46648         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46649         Use __attribute__ ((__gnu_inline__)).
46650         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46651         Don't use __attribute__ ((__gnu_inline__)).
46653 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46655         [BZ #15423]
46656         * math/s_catan.c (__catan): Handle small real or imaginary part of
46657         input specially to avoid spurious underflow.
46658         * math/s_catanf.c (__catanf): Likewise.
46659         * math/s_catanh.c (__catanh): Likewise.
46660         * math/s_catanhf.c (__catanhf): Likewise.
46661         * math/s_catanhl.c (__catanhl): Likewise.
46662         * math/s_catanl.c (__catanl): Likewise.
46663         * math/libm-test.inc (catan_test): Add more tests.
46664         (catanh_test): Likewise.
46665         * sysdeps/i386/fpu/libm-test-ulps: Update.
46666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46668 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46672 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46674         [BZ #15416]
46675         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46676         accurately for denominator in atan2.
46677         * math/s_catanf.c (__catanf): Likewise.
46678         * math/s_catanh.c (__catanh): Likewise.
46679         * math/s_catanhf.c (__catanhf): Likewise.
46680         * math/s_catanhl.c (__catanhl): Likewise.
46681         * math/s_catanl.c (__catanl): Likewise.
46682         * math/libm-test.inc (catan_test): Add more tests.
46683         (catanh_test): Likewise.
46684         * sysdeps/i386/fpu/libm-test-ulps: Update.
46685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46687 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46689         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46691         * benchtests/Makefile (bench): Remove slow benchmarks.
46692         * benchtests/atan-inputs: Add slow benchmark inputs.
46693         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46694         (BENCH_FUNC): Accept variant offset.
46695         (VARIANT): Define.
46696         * benchtests/bench-skeleton.c (main): Run benchmark for each
46697         variant.
46698         * benchtests/cos-inputs: Add slow benchmark inputs.
46699         * benchtests/exp-inputs: Likewise.
46700         * benchtests/pow-inputs: Likewise.
46701         * benchtests/sin-inputs: Likewise.
46702         * benchtests/slowatan-inputs: Remove.
46703         * benchtests/slowatan.c: Remove.
46704         * benchtests/slowcos-inputs: Remove.
46705         * benchtests/slowcos.c: Remove.
46706         * benchtests/slowexp-inputs: Remove.
46707         * benchtests/slowexp.c: Remove.
46708         * benchtests/slowpow-inputs: Remove.
46709         * benchtests/slowpow.c: Remove.
46710         * benchtests/slowsin-inputs: Remove.
46711         * benchtests/slowsin.c: Remove.
46712         * benchtests/slowtan-inputs: Remove.
46713         * benchtests/slowtan.c: Remove.
46714         * benchtests/tan-inputs: Add slow benchmark inputs.
46715         * scripts/bench.pl: Parse comments and directives.
46717         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46718         in CPPFLAGS.
46719         ($(objpfx)bench-%.c): Remove *-ITER.
46720         * benchtests/bench-modf.c: Remove definition of ITER.
46721         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46722         (main): Loop for DURATION seconds instead of fixed number of
46723         iterations.
46724         * scripts/bench.pl: Don't expect iterations in parameters.
46726 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46728         * io/fchdir.c (__fchdir): Renamed from fchdir.
46729         (fchdir): Define as weak alias.
46731 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46733         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46734         (ERRNO_EDOM): Likewise.
46735         (ERRNO_ERANGE): Likewise.
46736         (noErrnoTests): New variable.
46737         (init_max_error): Set errno to 0.
46738         (test_single_errno): New function.
46739         (test_errno): Likewise.
46740         (check_float_internal): Call test_errno.  Set errno to 0.
46741         (check_complex): Refer to errno tests in comment.
46742         (check_int): Call test_errno.  Set errno to 0.
46743         (check_long): Likewise.
46744         (check_bool): Likewise.
46745         (check_longlong): Likewise.
46746         (cos_test): Use ERRNO_* flags for errno tests instead of
46747         check_int.
46748         (expm1_test): Likewise.
46749         (fmod_test): Likewise.
46750         (ilogb_test): Likewise.
46751         (lgamma_test): Likewise.
46752         (pow_test): Likewise.
46753         (remainder_test): Likewise.
46754         (sin_test): Likewise.
46755         (tan_test): Likewise.
46756         (yn_test): Likewise.
46757         (initialize): Set errno to 0.
46758         (main): Print number of errno tests.
46759         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46761 2013-04-29  Andreas Jaeger  <aj@suse.de>
46763         [BZ #15084]
46764         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46765         and RES_USEVC.
46767         [BZ #15085]
46768         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46769         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46770         unimplemented.
46772         [BZ #15380]
46773         * stdlib/random.c (__initstate): Return NULL if
46774         __initstate fails.
46776         [BZ #15086]
46777         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46778         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46779         RES_SNGLKUPREOP.
46781 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46785 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46787         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46788         of individual tests.
46789         (casin_test): Likewise.
46790         (casinh_test): Likewise.
46792 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46794         [BZ #15409]
46795         * math/s_catan.c (__catan): Handle arguments with large real or
46796         imaginary part separately without squaring.
46797         * math/s_catanf.c (__catanf): Likewise.
46798         * math/s_catanh.c (__catanh): Likewise.
46799         * math/s_catanhf.c (__catanhf): Likewise.
46800         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46801         and redefine.
46802         (__catanhl): Handle arguments with large real or imaginary part
46803         separately without squaring.
46804         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46805         and redefine.
46806         (__catanl): Handle arguments with large real or imaginary part
46807         separately without squaring.
46808         * math/libm-test.inc (catan_test): Add more tests.
46809         (catanh_test): Likewise.
46810         * sysdeps/i386/fpu/libm-test-ulps: Update.
46811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46813 2013-04-27  Andreas Jaeger  <aj@suse.de>
46815         [BZ #15007]
46816         * stdlib/stdlib.h: Update guards for qecvt.
46817         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46818         <stdlib.h>.
46820 2013-04-27  Allan McRae  <allan@archlinux.org>
46822         * sysdeps/i386/fpu/libm-test-ulps: Update.
46824 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46826         [BZ #15406]
46827         * math/s_catan.c: Include <float.h>.
46828         (__catan): Ensure underflow exception occurs for underflowed
46829         result.
46830         * math/s_catanf.c: Include <float.h>.
46831         (__catanf): Ensure underflow exception occurs for underflowed
46832         result.
46833         * math/s_catanh.c: Include <float.h>.
46834         (__catanh): Ensure underflow exception occurs for underflowed
46835         result.
46836         * math/s_catanhf.c: Include <float.h>.
46837         (__catanhf): Ensure underflow exception occurs for underflowed
46838         result.
46839         * math/s_catanhl.c: Include <float.h>.
46840         (__catanhl): Ensure underflow exception occurs for underflowed
46841         result.
46842         * math/s_catanl.c: Include <float.h>.
46843         (__catanl): Ensure underflow exception occurs for underflowed
46844         result.
46845         * math/libm-test.inc (catan_test): Add more tests.
46846         (catanh_test): Likewise.
46848         [BZ #15405]
46849         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
46850         underflowed result.
46851         * math/s_ccoshf.c (__ccoshf): Likewise.
46852         * math/s_ccoshl.c (__ccoshl): Likewise.
46853         * math/s_csin.c (__csin): Likewise.
46854         * math/s_csinf.c (__csinf): Likewise.
46855         * math/s_csinh.c (__csinh): Likewise.
46856         * math/s_csinhf.c (__csinhf): Likewise.
46857         * math/s_csinhl.c (__csinhl): Likewise.
46858         * math/s_csinl.c (__csinl): Likewise.
46859         * math/libm-test.inc (ccos_test): Add more tests.
46860         (ccosh_test): Likewise.
46861         (csin_test): Likewise.
46862         (csinh_test): Likewise.
46864 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46866         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
46867         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
46868         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
46869         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
46870         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
46871         powerpc/power5+/fpu folders.
46872         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
46875 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
46877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46879 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
46881         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
46882         additions to variable.
46883         [$(config-machine) = x86_64] (modules-names): Likewise.
46884         ($(objpfx)tst-audit3): Remove dependency.
46885         ($(objpfx)tst-audit3.out): Likewise.
46886         ($(objpfx)tst-audit4): Likewise.
46887         ($(objpfx)tst-audit4.out): Likewise.
46888         ($(objpfx)tst-audit5): Likewise.
46889         ($(objpfx)tst-audit5.out): Likewise.
46890         ($(objpfx)tst-audit6): Likewise.
46891         ($(objpfx)tst-audit6.out): Likewise.
46892         ($(objpfx)tst-audit7): Likewise.
46893         ($(objpfx)tst-audit7.out): Likewise.
46894         (tst-audit3-ENV): Remove variable.
46895         (tst-audit4-ENV): Likewise.
46896         (tst-audit5-ENV): Likewise.
46897         (tst-audit6-ENV): Likewise.
46898         (tst-audit7-ENV): Likewise.
46899         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
46900         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
46901         addition to variable.
46902         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
46903         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
46904         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
46905         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
46906         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
46907         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
46908         tst-audit3, tst-audit4 and tst-audit5.
46909         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
46910         tst-audit6 and tst-audit7.
46911         [$(subdir) = elf] (modules-names): Add audit modules for those
46912         tests.
46913         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
46914         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
46915         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
46916         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
46917         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
46918         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
46919         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
46920         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
46921         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
46922         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
46923         [$(subdir) = elf] (tst-audit3-ENV): New variable.
46924         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
46925         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
46926         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
46927         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
46928         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
46929         Likewise.
46930         [$(subdir) = elf && $(config-cflags-avx) = yes]
46931         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
46932         [$(subdir) = elf && $(config-cflags-avx) = yes]
46933         (CFLAGS-tst-auditmod4a.c): Likewise.
46934         [$(subdir) = elf && $(config-cflags-avx) = yes]
46935         (CFLAGS-tst-auditmod4b.c): Likewise.
46936         [$(subdir) = elf && $(config-cflags-avx) = yes]
46937         (CFLAGS-tst-auditmod6b.c): Likewise.
46938         [$(subdir) = elf && $(config-cflags-avx) = yes]
46939         (CFLAGS-tst-auditmod6c.c): Likewise.
46940         [$(subdir) = elf && $(config-cflags-avx) = yes]
46941         (CFLAGS-tst-auditmod7b.c): Likewise.
46942         * elf/tst-audit3.c: Move to ...
46943         * sysdeps/x86_64/tst-audit3.c: ... here.
46944         * elf/tst-audit4.c: Move to ...
46945         * sysdeps/x86_64/tst-audit4.c: ... here.
46946         * elf/tst-audit5.c: Move to ...
46947         * sysdeps/x86_64/tst-audit5.c: ... here.
46948         * elf/tst-audit6.c: Move to ...
46949         * sysdeps/x86_64/tst-audit6.c: ... here.
46950         * elf/tst-audit7.c: Move to ...
46951         * sysdeps/x86_64/tst-audit7.c: ... here.
46952         * elf/tst-auditmod3a.c: Move to ...
46953         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
46954         * elf/tst-auditmod3b.c: Move to ...
46955         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
46956         * elf/tst-auditmod4a.c: Move to ...
46957         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
46958         * elf/tst-auditmod4b.c: Move to ...
46959         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
46960         * elf/tst-auditmod5a.c: Move to ...
46961         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
46962         * elf/tst-auditmod5b.c: Move to ...
46963         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
46964         * elf/tst-auditmod6a.c: Move to ...
46965         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
46966         * elf/tst-auditmod6b.c: Move to ...
46967         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
46968         * elf/tst-auditmod6c.c: Move to ...
46969         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
46970         * elf/tst-auditmod7a.c: Move to ...
46971         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
46972         * elf/tst-auditmod7b.c: Move to ...
46973         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
46975 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
46977         [BZ #15366]
46978         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
46979         define unconditionally.
46980         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
46981         define unconditionally.
46982         (INT8_C, INT16_C, etc.): Likewise.
46984 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
46986         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
46987         __ehdr_start with hidden visibility.
46989         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
46991 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
46993         * math/libm-test.inc (cos_test): Use accurate hex constants.
46994         (sincost_test): Likewise.
46996 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
46998         * math/libm-test.inc (catan_test): Add more tests.
46999         (catanh_test): Likewise.
47001         * math/s_catanf.c (__catanf): Use suffixed floating-point
47002         constants.
47003         * math/s_catanhf.c (__catanhf): Likewise.
47004         * math/s_catanhl.c (__catanhl): Likewise.
47005         * math/s_catanl.c (__catanl): Likewise.
47007         [BZ #15394]
47008         * math/s_catan.c (__catan): Calculate imaginary part of result
47009         with log1p not log unless computing log of number close to 0.
47010         * math/s_catanf.c (__catanf): Likewise.
47011         * math/s_catanl.c (__catanl): Likewise.
47012         * math/s_catanh.c (__catanh): Calculate real part of result with
47013         log1p not log unless computing log of number close to 0.
47014         * math/s_catanhf.c (__catanhf): Likewise.
47015         * math/s_catanhl.c (__catanhl): Likewise.
47016         * math/libm-test.inc (catan_test): Add more tests.
47017         (catanh_test): Likewise.
47018         * sysdeps/i386/fpu/libm-test-ulps: Update.
47019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47021 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47023         * benchtests/Makefile: Mention files in which fast and slow
47024         paths of math functions are implemented.
47026 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47028         * sysdeps/posix/timespec_get.c: New file.
47030 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47032         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47033         POWER.
47034         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47035         for POWER.
47036         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47037         powerpc/power5/fpu folders.
47038         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47039         * benchtests/Makefile: Add modf testcase.
47040         * benchtests/bench-modf.c: New file: Benchmark test for mo
47042 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47044         [BZ #14888]
47045         * time/Makefile (tests): Add tst-strptime-whitespace.
47046         * time/strptime_l.c (get_number): Use ISSPACE.
47047         (__strptime_internal): Likewise.
47048         * time/tst-strptime-whitespace.c: New test case.
47050 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47052         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47053         member.
47054         (_nss_files_init): Set it here.
47056 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47058         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47059         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47060         unsigned.
47062 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47064         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47066 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47068         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47069         size just once.
47071 2013-04-21  David S. Miller  <davem@davemloft.net>
47073         * po/ru.po: Update Russion translation from translation project.
47075 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47077         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47078         and setfsgid.
47080 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47082         * configure.in: Remove i386 configure warning. Remove i386 case.
47083         * configure: Regenerate.
47084         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47085         Add example to error message.
47086         * sysdeps/i386/configure: Regenerate.
47088 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47090         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47091         slowtan.
47092         * benchtests/cos-inputs: New file.
47093         * benchtests/slowcos-inputs: New file.
47094         * benchtests/slowcos.c: New file.
47095         * benchtests/slowtan-inputs: New file.
47096         * benchtests/slowtan.c: New file.
47097         * benchtests/tan-inputs: New file.
47099 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47101         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47102         considered kosher.
47104 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47106         * benchtests/Makefile: Include cppflags-iterator.mk to add
47107         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47109         * Makefile.in (bench-clean): New target.
47110         * benchtests/Makefile (bench-clean): Likewise.
47112 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47114         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47116 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47118         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47120 2013-04-15  Andreas Schwab  <schwab@suse.de>
47122         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47123         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47124         * nscd/pwdcache.c (cache_addpw): Likewise.
47125         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47126         more than recsize.
47128 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47130         * benchtests/Makefile (bench): Write all output to
47131         bench-out.tmp together.
47133 2013-04-15  Andreas Schwab  <schwab@suse.de>
47135         * nscd/nscd.c (main): Don't fork again after closing files.
47137 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47139         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47141         * benchtests/Rules (bench-deps): Collect dependencies into a
47142         single variable.  Add Makefile to dependencies.
47143         ($(objpfx)bench-%.c): Depend on bench-deps.
47145 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47146             Xavier Roche  <roche+kml2@exalead.com>
47148         [BZ #15361]
47149         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47150         just that it's a file descriptor.
47151         * manual/llio.texi (Synchronizing AIO Operations): Update description
47152         for EBADF error from aio_fsync.
47154 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47156         * Rules (bench): Move target definition...
47157         * benchtests/Makefile: ... here.
47159 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47161         * math/libm-test.inc (cos_test): Fix PI/2 test.
47162         (sincos_test): Likewise.
47163         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47164         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47166 2013-04-11  Andreas Schwab  <schwab@suse.de>
47168         [BZ #13988]
47169         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47170         accept exponent character only when digits were seen.
47171         * stdio-common/Makefile (tests): Add bug26.
47172         * stdio-common/bug26.c: New file.
47174         [BZ #14293]
47175         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47176         non-freeable.
47178 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47180         * Makeconfig (rtld-prefix): Define built linker prefix.
47181         * Rules (run-bench): Use it.
47182         * math/Makefile (run-regen-ulps): Likewise.
47184         * Rules (bench): Remove eval.
47186 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47187             Roland McGrath  <roland@hack.frob.com>
47188             Ondrej Bilka  <neleai@seznam.cz>
47190         [BZ #15346]
47191         * time/getdate.c: Include ctype.h and alloca.h.
47192         (__getdate_r): Trim leading and trailing spaces of input.
47193         * time/tst-getdate.c (tests): Add tests with leading and
47194         trailing spaces.
47196 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47198         [BZ #14280]
47199         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47200         when computing value.
47202 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47204         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47205         Use testrun.sh to run libm tests.
47207         [BZ #15309]
47208         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47210 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47212         [BZ #15264]
47213         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47215 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47217         * Makefile.in (regen-ulps): New target.
47218         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47219         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47220         [ifneq (no,$(PERL)] (regen-ulps): New target.
47221         [ifeq (no,$(PERL)] (regen-ulps): New target.
47222         * math/libm-test.inc (ulps_file_name): Define.
47223         (output_dir): New variable.
47224         (options): Add "output-dir" option.
47225         (parse_opt): Handle 'o' case.
47226         (main): If output_dir is non-NULL use it as a prefix
47227         otherwise use "".
47228         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47230 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47232         [BZ #10060, #10062]
47233         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47234         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47235         fail configure if __sync_val_compare_and_swap is not inlined.
47236         * sysdeps/i386/configure: Regenerate.
47237         * configure.in: Build for i686 when configured for i386.
47238         * configure: Regenerate.
47239         * README: Remove i386 reference.
47241 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47243         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47244         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47246 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47248         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47249         (lmsnanval): New variables.
47250         (F): Add conversion tests.
47251         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47252         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47254         * stdio-common/tstdiomisc.c (F): Properly collect individual
47255         tests' results.
47257         [BZ #14686, #15336]
47258         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47259         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47260         Instead, use input NaN values or generate a qNaN by arithmetic
47261         operation.  Also fix bugs to comply with the standard.
47262         * math/libm-test.inc (remainder_test): Add more tests.
47264         [BZ #15335, #15342]
47265         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47267         input NaN values or generate a qNaN by arithmetic operation.
47269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47270         unreachable code.
47272         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47273         definitions.
47275 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47277         [BZ #14478]
47278         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47279         underflowed result.
47280         * math/s_cexpf.c (__cexpf): Likewise.
47281         * math/s_cexpl.c (__cexpl): Likewise.
47282         * math/libm-test.inc (cexp_test): Add more tests.
47284 2013-04-03  Andreas Schwab  <schwab@suse.de>
47286         [BZ #15330]
47287         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47288         order arrays from heap if bigger than alloca cutoff.
47290 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47292         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47293         (SNAN_TESTS_double): Refer to GCC PR56831.
47294         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47295         GCC PR56828.
47297 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47299         * Rules (bench): Move bench.out after the run is complete.
47301         * Rules (bench): Echo currently running benchmark.
47303         * benchtests/Makefile (bench): Add atan and slowatan.
47304         * benchtests/atan-inputs: New file.
47305         * benchtests/slowatan-inputs: New file.
47306         * benchtests/slowatan.c: New file.
47308         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47309         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47310         its value.
47312         [BZ #15305]
47313         * sysdeps/unix/sysv/linux/kernel-features.h
47314         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47315         __ASSUME_XFS_RESTRICTED_CHOWN.
47316         * sysdeps/unix/sysv/linux/pathconf.c
47317         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47318         Save and restore errno.
47320 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47322         [BZ #15327]
47323         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47324         arguments using __kernel_casinh.
47325         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47326         arguments using __kernel_casinhf.
47327         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47328         arguments using __kernel_casinhl.
47329         * math/libm-test.inc (cacosh_test): Add more tests.
47330         * sysdeps/i386/fpu/libm-test-ulps: Update.
47331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47333 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47335         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47338         * bench/Makefile (bench): Add sin and slowsin.
47339         * benchtests/sin-inputs: New file.
47340         * benchtests/slowsin-inputs: New file.
47341         * benchtests/slowsin.c: New file.
47343         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47344         (bench): Add slowexp and slowpow.
47345         (exp-ITER): Increase iterations.
47346         (pow-ITER): Likewise.
47347         * benchtests/exp-inputs: Change input.
47348         * benchtests/pow-inputs: Likewise.
47349         * benchtests/slowexp-inputs: New file.
47350         * benchtests/slowexp.c: New file.
47351         * benchtests/slowpow-inputs: New file.
47352         * benchtests/slowpow.c: New file.
47354 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47356         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47357         instructions.
47358         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47359         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47360         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47361         * benchtests/Makefile: Add rint benchtest.
47362         * benchtests/rint-inputs: Input for rint benchtest.
47364 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47366         * Versions.def (libm): Add GLIBC_2.18.
47367         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47368         hidden libm prototypes.
47369         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47370         * math/Makefile (libm-calls): Add s_issignaling.
47371         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47372         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47373         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47374         declaration.
47375         * math/math.h [__USE_GNU] (issignaling): New macro.
47376         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47377         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47378         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47379         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47380         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47381         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47382         * manual/arith.texi (issignaling): New section.
47383         * manual/libm-err-tab.pl (@all_functions): Update comment.
47384         * math/gen-libm-test.pl (parse_args): Apply special handling for
47385         issignaling.
47386         * math/libm-test.inc (print_float, issignaling_test): New
47387         functions.
47388         (check_float_internal): Add issignaling checks.
47389         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47390         default definition.
47391         * sysdeps/powerpc/math-tests.h: New file.
47392         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47393         tests.
47394         * math/test-snan.c (TEST_FUNC): Likewise.
47396 2013-03-30  David S. Miller  <davem@davemloft.net>
47398         * po/de.po: Update from translation team.
47400 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47402         [BZ #10357]
47403         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47404         imaginary part less than 1.0 and real part less than 0.5
47405         specially.
47406         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47407         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47408         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47409         (cacos_test): Add more tests.
47410         (casin_test): Likewise.
47411         (casinh_test): Likewise.
47412         * sysdeps/i386/fpu/libm-test-ulps: Update.
47413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47415 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47417         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47418         ONE with its value.
47420         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47421         (__pow_mp): Replace ONE and MONE with their values.
47422         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47423         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47424         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47425         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47426         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47427         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47429         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47431         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47432         (__pow_mp): Replace ZERO and MZERO with their values.
47433         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47434         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47435         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47437         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47438         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47439         (__sqr): Likewise.
47441         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47443         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47445 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47447         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47448         Declare with __attribute__ ((weak)).
47449         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47450         Call __call_tls_dtors only if it's not NULL.
47452 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47454         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47455         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47456         magic __ehdr_start linker symbol if it's defined.
47457         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47458         them up here if it was already done.
47460         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47461         (_dl_aux_init): Use const in cast when setting it.
47462         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47463         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47464         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47466         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47467         Declare them here.
47468         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47469         * csu/libc-tls.c: Nor here.
47470         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47472         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47473         (__libc_message): Never call vsyslog.
47475 2013-03-28  Alan Modra  <amodra@gmail.com>
47477         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47478         Define as empty.
47479         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47480         Likewise.
47482 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47484         [BZ #15214]
47485         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47486         underflow.
47487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47489 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47491         [BZ #15304]
47492         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47493         Don't add gid passed as argument.
47495         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47497 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47499         [BZ #15307]
47500         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47501         imaginary part between 1.0 and 1.5 and real part less than 0.5
47502         specially.
47503         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47504         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47505         * math/libm-test.inc (cacos_test): Add more tests.
47506         (casin_test): Likewise.
47507         (casinh_test): Likewise.
47508         * sysdeps/i386/fpu/libm-test-ulps: Update.
47509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47511 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47513         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47514         constants.
47515         (norm): Likewise.
47516         (denorm): Likewise.
47517         (__dbl_mp): Likewise.
47518         (add_magnitudes): Likewise.
47519         (sub_magnitudes): Likewise.
47520         (__add): Likewise.
47521         (__sub): Likewise.
47522         (__mul): Likewise.
47523         (__sqr): Likewise.
47524         (__inv): Likewise.
47525         (__dvd): Likewise.
47527         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47528         commented code.
47529         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47530         (__dubcos): Likewise.
47531         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47532         (__ieee754_acos): Likewise.
47533         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47534         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47535         (__exp1): Likewise.
47536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47537         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47538         (log1): Likewise.
47539         (my_log2): Likewise.
47540         (checkint): Likewise.
47541         * sysdeps/ieee754/dbl-64/e_remainder.c
47542         (__ieee754_remainder): Likewise.
47543         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47544         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47545         (bsloww): Likewise.
47546         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47548         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47549         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47550         MANTISSA_STORE_T to store computations on mantissa.  Use
47551         macros for rounding and division.
47552         (denorm): Likewise.
47553         (__dbl_mp): Likewise.
47554         (add_magnitudes): Likewise.
47555         (sub_magnitudes): Likewise.
47556         (__mul): Likewise.
47557         (__sqr): Likewise.
47558         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47559         powers of two in terms of TWOPOW macro.
47560         (mp_no): Make type of mantissa as MANTISSA_T.
47561         [!RADIXI]: Define RADIXI.
47562         [!TWO52]: Define TWO52.
47563         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47565 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47567         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47568         llroundl symbol when building for PPC32.
47570 2013-03-24  Mark H Weaver  <mhw@netris.org>
47572         * manual/arith.texi (Normalization Functions): Fix prototypes for
47573         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47575 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47577         [BZ #13889]
47578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47579         high value to check if expl overflow.
47580         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47581         to check for underflow and overflow.
47582         * math/libm-test.inc: Add exp test.
47584 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47586         [BZ #11120]
47587         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47588         with NOT_IN_libc.
47590 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47592         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47593         symbol.
47595 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47597         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47598         wrap blocks consisting of several statements.
47600         * sysdeps/generic/math-tests.h: New file.
47601         * sysdeps/i386/fpu/math-tests.h: Likewise.
47602         * math/test-snan.c: Include it.
47603         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47605 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47607         [BZ #15285]
47608         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47609         (__ieee754_j0l): Do not improve calculations using cos of twice
47610         input for inputs above LDBL_MAX / 2.0L.
47611         (__ieee754_y0l): Likewise.
47612         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47613         (__ieee754_j1l): Do not improve calculations using cos of twice
47614         input for inputs above LDBL_MAX / 2.0L.
47615         (__ieee754_y1l): Likewise.
47616         * math/libm-test.inc (j0_test): Add another test.
47617         (j1_test): Likewise.
47618         (y0_test): Likewise.
47619         (y1_test): Likewise.
47620         * sysdeps/i386/fpu/libm-test-ulps: Update.
47622 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47624         * Rules ($(objpfx)bench-%.c): Include code from a C source
47625         file.
47627 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47629         [BZ #15287]
47630         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47631         imaginary part 1.0 and real part less than 0.5 specially.
47632         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47633         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47634         * math/libm-test.inc (cacos_test): Add more tests.
47635         (casin_test): Likewise.
47636         (casinh_test): Likewise.
47637         * sysdeps/i386/fpu/libm-test-ulps: Update.
47638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47640 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47642         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47643         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47645 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47647         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47648         * config.make.in (config-cflags-sse4): Remove variable.
47649         (config-cflags-avx): Likewise.
47650         (config-cflags-sse2avx): Likewise.
47651         (config-cflags-novzeroupper): Likewise.
47652         (config-asflags-i686): Likewise.
47653         (have-mfma4): Likewise.
47654         (have-as-vis3): Likewise.
47655         (MIG): Likewise.
47656         * configure.in (MIG): Do not AC_SUBST.
47657         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47658         (libc_cv_cc_sse4): Do not AC_SUBST.
47659         (libc_cv_cc_avx): Likewise.
47660         (libc_cv_cc_sse2avx): Likewise.
47661         (libc_cv_cc_novzeroupper): Likewise.
47662         (libc_cv_cc_fma4): Likewise.
47663         (libc_cv_as_i686): Likewise.
47664         (libc_cv_sparc_as_vis3): Likewise.
47665         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47666         LIBC_CONFIG_VAR.
47667         (config-asflags-i686): Likewise.
47668         (config-cflags-avx): Likewise.
47669         (config-cflags-sse2avx): Likewise.
47670         (have-mfma4): Likewise.
47671         (config-cflags-novzeroupper): Likewise.
47672         * sysdeps/mach/configure.in (MIG): Likewise.
47673         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47674         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47675         LIBC_CONFIG_VAR.
47676         (config-cflags-avx): Likewise.
47677         (config-cflags-sse2avx): Likewise.
47678         (have-mfma4): Likewise.
47679         (config-cflags-novzeroupper): Likewise.
47680         * configure: Regenerated.
47681         * sysdeps/i386/configure: Likewise.
47682         * sysdeps/mach/configure: Likewise.
47683         * sysdeps/sparc/configure: Likewise.
47684         * sysdeps/x86_64/configure: Likewise.
47686 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47688         [BZ #14812]
47689         * locale/programs/localedef.c (options): Put N_ translation marker
47690         on argument names, not just descriptions.
47692 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47694         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47696 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47698         [BZ #14176]
47699         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47701 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47703         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47704         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47705         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47706         [!BEFORE_ABORT] (before_abort): New function.
47707         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47708         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47709         (writev_for_fatal): New function.
47710         (WRITEV_FOR_FATAL): New macro; call that.
47711         (backtrace_and_maps): New function.
47712         (BEFORE_ABORT): New macro; call that.
47713         (struct str_list): Type removed.
47714         (__libc_message, __libc_fatal): Functions removed.
47715         Include <sysdeps/posix/libc_fatal.c> instead.
47717 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47719         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47720         constants.
47721         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47722         double constants.
47724 2013-03-19  Andreas Schwab  <schwab@suse.de>
47726         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47727         * sysdeps/gnu/configure: Regenerate.
47729         * configure.in: Substitute libc_cv_rtlddir.
47730         * configure: Regenerate.
47731         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47732         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47733         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47734         * elf/Makefile (install-others, CFLAGS-interp.c)
47735         (ldso_install, common-ldd-rewrite): Likewise.
47736         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47737         $(inst_slibdir)/$(rtld-installed-name).
47738         * scripts/rellns-sh: Add -p option.
47739         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47740         for source.
47742 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47744         * manual/nptl.texi: Renamed to ...
47745         * manual/threads.texi: ... this.
47746         * manual/Makefile (chapters): Update.
47748 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47750         [BZ #14812]
47751         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47752         on argument names, not just descriptions.
47753         * malloc/memusagestat.c (options): Likewise.
47754         * nss/getent.c (options): Likewise.
47756 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47758         [BZ #14812]
47759         * iconv/iconv_prog.c (options): Put N_ translation marker
47760         on argument names, not just descriptions.
47761         * iconv/iconvconfig.c (options): Likewise.
47763 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47765         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47766         implementation which is faster on all x86_64 architectures.
47767         Tested on AMD, Intel Nehalem, SNB, IVB.
47768         * sysdeps/x86_64/strnlen.S: Likewise.
47770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47771         Remove all multiarch strlen and strnlen versions.
47772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47773         Remove strlen and strnlen related parts.
47775         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47776         Inline strlen part.
47777         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47779         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47780         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47781         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47782         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47783         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47784         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47786 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47788         * manual/memory.texi (Malloc Tunable Parameters):
47789         Sort parameters alphabetically. Add comments for missing entries.
47791 2013-03-17  David S. Miller  <davem@davemloft.net>
47793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47795 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47797         [BZ #15283]
47798         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47799         for arguments at most half maximum finite value.
47800         * math/libm-test.inc (j0_test): Add more tests.
47801         (j1_test): Likewise.
47802         (y0_test): Likewise.
47803         (y1_test): Likewise.
47804         * sysdeps/i386/fpu/libm-test-ulps: Update.
47805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47807         [BZ #14155]
47808         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47809         1 / x and functions P and Q for arguments above 0x1p256L.
47810         (__ieee754_y0l): Likewise.
47811         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47812         (__ieee754_y1l): Likewise.
47813         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47814         (j1_test): Likewise.
47815         (y0_test): Likewise.
47816         (y1_test): Likewise.
47818 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47820         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47821         variable.
47823 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47825         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47826         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47827         zero since it's initialized to EXEC_PAGESIZE.
47829         * sysdeps/unix/sysv/linux/ldsodefs.h
47830         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47831         * sysdeps/generic/ldsodefs.h: ... here.
47833 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
47835         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
47837         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
47838         math/test-snan.c.
47839         * math/test-snan.c: Renamed from
47840         sysdeps/powerpc/fpu/test-powerpc-snan.c.
47841         * math/Makefile (tests): Add test-snan.
47842         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
47843         test-powerpc-snan.
47845         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
47846         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
47847         functions.
47848         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
47849         __builtin_nan family of functions.
47850         * math/libm-test.inc (initialize): Initialize qnan_value with
47851         __builtin_nan family of functions.
47852         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
47853         Remove variables.
47854         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
47855         Remove functions.
47856         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
47857         storage class.  Initialize qNaN_var and sNaN_var with
47858         __builtin_nan and __builtin_nans families of functions,
47859         respectively.
47861         * math/libm-test.inc (acosh_test): Also test with qNaN input.
47862         (sqrt_test): Remove duplicate test with qNaN input.
47863         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
47864         (round_test, signbit_test, significand_test): Note missing +/-Inf
47865         as well as qNaN tests.
47867         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
47868         qNaN_var.  Fix a few strings, too.
47869         * math/libm-test.inc (nan_value): Rename to qnan_value.
47870         * math/gen-libm-test.pl (%beautify): Adjust to that.
47871         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
47872         * math/test-misc.c (main): Likewise.
47873         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
47874         to __qnan_bytes, and __qnan_union, respectively.
47875         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
47876         Likewise.
47877         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
47878         and lqnanval, respectively.
47879         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
47880         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
47881         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
47882         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
47884         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
47885         * math/test-misc.c (main) [__x86_64__]: Enable test for long
47886         doubles.
47888         * math/test-misc.c (main): Fix copy'n'pastos.
47889         * misc/tst-efgcvt.c (special): Likewise.
47891         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
47892         Remove declarations.
47894 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47896         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
47897         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
47898         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
47899         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
47901 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47903         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
47904         macro to return vdso values correctly in IFUNC implementations.
47905         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47906         Optimization by using IFUNC.
47908 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47909             Richard Henderson  <rth@redhat.com>
47910             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47912         * Makefile.in (bench): New target.
47913         * NEWS: Mention the benchmark framework.
47914         * Rules (bench): Likewise.
47915         (binaries-bench): Generate binaries for functions to
47916         benchmark.
47917         * benchtests/Makefile: New makefile for benchmark tests.
47918         * benchtests/bench-skeleton.c: New skeleton file for benchmark
47919         programs.
47920         * benchtests/exp-inputs: New input file for EXP function.
47921         * benchtests/pow-inputs: New input file for POW function.
47922         * scripts/bench.pl: New script to generate source files for
47923         benchmark programs.
47925 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47927         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47928         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
47929         computations on mantissa.  Use macros for rounding and
47930         division.
47931         (denorm): Likewise.
47932         (__dbl_mp): Likewise.
47933         (add_magnitudes): Likewise.
47934         (sub_magnitudes): Likewise.
47935         (__mul): Likewise.
47936         (__sqr): Likewise.
47937         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47938         powers of two in terms of TWOPOW macro.
47939         (mp_no): Make type of mantissa as MANTISSA_T.
47940         [!RADIXI]: Define RADIXI.
47941         [!TWO52]: Define TWO52.
47942         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47944         * manual/nptl.texi (cindex): Modify threads to pthreads.
47946 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
47948         * sysdeps/x86_64/preconfigure: Regenerated.
47950 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
47952         [BZ #14155]
47953         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
47954         0x1p28 and above.
47955         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
47956         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
47957         0x1p28 and above.
47958         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
47959         * math/libm-test.inc (j0_test): Do not allow one spurious
47960         underflow exception.
47961         (y1_test): Likewise.
47963 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47965         * manual/Makefile (chapters): Add nptl.
47966         * manual/debug.texi (Debugging Support): Add link to Threads
47967         chapter.
47968         * manual/nptl.texi: New file.
47970         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
47972 2013-03-14  Petr Baudis  <pasky@ucw.cz>
47974         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
47975         for non-NULL pointer before the memory validity test. Pointed
47976         out by Holger Brunck <holger.brunck@keymile.com>.
47978 2013-03-13  Andreas Schwab  <schwab@suse.de>
47980         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
47981         instead of .os.
47983 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
47985         * timezone/zic.c: Update from tzcode 2013b.
47987 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
47989         * manual/install.texi (Configuring and compiling):
47990         Mention i686 and i586.
47991         * INSTALL: Regenerate.
47993 2013-03-12  Roland McGrath  <roland@hack.frob.com>
47995         * sysdeps/init_array/elf-init.c: New file.
47996         * csu/elf-init.c
47997         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
47998         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48000         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48001         __gmon_start__ as global, but as static with a .preinit_array pointer.
48002         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48003         * sysdeps/init_array/crti.S: New file, empty except for comments.
48004         * sysdeps/init_array/crtn.S: Likewise.
48006 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48008         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48009         definining bcopy.
48010         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48011         Remove Prefer_SSE_for_memop.
48012         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48013         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48014         HAS_PREFER_SSE_FOR_MEMOP.
48015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48016         memset-x86-64.
48017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48018         Remove bzero, memset ifunc support.
48019         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48020         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48021         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48022         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48024 2013-03-11  Andreas Schwab  <schwab@suse.de>
48026         [BZ #15234]
48027         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48028         by SHLIB_COMPAT.
48029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48030         (GLIBC_2.16): Remove pthread_atfork.
48032 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48034         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48035         (ptestcases.h): Likewise.
48037 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48039         * Makeconfig ($(common-objpfx)config.status): Depend on
48040         sysdeps/*/preconfigure{,.in} too.
48042 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48044         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48045         (__free_hook): Use void * instead of __malloc_ptr_t.
48046         (__malloc_hook): Likewise.
48047         (__realloc_hook): Likewise.
48048         (__memalign_hook): Likewise.
48049         (__after_morecore_hook): Likewise.
48050         * malloc/arena.c (save_malloc_hook): Likewise.
48051         (save_free_hook): Likewise.
48052         * malloc/hooks.c (malloc_hook_ini): Likewise.
48053         (realloc_hook_ini): Likewise.
48054         (memalign_hook_ini): Likewise.
48055         * malloc/malloc.c (malloc_hook_ini): Likewise.
48056         (realloc_hook_ini): Likewise.
48057         (memalign_hook_ini): Likewise.
48058         (__free_hook): Likewise.
48059         (__malloc_hook): Likewise.
48060         (__realloc_hook): Likewise.
48061         (__memalign_hook): Likewise.
48062         (__libc_malloc): Likewise.
48063         (__libc_free): Likewise.
48064         (__libc_realloc): Likewise.
48065         (__libc_memalign): Likewise.
48066         (__libc_valloc): Likewise.
48067         (__libc_pvalloc): Likewise.
48068         (__libc_calloc): Likewise.
48069         (__posix_memalign): Likewise.
48070         * malloc/morecore.c (__sbrk): Likewise.
48071         (__default_morecore): Likewise.
48073         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48075         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48076         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48077         __malloc_ptrdiff_t.
48079         * malloc/malloc.h (__malloc_size_t): Remove macro.
48080         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48081         __malloc_size_t.
48082         (old_memalign_hook): Likewise.
48083         (old_realloc_hook): Likewise.
48084         (struct hdr): Likewise.
48085         (flood): Likewise.
48086         (mallochook): Likewise.
48087         (memalignhook): Likewise.
48088         (reallochook): Likewise.
48089         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48090         (tr_old_realloc_hook): Likewise.
48091         (tr_old_memalign_hook): Likewise.
48092         (tr_mallochook): Likewise.
48093         (tr_reallochook): Likewise.
48094         (tr_memalignhook): Likewise.
48096 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48098         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48099         default_ldbl_pack and using as default implementation.
48100         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48101         implementation.
48102         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48103         redundant definition.
48104         (ldbl_insert_mantissa): Likewise.
48105         (ldbl_canonicalize): Likewise.
48106         (ldbl_nearbyint): Likewise.
48107         (ldbl_pack): Rename to ldbl_pack_ppc.
48108         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48109         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48110         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48112 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48115         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48116         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48117         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48119         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48120         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48121         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48123 2013-03-07  Andreas Jaeger  <aj@suse.de>
48125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48126         bits/mman-linux.h.
48128 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48130         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48131         Include mpa.h and declare __MPEXP.
48132         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48133         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48134         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48135         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48136         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48137         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48138         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48140         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48141         (__slowpow): Use long double EXPL and LOGL functions to
48142         compute POW.
48143         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48144         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48145         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48146         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48147         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48148         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48151         intermediate variable to calculate exponent.
48152         (__sqr): Likewise.
48153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48154         Likewise.
48155         (__sqr): Likewise.
48157         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48158         [!NO__SQR]: Define __sqr.
48159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48160         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48161         sysdeps/ieee754/dbl-64/mpa.c.
48162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48164         [BZ #12723]
48165         * posix/Makefile (tests): Add tst-pathconf.
48166         * posix/tst-pathconf.c: New test case.
48167         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48168         _PC_PIPE_BUF.
48169         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48171 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48173         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48175 2013-03-06  Andreas Jaeger  <aj@suse.de>
48177         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48178         definition via __MAP_ANONYMOUS.
48180         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48181         it's not part of Linux headers.
48183         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48184         (MAP_HUGE_MASK): Define.
48186         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48187         Define.
48188         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48190         Define.
48191         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48192         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48193         Define.
48194         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48195         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48196         Define.
48197         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48199         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48200         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48201         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48202         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48203         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48204         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48206         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48207         Handle f2fs.
48209         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48210         Handle f2fs and efivarfs.
48212         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48213         f2fs.
48215         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48216         (EFIVARFS_MAGIC): Add.
48217         (F2FS_LINK_MAX): Add.
48219 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48221         * stdio-common/vfprintf.c: Replace __builtin_expect with
48222         __glibc_unlikely.
48224 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48226         [BZ #13550]
48227         * sysdeps/generic/bp-sym.h: Remove file.
48228         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48229         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48230         <bp-sym.h> and <bp-asm.h>.
48231         (__longjmp): Don't use BP_SYM.
48232         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48233         and <bp-asm.h>.
48234         (memcpy): Don't use BP_SYM.
48235         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48236         <bp-sym.h> and <bp-asm.h>.
48237         (memcpy): Don't use BP_SYM.
48238         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48239         <bp-asm.h>.
48240         (memcpy): Don't use BP_SYM.
48241         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48242         <bp-asm.h>.
48243         (memset): Don't use BP_SYM.
48244         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48245         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48246         (__bzero): Don't use BP_SYM.
48247         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48248         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48249         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48250         <bp-sym.h> and <bp-asm.h>.
48251         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48252         pointers.
48253         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48254         <bp-sym.h> and <bp-asm.h>.
48255         (memcpy): Don't use BP_SYM.
48256         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48257         <bp-sym.h> and <bp-asm.h>.
48258         (memset): Don't use BP_SYM.
48259         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48260         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48261         (__bzero): Don't use BP_SYM.
48262         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48263         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48264         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48265         <bp-sym.h> and <bp-asm.h>.
48266         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48267         pointers.
48268         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48269         <bp-sym.h> and <bp-asm.h>.
48270         (memcpy): Don't use BP_SYM.
48271         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48272         <bp-sym.h> and <bp-asm.h>.
48273         (memset): Don't use BP_SYM.
48274         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48275         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48276         (__bzero): Don't use BP_SYM.
48277         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48278         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48279         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48280         <bp-sym.h> and <bp-asm.h>.
48281         (__memchr): Don't use BP_SYM.
48282         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48283         <bp-sym.h> and <bp-asm.h>.
48284         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48285         pointers.
48286         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48287         <bp-sym.h> and <bp-asm.h>.
48288         (memcpy): Don't use BP_SYM.
48289         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48290         <bp-sym.h> and <bp-asm.h>.
48291         (__mempcpy): Don't use BP_SYM.
48292         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48293         <bp-sym.h> and <bp-asm.h>.
48294         (__memrchr): Don't use BP_SYM.
48295         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48296         <bp-sym.h> and <bp-asm.h>.
48297         (memset): Don't use BP_SYM.
48298         (__bzero): Likewise.
48299         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48300         <bp-sym.h> and <bp-asm.h>.
48301         (__rawmemchr): Don't use BP_SYM.
48302         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48303         <bp-sym.h> and <bp-asm.h>.
48304         (__STRCMP): Don't use BP_SYM.
48305         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48306         <bp-sym.h> and <bp-asm.h>.
48307         (strchr): Don't use BP_SYM.
48308         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48309         <bp-sym.h> and <bp-asm.h>.
48310         (__strchrnul): Don't use BP_SYM.
48311         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48312         <bp-sym.h> and <bp-asm.h>.
48313         (strlen): Don't use BP_SYM.
48314         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48315         <bp-sym.h> and <bp-asm.h>.
48316         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48317         pointers.
48318         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48319         <bp-sym.h> and <bp-asm.h>.
48320         (__strnlen): Don't use BP_SYM.
48321         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48322         <bp-sym.h> and <bp-asm.h>.
48323         (__GI__setjmp): Don't use BP_SYM.
48324         (_setjmp): Likewise.
48325         (__sigsetjmp): Likewise.
48326         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48327         (L(start_addresses)): Don't use BP_SYM.
48328         (_start): Likewise.
48329         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48330         <bp-asm.h>.
48331         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48332         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48333         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48334         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48335         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48336         <bp-asm.h>.
48337         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48338         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48339         about bounded pointers.
48340         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48341         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48342         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48343         <bp-asm.h>.
48344         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48345         about bounded pointers.  Remove GKM FIXME comments.
48346         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48347         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48348         <bp-asm.h>.
48349         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48350         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48351         Remove GKM FIXME comments.
48352         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48353         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48354         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48355         <bp-asm.h>.
48356         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48357         about bounded pointers.  Remove GKM FIXME comment.
48358         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48359         and <bp-asm.h>.
48360         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48361         pointers.
48362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48363         <bp-sym.h> and <bp-asm.h>.
48364         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48366         <bp-sym.h> and <bp-asm.h>.
48367         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48368         comment.
48370 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48372         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48373         call free(NULL).
48375 2013-03-05  David S. Miller  <davem@davemloft.net>
48377         * po/es.po: Update from translation team.
48379 2013-03-05  Andreas Jaeger  <aj@suse.de>
48381         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48382         <bits/mman-linux.h>.
48383         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48384         is fine.
48385         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48386         <bits/mman-linux.h> to end of file.
48387         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48388         is fine.
48389         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48390         <bits/mman-linux.h> to end of file.
48391         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48392         is fine.
48393         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48394         <bits/mman-linux.h> to end of file.
48396         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48397         (MCL_CURRENT, MCL_FUTURE): Define here.
48399 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48401         [BZ #15232]
48402         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48403         attribute_hidden.
48404         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48406 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48408         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48409         fourth parameter needed for rt_sigprocmask syscall.
48410         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48411         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48412         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48413         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48414         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48415         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48417 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48419         [BZ #13550]
48420         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48421         comment about bounded pointers.
48422         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48423         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48425 2013-03-04  Andreas Jaeger  <aj@suse.de>
48427         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48428         common definitions.
48430         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48431         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48432         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48433         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48434         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48435         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48437 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48439         [BZ #15055]
48440         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48441         __ieee754_sqrl instead of __sqrl.
48443 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48445         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48446         * sysdeps/powerpc/fpu_control.h: ... here.
48447         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48448         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48449         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48450         * sysdeps/powerpc/bits/mathinline.h: ... here.
48452 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48454         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48455         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48456         to just [NEED_DL_SYSINFO_DSO].
48457         * elf/dl-support.c: Likewise.
48458         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48459         * elf/rtld.c (dl_main): Likewise.
48460         * elf/setup-vdso.h (setup_vdso): Likewise.
48461         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48462         * sysdeps/unix/sysv/linux/dl-sysdep.c
48463         (_dl_discover_osversion): Likewise.
48465 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48467         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48468         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48470 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48472         * NEWS: Mention libm performance improvements and non-x86 PI
48473         futex support.
48475         * csu/libc-start.c (__pthread_initialize_minimal): Change
48476         function arguments.
48477         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48479 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48481         [BZ #13550]
48482         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48483         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48484         <bp-sym.h> and <bp-asm.h>.
48485         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48486         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48487         and <bp-asm.h>.
48488         (memcpy): Don't use BP_SYM.
48489         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48490         <bp-asm.h>.
48491         (__mpn_add_n): Don't use BP_SYM.
48492         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48493         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48494         and <bp-asm.h>.
48495         (__mpn_addmul_1): Don't use BP_SYM.
48496         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48497         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48498         <bp-sym.h>.
48499         (_setjmp): Don't use BP_SYM.
48500         (__novmx_setjmp): Likewise.
48501         (__GI__setjmp): Likewise.
48502         (__vmx_setjmp): Likewise.
48503         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48504         <bp-sym.h>.
48505         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48506         (__bzero): Don't use BP_SYM.
48507         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48508         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48509         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48510         <bp-sym.h> and <bp-asm.h>.
48511         (memcpy): Don't use BP_SYM.
48512         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48513         <bp-sym.h> and <bp-asm.h>.
48514         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48515         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48516         <bp-sym.h> and <bp-asm.h>.
48517         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48518         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48519         <bp-asm.h>.
48520         (__mpn_lshift): Don't use BP_SYM.
48521         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48522         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48523         <bp-asm.h>.
48524         (memset): Don't use BP_SYM.
48525         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48526         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48527         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48528         <bp-asm.h>.
48529         (__mpn_mul_1): Don't use BP_SYM.
48530         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48531         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48532         <bp-sym.h> and <bp-asm.h>.
48533         (memcmp): Don't use BP_SYM.
48534         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48535         <bp-sym.h> and <bp-asm.h>.
48536         (memcpy): Don't use BP_SYM.
48537         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48538         <bp-sym.h> and <bp-asm.h>.
48539         (memset): Don't use BP_SYM.
48540         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48541         <bp-sym.h> and <bp-asm.h>.
48542         (strncmp): Don't use BP_SYM.
48543         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48544         <bp-sym.h> and <bp-asm.h>.
48545         (memcpy): Don't use BP_SYM.
48546         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48547         <bp-sym.h> and <bp-asm.h>.
48548         (memset): Don't use BP_SYM.
48549         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48550         <bp-sym.h> and <bp-asm.h>.
48551         (__memchr): Don't use BP_SYM.
48552         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48553         <bp-sym.h> and <bp-asm.h>.
48554         (memcmp): Don't use BP_SYM.
48555         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48556         <bp-sym.h> and <bp-asm.h>.
48557         (memcpy): Don't use BP_SYM.
48558         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48559         <bp-sym.h> and <bp-asm.h>.
48560         (__mempcpy): Don't use BP_SYM.
48561         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48562         <bp-sym.h> and <bp-asm.h>.
48563         (__memrchr): Don't use BP_SYM.
48564         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48565         <bp-sym.h> and <bp-asm.h>.
48566         (memset): Don't use BP_SYM.
48567         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48568         <bp-sym.h> and <bp-asm.h>.
48569         (__rawmemchr): Don't use BP_SYM.
48570         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48571         <bp-sym.h> and <bp-asm.h>.
48572         (__STRCMP): Don't use BP_SYM.
48573         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48574         <bp-sym.h> and <bp-asm.h>.
48575         (strchr): Don't use BP_SYM.
48576         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48577         <bp-sym.h> and <bp-asm.h>.
48578         (__strchrnul): Don't use BP_SYM.
48579         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48580         <bp-sym.h> and <bp-asm.h>.
48581         (strlen): Don't use BP_SYM.
48582         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48583         <bp-sym.h> and <bp-asm.h>.
48584         (strncmp): Don't use BP_SYM.
48585         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48586         <bp-sym.h> and <bp-asm.h>.
48587         (__strnlen): Don't use BP_SYM.
48588         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48589         <bp-asm.h>.
48590         (__mpn_rshift): Don't use BP_SYM.
48591         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48592         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48593         <bp-sym.h> and <bp-asm.h>.
48594         (__sigsetjmp): Don't use BP_SYM.
48595         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48596         (L(start_addresses)): Don't use BP_SYM.
48597         (_start): Likewise.
48598         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48599         <bp-asm.h>.
48600         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48601         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48602         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48603         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48604         <bp-asm.h>.
48605         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48606         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48607         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48608         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48609         <bp-asm.h>.
48610         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48611         comments.
48612         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48613         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48614         <bp-asm.h>.
48615         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48616         FIXME comments.
48617         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48618         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48619         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48620         <bp-asm.h>.
48621         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48622         comment.
48623         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48624         and <bp-asm.h>.
48625         (strncmp): Don't use BP_SYM,
48626         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48627         <bp-asm.h>.
48628         (__mpn_sub_n): Don't use BP_SYM.
48629         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48630         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48631         and <bp-asm.h>.
48632         (__mpn_submul_1): Don't use BP_SYM.
48633         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48635         <bp-sym.h> and <bp-asm.h>.
48636         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48638         <bp-sym.h> and <bp-asm.h>.
48639         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48640         comment.
48642 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48645         Use ZK to minimize writes to Z.
48646         (sub_magnitudes): Simplify code a bit.
48647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48648         Use ZK to minimize writes to Z.
48649         (sub_magnitudes): Simplify code a bit.
48651 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48653         * csu/gmon-start.c: Add special exception to license text.
48655 2013-02-27  Richard Henderson  <rth@redhat.com>
48657         * scripts/config.guess: Update from config.git.
48658         * scripts/config.sub: Likewise.
48660 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48662         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48664         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48666         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48668         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48670         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48672 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48674         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48675         [$(build-shared = yes].
48677 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48679         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48680         (__mul): Reduce iterations for calculating mantissa.
48682         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48683         MPTWO.
48684         (__mpranred): Likewise.
48686         [BZ #15160]
48687         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48688         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48690 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48692         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48693         Define __attribute__.
48695 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48697         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48698         unused.
48699         * posix/regex_internal.h (__attribute): Remove.
48700         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48701         (re_string_context_at): Likewise.
48702         (bitset_not): Use __attribute__ and mark function as possibly
48703         unused.
48704         (bitset_merge): Likewise.
48705         (bitset_mask): Likewise.
48706         (re_string_char_size_at): Likewise.
48707         (re_string_wchar_at): Likewise.
48708         (re_string_elem_size_at): Likewise.
48710 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48712         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48713         code.
48714         (cc32): Likewise.
48716         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48717         (__acr): Likewise.
48718         (__cpy): Likewise.
48719         (norm): Likewise.
48720         (denorm): Likewise.
48721         (__dbl_mp): Likewise.
48722         (add_magnitudes): Likewise.
48723         (sub_magnitudes): Likewise.
48724         (__mul): Likewise.
48725         (__inv): Likewise.
48727         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48728         style.
48730         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48731         style.
48733         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48734         code.
48736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48737         up changes with default code.
48738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48739         Likewise.
48741 2013-02-24  Allan McRae  <allan@archlinux.org>
48743         * manual/socket.texi (The Internet Namespace): Order menu items
48744         to match that in the file.
48746         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48747         node listing of the info page menu.
48749 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48751         [BZ #13550]
48752         * sysdeps/i386/bp-asm.h: Remove file.
48753         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48754         (PARMS): Do not use macros from bp-asm.h.
48755         (S1): Likewise.
48756         (S2): Likewise.
48757         (SIZE): Likewise.
48758         (__mpn_add_n): Do not use BP_SYM
48759         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48760         "bp-asm.h".
48761         (PARMS): Do not use macros from bp-asm.h.
48762         (S1): Likewise.
48763         (SIZE): Likewise.
48764         (__mpn_addmul_1): Do not use BP_SYM
48765         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48766         "bp-asm.h".
48767         (PARMS): Do not use macros from bp-asm.h.
48768         (SIGMSK): Likewise.
48769         (_setjmp): Likewise.  Do not use BP_SYM.
48770         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48771         "bp-asm.h".
48772         (PARMS): Do not use macros from bp-asm.h.
48773         (SIGMSK): Likewise.
48774         (setjmp): Likewise.  Do not use BP_SYM.
48775         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48776         "bp-asm.h".
48777         (PARMS): Do not use macros from bp-asm.h.
48778         (__frexp): Do not use BP_SYM.
48779         (frexp): Likewise.
48780         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48781         "bp-asm.h".
48782         (PARMS): Do not use macros from bp-asm.h.
48783         (__frexpf): Do not use BP_SYM.
48784         (frexpf): Likewise.
48785         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48786         "bp-asm.h".
48787         (PARMS): Do not use macros from bp-asm.h.
48788         (__frexpl): Do not use BP_SYM.
48789         (frexpl): Likewise.
48790         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48791         "bp-asm.h".
48792         (PARMS): Do not use macros from bp-asm.h.
48793         (__remquo): Do not use BP_SYM.
48794         (remquo): Likewise.
48795         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48796         "bp-asm.h".
48797         (PARMS): Do not use macros from bp-asm.h.
48798         (__remquof): Do not use BP_SYM.
48799         (remquof): Likewise.
48800         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48801         "bp-asm.h".
48802         (PARMS): Do not use macros from bp-asm.h.
48803         (__remquol): Do not use BP_SYM.
48804         (remquol): Likewise.
48805         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48806         "bp-asm.h".
48807         (PARMS): Do not use macros from bp-asm.h.
48808         (DEST): Likewise.
48809         (SRC): Likewise.
48810         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48811         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48812         "bp-asm.h".
48813         (PARMS): Do not use macros from bp-asm.h.
48814         (strlen): Do not use BP_SYM.
48815         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48816         "bp-asm.h".
48817         (PARMS): Do not use macros from bp-asm.h.
48818         (S1): Likewise.
48819         (S2): Likewise.
48820         (SIZE): Likewise.
48821         (__mpn_add_n): Do not use BP_SYM.
48822         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48823         "bp-asm.h".
48824         (PARMS): Do not use macros from bp-asm.h.
48825         (S1): Likewise.
48826         (SIZE): Likewise.
48827         (__mpn_addmul_1): Do not use BP_SYM.
48828         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48829         weak_alias.
48830         (bzero): Likewise.
48831         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48832         "bp-asm.h".
48833         (PARMS): Do not use macros from bp-asm.h.
48834         (S): Likewise.
48835         (SIZE): Likewise.
48836         (__mpn_lshift): Do not use BP_SYM.
48837         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
48838         "bp-asm.h".
48839         (PARMS): Do not use macros from bp-asm.h.
48840         (DEST): Likewise.
48841         (SRC): Likewise.
48842         (LEN): Likewise.
48843         (memcpy): Likewise.  Do not use BP_SYM.
48844         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
48845         libc_hidden_def and weak_alias.
48846         (mempcpy): Do not use BP_SYM in weak_alias.
48847         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
48848         "bp-asm.h".
48849         (PARMS): Do not use macros from bp-asm.h.
48850         (DEST): Likewise.
48851         (LEN): Likewise.
48852         [!BZERO_P] (CHR): Likewise.
48853         (memset): Likewise.  Do not use BP_SYM.
48854         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
48855         "bp-asm.h".
48856         (PARMS): Do not use macros from bp-asm.h.
48857         (S1): Likewise.
48858         (SIZE): Likewise.
48859         (__mpn_mul_1): Do not use BP_SYM.
48860         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
48861         "bp-asm.h".
48862         (PARMS): Do not use macros from bp-asm.h.
48863         (S): Likewise.
48864         (SIZE): Likewise.
48865         (__mpn_rshift): Do not use BP_SYM.
48866         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
48867         "bp-asm.h".
48868         (PARMS): Do not use macros from bp-asm.h.
48869         (STR): Likewise.
48870         (CHR): Likewise.
48871         (strchr): Likewise.  Do not use BP_SYM.
48872         (index): Do not use BP_SYM in weak_alias.
48873         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
48874         "bp-asm.h".
48875         (PARMS): Do not use macros from bp-asm.h.
48876         (DEST): Likewise.
48877         (SRC): Likewise.
48878         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
48879         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
48880         "bp-asm.h".
48881         (PARMS): Do not use macros from bp-asm.h.
48882         (strlen): Do not use BP_SYM.
48883         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
48884         "bp-asm.h".
48885         (PARMS): Do not use macros from bp-asm.h.
48886         (S1): Likewise.
48887         (S2): Likewise.
48888         (SIZE): Likewise.
48889         (__mpn_sub_n): Do not use BP_SYM.
48890         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
48891         "bp-asm.h".
48892         (PARMS): Do not use macros from bp-asm.h.
48893         (S1): Likewise.
48894         (SIZE): Likewise.
48895         (__mpn_submul_1): Do not use BP_SYM.
48896         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
48897         "bp-asm.h".
48898         (PARMS): Do not use macros from bp-asm.h.
48899         (S1): Likewise.
48900         (S2): Likewise.
48901         (SIZE): Likewise.
48902         (__mpn_add_n): Do not use BP_SYM.
48903         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
48904         weak_alias.
48905         (bzero): Likewise.
48906         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
48907         "bp-asm.h".
48908         (PARMS): Do not use macros from bp-asm.h.
48909         (BLK2): Likewise.
48910         (LEN): Likewise.
48911         (memcmp): Do not use BP_SYM.
48912         (bcmp): Do not use BP_SYM in weak_alias.
48913         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
48914         "bp-asm.h".
48915         (PARMS): Do not use macros from bp-asm.h.
48916         (DEST): Likewise.
48917         (SRC): Likewise.
48918         (LEN): Likewise.
48919         (memcpy): Likewise.  Do not use BP_SYM.
48920         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
48921         "bp-asm.h".
48922         (PARMS): Do not use macros from bp-asm.h.
48923         (DEST): Likewise.
48924         (SRC): Likewise.
48925         (LEN): Likewise.
48926         (memmove): Likewise.  Do not use BP_SYM.
48927         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
48928         "bp-asm.h".
48929         (PARMS): Do not use macros from bp-asm.h.
48930         (DEST): Likewise.
48931         (SRC): Likewise.
48932         (LEN): Likewise.
48933         (__mempcpy): Likewise.  Do not use BP_SYM.
48934         (mempcpy): Do not use BP_SYM in weak_alias.
48935         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
48936         "bp-asm.h".
48937         (PARMS): Do not use macros from bp-asm.h.
48938         (DEST): Likewise.
48939         (LEN): Likewise.
48940         [!BZERO_P] (CHR): Likewise.
48941         (memset): Likewise.  Do not use BP_SYM.
48942         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
48943         "bp-asm.h".
48944         (PARMS): Do not use macros from bp-asm.h.
48945         (STR2): Likewise.
48946         (strcmp): Do not use BP_SYM.
48947         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
48948         "bp-asm.h".
48949         (PARMS): Do not use macros from bp-asm.h.
48950         (STR): Likewise.
48951         (DELIM): Likewise.
48952         [USE_AS_STRTOK_R] (SAVE): Likewise.
48953         (FUNCTION): Likewise.  Do not use BP_SYM.
48954         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
48955         aliases.
48956         (strtok_r): Likewise.
48957         (__GI___strtok_r): Likewise.
48958         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48959         (PARMS): Do not use macros from bp-asm.h.
48960         (S): Likewise.
48961         (SIZE): Likewise.
48962         (__mpn_lshift): Do not use BP_SYM.
48963         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
48964         (PARMS): Do not use macros from bp-asm.h.
48965         (STR): Likewise.
48966         (CHR): Likewise.
48967         (__memchr): Do not use BP_SYM.
48968         (memchr): Do not use BP_SYM in weak_alias.
48969         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48970         (PARMS): Do not use macros from bp-asm.h.
48971         (BLK2): Likewise.
48972         (LEN): Likewise.
48973         (memcmp): Do not use BP_SYM.
48974         (bcmp): Do not use BP_SYM in weak_alias.
48975         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
48976         (PARMS): Do not use macros from bp-asm.h.
48977         (S1): Likewise.
48978         (SIZE): Likewise.
48979         (__mpn_mul_1): Do not use BP_SYM.
48980         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
48981         "bp-asm.h".
48982         (PARMS): Do not use macros from bp-asm.h.
48983         (STR): Likewise.
48984         (CHR): Likewise.
48985         (__rawmemchr): Do not use BP_SYM.
48986         (rawmemchr): Do not use BP_SYM in weak_alias.
48987         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
48988         (PARMS): Do not use macros from bp-asm.h.
48989         (S): Likewise.
48990         (SIZE): Likewise.
48991         (__mpn_rshift): Do not use BP_SYM.
48992         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
48993         (PARMS): Do not use macros from bp-asm.h.
48994         (SIGMSK): Likewise.
48995         (__sigsetjmp): Likewise.  Do not use BP_SYM.
48996         * sysdeps/i386/start.S: Do not include "bp-sym.h".
48997         (_start): Do not use BP_SYM.
48998         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
48999         (PARMS): Do not use macros from bp-asm.h.
49000         (DEST): Likewise.
49001         (SRC): Likewise.
49002         (__stpcpy): Likewise.  Do not use BP_SYM.
49003         (stpcpy): Do not use BP_SYM in weak_alias.
49004         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49005         "bp-asm.h".
49006         (PARMS): Do not use macros from bp-asm.h.
49007         (DEST): Likewise.
49008         (SRC): Likewise.
49009         (LEN): Likewise.
49010         (__stpncpy): Likewise.  Do not use BP_SYM.
49011         (stpncpy): Do not use BP_SYM in weak_alias.
49012         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49013         (PARMS): Do not use macros from bp-asm.h.
49014         (STR): Likewise.
49015         (CHR): Likewise.
49016         (strchr): Likewise.  Do not use BP_SYM.
49017         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49018         "bp-asm.h".
49019         (PARMS): Do not use macros from bp-asm.h.
49020         (STR): Likewise.
49021         (CHR): Likewise.
49022         (__strchrnul): Likewise.  Do not use BP_SYM.
49023         (strchrnul): Do not use BP_SYM in weak_alias.
49024         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49025         "bp-asm.h".
49026         (PARMS): Do not use macros from bp-asm.h.
49027         (STOP): Likewise.
49028         (strcspn): Do not use BP_SYM.
49029         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49030         "bp-asm.h".
49031         (PARMS): Do not use macros from bp-asm.h.
49032         (STR): Likewise.
49033         (STOP): Likewise.
49034         (strpbrk): Likewise.  Do not use BP_SYM.
49035         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49036         "bp-asm.h".
49037         (PARMS): Do not use macros from bp-asm.h.
49038         (STR): Likewise.
49039         (CHR): Likewise.
49040         (strrchr): Likewise.  Do not use BP_SYM.
49041         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49042         (PARMS): Do not use macros from bp-asm.h.
49043         (SKIP): Likewise.
49044         (strspn): Do not use BP_SYM.
49045         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49046         (PARMS): Do not use macros from bp-asm.h.
49047         (STR): Likewise.
49048         (DELIM): Likewise.
49049         (SAVE): Likewise.
49050         (FUNCTION): Likewise.  Do not use BP_SYM.
49051         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49052         aliases.
49053         (strtok_r): Likewise.
49054         (__GI___strtok_r): Likewise.
49055         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49056         (PARMS): Do not use macros from bp-asm.h.
49057         (S1): Likewise.
49058         (S2): Likewise.
49059         (SIZE): Likewise.
49060         (__mpn_sub_n): Do not use BP_SYM.
49061         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49062         "bp-asm.h".
49063         (PARMS): Do not use macros from bp-asm.h.
49064         (S1): Likewise.
49065         (SIZE): Likewise.
49066         (__mpn_submul_1): Do not use BP_SYM.
49067         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49068         <bp-sym.h>.
49069         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49070         and <bp-asm.h>.
49071         (PARMS): Do not use macros from bp-asm.h.
49072         (FLAGS): Likewise.
49073         (PTID): Likewise.
49074         (TLS): Likewise.
49075         (CTID): Likewise.
49076         (__clone): Do not use BP_SYM.
49077         (clone): Do not use BP_SYM in weak_alias.
49078         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49079         and <bp-asm.h>.
49080         (PARMS): Do not use macros from bp-asm.h.
49081         (LEN): Likewise.
49082         (__mmap64): Do not use BP_SYM.
49083         (mmap64): Do not use BP_SYM in weak_alias.
49084         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49085         <bp-sym.h> and <bp-asm.h>.
49086         (PARMS): Do not use macros from bp-asm.h.
49087         (__posix_fadvise64_l64): Do not use BP_SYM.
49088         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49089         (PARMS): Do not use macros from bp-asm.h.
49090         (NSOPS): Likewise.
49091         (semtimedop): Do not use BP_SYM.
49092         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49093         and <bp-asm.h>.
49095 2013-02-21  Allan McRae  <allan@archlinux.org>
49097         * manual/message.texi (Charset conversion in gettext):
49098         Move @end statement to beginning of line.
49100 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49102         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49103         static.
49104         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49105         Likewise.
49107         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49108         (denorm): Likewise.
49109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49110         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49112 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49114         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49115         tail-call to the resolved function if pltexit isn't needed.
49117 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49120         or Y being zero as being unlikely.
49121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49122         Likewise.
49124 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49126         * manual/nss.texi (System Databases and Name Service Switch):
49127         Remove frobnicate @pxref.
49129 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49131         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49132         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49134 2013-02-20  Petr Machata  <pmachata@redhat.com>
49136         * elf/elf.h (R_ARM_TARGET1): New macro.
49137         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49138         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49139         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49140         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49141         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49142         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49143         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49144         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49145         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49146         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49147         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49148         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49149         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49150         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49151         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49152         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49153         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49154         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49155         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49156         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49157         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49158         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49159         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49160         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49161         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49162         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49163         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49164         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49165         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49166         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49167         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49168         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49169         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49170         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49171         (R_ARM_THM_GOT_BREL12): Likewise.
49172         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49173         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49174         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49175         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49176         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49177         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49178         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49179         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49180         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49182 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49184         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49185         __attribute_used__ to __attribute__ ((unused)).
49187 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49189         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49190         powerpc mpa.c.
49191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49192         comment formatting.
49193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49195 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49197         [BZ #13550]
49198         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49199         Remove macro.
49200         (ENTER): Remove both macro definitions.
49201         (LEAVE): Likewise.
49202         (CHECK_BOUNDS_LOW): Likewise.
49203         (CHECK_BOUNDS_HIGH): Likewise.
49204         (CHECK_BOUNDS_BOTH): Likewise.
49205         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49206         (RETURN_BOUNDED_POINTER): Likewise.
49207         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49208         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49209         (POP_ERRNO_LOCATION_RETURN): Likewise.
49210         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49211         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49212         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49213         macros.
49214         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49215         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49216         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49217         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49218         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49219         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49220         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49221         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49222         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49223         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49224         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49225         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49226         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49227         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49228         removed macros.
49229         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49230         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49231         macros.
49232         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49233         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49234         * sysdeps/i386/i586/memset.S (memset): Likewise.
49235         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49236         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49237         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49238         macros.
49239         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49240         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49241         Change uses of L(2) to L(out).
49242         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49243         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49244         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49245         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49246         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49247         removed macros.
49248         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49249         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49250         macros.
49251         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49252         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49253         (RETURN): Do not use macro LEAVE.
49254         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49255         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49256         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49257         * sysdeps/i386/i686/memset.S (memset): Likewise.
49258         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49259         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49260         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49261         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49262         Likewise.
49263         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49264         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49265         L(1_2) and L(1_3) into L(1).
49266         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49267         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49268         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49269         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49270         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49271         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49272         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49273         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49274         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49275         macros.
49276         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49277         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49278         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49279         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49280         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49281         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49282         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49283         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49284         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49285         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49286         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49287         * sysdeps/i386/strspn.S (strspn): Likewise.
49288         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49289         conditional code.
49290         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49291         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49292         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49293         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49294         L(1_3) into L(1_1).
49295         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49296         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49297         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49298         macros.
49299         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49301 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49303         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49304         macro.
49306 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49308         * math/atest-exp.c (exp_mpn): Remove ROUND.
49309         * math/atest-exp2.c (exp_mpn): Likewise.
49310         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49312         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49313         * stdlib/tst-tls-atexit-lib.c: Likewise.
49314         * stdlib/tst-tls-atexit.c: Likewise.
49316 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49318         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49319         and __attribute_alloc_size__.
49321 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49323         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49324         __attribute_alloc_size__.
49325         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49326         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49328 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49330         * include/programs/xmalloc.h: New file.
49331         * catgets/gencat.c: Include it.
49332         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49333         * elf/pldd.c: Likewise.
49334         * iconv/iconv_charmap.c: Likewise.
49335         * iconv/iconvconfig.c: Likewise.
49336         * iconv/strtab.c: Likewise.
49337         * locale/programs/locale.c: Likewise.
49338         * locale/programs/localedef.h: Likewise.
49339         * locale/programs/simple-hash.c: Likewise.
49340         * nscd/nscd.h: Likewise.
49341         * nss/makedb.c: Likewise.
49342         * sysdeps/generic/ldconfig.h: Likewise.
49344 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49346         * Versions.def: Add GLIBC_2.18.
49347         * include/link.h (struct link_map): New member l_tls_dtor_count.
49348         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49349         (__call_tls_dtors): Likewise.
49350         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49351         __cxa_thread_atexit_impl.
49352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49353         Likewise.
49354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49355         Likewise.
49356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49357         Likewise.
49358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49359         Likewise.
49360         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49362         Likewise.
49363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49364         Likewise.
49365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49367         Likewise.
49368         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49369         (tests): Add test case tst-tls-atexit.
49370         (modules-names): Add shared library for tst-tls-atexit.
49371         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49372         (GLIBC_PRIVATE): Add __call_tls_dtors.
49373         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49374         for libstdc++.
49375         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49376         * stdlib/tst-tls-atexit.c: New test case.
49377         * stdlib/tst-tls-atexit-lib.c: New test case.
49379         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49381         * elf/Versions (ld): Add _dl_find_dso_for_object.
49382         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49383         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49384         (dl_open_worker): Use _dl_find_dso_for_object.
49385         * elf/dl-sym.c (do_sym): Likewise.
49386         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49388 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49390         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49391         Syntactic changes only.
49392         (_dl_runtime_profile): Do a tail-call to the resolved function.
49394 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49396         [BZ #13550]
49397         * sysdeps/x86_64/bp-asm.h: Remove file.
49398         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49399         <bp-sym.h> and <bp-asm.h>.
49400         (__clone): Do not use BP_SYM.
49401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49402         <bp-sym.h> and <bp-asm.h>.
49403         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49404         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49405         "bp-asm.h".
49406         (_setjmp): Do not use BP_SYM.
49407         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49408         "bp-asm.h".
49409         (setjmp): Do not use BP_SYM.
49410         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49411         libc_hidden_def.
49412         (mempcpy): Do not use BP_SYM in weak_alias.
49413         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49414         "bp-asm.h".
49415         (strchr): Do not use BP_SYM.
49416         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49417         "bp-asm.h".
49418         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49419         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49420         (_start): Do not use BP_SYM.
49421         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49422         "bp-asm.h".
49423         (strcat): Do not use BP_SYM.
49424         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49425         "bp-asm.h".
49426         (STRCMP): Do not use BP_SYM.
49427         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49428         "bp-asm.h".
49429         (STRCPY): Do not use BP_SYM.
49430         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49431         "bp-asm.h".
49432         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49433         "bp-asm.h".
49434         (FUNCTION): Do not use BP_SYM.
49435         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49436         weak_alias.
49437         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49439 2013-02-17  Andreas Jaeger  <aj@suse.de>
49441         * time/Versions: Sort entries.
49442         * string/Versions: Likewise.
49443         * resolv/Versions: Likewise.
49444         * posix/Versions: Likewise.
49445         * iconv/Versions: Likewise.
49446         * elf/Versions: Likewise.
49447         * wcsmbs/Versions: Likewise.
49449 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49451         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49452         loop termination condition.
49454         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49455         variable to calculate EZ.
49456         (__sqr): Likewise.
49458         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49459         the lower precision input.
49461 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49463         [BZ #13550]
49464         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49465         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49466         (run-via-rtld-prefix): Do not handle %-bp tests.
49467         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49468         (all-object-suffixes): Remove .ob.
49469         (bppfx): Remove variable.
49470         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49471         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49472         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49473         [$(build-bounded) = yes] (libtype.ob): Likewise.
49474         * Makerules (elide-routines.ob): Remove variable.
49475         (do-tests-clean): Do not handle *-bp.out.
49476         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49477         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49478         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49479         (tests): Do not include $(tests-bp.out).
49480         (xtests): Do not include $(xtests-bp.out).
49481         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49482         [$(build-bounded) = yes] ($(addprefix
49483         $(objpfx),$(binaries-bounded))): Remove rule.
49484         ($(objpfx)%-bp.out): Remove rule.
49485         * config.make.in (build-bounded): Remove variable.
49486         * crypt/Makefile [$(build-bounded) = yes]
49487         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49488         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49489         append to variable.
49490         [$(build-bounded) = yes] (install-lib): Likewise.
49491         [$(build-bounded) = yes] (generated): Likewise.
49492         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49493         Remove rule.
49494         * intl/Makefile [$(build-bounded) = yes]
49495         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49496         * math/Makefile [$(build-bounded) = yes]
49497         ($(tests:%=$(objpfx)%-bp): Likewise.
49498         * misc/Makefile [$(build-bounded) = yes]
49499         ($(objpfx)tst-tsearch-bp): Likewise.
49500         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49501         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49502         Remove dependency.
49503         * string/Makefile (o-objects.ob): Remove variable.
49504         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49505         (CFLAGS-.ob): Remove variable.
49506         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49507         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49508         both definitions of variable.
49509         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49510         (ASFLAGS-.ob): Remove variable.
49512 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49514         [BZ #13550]
49515         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49516         Remove __BOUNDED_POINTERS__ from condition.
49517         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49518         * string/bits/string2.h [!__NO_STRING_INLINES &&
49519         !__BOUNDED_POINTERS__]: Likewise.
49520         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49521         Likewise.
49522         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49523         Remove conditional code.
49524         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49525         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49526         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49527         condition.
49529         [BZ #13550]
49530         * csu/libc-start.c: Do not include <bp-sym.h>.
49531         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49532         * elf/dl-open.c: Do not include <bp-sym.h>.
49533         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49534         * math/fegetenv.c: Do not include <bp-sym.h>.
49535         (fegetenv): Do not use BP_SYM in versioned symbols.
49536         * nptl/sysdeps/pthread/bits/libc-lockP.h
49537         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49538         <bp-sym.h>.
49539         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49540         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49541         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49542         (__pthread_mutex_destroy): Likewise.
49543         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49544         (__pthread_mutex_lock): Likewise.
49545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49546         (__pthread_mutex_trylock): Likewise.
49547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49548         (__pthread_mutex_unlock): Likewise.
49549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49550         (__pthread_mutexattr_init): Likewise.
49551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49552         (__pthread_mutexattr_destroy): Likewise.
49553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49554         (__pthread_mutexattr_settype): Likewise.
49555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49556         (__pthread_rwlock_init): Likewise.
49557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49558         (__pthread_rwlock_destroy): Likewise.
49559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49560         (__pthread_rwlock_rdlock): Likewise.
49561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49562         (__pthread_rwlock_tryrdlock): Likewise.
49563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49564         (__pthread_rwlock_wrlock): Likewise.
49565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49566         (__pthread_rwlock_trywrlock): Likewise.
49567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49568         (__pthread_rwlock_unlock): Likewise.
49569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49570         (__pthread_key_create): Likewise.
49571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49572         (__pthread_setspecific): Likewise.
49573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49574         (__pthread_getspecific): Likewise.
49575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49576         Likewise.
49577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49578         (_pthread_cleanup_push_defer): Likewise.
49579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49580         (_pthread_cleanup_pop_restore): Likewise.
49581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49582         (pthread_setcancelstate): Likewise.
49583         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49584         <bp-sym.h>.
49585         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49586         (memchr): Do not use BP_SYM in weak_alias.
49587         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49588         (fegetenv): Do not use BP_SYM in versioned symbols.
49589         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49590         (fesetenv): Do not use BP_SYM in versioned symbols.
49591         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49592         (feupdateenv): Do not use BP_SYM in versioned symbols.
49593         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49594         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49595         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49596         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49597         (open64): Do not use BP_SYM in weak_alias.
49598         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49599         (fegetenv): Do not use BP_SYM in versioned symbols.
49600         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49601         (fesetenv): Do not use BP_SYM in versioned symbols.
49602         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49603         (feupdateenv): Do not use BP_SYM in versioned symbols.
49604         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49605         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49606         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49607         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49608         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49609         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49610         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49611         <bp-sym.h>.
49612         (__libc_start_main): Do not use BP_SYM.
49614 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49617         redundant return line.
49618         (norm): Likewise.
49619         (denorm): Likewise.
49620         (dbl_mp): Likewise.
49621         (sub_magnitudes): Likewise.
49622         (__add): Likewise.
49623         (__sub): Likewise.
49624         (__mul): Likewise.
49625         (__inv): Likewise.
49626         (__dvd): Likewise.
49627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49628         (norm): Likewise.
49629         (denorm): Likewise.
49630         (dbl_mp): Likewise.
49631         (sub_magnitudes): Likewise.
49632         (__add): Likewise.
49633         (__sub): Likewise.
49634         (__mul): Likewise.
49635         (__inv): Likewise.
49636         (__dvd): Likewise.
49638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49639         instead of __mul.
49640         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49641         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49642         (cc32): Likewise.
49644         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49645         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49647         of __mul for squares.
49648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49649         function
49650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49651         Likewise.
49652         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49653         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49655 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49657         [BZ #13550]
49658         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49659         code.
49660         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49661         prototype or function definition.  Rename ubp_* variables and
49662         parameters.  Remove argv definitions conditional on
49663         [__BOUNDED_POINTERS__].
49664         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49665         * elf/dl-runtime.c (_dl_fixup): Likewise.
49666         * include/set-hooks.h (RUN_HOOK): Likewise.
49667         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49668         definition.
49669         * string/strcpy.c (strcpy): Do not use __unbounded.
49670         * sysdeps/generic/frame.h (struct layout): Likewise.
49671         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49672         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49673         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49674         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49675         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49676         (__backtrace): Likewise.
49677         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49678         use __ptrvalue.
49679         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49680         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49681         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49682         Likewise.
49683         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49684         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49685         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49686         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49687         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49688         Do not use __unbounded.
49689         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49690         Rename __unboundedrlimits parameter to rlimits in prototype.
49691         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49692         Do not use __unbounded.
49693         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49694         not use __ptrvalue.
49695         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49696         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49697         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49698         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49699         __ptrvalue or __unbounded.
49700         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49701         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49702         use __unbounded.
49703         (__new_msgctl): Do not use __ptrvalue.
49704         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49705         __unbounded.
49706         (__libc_msgrcv): Do not use __ptrvalue.
49707         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49708         startup_info): Do not use __unbounded.
49709         (__libc_start_main): Likewise.  Rename ubp_* variables and
49710         parameters.  Remove argv definitions conditional on
49711         [__BOUNDED_POINTERS__].
49712         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49713         __ptrvalue.
49714         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49715         use __unbounded.
49716         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49717         or __ptrvalue.
49718         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49719         use __unbounded.
49720         (__new_shmctl): Do not use __ptrvalue.
49721         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49722         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49723         Likewise.
49724         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49726         (__libc_sigaction): Likewise.
49727         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49728         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49729         Likewise.
49730         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49732 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49734         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49736         * string/mempcpy.c: Implement by calling memcpy.
49738 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49743         evaluation.
49745         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49746         values in the mantissa.
49748         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49749         minimize writes to Z.
49750         (sub_magnitudes): Simplify code a bit.
49752 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49754         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49755         from the message.  The linker prefixes all warnings with that already.
49757 2013-02-12  Andreas Schwab  <schwab@suse.de>
49759         [BZ #15078]
49760         * posix/regexec.c (extend_buffers): Add parameter min_len.
49761         (check_matching): Pass minimum needed length.
49762         (clean_state_log_if_needed): Likewise.
49763         (get_subexp): Likewise.
49764         * posix/Makefile (tests): Add bug-regex34.
49765         (bug-regex34-ENV): Define.
49766         * posix/bug-regex34.c: New file.
49768         [BZ #11561]
49769         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49770         elements compare against the byte sequence of it, not its name.
49771         * posix/Makefile (tests): Add bug-regex35.
49772         (bug-regex35-ENV): Define.
49773         * posix/bug-regex35.c: New file.
49775 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49777         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49778         comment.
49779         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49780         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49781         (CHECK_EOL): Add undef.
49783 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49785         * bits/stdlib-bsearch.h: New file.
49786         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49787         * stdlib/stdlib.h: Likewise.
49789 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49791         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49792         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49793         declaration.
49794         * manual/search.texi (Array Search Function): Add missing const in
49795         lfind prototype.
49796         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49797         declaration to use rlim_t.
49798         (Basic Scheduling Functions): Remove erroneous const from
49799         sched_getparam prototype.  Remove erroneous * from
49800         sched_get_priority_max and sched_get_priority_min prototypes.
49801         (Resource Usage): Fix summary @comment on vtimes to refer to
49802         sys/vtimes.h rather than vtimes.h.
49803         Add missing *s in vtimes prototype.
49804         (Limits on Resources): Fix ulimit prototype to return long int.
49805         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49806         prototypes to use long int rather than double.
49807         (BSD Random): Fix initstate and setstate to use char *, not void *.
49808         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49809         prototype to make second argument 'struct aiocb64 *const[]'.
49810         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49811         (Status of AIO Operations): Remove erroneous const in aio_return and
49812         aio_return64 prototypes.
49813         (Synchronizing I/O): Fix sync prototype to return void.
49814         * manual/startup.texi (Suboptions): Remove an erroneous const in
49815         getsubopt prototype.
49816         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49817         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49818         use size_t rather than int.
49819         (Scanning All Users): Likewise for getpwent_r.
49820         (Setting Groups): Add missing const to setgroups prototype.
49821         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49822         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49823         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49824         'const void *' rather than 'const char *'.
49825         (Host Address Functions): Likewise for inet_ntop.
49826         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49827         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49828         ssize_t for return value.
49829         (Sending Data): Likewise for send, sendto, sendmsg.
49830         (Socket Option Functions): Add a missing const in setsockopt prototype.
49831         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49832         use wchar_t for the argument.
49833         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49834         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
49835         take no arguments.
49836         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
49837         double/float/long double for second argument.
49838         Fix return types of significand, significandf, significandl.
49839         * manual/filesys.texi (Setting Permissions): Use mode_t for second
49840         argument in fchmod prototype.
49841         (File Owner): Use uid_t and gid_t in fchown prototype.
49842         (File Times): Add const to utimes, futimes, and lutimes prototypes.
49843         (Making Special Files): Use mode_t and dev_t in mknod prototype.
49844         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
49845         use 'const struct dirent **' as argument types to CMP function pointer
49846         argument.
49847         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
49848         (File Times): Fix summary magic @comment for struct utimbuf and utime
49849         to refer to utime.h, not time.h.
49850         * manual/string.texi (Argz Functions): Add missing const in
49851         argz_extract and argz_next prototypes.
49852         (Finding Tokens in a String): Likewise for basename.
49853         (String/Array Comparison): Fix typo in wcscasecmp prototype.
49854         (Copying and Concatenation): Fix typo in wmemmove prototype.
49855         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
49856         (Signal Stack): Remove erroneous const in sigstack prototype.
49857         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
49858         prototype.
49859         (Simple Calendar Time): Likewise for stime.
49860         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
49861         prototype.
49862         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
49863         say sys/sysctl.h instead.
49864         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
49865         and vsyslog prototypes.
49867 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49869         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
49870         Remove.
49872 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49874         * misc/sys/mman.h: Fix typo in mremap comment.
49876 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49878         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
49879         the '\0' terminator.
49881 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49883         [BZ #13550]
49884         * debug/segfault.c: Don't include <bp-checks.h>.
49885         * sysdeps/generic/bp-checks.h: Remove file.
49886         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
49887         (__GETDENTS): Don't use CHECK_N.
49888         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
49889         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
49890         (__getgroups): Don't use CHECK_N.
49891         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
49892         (setgroups): Don't use CHECK_N.
49893         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
49894         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
49895         (__libc_msgrcv): Don't use CHECK_N.
49896         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
49897         (__libc_msgsnd): Don't use CHECK_N.
49898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
49899         <bp-checks.h>.
49900         (__libc_pread): Don't use CHECK_N.
49901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
49902         include <bp-checks.h>.
49903         (__libc_pread64): Don't use CHECK_N.
49904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
49905         include <bp-checks.h>.
49906         (__libc_pwrite): Don't use CHECK_N.
49907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
49908         include <bp-checks.h>.
49909         (__libc_pwrite64): Don't use CHECK_N.
49910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
49911         <bp-checks.h>.
49912         (__libc_pread): Don't use CHECK_N.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
49914         include <bp-checks.h>.
49915         (__libc_pread64): Don't use CHECK_N.
49916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
49917         include <bp-checks.h>.
49918         (__libc_pwrite): Don't use CHECK_N.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
49920         include <bp-checks.h>.
49921         (__libc_pwrite64): Don't use CHECK_N.
49922         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
49923         (do_pread): Don't use CHECK_N.
49924         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
49925         (do_pread64): Don't use CHECK_N.
49926         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
49927         (do_pwrite): Don't use CHECK_N.
49928         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
49929         (do_pwrite64): Don't use CHECK_N.
49930         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
49931         (__libc_readv): Don't use CHECK_N.
49932         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
49933         (semop): Don't use CHECK_N.
49934         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
49935         <bp-checks.h>.
49936         (semtimedop): Don't use CHECK_N.
49937         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
49938         (__libc_pread): Don't use CHECK_N.
49939         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
49940         <bp-checks.h>.
49941         (__libc_pread64): Don't use CHECK_N.
49942         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
49943         <bp-checks.h>.
49944         (__libc_pwrite): Don't use CHECK_N.
49945         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
49946         <bp-checks.h>.
49947         (__libc_pwrite64): Don't use CHECK_N.
49948         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
49949         <bp-checks.h>.
49950         (__libc_msgrcv): Don't use CHECK_N.
49951         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
49952         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
49953         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
49954         (__libc_writev): Don't use CHECK_N.
49956 2013-02-08  Roland McGrath  <roland@hack.frob.com>
49958         * string/strcpy.c: Removed unused variable.
49960         * Makeconfig (+sysdep-includes): Define with := rather than =.
49961         Use an existing include/ subdir of each sysdeps dir before it.
49963 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49965         * nscd/connection.c (register_traced_file): Comment function.
49966         [HAVE_INOTIFY] (union __inev): Define.
49967         [HAVE_INOTIFY] (inotify_check_files): New function.
49968         [HAVE_INOTIFY] (clear_db_cache): Likewise.
49969         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
49970         clear_db_cache.
49971         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
49973 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49975         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
49976         loaded if not already and that a failure is permanent.
49978 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
49980         [BZ #15006]
49981         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
49982         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
49984 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
49986         [BZ #13550]
49987         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
49988         (CHECK_1_NULL_OK): Likewise.
49989         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
49990         (__fxstat): Do not use CHECK_1.
49991         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
49992         <bp-checks.h>.
49993         (___fxstat64): Do not use CHECK_1.
49994         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49995         <bp-checks.h>.
49996         (__fxstatat): Do not use CHECK_1.
49997         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49998         <bp-checks.h>.
49999         (__fxstatat64): Do not use CHECK_1.
50000         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50001         <bp-checks.h>.
50002         (__fxstat): Do not use CHECK_1.
50003         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50004         <bp-checks.h>.
50005         (__fxstatat): Do not use CHECK_1.
50006         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50007         <bp-checks.h>.
50008         (__getresgid): Do not use CHECK_1.
50009         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50010         <bp-checks.h>.
50011         (__getresuid): Do not use CHECK_1.
50012         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50013         <bp-checks.h>.
50014         (__lxstat): Do not use CHECK_1.
50015         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50016         <bp-checks.h>.
50017         (__old_msgctl): Do not use CHECK_1.
50018         (__new_msgctl): Likewise.
50019         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50020         <bp-checks.h>.
50021         (__new_setrlimit): Do not use CHECK_1.
50022         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50023         <bp-checks.h>.
50024         (__old_shmctl): Do not use CHECK_1.
50025         (__new_shmctl): Likewise.
50026         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50027         <bp-checks.h>.
50028         (__xstat): Do not use CHECK_1.
50029         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50030         (__lxstat): Do not use CHECK_1.
50031         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50032         <bp-checks.h>.
50033         (___lxstat64): Do not use CHECK_1.
50034         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50035         (__old_msgctl): Do not use CHECK_1.
50036         (__new_msgctl): Likewise.
50037         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50038         <bp-checks.h>.
50039         (__gettimeofday): Do not use CHECK_1.
50040         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50041         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50042         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50043         <bp-checks.h>.
50044         (__gettimeofday): Do not use CHECK_1.
50045         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50046         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50047         (__new_shmctl): Do not use CHECK_1.
50048         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50049         <bp-checks.h>.
50050         (do_sigtimedwait): Do not use CHECK_1.
50051         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50052         <bp-checks.h>.
50053         (do_sigwaitinfo): Do not use CHECK_1.
50054         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50055         <bp-checks.h>.
50056         (msgctl): Do not use CHECK_1.
50057         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50058         <bp-checks.h>.
50059         (shmctl): Do not use CHECK_1.
50060         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50061         (ustat): Do not use CHECK_1.
50062         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50063         <bp-checks.h>.
50064         (__fxstat): Do not use CHECK_1.
50065         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50066         <bp-checks.h>.
50067         (__fxstatat): Do not use CHECK_1.
50068         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50069         <bp-checks.h>.
50070         (__lxstat): Do not use CHECK_1.
50071         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50072         <bp-checks.h>.
50073         (__xstat): Do not use CHECK_1.
50074         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50075         (__xstat): Do not use CHECK_1.
50076         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50077         (___xstat64): Do not use CHECK_1.
50079         [BZ #13550]
50080         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50081         definitions.
50082         (CHECK_BOUNDS_HIGH): Likewise.
50083         * string/strcpy.c: Do not include <bp-checks.h>.
50084         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50086 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50088         * nscd/nscd-client.h (__nscd_drop_map_ref):
50089         Add __attribute__ ((unused)).
50090         * nis/nss-nisplus.h (niserr2nss): Likewise.
50092         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50093         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50095         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50096         Remove inline keyword.
50097         * include/rounding-mode.h (round_away): Likewise.
50098         * libio/wfileops.c (adjust_wide_data): Likewise.
50099         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50100         (__m128i_strloadu_tolower): Likewise.
50101         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50102         (__m128i_strloadu_tolower): Likewise.
50103         * time/mktime.c (ydhms_diff): Likewise.
50104         * locale/elem-hash.h (elem_hash): Likewise.
50105         * locale/setlocale.c (setdata): Likewise.
50106         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50107         (re_string_wchar_at): Likewise.
50108         (bitset_not, bitset_merge, bitset_mask): Likewise.
50109         [!(__GNUC__ > 3)] (inline): Remove macro.
50110         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50111         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50112         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50113         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50114         * string/memcmp.c (memcmp_bytes): Likewise.
50115         * locale/programs/locarchive.c (compute_hashval): Likewise.
50116         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50117         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50118         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50119         * nss/getent.c (print_rpc, print_protocols): Likewise.
50120         (print_passwd, print_group, print_aliases): Likewise.
50121         * nis/nss-nisplus.h (niserr2nss): Likewise.
50122         * nscd/connections.c (restart_p): Likewise.
50123         Change return type to bool.
50125 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50127         * Makeconfig (all-Depend-files): Add existing
50128         $(sorted-subdirs:=/Depend) files.
50129         (all-subdirs): Remove nss.
50130         * sysdeps/unix/inet/Subdirs: Add it here instead.
50131         * hesiod/Depend: New file.
50133         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50134         instead of calling alloca.
50136         * io/lseek.c (__lseek): Rename to __libc_lseek.
50137         Define __lseek as an alias.
50139         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50141 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50143         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50144         else clause and remove check for non-standard endianness.
50146 2013-02-04  David S. Miller  <davem@davemloft.net>
50148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50150 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50152         [BZ #13550]
50153         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50154         (__ubp_memchr): Remove prototype.
50155         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50156         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50157         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50158         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50159         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50160         Remove alias.
50161         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50162         (__ubp_memchr): Likewise.
50163         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50164         (__ubp_memchr): Likewise.
50165         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50166         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50167         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50168         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50169         CHECK_STRING.
50170         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50171         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50172         (__getcwd): Do not use CHECK_STRING.
50173         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50174         <bp-checks.h>.
50175         (__real_chown): Do not use CHECK_STRING.
50176         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50177         <bp-checks.h>.
50178         (fchownat): Do not use CHECK_STRING.
50179         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50180         CHECK_STRING.
50181         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50182         <bp-checks.h>.
50183         (__lchown): Do not use CHECK_STRING.
50184         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50185         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50186         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50187         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50189         include <bp-checks.h>.
50190         (truncate64): Do not use CHECK_STRING.
50191         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50192         <bp-checks.h>.
50193         (__real_chown): Do not use CHECK_STRING.
50194         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50195         <bp-checks.h>.
50196         (__lchown): Do not use CHECK_STRING.
50197         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50198         <bp-checks.h>.
50199         (__chown): Do not use CHECK_STRING.
50200         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50201         <bp-checks.h>.
50202         (truncate64): Do not use CHECK_STRING.
50203         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50204         Likewise.
50205         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50206         (__xmknod): Do not use CHECK_STRING.
50207         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50208         <bp-checks.h>.
50209         (__xmknodat): Do not use CHECK_STRING.
50210         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50211         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50213 2013-02-04  Andreas Schwab  <schwab@suse.de>
50215         [BZ #14142]
50216         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50217         * include/netdb.h: Likewise for h_errno.
50218         * elf/tst-stackguard1.c: Include <tls.h>.
50220 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50222         * elf/link.h (struct link_map): Extend the l_addr comment.
50223         * include/link.h (struct link_map): Likewise.
50225 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50227         [BZ #13550]
50228         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50229         (BOUNDED_1): Remove macro.
50230         * debug/backtrace.c: Don't include <bp-checks.h>.
50231         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50232         (__backtrace): Likewise.
50233         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50234         <bp-checks.h>.
50235         (__backtrace): Don't use BOUNDED_1.
50236         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50237         <bp-checks.h>.
50238         (__backtrace): Don't use BOUNDED_1.
50239         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50240         (__backtrace): Don't use BOUNDED_1.
50241         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50242         (shmat): Don't use BOUNDED_N.
50244 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50246         [BZ #13550]
50247         * sysdeps/generic/bp-start.h: Remove file.
50248         * csu/libc-start.c: Don't include <bp-start.h>.
50249         (LIBC_START_MAIN): Set up __environ directly instead of using
50250         INIT_ARGV_and_ENVIRON.
50251         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50252         <bp-start.h>.
50254         [BZ #13550]
50255         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50256         definitions.
50257         (CHECK_FCNTL): Likewise.
50258         (CHECK_N_PAGES): Likewise.
50260         [BZ #13550]
50261         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50262         definitions.
50263         (CHECK_SIGSET_NULL_OK): Likewise.
50264         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50265         <bp-checks.h>.
50266         (sigpending): Don't use CHECK_SIGSET.
50267         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50268         <bp-checks.h>.
50269         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50270         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50271         <bp-checks.h>.
50272         (do_sigsuspend): Don't use CHECK_SIGSET.
50273         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50274         use CHECK_SIGSET.
50275         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50276         (do_sigwait): Don't use CHECK_SIGSET.
50277         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50278         use CHECK_SIGSET.
50279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50280         include <bp-checks.h>.
50281         (sigpending): Don't use CHECK_SIGSET.
50282         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50283         include <bp-checks.h>.
50284         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50285         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50286         <bp-checks.h>.
50287         (sigpending): Don't use CHECK_SIGSET.
50288         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50289         <bp-checks.h>.
50290         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50292         [BZ #13550]
50293         * sysdeps/generic/bp-semctl.h: Remove file.
50294         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50295         <bp-checks.h> and <bp-semctl.h>.
50296         (__old_semctl): Don't use CHECK_SEMCTL.
50297         (__new_semctl): Likewise.
50298         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50299         and <bp-semctl.h>.
50300         (__old_semctl): Don't use CHECK_SEMCTL.
50301         (__new_semctl): Likewise.
50302         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50303         <bp-checks.h> and <bp-semctl.h>.
50304         (__old_semctl): Don't use CHECK_SEMCTL.
50305         (__new_semctl): Likewise.
50306         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50307         <bp-checks.h> and <bp-semctl.h>.
50308         (semctl): Don't use CHECK_SEMCTL.
50310         [BZ #13550]
50311         * Makerules (elide-bp-thunks): Remove variable.
50312         (elide-routines.oS): Don't use $(elide-bp-thunks).
50313         (elide-routines.os): Likewise.
50314         (elide-routines.o): Likewise.
50315         (elide-routines.op): Likewise.
50316         (elide-routines.og): Likewise.
50317         (objects): Don't use $(bp-thunks).
50318         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50319         include.
50320         (common-generated): Do not add s-proto-bp.d.
50321         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50322         (int): Likewise.
50323         (typ): Likewise.
50324         Do not generate makefile rules for bounded-pointer thunks.
50325         * sysdeps/generic/bp-thunks.h: Remove file.
50326         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50327         * sysdeps/unix/s-proto-bp.S: Likewise.
50329         [BZ #15062]
50330         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50331         parts of result separately when argument is not close to line from
50332         -i to i and one part of argument is small.
50333         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50334         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50335         * math/libm-test.inc (cacos_test): Add more tests.
50336         (casin_test): Likewise.
50337         (casinh_test): Likewise.
50338         * sysdeps/i386/fpu/libm-test-ulps: Update.
50339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50341 2013-01-31  David S. Miller  <davem@davemloft.net>
50343         * po/de.po: Update from translation team.
50345 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50347         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50349 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50351         * configure.in (_AC_PROG_CC_C89): New definition.
50352         * configure: Regenerate.
50354         * configure.in (AC_PROG_CPP): New definition.
50355         * configure: Regenerate.
50357 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50359         * debug/tst-backtrace.h: New file.
50360         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50361         (ret): Remove variable.
50362         (x): Likewise.
50363         (FAIL): Remove macro.
50364         (NO_INLINE): Likewise.
50365         (fn1): Use match function instead of strstr.
50366         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50367         (ret): Remove variable.
50368         (x): Likewise.
50369         (FAIL): Remove macro.
50370         (NO_INLINE): Likewise.
50371         (fn): Use match function instead of strstr.
50372         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50373         (ret): Remove variable.
50374         (x): Likewise.
50375         (FAIL): Remove macro.
50376         (NO_INLINE): Likewise.
50377         (handle_signal): Use match function instead of strstr.
50378         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50379         (ret): Remove variable.
50380         (x): Likewise.
50381         (FAIL): Remove macro.
50382         (NO_INLINE): Likewise.
50383         (handle_signal): Use match function instead of strstr.
50385 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50387         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50389 2013-01-23  David S. Miller  <davem@davemloft.net>
50391         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50392         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50393         argument of CAS if possible.
50394         * sysdeps/sparc/sparc64/bits/atomic.h
50395         (__arch_compare_and_exchange_val_32_acq): Likewise.
50396         (__arch_compare_and_exchange_val_64_acq): Likewise.
50398 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50400         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50401         * sysdeps/posix/ulimit.c: ... this.
50402         Include <limits.h>.
50403         * sysdeps/unix/bsd/ulimit.c: Remove file.
50405 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50407         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50408         (LDFLAGS-tst-array5): Likewise.
50410 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50412         [BZ #15036]
50413         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50414         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50415         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50416         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50418 2013-01-21  David S. Miller  <davem@davemloft.net>
50420         * sysdeps/sparc/backtrace.c: New file.
50421         * sysdeps/sparc/sparc32/backtrace.h: New file.
50422         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50423         * sysdeps/sparc/sparc64/backtrace.h: New file.
50424         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50425         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50426         -funwind-tables.
50428 2013-01-21  Andreas Schwab  <schwab@suse.de>
50430         [BZ #15020]
50431         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50432         closed its stdout.
50434 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50437         "mpa2.h".
50438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50440 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50441             Mark Mitchell  <mark@codesourcery.com>
50442             Tom de Vries  <tom@codesourcery.com>
50443             Paul Pluzhnikov  <ppluzhnikov@google.com>
50445         * debug/tst-backtrace2.c: New file.
50446         * debug/tst-backtrace3.c: Likewise.
50447         * debug/tst-backtrace4.c: Likewise.
50448         * debug/tst-backtrace5.c: Likewise.
50449         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50450         (CFLAGS-tst-backtrace3.c): Likewise.
50451         (CFLAGS-tst-backtrace4.c): Likewise.
50452         (CFLAGS-tst-backtrace5.c): Likewise.
50453         (LDFLAGS-tst-backtrace2): Likewise.
50454         (LDFLAGS-tst-backtrace3): Likewise.
50455         (LDFLAGS-tst-backtrace4): Likewise.
50456         (LDFLAGS-tst-backtrace5): Likewise.
50457         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50458         tst-backtrace4 and tst-backtrace5.
50460 2013-01-18  Anton Blanchard  <anton@samba.org>
50461             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50463         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50464         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50465         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50466         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50468         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50469         "+r" and remove output regs list as redundant.  Add explicit inline
50470         asm to specify register of return val to work around compiler codegen
50471         bug.  Remove (int) cast on return value.  Add return type parameter to
50472         use in macro so that this macro does not truncate return value for
50473         64-bit values.
50474         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50475         pass to INTERNAL_VSYSCALL_NCS.
50476         (INLINE_VSYSCALL): Add 'long int' as return type to
50477         INTERNAL_VSYSCALL_NCS macro invocation.
50478         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50479         INTERNAL_VSYSCALL_NCS macro invocation.
50480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50482 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50484         [BZ #14496]
50485         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50486         Fix application of SIMD FP exception mask.
50488         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50489         mp_no from a power of two.
50490         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50491         __mpexp_twomm1.  Use __pow_mp.
50493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50494         multiplication.
50496 2013-01-17  David S. Miller  <davem@davemloft.net>
50498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50500 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50502         [BZ #15023]
50503         * include/complex.h: Condition contents on [!_COMPLEX_H].
50504         (__kernel_casinhf): New prototype.
50505         (__kernel_casinh): Likewise.
50506         (__kernel_casinhl): Likewise.
50507         * math/Makefile (libm_calls): Add k_casinh.
50508         * math/k_casinh.c: New file.
50509         * math/k_casinhf.c: Likewise.
50510         * math/k_casinhl.c: Likewise.
50511         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50512         finite nonzero arguments.
50513         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50514         finite nonzero arguments.
50515         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50516         finite nonzero arguments.
50517         * math/s_casinh.c: Do not include <float.h>.
50518         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50519         * math/s_casinhf.c: Do not include <float.h>.
50520         (__casinhf): Move code for finite nonzero arguments to
50521         k_casinhf.c.
50522         * math/s_casinhl.c: Do not include <float.h>.
50523         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50524         redefine.
50525         (__casinhl): Move code for finite nonzero arguments to
50526         k_casinhl.c.
50527         * math/libm-test.inc (cacos_test): Add more tests.
50528         * sysdeps/i386/fpu/libm-test-ulps: Update.
50529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50531 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50533         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50534         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50535         [!HAVE_MREMAP]: Remove [defined linux] case.
50536         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50538 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50540         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50542 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50544         * elf/elf.h (R_386_SIZE32): New relocation.
50545         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50546         R_386_SIZE32.
50547         (elf_machine_rela): Likewise.
50548         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50549         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50551 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50553         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50554         (FP_FAST_FMA): Do not define.
50555         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50556         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50557         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50558         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50559         !_SOFT_FLOAT]: Likewise.
50560         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50561         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50562         value.
50563         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50564         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50565         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50566         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50567         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50568         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50569         file.
50571 2013-01-16  Andreas Schwab  <schwab@suse.de>
50573         [BZ #14327]
50574         * include/stdlib.h (__mktemp): Add declaration.
50575         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50576         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50578 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50580         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50581         definitions.
50582         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50583         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50584         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50585         definitions here.
50586         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50587         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50588         definitions.
50589         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50590         and ONE.
50591         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50592         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50593         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50594         definitions.
50595         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50596         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50597         definitions.
50598         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50600         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50602 2013-01-15  David S. Miller  <davem@davemloft.net>
50604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50605         trunc{,f} to libm-sysdep_routes.
50606         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50608         file.
50609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50611         file.
50612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50613         file.
50614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50616         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50617         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50618         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50619         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50620         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50621         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50624         nearbyint{,f} to libm-sysdep_routes.
50625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50627         New file.
50628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50629         file.
50630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50631         New file.
50632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50633         file.
50634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50636         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50637         file.
50638         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50639         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50640         file.
50641         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50642         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50643         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50645         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50646         libc_feholdexcept and libc_fesetenv.
50648 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50650         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50652 2013-01-14  David S. Miller  <davem@davemloft.net>
50654         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50655         (SPARC_ASM_VIS2_IFUNC): Likewise.
50656         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50658         use of 'siam' instruction.
50659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50660         Likewise.
50661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50662         Likewise.
50663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50664         Likewise.
50665         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50666         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50667         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50668         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50670         file.
50671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50672         file.
50673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50674         file.
50675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50676         file.
50677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50682         new VIS2 routines.
50683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50686         Likewise.
50687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50692         routines to libm-sysdep_routines.
50693         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50696         fdim/fdimf to libm-sysdep_routines.
50697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50698         file.
50699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50701         file.
50702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50705         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50706         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50707         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50708         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50710 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50712         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50713         to optimize copies.
50715         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50719         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50720         local variable MPTWO.
50721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50722         Likewise.
50724 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50726         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50727         GLOB_NOESCAPE.
50729 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50731         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50733 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50735         * manual/pattern.texi (glob_t): Document gl_flags.
50736         (glob64_t): Likewise.
50738 2013-01-11  David S. Miller  <davem@davemloft.net>
50740         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50741         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50742         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50743         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50744         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50745         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50746         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50747         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50748         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50749         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50750         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50751         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50752         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50754         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50755         sparc V9 rather than using V8 code.
50756         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50757         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50759         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50760         Move to...
50761         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50762         Here.
50764 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50766         [BZ #14941]
50767         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50768         not in the main loop.
50769         * configure: Regenerated.
50771 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50773         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50774         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50775         to just #else.
50776         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50777         [!__GLIBC_HAVE_LONG_LONG] case.
50778         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50779         condition to just #else.
50780         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50781         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50782         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50783         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50784         unconditional.
50785         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50786         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50787         #elif condition to just #else.
50788         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50789         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50790         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50791         #elif condition to just #else.
50793 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50795         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50796         (EF_MIPS_ARCH_64): Fix value.
50797         (EF_MIPS_ARCH_32R2): New.
50798         (EF_MIPS_ARCH_64R2): New.
50800 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50802         * Makeconfig (+link-pie-before-libc): New.
50803         (+link-pie-after-libc): Likewise.
50804         (+link-pie-tests): Likewise.
50805         (+link-pie): Rewritten.
50806         (link-before-libc): Remove $(config-LDFLAGS).
50807         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50808         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50809         (config-LDFLAGS): Renamed to ...
50810         (rtld-LDFLAGS): This.
50811         (rtld-tests-LDFLAGS): New macro.
50812         (link-libc-rpath-link): Likewise.
50813         (link-libc-tests-rpath-link): Likewise.
50814         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50815         (link-libc): Prepand $(link-libc-rpath-link).
50816         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50817         (test-program-prefix): New macro.
50818         (test-via-rtld-prefix): Likewise.
50819         (test-program-cmd): Likewise.
50820         (host-test-program-cmd): Likewise.
50821         * Makefile ($(common-objpfx)testrun.sh): Replace
50822         $(run-program-prefix) with $(test-program-prefix).
50823         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50824         $(rtld-LDFLAGS).
50825         ($(common-objpfx)shlib.lds): Likewise.
50826         (build-module-helper): Likewise.
50827         ($(common-objpfx)format.lds): Likewise.
50828         * Rules (binaries-pie-tests): New.
50829         (binaries-pie-notests): Likewise.
50830         (binaries-pie): Rewritten.
50831         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50832         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50833         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50834         (make-test-out): Replace $(host-built-program-cmd) with
50835         $(host-test-program-cmd).
50836         * config.make.in (build-hardcoded-path-in-tests): New variable.
50837         * configure.in (--enable-hardcoded-path-in-tests): New configure
50838         option.
50839         (hardcoded_path_in_tests): New AC_SUBST.
50840         * configure: Regenerated.
50841         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
50842         $(built-program-cmd) with $(test-program-cmd).
50843         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
50844         (test_program_cmd): This.
50845         * elf/Makefile ($(objpfx)order.out): Run test with
50846         $(test-program-prefix).
50847         ($(objpfx)order2.out): Likewise.
50848         ($(objpfx)tst-initorder.out): Likewise.
50849         ($(objpfx)tst-initorder2.out): Likewise.
50850         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
50851         $(test-program-cmd).
50852         ($(objpfx)tst-array1-static.out): Likewise.
50853         ($(objpfx)tst-array2.out): Likewise.
50854         ($(objpfx)tst-array3.out): Likewise.
50855         ($(objpfx)tst-array4.out): Likewise.
50856         ($(objpfx)tst-array5.out): Likewise.
50857         ($(objpfx)tst-array5-static.out): Likewise.
50858         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
50859         $(test-program-cmd).
50860         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
50861         $(run-program-prefix) with $(test-program-prefix).
50862         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
50863         (test_program_prefix): This.
50864         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
50865         $(run-program-prefix) with $(test-program-prefix).
50866         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
50867         (test_program_prefix): This.
50868         * iconvdata/tst-tables.sh: Likewise.
50869         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
50870         $(run-program-prefix) with $(test-program-prefix).
50871         ($(objpfx)tst-translit.out): Likewise.
50872         ($(objpfx)tst-gettext2.out): Likewise.
50873         ($(objpfx)tst-gettext4.out): Likewise.
50874         ($(objpfx)tst-gettext6.out): Likewise.
50875         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
50876         (test_program_prefix): This.
50877         * intl/tst-gettext2.sh: Likewise.
50878         * intl/tst-gettext4.sh  Likewise.
50879         * intl/tst-gettext6.sh: Likewise.
50880         * intl/tst-translit.sh: Likewise.
50881         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
50882         with $(test-program-cmd).
50883         * libio/Makefile ($(objpfx)test-freopen.out): Replace
50884         $(run-program-prefix) with $(test-program-prefix).
50885         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
50886         (test_program_prefix): This.
50887         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
50888         $(run-program-prefix) with $(test-program-prefix).
50889         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
50890         (test_program_prefix): This.
50891         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
50892         * posix/Makefile ($(objpfx)globtest.out): Replace
50893         $(run-via-rtld-prefix) and $(test-wrapper) with
50894         $(test-program-prefix) and $(test-via-rtld-prefix).
50895         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
50896         $(test-program-prefix).
50897         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
50898         $(host-test-program-cmd).
50899         (tst-spawn-ARGS): Likewise.
50900         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
50901         $(test-program-prefix).
50902         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
50903         (test_via_rtld_prefix): This.
50904         (test_wrapper): Renamed to ...
50905         (test_program_prefix): This.
50906         (run_program_prefix): Replaced by test_program_prefix.
50907         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
50908         (test_program_prefix): This.
50909         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
50910         with $(host-test-program-cmd).
50911         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
50912         $(run-program-prefix) with $(test-program-prefix).
50913         ($(objpfx)tst-printf.out): Likewise.
50914         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
50915         $(test-program-cmd).
50916         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
50917         (test_program_prefix): This.
50918         * stdio-common/tst-unbputc.sh: Likewise.
50919         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
50920         $(run-program-prefix) with $(test-program-prefix).
50921         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
50922         (test_program_prefix): This.
50923         * string/Makefile ($(objpfx)tst-svc.out):  Replace
50924         $(built-program-cmd) with $(test-program-cmd).
50926 2013-01-11  Andreas Jaeger  <aj@suse.de>
50928         [BZ #15003]
50929         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
50930         value. Sync with Linux 3.7.
50932 2013-01-10  David S. Miller  <davem@davemloft.net>
50934         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
50935         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50936         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50938 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50940         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
50941         never set.
50942         * configure: Regenerated.
50944 2013-01-10  David S. Miller  <davem@davemloft.net>
50946         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50947         sparc V9 rather than using V8 code.
50948         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50949         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50951 2013-01-10  Roland McGrath  <roland@hack.frob.com>
50953         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
50954         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
50955         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
50956         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
50957         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
50958         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
50959         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
50960         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
50961         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
50962         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
50963         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
50964         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
50965         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
50966         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
50967         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
50968         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
50969         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
50970         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
50971         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
50972         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
50973         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
50974         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
50975         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
50976         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
50977         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
50978         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
50979         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
50981 2013-01-10  David S. Miller  <davem@davemloft.net>
50983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50985 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
50987         * posix/Makefile (tests-static): New variable.
50988         (tests): Add $(tests-static).
50989         (tst-exec-static-ARGS): New variable.
50990         (tst-spawn-static-ARGS): Likewise.
50991         * posix/tst-exec-static.c: New file.
50992         * posix/tst-spawn-static.c: Likewise.
50993         * posix/tst-exec.c: Support run directly.
50994         * posix/tst-spawn.c: Likewise.
50996 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
50998         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50999         long.
51000         * math/bits/mathcalls.h (llrint): Likewise.
51001         (llround): Likewise.
51002         * stdlib/stdlib.h (struct drand48_data): Likewise.
51003         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51004         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51005         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51006         Likewise.
51007         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51008         Likewise.
51009         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51010         (elf_greg_t): Likewise.
51011         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51012         (__jmp_buf): Likewise.
51013         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51014         definitions.
51015         (llrint): Likewise, for all definitions.
51016         (llrintl): Likewise.
51018         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51019         Remove [__GNUC__] condition.
51020         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51021         condition to just [__USE_ISOC99].
51022         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51024 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51026         [BZ #14200]
51027         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51028         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51029         defined.
51030         (_POSIX_V6_ILP32_OFF32): Likewise.
51031         (_XBS5_ILP32_OFF32): Likewise.
51032         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51033         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51035 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51037         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51040         doubles __mpexp_twomm1.  Adjust usage.
51041         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51042         Remove.
51044 2013-01-10  Andreas Schwab  <schwab@suse.de>
51046         [BZ #14964]
51047         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51048         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51050 2013-01-09  David S. Miller  <davem@davemloft.net>
51052         [BZ #15003]
51053         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51054         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51055         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51056         (TCP_FASTOPEN): Define.
51057         (tcp_repair_opt): New structure.
51058         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51059         enum values.
51060         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51061         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51062         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51063         (tcp_cookie_transactions): New structure.
51065 2013-01-09  Anton Blanchard  <anton@samba.org>
51067         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51068         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51069         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51070         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51072 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51074         * include/features.h (__USE_ANSI): Remove.
51076 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51078         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51080         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51082 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51084         * sysdeps/s390/fpu/libm-test-ulps: Update.
51086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51088         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51089         (__acr): Likewise.
51090         (__cpy): Likewise.
51091         (norm): Likewise.
51092         (denorm): Likewise.
51093         (__mp_dbl): Likewise.
51094         (__dbl_mp): Likewise.
51095         (add_magnitudes): Likewise.
51096         (sub_magnitudes): Likewise.
51097         (__add): Likewise.
51098         (__sub): Likewise.
51099         (__mul): Likewise.
51100         (__inv): Likewise.
51101         (__dvd): Likewise.
51102         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51103         (__acr): Likewise.
51104         (__cpy): Likewise.
51105         (norm): Likewise.
51106         (denorm): Likewise.
51107         (__mp_dbl): Likewise.
51108         (__dbl_mp): Likewise.
51109         (add_magnitudes): Likewise.
51110         (sub_magnitudes): Likewise.
51111         (__add): Likewise.
51112         (__sub): Likewise.
51113         (__mul): Likewise.
51114         (__inv): Likewise.
51115         (__dvd): Likewise.
51116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51117         (__acr): Likewise.
51118         (__cpy): Likewise.
51119         (norm): Likewise.
51120         (denorm): Likewise.
51121         (__mp_dbl): Likewise.
51122         (__dbl_mp): Likewise.
51123         (add_magnitudes): Likewise.
51124         (sub_magnitudes): Likewise.
51125         (__add): Likewise.
51126         (__sub): Likewise.
51127         (__mul): Likewise.
51128         (__inv): Likewise.
51129         (__dvd): Likewise.
51131 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51133         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51134         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51135         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51136         2 && __USE_EXTERN_INLINES]: Likewise.
51138 2013-01-08  Andreas Jaeger  <aj@suse.de>
51140         [BZ# 14985]
51141         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51142         Remove.
51143         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51144         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51146 2013-01-07  Anton Blanchard  <anton@samba.org>
51148         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51149         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51150         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51151         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51152         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51153         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51154         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51155         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51157         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51158         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51159         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51160         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51161         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51162         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51163         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51164         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51165         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51166         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51167         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51168         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51169         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51170         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51171         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51172         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51173         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51174         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51175         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51176         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51177         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51178         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51180         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51181         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51182         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51183         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51184         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51185         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51186         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51187         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51188         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51189         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51190         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51192 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51194         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51195         (__MALLOC_PMT): Likewise.
51196         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51197         [__GNUC__], only on [_LIBC].
51198         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51199         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51200         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51201         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51202         forward declaration.
51203         (realloc_hook_ini): Likewise.
51204         (memalign_hook_ini): Likewise.
51205         (__libc_memalign): Do not use __MALLOC_PMT in variable
51206         declaration.
51207         (__libc_valloc): Likewise.
51208         (__libc_pvalloc): Likewise.
51209         (__libc_calloc): Likewise.
51210         (__posix_memalign): Likewise.
51212         [BZ #14996]
51213         * math/s_casinh.c: Include <float.h>.
51214         (__casinh): Do not do computation with squaring and square root
51215         for large arguments.
51216         * math/s_casinhf.c: Include <float.h>.
51217         (__casinhf): Do not do computation with squaring and square root
51218         for large arguments.
51219         * math/s_casinhl.c: Include <float.h>.
51220         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51221         (__casinhl): Do not do computation with squaring and square root
51222         for large arguments.
51223         * math/libm-test.inc (casin_test): Add more tests.
51224         (casinh_test): Likewise.
51225         * sysdeps/i386/fpu/libm-test-ulps: Update.
51226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51228 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51230         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51231         (__x86_64_raw_data_cache_size): Likewise.
51232         (__x86_64_data_cache_size_half): Likewise.
51233         (__x86_64_raw_data_cache_size_half): Likewise.
51234         (__x86_64_shared_cache_size): Likewise.
51235         (__x86_64_raw_shared_cache_size): Likewise.
51236         (__x86_64_shared_cache_size_half): Likewise.
51237         (__x86_64_raw_shared_cache_size_half): Likewise.
51238         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51239         to ...
51240         (__x86_data_cache_size): This.
51241         (__x86_64_raw_data_cache_size): Renamed to ...
51242         (__x86_raw_data_cache_size): This.
51243         (__x86_64_data_cache_size_half): Renamed to ...
51244         (__x86_data_cache_size_half): This.
51245         (__x86_64_raw_data_cache_size_half): Renamed to ...
51246         (__x86_raw_data_cache_size_half): This.
51247         (__x86_64_shared_cache_size): Renamed to ...
51248         (__x86_shared_cache_size): This.
51249         (__x86_64_raw_shared_cache_size): Renamed to ...
51250         (__x86_raw_shared_cache_size): This.
51251         (__x86_64_shared_cache_size_half): Renamed to ...
51252         (__x86_shared_cache_size_half): This.
51253         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51254         (__x86_raw_shared_cache_size_half): This.
51255         * sysdeps/x86_64/memcpy.S: Updated.
51256         * sysdeps/x86_64/memset.S: Likewise.
51257         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51258         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51259         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51261 2013-01-04  David S. Miller  <davem@davemloft.net>
51263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51265 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51267         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51268         1 to avoid redefinition warning.
51269         (__USE_GNU): Don't define.
51270         (init_signaling_nan): Protoize.
51272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51274 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51276         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51278         (__cpymn): Likewise.
51279         (norm): Remove commented code.
51280         (denorm): Likewise.
51281         (__mp_dbl): Likewise.
51282         (__inv): Likewise.
51283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51284         (__cpymn): Likewise.
51285         (norm): Remove commented code.
51286         (denorm): Likewise.
51287         (__mp_dbl): Likewise.
51288         (__inv): Likewise.
51290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51291         mp_no value for 1.0 and 2.0.
51292         (norm): Use RADIXI instead of radixi.d.
51293         (denorm): Likewise.
51294         (__mul): Use 0.0 instead of zero.d.
51295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51296         mp_no value for 1.0 and 2.0.
51297         (norm): Use RADIXI instead of radixi.d.
51298         (denorm): Likewise.
51299         (__mul): Use 0.0 instead of zero.d.
51301 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51303         [BZ #14994]
51304         * math/s_casinh.c (__casinh): Reduce finite argument to first
51305         quadrant then set signs of results at the end.
51306         * math/s_casinhf.c (__casinhf): Likewise.
51307         * math/s_casinhl.c (__casinhl): Likewise.
51308         * math/libm-test.inc (casin_test): Add more tests.
51309         (casinh_test): Likewise.
51310         * sysdeps/i386/fpu/libm-test-ulps: Update.
51311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51313 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51315         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51317         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51319         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51320         declarations.
51321         (denorm): Likewise.
51322         (__mp_dbl): Likewise.
51323         (__inv): Likewise.
51325         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51326         and adjust the header comment.
51328         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51329         variable name from declaration.
51331 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51334         Initialize COMMON_CPUID_INDEX_7 element.
51335         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51336         (CPUID_RTM): Likewise.
51337         (HAS_RTM): Likewise.
51338         (COMMON_CPUID_INDEX_7): New enum.
51340 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51342         [BZ #14981]
51343         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51344         size is zero, record memory as freed.
51346 2013-01-03  Andreas Jaeger  <aj@suse.de>
51348         * po/ia.po: Add new Interlingua translation.
51350 2012-01-03  Allan McRae  <allan@archlinux.org>
51352         * locale/programs/localedef.c: Fix description of '--posix' flag.
51354 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51356         * NEWS: Update dates in second copyright notice.
51357         * README: Update copyright dates in example.
51358         * manual/libc.texinfo: Update copyright dates.
51359         * scripts/test-installation.pl: Update copyright date in --version
51360         output.
51362         * hurd/ctty-input.c: Fix copyright notice formatting.
51363         * hurd/ctty-output.c: Likewise.
51364         * hurd/dtable.c: Likewise.
51365         * hurd/hurd-raise.c: Likewise.
51366         * hurd/hurdprio.c: Likewise.
51367         * hurd/msgportdemux.c: Likewise.
51368         * misc/sys/file.h: Likewise.
51369         * misc/sys/ioctl.h: Likewise.
51370         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51371         * sysdeps/mach/hurd/chdir.c: Likewise.
51372         * sysdeps/mach/hurd/fchdir.c: Likewise.
51373         * sysdeps/mach/hurd/rename.c: Likewise.
51374         * sysdeps/mach/hurd/rmdir.c: Likewise.
51375         * sysdeps/mach/hurd/seekdir.c: Likewise.
51376         * sysdeps/mach/hurd/setsid.c: Likewise.
51377         * sysdeps/posix/wait3.c: Likewise.
51379         * All files with FSF copyright notices: Update copyright dates
51380         using scripts/update-copyrights.
51381         * intl/plural.c: Regenerated.
51382         * locale/programs/charmap-kw.h: Likewise.
51383         * locale/programs/locfile-kw.h: Likewise.
51385 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51387         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51388         four values.
51390         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51391         calculation loop and add branch prediction.
51393         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51394         check access beyond bounds of m1np.
51396         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51397         MPTWO.
51398         (__inv): Remove local variable MPTWO to use the global
51399         constant.
51400         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51401         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51402         variable MPTWO.
51403         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51404         MP3HALFS static const.
51406 2013-01-01  David S. Miller  <davem@davemloft.net>
51408         * po/ca.po: Update from translation team.
51410 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51412         * scripts/update-copyrights: New file.
51413         * Makeconfig: Reformat copyright notice.
51414         * ctype/ctype.h: Likewise.
51415         * debug/swprintf_chk.c: Likewise.
51416         * elf/dl-cache.c: Likewise.
51417         * elf/dl-debug.c: Likewise.
51418         * elf/dl-object.c: Likewise.
51419         * grp/initgroups.c: Likewise.
51420         * hurd/Makefile: Likewise.
51421         * hurd/hurd/signal.h: Likewise.
51422         * hurd/hurdfault.c: Likewise.
51423         * hurd/hurdioctl.c: Likewise.
51424         * hurd/hurdlookup.c: Likewise.
51425         * hurd/intr-msg.c: Likewise.
51426         * iconv/gconv_open.c: Likewise.
51427         * libio/swprintf.c: Likewise.
51428         * locale/lc-ctype.c: Likewise.
51429         * locale/nl_langinfo.c: Likewise.
51430         * mach/Machrules: Likewise.
51431         * mach/Makefile: Likewise.
51432         * malloc/obstack.h: Likewise.
51433         * manual/Makefile: Likewise.
51434         * manual/tsort.awk: Likewise.
51435         * misc/bits/stab.def: Likewise.
51436         * nis/nis_print_group_entry.c: Likewise.
51437         * nis/nis_table.c: Likewise.
51438         * nis/nss_compat/compat-pwd.c: Likewise.
51439         * nis/nss_compat/compat-spwd.c: Likewise.
51440         * po/Makefile: Likewise.
51441         * posix/fnmatch.c: Likewise.
51442         * posix/regex.h: Likewise.
51443         * resolv/Makefile: Likewise.
51444         * resolv/nss_dns/dns-network.c: Likewise.
51445         * resolv/res_hconf.c: Likewise.
51446         * scripts/gen-sorted.awk: Likewise.
51447         * soft-fp/soft-fp.h: Likewise.
51448         * stdio-common/printf.h: Likewise.
51449         * stdlib/monetary.h: Likewise.
51450         * stdlib/random.c: Likewise.
51451         * stdlib/random_r.c: Likewise.
51452         * sysdeps/generic/Makefile: Likewise.
51453         * sysdeps/gnu/Makefile: Likewise.
51454         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51455         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51456         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51458         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51460         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51461         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51462         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51464         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51465         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51466         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51467         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51468         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51469         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51473         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51474         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51475         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51476         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51477         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51478         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51479         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51480         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51481         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51482         * sysdeps/mach/hurd/errnos.awk: Likewise.
51483         * sysdeps/mach/hurd/fork.c: Likewise.
51484         * sysdeps/mach/hurd/getcwd.c: Likewise.
51485         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51486         * sysdeps/mach/hurd/mmap.c: Likewise.
51487         * sysdeps/mach/hurd/utimes.c: Likewise.
51488         * sysdeps/mach/hurd/xmknod.c: Likewise.
51489         * sysdeps/posix/profil.c: Likewise.
51490         * sysdeps/posix/readdir_r.c: Likewise.
51491         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51492         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51493         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51494         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51496         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51497         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51498         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51500         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51501         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51502         * sysdeps/pthread/lio_listio.c: Likewise.
51503         * sysdeps/sparc/dl-procinfo.h: Likewise.
51504         * sysdeps/unix/i386/sysdep.S: Likewise.
51505         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51506         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51507         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51508         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51510         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51511         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51512         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51513         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51514         * sysdeps/wordsize-32/divdi3.c: Likewise.
51515         * time/sys/time.h: Likewise.
51516         * wcsmbs/Makefile: Likewise.
51518 2013-01-01  David S. Miller  <davem@davemloft.net>
51520         * po/fr.po: Update from translation team.
51522         * catgets/gencat.c: Update copyright year.
51523         * csu/version.c: Likewise.
51524         * debug/catchsegv.sh: Likewise.
51525         * debug/pcprofiledump.c: Likewise.
51526         * debug/xtrace.sh: Likewise.
51527         * elf/ldconfig.c: Likewise.
51528         * elf/ldd.bash.in: Likewise.
51529         * elf/pldd.c: Likewise.
51530         * elf/sotruss.ksh: Likewise.
51531         * elf/sprof.c: Likewise.
51532         * iconv/iconv_prog.c: Likewise.
51533         * iconv/iconvconfig.c: Likewise.
51534         * locale/programs/locale.c: Likewise.
51535         * locale/programs/localedef.c: Likewise.
51536         * login/programs/pt_chown.c: Likewise.
51537         * malloc/memusage.sh: Likewise.
51538         * malloc/memusagestat.c: Likewise.
51539         * malloc/mtrace.pl: Likewise.
51540         * nscd/nscd.c: Likewise.
51541         * nss/getent.c: Likewise.
51542         * nss/makedb.c: Likewise.
51543         * posix/getconf.c: Likewise.
51545 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51547         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51548         numbers.
51550 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51552         * math/bits/mathcalls.h (modf): Use __nonnull.
51554 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51556         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51557         (split): Use macro CN instead of the bare value.
51558         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51559         could be used.
51560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51561         instead of the bare value.
51562         (power1): Likewise.
51564 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51567         __ATAN_TWOM.
51568         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51570         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51571         their values.
51572         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51573         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51574         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51575         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51577 2012-12-28  Andreas Jaeger  <aj@suse.de>
51579         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51580         values are from Linux 3.7.
51582         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51583         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51585 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51587         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51588         TRUE case.
51590         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51591         (norm): Likewise.
51592         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51593         variables with preprocessor constants.
51594         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51595         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51596         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51598 2012-12-27  Bruno Haible  <bruno@clisp.org>
51600         [BZ #14317]
51601         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51602         only if needed.
51604 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51607         and use variable directly.
51608         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51610         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51611         MPONE.
51612         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51614         variable MPONE.
51615         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51616         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51617         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51618         include directive.  Remove local variable MPONE.
51619         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51620         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51621         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51623 2012-12-25  David S. Miller  <davem@davemloft.net>
51625         * version.h (RELEASE): Set to "development".
51626         (VERSION): Set to "2.17.90".
51627         * NEWS: Add 2.18 section.
51629 2012-12-21  David S. Miller  <davem@davemloft.net>
51631         * po/hr.po: Update from translation team.
51633 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51635         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51637 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51639         * NEWS:  Mention new memcpy for MIPS.
51641 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51643         * manual/contrib.texi (Contributors): Spelling correction.
51645 2012-12-15  David S. Miller  <davem@davemloft.net>
51647         * po/ru.po: Update from translation team.
51649 2012-12-13  David S. Miller  <davem@davemloft.net>
51651         * NEWS: Mention IFUNC testsuite enhancements.
51653         * po/pl.po: Update from translation team.
51654         * po/bg.po: Likewise.
51656         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51657         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51659 2012-12-11  David S. Miller  <davem@davemloft.net>
51661         * po/sv.po: Update from translation team.
51663         * po/vi.po: Update from translation team.
51665         * po/cs.po: Update from translation team.
51667         * po/de.po: Update from translation team.
51668         * po/eo.po: Likewise.
51669         * po/nl.po: Likewise.
51671 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51673         [BZ #14246]
51674         * manual/argp.texi (Argp Helper Functions): Move node to follow
51675         Argp Parsing State.
51677         [BZ #14872]
51678         * manual/conf.texi (Limits on File System Capacity): Mention if
51679         terminating null is included in the max size.
51681 2012-12-10  Andreas Jaeger  <aj@suse.de>
51683         * po/cs.po: Update from translation team.
51685 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51687         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51688         void pointer and cast to uintptr_t.
51689         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51690         path.
51691         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51692         * sysdeps/s390/s390-64/memset.S: Likewise.
51694 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51696         [BZ #14833]
51697         * menual/message.texi (Message Translation): Fix typos.
51698         (Helper programs for gettext): Likewise.
51700 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51702         [BZ #14898]
51703         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51704         Change to -1.
51706 2012-12-07  David S. Miller  <davem@davemloft.net>
51708         * po/libc.pot: Update.
51710 2012-12-07  Richard Henderson  <rth@redhat.com>
51712         [BZ #10114]
51713         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51714         normal/normal case to before the switch.
51715         (_FP_DIV): Likewise.
51717 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51718             Mike Frysinger  <vapier@gentoo.org>
51720         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51721         check for __NR_fadvise64_64.
51723 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51725         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51726         0, not just to plain "0" as a statement.
51727         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51728         with cw.
51730 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51732         * NEWS: Use sourceware.org in Bugzilla URL.
51734 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51737         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51739         * stdio-common/tst-put-error.c (do_test): Add newline to the
51740         padded test to ensure flush.
51742 2012-12-05  Jeff Law  <law@redhat.com>
51744         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51746 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51748         * README: Don't refer to ports add-on as distributed separately.
51749         Mention AArch64 in list of systems supported in the ports add-on.
51751         * LICENSES: Add more non-FSF copyright and license notices.
51753         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51754         ((unused)).
51756         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51758         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51759         10000 as width of padded output.
51761 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51763         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51765         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51766         variable LX with __attribute__ ((unused)).
51767         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51768         Likewise.
51769         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51770         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51771         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51772         with __attribute__ ((unused)).
51774 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51776         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51778 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51780         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51781         (CFLAGS-nldbl-acos.c): New variable.
51782         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51783         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51784         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51785         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51786         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51787         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51788         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51789         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51790         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51791         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51792         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51793         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51794         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51795         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51796         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51797         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51798         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51799         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51800         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51801         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51802         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51803         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51804         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51805         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51806         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51807         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51808         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51809         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51810         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51811         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51812         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51813         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51814         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51815         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51816         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51817         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51818         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51819         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51820         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51821         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51822         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51823         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51824         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51825         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51826         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51827         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51828         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51829         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51830         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51831         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51832         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51833         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51834         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
51835         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
51836         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
51837         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
51838         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
51839         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
51840         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
51841         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
51842         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
51843         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
51844         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
51845         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
51846         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
51847         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
51848         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
51849         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
51850         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
51851         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
51852         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
51853         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
51854         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
51855         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
51856         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
51857         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
51858         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
51859         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
51860         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
51861         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
51862         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
51863         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
51864         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
51865         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
51866         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
51867         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
51868         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
51869         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
51870         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
51871         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
51872         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
51873         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
51874         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
51875         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
51876         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
51877         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
51878         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
51880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51881         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51883         [BZ #14914]
51884         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
51885         whole low double instead of just low 47 bits when splitting values
51886         into two parts.
51888 2012-12-03  Allan McRae  <allan@archlinux.org>
51890         * manual/stdio.texi (Predefined Printf Handlers): Remove
51891         @hsep and @vsep usage.
51893 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
51895         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
51896         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
51898 2012-12-03  Jeff Law  <law@redhat.com>
51900         * time/sys/time.h (settimeofday): Do not mark TV argument
51901         as __nonnull.
51903 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
51905         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
51906         when currently writing and seek to current position when not.
51907         * libio/Makefile (tests): Remove bug-fclose1.
51908         * libio/bug-fclose1.c: Delete.
51910 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
51912         * manual/arith.texi (feenableexcept): Fix typo.
51913         (fedisableexcept): Likewise.
51915 2012-11-30  Roland McGrath  <roland@hack.frob.com>
51917         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
51918         second, differently-typed declaration, rather than a cast.
51920 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51922         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
51923         * include/rpc/svc.h: ... here.
51925 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
51927         [BZ #13013]
51928         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
51929         depending n and resplen2 to catch cases where answer
51930         equals answerp2.
51932 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
51934         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
51935         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
51937 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
51939         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
51941 2012-11-29  Roland McGrath  <roland@hack.frob.com>
51943         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
51945 2012-11-28  Jeff Law  <law@redhat.com>
51947         [BZ #13761]
51948         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
51949         dataset_temporary.  Track alloca usage into alloca_used.
51950         If dataset is large allocate and release it via malloc/free.
51952 2012-06-04  Florian Weimer  <fweimer@redhat.com>
51954         [BZ #14197]
51955         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
51957 2012-11-28  David S. Miller  <davem@davemloft.net>
51959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51961 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51963         [BZ #14803]
51964         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
51965         of pi/2 rounded to nearest to 64 bits.
51966         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
51967         nearest to 64 bits.
51968         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
51969         bits.
51971 2012-11-28  Jeff Law <law@redhat.com>
51972             Martin Osvald <mosvald@redhat.com>
51974         [BZ #14889]
51975         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
51976         * sunrpc/svc.c: Include time.h.
51977         (__svc_accept_failed): New function.
51978         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
51979         any reason other than EINTR, call __svc_accept_failed.
51980         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
51981         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
51983 2012-11-28  Andreas Schwab  <schwab@suse.de>
51985         * scripts/abilist.awk: Also handle indirect functions in .opd
51986         section.
51988 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
51990         [BZ #13881]
51991         * sysdeps/x86/fpu/powl_helper.c: New file.
51992         * sysdeps/x86/fpu/Makefile: Likewise.
51993         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
51994         (p3): New object.
51995         (__ieee754_powl): Use __powl_helper for finite arguments except
51996         integer exponents below 8.
51997         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
51998         (p3): New object.
51999         (__ieee754_powl): Use __powl_helper for finite arguments except
52000         integer exponents below 8.
52001         * math/libm-test.inc (pow_test): Add more tests and enable some
52002         previously disabled tests.
52003         * sysdeps/i386/fpu/libm-test-ulps: Update.
52004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52006 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52007             Carlos O'Donell  <carlos_odonell@mentor.com>
52009         * nss/makedb.c (is_prime): Assert that input is odd and greater
52010         than 4.  Note that fact in a comment too.
52011         (next_prime): Add 4 to input.
52013 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52015         [BZ #11741]
52016         * libio/Makefile (tests): Add test case tst-fwrite-error.
52017         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52018         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52019         * libio/tst-fwrite-error.c: New test case.
52021 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52023         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52024         before casting to void *.
52025         * include/libc-internal.h (__pointer_type): New macro.
52026         (__integer_if_pointer_type_sub): Likewise.
52027         (__integer_if_pointer_type): Likewise.
52028         (cast_to_integer): Likewise.
52029         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52030         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52031         before casting to atomic64_t.
52032         (atomic_exchange_acq): Likewise.
52033         (__arch_exchange_and_add_body): Likewise.
52034         (__arch_add_body): Likewise.
52035         (atomic_add_negative): Likewise.
52036         (atomic_add_zero): Likewise.
52038 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52040         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52041         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52042         (add_fdes): Likewise.
52043         (linear_search_fdes): Likewise.
52044         (binary_search_unencoded_fdes): Likewise.
52046 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52048         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52050 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52052         * configure.in: Autodetect C++ header directories.
52053         * configure: Regenerated.
52055 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52057         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52059 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52063 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52065         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52066         LDBL_MANT_DIG == 106]: Disable some tests.
52067         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52068         Likewise.
52069         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52070         Likewise.
52072         [BZ #14871]
52073         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52074         input for small inputs.  Return +/- pi/2 for large inputs.
52075         * math/libm-test.inc (atan_test): Add more tests.
52077         * sysdeps/generic/unwind-dw2-fde-glibc.c
52078         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52079         __attribute__ ((unused)).
52081         [BZ #14645]
52082         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52083         x * y if x and y are nonzero and z is zero.
52085         [BZ #14811]
52086         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52087         nonzero exponents with absolute value below 0x1p-117 to +/-
52088         0x1p-117.
52090         [BZ #14869]
52091         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52092         up arguments below 2**-450, not just those below 2**-500.
52093         * math/libm-test.inc (hypot_test): Add another test.
52095         [BZ #14868]
52096         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52097         Return a+b for ratio over 2**120, not 2**60.
52098         * math/libm-test.inc (hypot_test): Add another test.
52100         * math/libm-test.inc (clog_test): Use
52101         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52102         (clog10_test): Likewise.
52104         [BZ #6778]
52105         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52107 2012-11-22  Andreas Schwab  <schwab@suse.de>
52109         * sysdeps/i386/fpu/libm-test-ulps: Update.
52111 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52113         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52114         printf output with newline.
52116 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52118         [BZ #14865]
52119         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52120         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52121         -z nodlopen, -z initfirst and -z execstack support.
52122         * configure: Regenerated.
52124         * elf/elf.h (DF_1_NODIRECT): New macro.
52125         (DF_1_IGNMULDEF): Likewise.
52126         (DF_1_NOKSYMS): Likewise.
52127         (DF_1_NOHDR): Likewise.
52128         (DF_1_EDITED): Likewise.
52129         (DF_1_NORELOC): Likewise.
52130         (DF_1_SYMINTPOSE): Likewise.
52131         (DF_1_GLOBAUDIT): Likewise.
52132         (DF_1_SINGLETON): Likewise.
52133         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52134         DT_1_SUPPORTED_MASK bits.
52135         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52137 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52139         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52141 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52143         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52144         macro.
52146         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52147         (sendmmsg): Move declarations...
52148         * socket/sys/socket.h: ... here.
52149         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52150         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52151         include it from...
52152         * socket/recvmmsg.c: ... this new file.
52153         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52154         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52155         definition of __sendmmsg hidden.
52156         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52157         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52158         Move ENOSYS stub into and include it from...
52159         * socket/sendmmsg.c: ... this new file.
52160         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52161         (sysdep_routines): Move recvmmsg and sendmmsg...
52162         * socket/Makefile (routines): ... here.
52163         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52164         (GLIBC_PRIVATE): Add __sendmmsg.
52165         * include/sys/socket.h (__sendmmsg): Add declarations.
52166         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52167         sendmmsg.
52169 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52171         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52172         variable I1 with __attribute__ ((unused)).
52173         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52175 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52177         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52178         DUMMY variables with __attribute__ ((unused)).
52180         * bits/byteswap.h: Include <bits/types.h>.
52181         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52183 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52185         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52186         string_t.  Do not manually set errno.
52187         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52188         length with __strnlen.  Make sure to both set errno and return it on
52189         failure.
52191 2012-11-19  David S. Miller  <davem@davemloft.net>
52193         With help from Joseph Myers.
52194         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52195         very large arguments properly.
52196         * math/libm-test.inc (atan_test): New tests.
52197         (atan2_test): New tests.
52198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52199         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52201 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52203         [BZ #14856]
52204         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52205         Define to 3.
52207         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52208         [POSIX] (EADDRNOTAVAIL): Likewise.
52209         [POSIX] (EAFNOSUPPORT): Likewise.
52210         [POSIX] (EALREADY): Likewise.
52211         [POSIX] (ECONNABORTED): Likewise.
52212         [POSIX] (ECONNREFUSED): Likewise.
52213         [POSIX] (ECONNRESET): Likewise.
52214         [POSIX] (EDESTADDRREQ): Likewise.
52215         [POSIX] (EDQUOT): Likewise.
52216         [POSIX] (EHOSTUNREACH): Likewise.
52217         [POSIX] (EIDRM): Likewise.
52218         [POSIX] (EISCONN): Likewise.
52219         [POSIX] (ELOOP): Likewise.
52220         [POSIX] (EMULTIHOP): Likewise.
52221         [POSIX] (ENETDOWN): Likewise.
52222         [POSIX] (ENETUNREACH): Likewise.
52223         [POSIX] (ENOBUFS): Likewise.
52224         [POSIX] (ENODATA): Likewise.
52225         [POSIX] (ENOLINK): Likewise.
52226         [POSIX] (ENOMSG): Likewise.
52227         [POSIX] (ENOPROTOOPT): Likewise.
52228         [POSIX] (ENOSR): Likewise.
52229         [POSIX] (ENOSTR): Likewise.
52230         [POSIX] (ENOTCONN): Likewise.
52231         [POSIX] (ENOTSOCK): Likewise.
52232         [POSIX] (EOPNOTSUPP): Likewise.
52233         [POSIX] (EOVERFLOW): Likewise.
52234         [POSIX] (EPROTO): Likewise.
52235         [POSIX] (EPROTONOSUPPORT): Likewise.
52236         [POSIX] (EPROTOTYPE): Likewise.
52237         [POSIX] (ESTALE): Likewise.
52238         [POSIX] (ETIME): Likewise.
52239         [POSIX] (ETXTBSY): Likewise.
52240         [POSIX] (EWOULDBLOCK): Likewise.
52241         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52242         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52243         [POSIX] (SEEK_CUR): Likewise.
52244         [POSIX] (SEEK_END): Likewise.
52245         [POSIX || UNIX98] (mode_t): Do not require.
52246         [POSIX] (off_t): Likewise.
52247         [POSIX] (pid_t): Likewise.
52248         [POSIX] (sys/stat.h): Do not allow header.
52249         [POSIX] (unistd.h): Likewise.
52250         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52251         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52252         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52253         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52254         require.
52255         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52256         sigevent): Specify elements.
52257         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52258         entry.
52259         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52260         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52262         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52263         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52264         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52265         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52266         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52267         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52268         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52269         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52270         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52271         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52272         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52273         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52274         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52275         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52276         Likewise.
52277         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52278         Likewise.
52279         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52280         Likewise.
52281         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52282         Likewise.
52283         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52284         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52285         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52286         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52287         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52288         Specify lower bound on value.
52289         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52290         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52291         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52292         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52293         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52294         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52295         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52296         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52297         value.
52298         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52299         as optional.
52300         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52301         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52302         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52303         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52304         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52305         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52306         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52307         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52308         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52309         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52310         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52311         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52312         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52313         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52314         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52315         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52316         entry.
52317         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52318         optional.
52319         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52320         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52321         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52322         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52323         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52324         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52325         Likewise.
52326         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52327         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52328         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52329         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52330         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52331         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52332         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52333         as optional.
52334         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52335         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52336         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52337         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52338         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52339         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52340         specify as optional.
52341         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52342         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52343         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52344         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52345         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52346         [XPG3] (NL_LANGMAX): Likewise.
52347         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52348         [POSIX || XPG3] (NL_NMAX): Likewise.
52349         [POSIX || XPG3] (NL_SETMAX): Likewise.
52350         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52351         [XPG3] (NZERO): Likewise.
52352         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52353         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52354         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52355         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52356         (REG_ERANGE): Expect.
52357         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52358         optional-constant.
52359         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52360         Use (void) in prototype.
52361         [POSIX] (*_t): Allow.
52362         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52363         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52364         (WRDE_BADVAL): Expect.
52366         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52367         expect.
52368         [XPG3 || XPG4] (O_RSYNC): Likewise.
52369         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52370         Likewise.
52371         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52372         [XPG3 || XPG4] (sigqueue): Likewise.
52373         [XPG3 || XPG4] (sigtimedwait): Likewise.
52374         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52375         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52376         [XPG3 || XPG4] (vsnprintf): Likewise.
52377         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52378         Likewise.
52379         [XPG3 || XPG4] (blksize_t): Likewise.
52380         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52381         Likewise.
52382         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52383         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52384         [XPG3 || XPG4] (struct itimerspec): Likewise.
52385         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52386         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52387         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52388         [XPG3 || XPG4] (clockid_t): Likewise.
52389         [XPG3 || XPG4] (timer_t): Likewise.
52390         [XPG3 || XPG4] (clock_getres): Likewise.
52391         [XPG3 || XPG4] (clock_gettime): Likewise.
52392         [XPG3 || XPG4] (clock_settime): Likewise.
52393         [XPG3 || XPG4] (nanosleep): Likewise.
52394         [XPG3 || XPG4] (timer_create): Likewise.
52395         [XPG3 || XPG4] (timer_delete): Likewise.
52396         [XPG3 || XPG4] (timer_gettime): Likewise.
52397         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52398         [XPG3 || XPG4] (timer_settime): Likewise.
52399         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52400         [XPG3 || XPG4] (getlogin_r): Likewise.
52401         [XPG3 || XPG4] (pread): Likewise.
52402         [XPG3 || XPG4] (pthread_atfork): Likewise.
52403         [XPG3 || XPG4] (pwrite): Likewise.
52405         [BZ #14835]
52406         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52407         <bits/siginfo.h>.
52409 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52411         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52412         finalizing MALLSTREAM.
52414         * sysdeps/mach/hurd/syncfs.c: New file.
52416 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52418         [BZ #14719]
52419         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52420         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52421         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52422         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52423         (_nss_dns_gethostbyname4_r): Likewise.
52424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52425         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52427 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52429         [BZ #13763]
52430         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52432 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52434         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52435         * elf/cache.c (print_entry): Print ",AArch64" for
52436         FLAG_AARCH64_LIB64
52438         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52439         * elf/cache.c (print_entry): Print ",hard-float" for
52440         FLAG_ARM_LIBHF.
52442 2012-11-18  David S. Miller  <davem@davemloft.net>
52444         With help from Joseph Myers.
52445         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52446         cutoff to 2**-13.
52447         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52448         cutoff to 2**-25.
52449         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52450         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52451         small.
52452         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52453         * math/libm-test.inc (y0_test): New tests.
52454         (y1_test): New tests.
52455         * sysdeps/i386/fpu/libm-test-ulps: Update.
52456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52459 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52461         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52462         64-bit targets.
52463         * configure: Regenerated.
52465 2012-11-17  David S. Miller  <davem@davemloft.net>
52467         [BZ #14811]
52468         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52469         nonzero exponents with absolute value below 0x1p-128 to +/-
52470         0x1p-128.
52472 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52474         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52476         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52478         * posix/getconf-speclist.c: New file.
52479         * posix/posix-envs.def: Likewise.
52480         * posix/confstr.c (START_ENV_GROUP): New macro.
52481         (END_ENV_GROUP): Likewise.
52482         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52483         (KNOWN_PRESENT_ENV_STRING): Likewise.
52484         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52485         (UNKNOWN_ENVIRONMENT): Likewise.
52486         (confstr): Include posix-envs.def instead of handling
52487         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52488         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52489         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52490         (END_ENV_GROUP): Likewise.
52491         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52492         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52493         (UNKNOWN_ENVIRONMENT): Likewise.
52494         (__sysconf): Include posix-envs.def instead of handling associated
52495         cases directly here.
52496         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52497         preprocessing getconf-speclist.c rather than running getconf or
52498         generating empty file.
52500 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52502         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52504 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52506         [BZ #14672]
52507         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52509 2012-11-16  David S. Miller  <davem@davemloft.net>
52511         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52512         smaller than LDBL_EPSILON/2.0L, just return xm1.
52514 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52516         * elf/tst-array1.c (init): Set constructor priority to 1000.
52517         (fini): Set destructor priority to 1000.
52518         * elf/tst-array2dep.c: Likewise.
52520 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52522         [BZ #11741]
52523         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52524         (_IO_new_file_xsputn): Also return EOF if none of the input
52525         data was written when overflow failed.
52526         * libio/iopadn.c (_IO_padn): Likewise.
52527         * libio/iowpadn.c (_IO_wpadn): Likewise.
52528         * stdio-common/tst-put-error.c: Add copyright notice.
52529         (do_test): Add case for printing padded string.
52530         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52531         _IO_padn returned error.
52532         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52533         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52534         return EOF.
52536 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52538         * libio/libioP.h: Add comment note that the references to C++
52539         bits are now obsolete.
52541 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52543         * math/libm-test.inc (check_complex): Use asprintf.
52545 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52547         * debug/pcprofiledump.c (print_version): Update copyright year.
52548         * malloc/memusagestat.c (print_version): Likewise.
52550 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52552         [BZ #14831]
52553         * elf/Makefile (tests): Add tst-audit8.
52554         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52555         ($(objpfx)tst-audit8.out): New target.
52556         (tst-audit8-ENV): New variable.
52557         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52558         audit if l_reloc_result is NULL.
52559         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52560         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52561         * elf/tst-audit8.c: New file.
52563 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52565         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52566         * misc/Makefile (CFLAGS-select.c): Define.
52567         * posix/Makefile (CFLAGS-pause.c): Define.
52569 2012-11-13  David S. Miller  <davem@davemloft.net>
52571         * crypt/Makefile: Move test targets after toplevel Rules
52572         inclusion.  Grab any necessary sysdep routines when linking.
52573         * crypt/md5.c (md5_process_block): Remove define, we will always
52574         name it __md5_process_block.
52575         (md5_finish_ctx): Update md5_process_block call.
52576         (md5_stream): Likewise.
52577         (md5_process_bytes): Likewise.
52578         (md5_process_block): Rename to __md5_process_block and move to ...
52579         * crypt/md5-block.c: ... here.
52580         * crypt/sha256.c (sha256_process_block): Move to ...
52581         * crypt/sha256-block.c: ... here.
52582         * crypt/sha512.c (sha512_process_block): Move to ...
52583         * crypt/sha512-block.c: ... here.
52584         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52585         path.
52586         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52587         * sysdeps/sparc/sparc64/multiarch/Makefile
52588         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52589         crypt subdir.
52590         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52591         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52592         multiarch changes.
52593         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52594         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52595         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52596         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52597         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52598         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52599         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52600         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52601         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52602         file.
52603         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52604         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52605         file.
52606         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52608 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52610         * timezone/tzselect.ksh: Update from tzcode git revision
52611         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52612         * timezone/zdump.c: Likewise.
52613         * timezone/zic.c: Likewise.
52614         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52615         in TZVERSION setting, not $(PKGVERSION).
52616         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52617         REPORT_BUGS_TO settings.
52619         [BZ #14838]
52620         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52621         macro.
52623 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52625         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52626         detection to immediately after _FP_ROUND().
52627         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52628         bits are 0.
52630 2012-11-11  David S. Miller  <davem@davemloft.net>
52632         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52633         inttypes.h
52634         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52635         __close rather than their public counterparts.
52637 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52639         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52640         file.
52641         [UNIX98] (sem_timedwait): Do not expect.
52642         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52643         [XPG4 || UNIX98] (sockatmark): Do not expect.
52644         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52645         (clock_getcpuclockid): Do not expect.
52646         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52647         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52648         Do not expect.
52649         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52650         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52651         [UNIX98] (vwscanf): Likewise.
52652         [UNIX98] (vswscanf): Likewise.
52654 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52656         * timezone/version.h: Remove file.
52657         * timezone/README: Do not refer to version.h.
52658         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52659         $(objpfx)version.h.
52660         ($(objpfx)zdump.o): Likewise.
52661         ($(objpfx)version.h): New target.
52663         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52664         2012i.
52665         * timezone/README: Don't mention modification to tzselect.ksh.
52666         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52667         work on unmodified tzselect.ksh.  Substitute version numbers in
52668         tzselect.ksh.
52670         * Makefile (format-me): Remove.
52671         (INSTALL): Adjust indentation.  Use commands directly instead of
52672         using $(format-me).
52674         * aclocal.m4 (ACX_PKGVERSION): New macro.
52675         (ACX_BUGURL): Likewise.
52676         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52677         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52678         (REPORT_BUGS_TO): Likewise.
52679         * configure: Regenerated.
52680         * config.h.in (PKGVERSION): New macro.
52681         (REPORT_BUGS_TO): Likewise.
52682         * config.make.in (PKGVERSION): New variable.
52683         (PKGVERSION_TEXI): Likewise.
52684         (REPORT_BUGS_TO): Likewise.
52685         (REPORT_BUGS_TEXI): Likewise.
52686         * Makefile (format-me): Use -I$(common-objpfx)manual.
52687         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52688         ($(common-objpfx)manual/%): New target.
52689         (manual/%): Remove target.
52690         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52691         (print_version): Use PKGVERSION.
52692         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52693         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52694         and REPORT_BUGS_TO.
52695         ($(objpfx)xtrace): Likewise.
52696         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52697         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52698         (print_version): Use PKGVERSION.
52699         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52700         (do_version): Use PKGVERSION.
52701         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52702         REPORT_BUGS_TO.
52703         (common-ldd-rewrite): Likewise.
52704         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52705         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52706         (print_version): Use PKGVERSION.
52707         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52708         * elf/pldd.c (argp_program_bug_address): Remove variable.
52709         (more_help): New function.
52710         (argp): Use more_help.
52711         (print_version): Use PKGVERSION.
52712         * elf/sln.c (main): Use PKGVERSION.
52713         (usage): Use REPORT_BUGS_TO.
52714         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52715         (top level): Use PKGVERSION.
52716         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52717         (print_version): Use PKGVERSION.
52718         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52719         (print_version): Use PKGVERSION.
52720         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52721         (print_version): Use PKGVERSION.
52722         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52723         (print_version): Use PKGVERSION.
52724         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52725         (print_version): Use PKGVERSION.
52726         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52727         (print_version): Use PKGVERSION.
52728         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52729         and BUGURL.
52730         ($(objpfx)memusage): Likewise.
52731         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52732         (do_version): Use PKGVERSION.
52733         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52734         (print_version): Use PKGVERSION.
52735         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52736         ($PKGVERSION): New variable.
52737         ($REPORT_BUGS_TO): Likewise.
52738         (usage): Use $REPORT_BUGS_TO.
52739         (top level): Use $PKGVERSION.
52740         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52741         ($(objpfx)pkgvers.texi): New rule.
52742         ($(objpfx)stamp-pkgvers): Likewise.
52743         * manual/install.texi: Include pkgvers.texi.
52744         (--with-pkgversion): Document new configure option.
52745         (--with-bugurl): Likewise.
52746         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52747         than necessarily for this particular distribution.  Use
52748         REPORT_BUGS_TO for where to report bugs.
52749         * INSTALL: Regenerated.
52750         * manual/libc.texinfo: Include pkgvers.texi.
52751         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52752         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52753         (print_version): Use PKGVERSION.
52754         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52755         (print_version): Use PKGVERSION.
52756         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52757         (print_version): Use PKGVERSION.
52758         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52759         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52760         macro.
52761         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52762         (print_version): Use PKGVERSION.
52763         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52764         (print_version): Use PKGVERSION.
52765         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52766         and PKGVERSION.
52768         * timezone/checktab.awk: Update from tzcode 2012i.
52769         * timezone/ialloc.c: Likewise.
52770         * timezone/private.h: Likewise.
52771         * timezone/scheck.c: Likewise.
52772         * timezone/tzfile.h: Likewise.
52773         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52774         (TZVERSION): Hardcode tzcode version number.
52775         * timezone/zdump.c: Update from tzcode 2012i.
52776         * timezone/zic.c: Likewise.
52777         * timezone/version.h: New file.
52778         * timezone/README: Describe version.h.  Update upstream location.
52780         [BZ #14824]
52781         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52782         (mktemp): Enable declaration.
52783         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52784         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52785         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52786         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52787         Likewise.
52788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52789         Likewise.
52790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52791         Likewise.
52792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52793         Likewise.
52794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52795         Likewise.
52796         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52797         Likewise.
52799         [BZ #14821]
52800         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52801         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52802         for copies of such integer values.
52803         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52804         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52806 2012-11-09  Andreas Jaeger  <aj@suse.de>
52808         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52809         definitions and declarations that are provided by
52810         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52812 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52815         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52816         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52817         definition.
52819 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52821         * elf/elf.h: Update comment before AArch64 relocations.
52823 2012-11-07  David S. Miller  <davem@davemloft.net>
52825         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52826         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52827         (__start_context): Declare.
52828         (__makecontext_ret): Delete.
52829         (__makecontext): Hook up __start_context instead of
52830         __makecontext_ret.
52831         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52832         (sysdep_routines): Add __start_context when in stdlib.
52834 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52836         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
52837         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
52838         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
52839         hardcoded "nm".
52840         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
52841         (READELF): New variable.  Use it instead of hardcoded "readelf".
52843 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52845         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
52846         * sysdeps/x86/Makefile: Here.
52847         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
52848         * sysdeps/x86/tst-xmmymm.sh: This.
52850 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
52852         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
52853         expectations.
52854         [UNIX98] (pthread_barrier_t): Do not expect.
52855         [UNIX98] (pthread_barrierattr_t): Likewise.
52856         [UNIX98] (pthread_spinlock_t): Likewise.
52857         [UNIX98] (pthread_barrier_destroy): Likewise.
52858         [UNIX98] (pthread_barrier_init): Likewise.
52859         [UNIX98] (pthread_barrier_wait): Likewise.
52860         [UNIX98] (pthread_barrierattr_destroy): Likewise.
52861         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
52862         [UNIX98] (pthread_barrierattr_init): Likewise.
52863         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
52864         [UNIX98] (pthread_getcpuclockid): Likewise.
52865         [UNIX98] (pthread_mutex_timedlock): Likewise.
52866         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
52867         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
52868         [UNIX98] (pthread_sigmask): Likewise.
52869         [UNIX98] (pthread_spin_destroy): Likewise.
52870         [UNIX98] (pthread_spin_init): Likewise.
52871         [UNIX98] (pthread_spin_lock): Likewise.
52872         [UNIX98] (pthread_spin_trylock): Likewise.
52873         [UNIX98] (pthread_spin_unlock): Likewise.
52874         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
52875         Do not expect.
52876         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
52877         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
52878         [XPG3 || XPG4] (pthread_cond_t): Likewise.
52879         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
52880         [XPG3 || XPG4] (pthread_key_t): Likewise.
52881         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
52882         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
52883         [XPG3 || XPG4] (pthread_once_t): Likewise.
52884         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
52885         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
52886         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
52887         [XPG3 || XPG4] (pthread_t): Likewise.
52889         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
52890         not expect.
52891         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
52893         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
52894         Change function return type to int.
52896         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
52897         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
52898         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
52899         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
52900         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
52901         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
52902         [!POSIX] (posix_madvise): Likewise.
52903         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
52904         && !UNIX98].
52905         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
52906         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
52907         (mode_t): Likewise.
52908         (posix_mem_offset): Likewise.
52909         (posix_typed_mem_get_info): Likewise.
52910         (posix_typed_mem_open): Likewise.
52912         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
52913         Change condition to [XOPEN2K8].
52915         * conform/conformtest.pl: Preprocess allow-header data with -x c
52916         instead of from stdin.
52917         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
52918         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
52919         [C99-based standards] (cerfc): Likewise.
52920         [C99-based standards] (cexp2): Likewise.
52921         [C99-based standards] (cexpm1): Likewise.
52922         [C99-based standards] (clog10): Likewise.
52923         [C99-based standards] (clog1p): Likewise.
52924         [C99-based standards] (clog2): Likewise.
52925         [C99-based standards] (clgamma): Likewise.
52926         [C99-based standards] (ctgamma): Likewise.
52927         [C99-based standards] (cerff): Likewise.
52928         [C99-based standards] (cerfcf): Likewise.
52929         [C99-based standards] (cexp2f): Likewise.
52930         [C99-based standards] (cexpm1f): Likewise.
52931         [C99-based standards] (clog10f): Likewise.
52932         [C99-based standards] (clog1pf): Likewise.
52933         [C99-based standards] (clog2f): Likewise.
52934         [C99-based standards] (clgammaf): Likewise.
52935         [C99-based standards] (ctgammaf): Likewise.
52936         [C99-based standards] (cerfl): Likewise.
52937         [C99-based standards] (cerfcl): Likewise.
52938         [C99-based standards] (cexp2l): Likewise.
52939         [C99-based standards] (cexpm1l): Likewise.
52940         [C99-based standards] (clog10l): Likewise.
52941         [C99-based standards] (clog1pl): Likewise.
52942         [C99-based standards] (clog2l): Likewise.
52943         [C99-based standards] (clgammal): Likewise.
52944         [C99-based standards] (ctgammal): Likewise.
52945         * conform/data/inttypes.h-data [C99-based standards]: Include
52946         stdint.h-data.  Remove all expectations for stdint.h contents.
52947         [C99-based standards] (PRI*): Do not allow.
52948         [C99-based standards] (SCN*): Likewise.
52949         [C99-based standards] (*_t): Likewise.
52950         [C99-based-standards] (PRId8): Expect macro.
52951         [C99-based-standards] (PRIi8): Likewise.
52952         [C99-based-standards] (PRIo8): Likewise.
52953         [C99-based-standards] (PRIu8): Likewise.
52954         [C99-based-standards] (PRIx8): Likewise.
52955         [C99-based-standards] (PRIX8): Likewise.
52956         [C99-based-standards] (SCNd8): Likewise.
52957         [C99-based-standards] (SCNi8): Likewise.
52958         [C99-based-standards] (SCNo8): Likewise.
52959         [C99-based-standards] (SCNu8): Likewise.
52960         [C99-based-standards] (SCNx8): Likewise.
52961         [C99-based-standards] (PRIdLEAST8): Likewise.
52962         [C99-based-standards] (PRIiLEAST8): Likewise.
52963         [C99-based-standards] (PRIoLEAST8): Likewise.
52964         [C99-based-standards] (PRIuLEAST8): Likewise.
52965         [C99-based-standards] (PRIxLEAST8): Likewise.
52966         [C99-based-standards] (PRIXLEAST8): Likewise.
52967         [C99-based-standards] (SCNdLEAST8): Likewise.
52968         [C99-based-standards] (SCNiLEAST8): Likewise.
52969         [C99-based-standards] (SCNoLEAST8): Likewise.
52970         [C99-based-standards] (SCNuLEAST8): Likewise.
52971         [C99-based-standards] (SCNxLEAST8): Likewise.
52972         [C99-based-standards] (PRIdFAST8): Likewise.
52973         [C99-based-standards] (PRIiFAST8): Likewise.
52974         [C99-based-standards] (PRIoFAST8): Likewise.
52975         [C99-based-standards] (PRIuFAST8): Likewise.
52976         [C99-based-standards] (PRIxFAST8): Likewise.
52977         [C99-based-standards] (PRIXFAST8): Likewise.
52978         [C99-based-standards] (SCNdFAST8): Likewise.
52979         [C99-based-standards] (SCNiFAST8): Likewise.
52980         [C99-based-standards] (SCNoFAST8): Likewise.
52981         [C99-based-standards] (SCNuFAST8): Likewise.
52982         [C99-based-standards] (SCNxFAST8): Likewise.
52983         [C99-based-standards] (PRId16): Likewise.
52984         [C99-based-standards] (PRIi16): Likewise.
52985         [C99-based-standards] (PRIo16): Likewise.
52986         [C99-based-standards] (PRIu16): Likewise.
52987         [C99-based-standards] (PRIx16): Likewise.
52988         [C99-based-standards] (PRIX16): Likewise.
52989         [C99-based-standards] (SCNd16): Likewise.
52990         [C99-based-standards] (SCNi16): Likewise.
52991         [C99-based-standards] (SCNo16): Likewise.
52992         [C99-based-standards] (SCNu16): Likewise.
52993         [C99-based-standards] (SCNx16): Likewise.
52994         [C99-based-standards] (PRIdLEAST16): Likewise.
52995         [C99-based-standards] (PRIiLEAST16): Likewise.
52996         [C99-based-standards] (PRIoLEAST16): Likewise.
52997         [C99-based-standards] (PRIuLEAST16): Likewise.
52998         [C99-based-standards] (PRIxLEAST16): Likewise.
52999         [C99-based-standards] (PRIXLEAST16): Likewise.
53000         [C99-based-standards] (SCNdLEAST16): Likewise.
53001         [C99-based-standards] (SCNiLEAST16): Likewise.
53002         [C99-based-standards] (SCNoLEAST16): Likewise.
53003         [C99-based-standards] (SCNuLEAST16): Likewise.
53004         [C99-based-standards] (SCNxLEAST16): Likewise.
53005         [C99-based-standards] (PRIdFAST16): Likewise.
53006         [C99-based-standards] (PRIiFAST16): Likewise.
53007         [C99-based-standards] (PRIoFAST16): Likewise.
53008         [C99-based-standards] (PRIuFAST16): Likewise.
53009         [C99-based-standards] (PRIxFAST16): Likewise.
53010         [C99-based-standards] (PRIXFAST16): Likewise.
53011         [C99-based-standards] (SCNdFAST16): Likewise.
53012         [C99-based-standards] (SCNiFAST16): Likewise.
53013         [C99-based-standards] (SCNoFAST16): Likewise.
53014         [C99-based-standards] (SCNuFAST16): Likewise.
53015         [C99-based-standards] (SCNxFAST16): Likewise.
53016         [C99-based-standards] (PRId32): Likewise.
53017         [C99-based-standards] (PRIi32): Likewise.
53018         [C99-based-standards] (PRIo32): Likewise.
53019         [C99-based-standards] (PRIu32): Likewise.
53020         [C99-based-standards] (PRIx32): Likewise.
53021         [C99-based-standards] (PRIX32): Likewise.
53022         [C99-based-standards] (SCNd32): Likewise.
53023         [C99-based-standards] (SCNi32): Likewise.
53024         [C99-based-standards] (SCNo32): Likewise.
53025         [C99-based-standards] (SCNu32): Likewise.
53026         [C99-based-standards] (SCNx32): Likewise.
53027         [C99-based-standards] (PRIdLEAST32): Likewise.
53028         [C99-based-standards] (PRIiLEAST32): Likewise.
53029         [C99-based-standards] (PRIoLEAST32): Likewise.
53030         [C99-based-standards] (PRIuLEAST32): Likewise.
53031         [C99-based-standards] (PRIxLEAST32): Likewise.
53032         [C99-based-standards] (PRIXLEAST32): Likewise.
53033         [C99-based-standards] (SCNdLEAST32): Likewise.
53034         [C99-based-standards] (SCNiLEAST32): Likewise.
53035         [C99-based-standards] (SCNoLEAST32): Likewise.
53036         [C99-based-standards] (SCNuLEAST32): Likewise.
53037         [C99-based-standards] (SCNxLEAST32): Likewise.
53038         [C99-based-standards] (PRIdFAST32): Likewise.
53039         [C99-based-standards] (PRIiFAST32): Likewise.
53040         [C99-based-standards] (PRIoFAST32): Likewise.
53041         [C99-based-standards] (PRIuFAST32): Likewise.
53042         [C99-based-standards] (PRIxFAST32): Likewise.
53043         [C99-based-standards] (PRIXFAST32): Likewise.
53044         [C99-based-standards] (SCNdFAST32): Likewise.
53045         [C99-based-standards] (SCNiFAST32): Likewise.
53046         [C99-based-standards] (SCNoFAST32): Likewise.
53047         [C99-based-standards] (SCNuFAST32): Likewise.
53048         [C99-based-standards] (SCNxFAST32): Likewise.
53049         [C99-based-standards] (PRId64): Likewise.
53050         [C99-based-standards] (PRIi64): Likewise.
53051         [C99-based-standards] (PRIo64): Likewise.
53052         [C99-based-standards] (PRIu64): Likewise.
53053         [C99-based-standards] (PRIx64): Likewise.
53054         [C99-based-standards] (PRIX64): Likewise.
53055         [C99-based-standards] (SCNd64): Likewise.
53056         [C99-based-standards] (SCNi64): Likewise.
53057         [C99-based-standards] (SCNo64): Likewise.
53058         [C99-based-standards] (SCNu64): Likewise.
53059         [C99-based-standards] (SCNx64): Likewise.
53060         [C99-based-standards] (PRIdLEAST64): Likewise.
53061         [C99-based-standards] (PRIiLEAST64): Likewise.
53062         [C99-based-standards] (PRIoLEAST64): Likewise.
53063         [C99-based-standards] (PRIuLEAST64): Likewise.
53064         [C99-based-standards] (PRIxLEAST64): Likewise.
53065         [C99-based-standards] (PRIXLEAST64): Likewise.
53066         [C99-based-standards] (SCNdLEAST64): Likewise.
53067         [C99-based-standards] (SCNiLEAST64): Likewise.
53068         [C99-based-standards] (SCNoLEAST64): Likewise.
53069         [C99-based-standards] (SCNuLEAST64): Likewise.
53070         [C99-based-standards] (SCNxLEAST64): Likewise.
53071         [C99-based-standards] (PRIdFAST64): Likewise.
53072         [C99-based-standards] (PRIiFAST64): Likewise.
53073         [C99-based-standards] (PRIoFAST64): Likewise.
53074         [C99-based-standards] (PRIuFAST64): Likewise.
53075         [C99-based-standards] (PRIxFAST64): Likewise.
53076         [C99-based-standards] (PRIXFAST64): Likewise.
53077         [C99-based-standards] (SCNdFAST64): Likewise.
53078         [C99-based-standards] (SCNiFAST64): Likewise.
53079         [C99-based-standards] (SCNoFAST64): Likewise.
53080         [C99-based-standards] (SCNuFAST64): Likewise.
53081         [C99-based-standards] (SCNxFAST64): Likewise.
53082         [C99-based-standards] (PRIdMAX): Likewise.
53083         [C99-based-standards] (PRIiMAX): Likewise.
53084         [C99-based-standards] (PRIoMAX): Likewise.
53085         [C99-based-standards] (PRIuMAX): Likewise.
53086         [C99-based-standards] (PRIxMAX): Likewise.
53087         [C99-based-standards] (PRIXMAX): Likewise.
53088         [C99-based-standards] (SCNdMAX): Likewise.
53089         [C99-based-standards] (SCNiMAX): Likewise.
53090         [C99-based-standards] (SCNoMAX): Likewise.
53091         [C99-based-standards] (SCNuMAX): Likewise.
53092         [C99-based-standards] (SCNxMAX): Likewise.
53093         [C99-based-standards] (PRIdPTR): Likewise.
53094         [C99-based-standards] (PRIiPTR): Likewise.
53095         [C99-based-standards] (PRIoPTR): Likewise.
53096         [C99-based-standards] (PRIuPTR): Likewise.
53097         [C99-based-standards] (PRIxPTR): Likewise.
53098         [C99-based-standards] (PRIXPTR): Likewise.
53099         [C99-based-standards] (SCNdPTR): Likewise.
53100         [C99-based-standards] (SCNiPTR): Likewise.
53101         [C99-based-standards] (SCNoPTR): Likewise.
53102         [C99-based-standards] (SCNuPTR): Likewise.
53103         [C99-based-standards] (SCNxPTR): Likewise.
53104         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53105         allow.
53106         * conform/data/stdint.h-data: Update comments to clarify
53107         requirements.
53108         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53109         type.
53110         [C99-based standards] (INT8_MAX): Likewise.
53111         [C99-based standards] (INT16_MIN): Likewise.
53112         [C99-based standards] (INT16_MAX): Likewise.
53113         [C99-based standards] (INT32_MIN): Likewise.
53114         [C99-based standards] (INT32_MAX): Likewise.
53115         [C99-based standards] (INT64_MIN): Likewise.
53116         [C99-based standards] (INT64_MAX): Likewise.
53117         [C99-based standards] (UINT8_MAX): Likewise.
53118         [C99-based standards] (UINT16_MAX): Likewise.
53119         [C99-based standards] (UINT32_MAX): Likewise.
53120         [C99-based standards] (UINT64_MAX): Likewise.
53121         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53122         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53123         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53124         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53125         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53126         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53127         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53128         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53129         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53130         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53131         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53132         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53133         [C99-based standards] (INT_FAST8_MIN): Likewise.
53134         [C99-based standards] (INT_FAST8_MAX): Likewise.
53135         [C99-based standards] (INT_FAST16_MIN): Likewise.
53136         [C99-based standards] (INT_FAST16_MAX): Likewise.
53137         [C99-based standards] (INT_FAST32_MIN): Likewise.
53138         [C99-based standards] (INT_FAST32_MAX): Likewise.
53139         [C99-based standards] (INT_FAST64_MIN): Likewise.
53140         [C99-based standards] (INT_FAST64_MAX): Likewise.
53141         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53142         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53143         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53144         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53145         [C99-based standards] (INTPTR_MIN): Likewise.
53146         [C99-based standards] (INTPTR_MAX): Likewise.
53147         [C99-based standards] (UINTPTR_MAX): Likewise.
53148         [C99-based standards] (INTMAX_MIN): Likewise.
53149         [C99-based standards] (INTMAX_MAX): Likewise.
53150         [C99-based standards] (UINTMAX_MAX): Likewise.
53151         [C99-based standards] (PTRDIFF_MIN): Likewise.
53152         [C99-based standards] (PTRDIFF_MAX): Likewise.
53153         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53154         [C99-based standards] (SIZE_MAX): Likewise.
53155         [C99-based standards] (WCHAR_MAX): Likewise.
53156         [C99-based standards] (WINT_MAX): Likewise.
53157         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53158         constraint on value.
53159         [C99-based standards] (WCHAR_MIN): Likewise.
53160         [C99-based standards] (WINT_MIN): Likewise.
53161         [C99-based standards] (*_t): Allow.
53162         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53163         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53164         Include math.h-data and complex.h-data.  Remove all expectations
53165         of math.h and complex.h contents.
53166         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53167         at end of line.
53168         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53169         (struct tm): Expect tag.
53170         [C99-based-standards] (wcstof): Expect function.
53171         [C99-based-standards] (wcstold): Likewise.
53172         [C99-based-standards] (wcstoll): Likewise.
53173         [C99-based-standards] (wcstoull): Likewise.
53174         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53175         macro-int-constant.  Specify type.
53176         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53177         constraint on value.
53178         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53179         Specify type.
53180         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53181         Specify value.
53182         [ISO C standards]: Do not allow headers.
53183         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53184         wcs[abcdefghijklmnopqrstuvwxyz]*.
53185         [ISO C standards] (*_t): Do not allow.
53186         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53187         Expect function.
53188         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53189         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53190         Specify type.
53191         [ISO C standards]: Do not allow headers.
53192         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53193         is[abcdefghijklmnopqrstuvwxyz]*.
53194         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53195         to[abcdefghijklmnopqrstuvwxyz]*.
53196         [ISO C standards] (*_t): Do not allow.
53197         * conform/data/stdalign.h-data: New file.
53198         * conform/data/stdbool.h-data: Likewise.
53199         * conform/data/stdnoreturn.h-data: Likewise.
53201 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53203         [BZ #14815]
53204         * manual/filesys.texi (Directory Entries): Typo fix.
53205         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53207 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53209         * elf/elf.h (EM_AARCH64): New macro.
53210         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53211         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53212         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53213         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53214         (R_AARCH64_TLSDESC): Likewise.
53215         (NT_ARM_TLS): Likewise.
53216         (NT_ARM_HW_BREAK): Likewise.
53217         (NT_ARM_HW_WATCH): Likewise.
53219 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53221         [BZ #14811]
53222         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53223         (__ieee754_powl): Saturate nonzero exponents with absolute value
53224         below 0x1p-79 to +/- 0x1p-79.
53225         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53226         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53227         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53228         nonzero exponents with absolute value below 0x1p-32 to +/-
53229         0x1p-32.
53230         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53231         (__ieee754_powl): Saturate nonzero exponents with absolute value
53232         below 0x1p-79 to +/- 0x1p-79.
53233         * math/libm-test.inc (pow_test): Add more tests.
53235 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53237         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53238         _dl_s390_cap_flags with kernel. Increase string length.
53239         (_dl_s390_platforms): Add z196 and zEC12.
53241 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53243         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53244         Change XOPEN21K to XOPEN2K.
53246 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53248         * string/memmove.c: Use memcpy when possible.
53250 2012-11-06  Andreas Jaeger  <aj@suse.de>
53252         * po/eo.po: Update from translation team.
53254 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53256         [BZ #14793]
53257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53258         exponent and small x and y exponents, scale x or y up.  Increase
53259         by 2 the exponent used in scaling up.
53260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53262         * math/libm-test.inc (fma_test): Add more tests.
53263         (fma_test_towardzero): Likewise.
53264         (fma_test_downward): Likewise.
53265         (fma_test_upward): Likewise.
53267 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53269         [BZ #14805]
53270         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53271         fenv_t *.
53273         [BZ #14801]
53274         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53275         namespace for names of struct fields.
53276         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53277         fenv_t fields.
53278         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53279         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53281 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53283         [BZ #3665]
53284         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53286 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53288         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53289         PTR_DEMANGLE.
53291         [BZ #5246]
53292         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53293         PTR_DEMANGLE.
53295 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53297         [BZ #14797]
53298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53299         definitely overflow as x * y not x * y + z.
53300         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53301         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53302         * math/libm-test.inc (fma_test): Add more tests.
53303         (fma_test_towardzero): Likewise.
53304         (fma_test_downward): Likewise.
53305         (fma_test_upward): Likewise.
53307 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53309         [BZ #157]
53311         * include/stub-tag.h: Remove file.
53312         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53313         '#include' of it.
53314         * manual/maint.texi (Porting): Don't reference it.
53315         * Makerules ($(objpfx)stubs): Likewise.
53316         * dirent/closedir.c: Don't include <stub-tag.h>.
53317         * dirent/dirfd.c: Likewise.
53318         * dirent/fdopendir.c: Likewise.
53319         * dirent/getdents.c: Likewise.
53320         * dirent/getdents64.c: Likewise.
53321         * dirent/opendir.c: Likewise.
53322         * dirent/readdir.c: Likewise.
53323         * dirent/readdir64.c: Likewise.
53324         * dirent/readdir64_r.c: Likewise.
53325         * dirent/readdir_r.c: Likewise.
53326         * dirent/rewinddir.c: Likewise.
53327         * dirent/seekdir.c: Likewise.
53328         * dirent/telldir.c: Likewise.
53329         * gmon/profil.c: Likewise.
53330         * grp/setgroups.c: Likewise.
53331         * inet/if_index.c: Likewise.
53332         * io/access.c: Likewise.
53333         * io/chdir.c: Likewise.
53334         * io/chmod.c: Likewise.
53335         * io/chown.c: Likewise.
53336         * io/close.c: Likewise.
53337         * io/dup.c: Likewise.
53338         * io/dup2.c: Likewise.
53339         * io/dup3.c: Likewise.
53340         * io/euidaccess.c: Likewise.
53341         * io/faccessat.c: Likewise.
53342         * io/fchdir.c: Likewise.
53343         * io/fchmod.c: Likewise.
53344         * io/fchmodat.c: Likewise.
53345         * io/fchown.c: Likewise.
53346         * io/fchownat.c: Likewise.
53347         * io/fcntl.c: Likewise.
53348         * io/flock.c: Likewise.
53349         * io/fstatfs.c: Likewise.
53350         * io/fstatfs64.c: Likewise.
53351         * io/fstatvfs.c: Likewise.
53352         * io/fstatvfs64.c: Likewise.
53353         * io/futimens.c: Likewise.
53354         * io/fxstat.c: Likewise.
53355         * io/fxstat64.c: Likewise.
53356         * io/fxstatat.c: Likewise.
53357         * io/fxstatat64.c: Likewise.
53358         * io/getcwd.c: Likewise.
53359         * io/isatty.c: Likewise.
53360         * io/lchmod.c: Likewise.
53361         * io/lchown.c: Likewise.
53362         * io/link.c: Likewise.
53363         * io/linkat.c: Likewise.
53364         * io/lseek.c: Likewise.
53365         * io/lseek64.c: Likewise.
53366         * io/lxstat64.c: Likewise.
53367         * io/mkdir.c: Likewise.
53368         * io/mkdirat.c: Likewise.
53369         * io/mkfifo.c: Likewise.
53370         * io/mkfifoat.c: Likewise.
53371         * io/open.c: Likewise.
53372         * io/open64.c: Likewise.
53373         * io/openat.c: Likewise.
53374         * io/openat64.c: Likewise.
53375         * io/pipe.c: Likewise.
53376         * io/pipe2.c: Likewise.
53377         * io/poll.c: Likewise.
53378         * io/posix_fadvise.c: Likewise.
53379         * io/posix_fadvise64.c: Likewise.
53380         * io/posix_fallocate.c: Likewise.
53381         * io/posix_fallocate64.c: Likewise.
53382         * io/read.c: Likewise.
53383         * io/readlink.c: Likewise.
53384         * io/readlinkat.c: Likewise.
53385         * io/rmdir.c: Likewise.
53386         * io/sendfile.c: Likewise.
53387         * io/sendfile64.c: Likewise.
53388         * io/statfs.c: Likewise.
53389         * io/statfs64.c: Likewise.
53390         * io/statvfs.c: Likewise.
53391         * io/statvfs64.c: Likewise.
53392         * io/symlink.c: Likewise.
53393         * io/symlinkat.c: Likewise.
53394         * io/ttyname.c: Likewise.
53395         * io/ttyname_r.c: Likewise.
53396         * io/umask.c: Likewise.
53397         * io/unlink.c: Likewise.
53398         * io/unlinkat.c: Likewise.
53399         * io/utime.c: Likewise.
53400         * io/utimensat.c: Likewise.
53401         * io/write.c: Likewise.
53402         * io/xmknod.c: Likewise.
53403         * io/xmknodat.c: Likewise.
53404         * io/xstat.c: Likewise.
53405         * io/xstat64.c: Likewise.
53406         * login/getpt.c: Likewise.
53407         * login/grantpt.c: Likewise.
53408         * login/unlockpt.c: Likewise.
53409         * math/e_acoshl.c: Likewise.
53410         * math/e_acosl.c: Likewise.
53411         * math/e_asinl.c: Likewise.
53412         * math/e_atan2l.c: Likewise.
53413         * math/e_atanhl.c: Likewise.
53414         * math/e_coshl.c: Likewise.
53415         * math/e_expl.c: Likewise.
53416         * math/e_fmodl.c: Likewise.
53417         * math/e_gammal_r.c: Likewise.
53418         * math/e_hypotl.c: Likewise.
53419         * math/e_j0l.c: Likewise.
53420         * math/e_j1l.c: Likewise.
53421         * math/e_jnl.c: Likewise.
53422         * math/e_lgammal_r.c: Likewise.
53423         * math/e_log10l.c: Likewise.
53424         * math/e_log2l.c: Likewise.
53425         * math/e_logl.c: Likewise.
53426         * math/e_powl.c: Likewise.
53427         * math/e_rem_pio2l.c: Likewise.
53428         * math/e_sinhl.c: Likewise.
53429         * math/e_sqrtl.c: Likewise.
53430         * math/fclrexcpt.c: Likewise.
53431         * math/fedisblxcpt.c: Likewise.
53432         * math/feenablxcpt.c: Likewise.
53433         * math/fegetenv.c: Likewise.
53434         * math/fegetexcept.c: Likewise.
53435         * math/fegetround.c: Likewise.
53436         * math/feholdexcpt.c: Likewise.
53437         * math/fesetenv.c: Likewise.
53438         * math/fesetround.c: Likewise.
53439         * math/feupdateenv.c: Likewise.
53440         * math/fgetexcptflg.c: Likewise.
53441         * math/fraiseexcpt.c: Likewise.
53442         * math/fsetexcptflg.c: Likewise.
53443         * math/ftestexcept.c: Likewise.
53444         * math/k_cosl.c: Likewise.
53445         * math/k_rem_pio2l.c: Likewise.
53446         * math/k_sinl.c: Likewise.
53447         * math/k_tanl.c: Likewise.
53448         * math/s_asinhl.c: Likewise.
53449         * math/s_atanl.c: Likewise.
53450         * math/s_cbrtl.c: Likewise.
53451         * math/s_erfl.c: Likewise.
53452         * math/s_expm1l.c: Likewise.
53453         * math/s_log1pl.c: Likewise.
53454         * math/s_tanhl.c: Likewise.
53455         * misc/acct.c: Likewise.
53456         * misc/brk.c: Likewise.
53457         * misc/chflags.c: Likewise.
53458         * misc/chroot.c: Likewise.
53459         * misc/fchflags.c: Likewise.
53460         * misc/fgetxattr.c: Likewise.
53461         * misc/flistxattr.c: Likewise.
53462         * misc/fremovexattr.c: Likewise.
53463         * misc/fsetxattr.c: Likewise.
53464         * misc/fsync.c: Likewise.
53465         * misc/ftruncate.c: Likewise.
53466         * misc/futimes.c: Likewise.
53467         * misc/futimesat.c: Likewise.
53468         * misc/getdomain.c: Likewise.
53469         * misc/getdtsz.c: Likewise.
53470         * misc/gethostid.c: Likewise.
53471         * misc/gethostname.c: Likewise.
53472         * misc/getloadavg.c: Likewise.
53473         * misc/getpagesize.c: Likewise.
53474         * misc/getsysstats.c: Likewise.
53475         * misc/getxattr.c: Likewise.
53476         * misc/gtty.c: Likewise.
53477         * misc/ioctl.c: Likewise.
53478         * misc/lgetxattr.c: Likewise.
53479         * misc/listxattr.c: Likewise.
53480         * misc/llistxattr.c: Likewise.
53481         * misc/lremovexattr.c: Likewise.
53482         * misc/lsetxattr.c: Likewise.
53483         * misc/lutimes.c: Likewise.
53484         * misc/madvise.c: Likewise.
53485         * misc/mincore.c: Likewise.
53486         * misc/mlock.c: Likewise.
53487         * misc/mlockall.c: Likewise.
53488         * misc/mmap.c: Likewise.
53489         * misc/mprotect.c: Likewise.
53490         * misc/msync.c: Likewise.
53491         * misc/munlock.c: Likewise.
53492         * misc/munlockall.c: Likewise.
53493         * misc/munmap.c: Likewise.
53494         * misc/preadv.c: Likewise.
53495         * misc/preadv64.c: Likewise.
53496         * misc/ptrace.c: Likewise.
53497         * misc/pwritev.c: Likewise.
53498         * misc/pwritev64.c: Likewise.
53499         * misc/readv.c: Likewise.
53500         * misc/reboot.c: Likewise.
53501         * misc/remap_file_pages.c: Likewise.
53502         * misc/removexattr.c: Likewise.
53503         * misc/revoke.c: Likewise.
53504         * misc/select.c: Likewise.
53505         * misc/setdomain.c: Likewise.
53506         * misc/setegid.c: Likewise.
53507         * misc/seteuid.c: Likewise.
53508         * misc/sethostid.c: Likewise.
53509         * misc/sethostname.c: Likewise.
53510         * misc/setregid.c: Likewise.
53511         * misc/setreuid.c: Likewise.
53512         * misc/setxattr.c: Likewise.
53513         * misc/sstk.c: Likewise.
53514         * misc/stty.c: Likewise.
53515         * misc/swapoff.c: Likewise.
53516         * misc/swapon.c: Likewise.
53517         * misc/sync.c: Likewise.
53518         * misc/syncfs.c: Likewise.
53519         * misc/syscall.c: Likewise.
53520         * misc/truncate.c: Likewise.
53521         * misc/ualarm.c: Likewise.
53522         * misc/usleep.c: Likewise.
53523         * misc/ustat.c: Likewise.
53524         * misc/utimes.c: Likewise.
53525         * misc/vhangup.c: Likewise.
53526         * misc/writev.c: Likewise.
53527         * posix/_exit.c: Likewise.
53528         * posix/alarm.c: Likewise.
53529         * posix/execve.c: Likewise.
53530         * posix/fexecve.c: Likewise.
53531         * posix/fork.c: Likewise.
53532         * posix/fpathconf.c: Likewise.
53533         * posix/getaddrinfo.c: Likewise.
53534         * posix/getegid.c: Likewise.
53535         * posix/geteuid.c: Likewise.
53536         * posix/getgid.c: Likewise.
53537         * posix/getgroups.c: Likewise.
53538         * posix/getlogin.c: Likewise.
53539         * posix/getlogin_r.c: Likewise.
53540         * posix/getpgid.c: Likewise.
53541         * posix/getpid.c: Likewise.
53542         * posix/getppid.c: Likewise.
53543         * posix/getresgid.c: Likewise.
53544         * posix/getresuid.c: Likewise.
53545         * posix/getsid.c: Likewise.
53546         * posix/getuid.c: Likewise.
53547         * posix/glob64.c: Likewise.
53548         * posix/nanosleep.c: Likewise.
53549         * posix/pathconf.c: Likewise.
53550         * posix/pause.c: Likewise.
53551         * posix/posix_madvise.c: Likewise.
53552         * posix/pread.c: Likewise.
53553         * posix/pread64.c: Likewise.
53554         * posix/pwrite.c: Likewise.
53555         * posix/pwrite64.c: Likewise.
53556         * posix/sched_getaffinity.c: Likewise.
53557         * posix/sched_getp.c: Likewise.
53558         * posix/sched_gets.c: Likewise.
53559         * posix/sched_primax.c: Likewise.
53560         * posix/sched_primin.c: Likewise.
53561         * posix/sched_rr_gi.c: Likewise.
53562         * posix/sched_setaffinity.c: Likewise.
53563         * posix/sched_setp.c: Likewise.
53564         * posix/sched_sets.c: Likewise.
53565         * posix/sched_yield.c: Likewise.
53566         * posix/setgid.c: Likewise.
53567         * posix/setlogin.c: Likewise.
53568         * posix/setpgid.c: Likewise.
53569         * posix/setresgid.c: Likewise.
53570         * posix/setresuid.c: Likewise.
53571         * posix/setsid.c: Likewise.
53572         * posix/setuid.c: Likewise.
53573         * posix/sleep.c: Likewise.
53574         * posix/spawni.c: Likewise.
53575         * posix/sysconf.c: Likewise.
53576         * posix/times.c: Likewise.
53577         * posix/wait.c: Likewise.
53578         * posix/wait3.c: Likewise.
53579         * posix/wait4.c: Likewise.
53580         * posix/waitpid.c: Likewise.
53581         * resolv/gai_sigqueue.c: Likewise.
53582         * resource/getpriority.c: Likewise.
53583         * resource/getrlimit.c: Likewise.
53584         * resource/getrusage.c: Likewise.
53585         * resource/nice.c: Likewise.
53586         * resource/setpriority.c: Likewise.
53587         * resource/setrlimit.c: Likewise.
53588         * resource/ulimit.c: Likewise.
53589         * rt/aio_cancel.c: Likewise.
53590         * rt/aio_fsync.c: Likewise.
53591         * rt/aio_read.c: Likewise.
53592         * rt/aio_sigqueue.c: Likewise.
53593         * rt/aio_suspend.c: Likewise.
53594         * rt/aio_write.c: Likewise.
53595         * rt/clock_getres.c: Likewise.
53596         * rt/clock_gettime.c: Likewise.
53597         * rt/clock_nanosleep.c: Likewise.
53598         * rt/clock_settime.c: Likewise.
53599         * rt/lio_listio.c: Likewise.
53600         * rt/mq_close.c: Likewise.
53601         * rt/mq_getattr.c: Likewise.
53602         * rt/mq_notify.c: Likewise.
53603         * rt/mq_open.c: Likewise.
53604         * rt/mq_receive.c: Likewise.
53605         * rt/mq_send.c: Likewise.
53606         * rt/mq_setattr.c: Likewise.
53607         * rt/mq_timedreceive.c: Likewise.
53608         * rt/mq_timedsend.c: Likewise.
53609         * rt/mq_unlink.c: Likewise.
53610         * rt/shm_open.c: Likewise.
53611         * rt/shm_unlink.c: Likewise.
53612         * rt/timer_create.c: Likewise.
53613         * rt/timer_delete.c: Likewise.
53614         * rt/timer_getoverr.c: Likewise.
53615         * rt/timer_gettime.c: Likewise.
53616         * rt/timer_settime.c: Likewise.
53617         * setjmp/__longjmp.c: Likewise.
53618         * setjmp/setjmp.c: Likewise.
53619         * signal/kill.c: Likewise.
53620         * signal/killpg.c: Likewise.
53621         * signal/raise.c: Likewise.
53622         * signal/sigaction.c: Likewise.
53623         * signal/sigaltstack.c: Likewise.
53624         * signal/sigblock.c: Likewise.
53625         * signal/sigignore.c: Likewise.
53626         * signal/sigintr.c: Likewise.
53627         * signal/signal.c: Likewise.
53628         * signal/sigpause.c: Likewise.
53629         * signal/sigpending.c: Likewise.
53630         * signal/sigqueue.c: Likewise.
53631         * signal/sigreturn.c: Likewise.
53632         * signal/sigset.c: Likewise.
53633         * signal/sigsetmask.c: Likewise.
53634         * signal/sigstack.c: Likewise.
53635         * signal/sigsuspend.c: Likewise.
53636         * signal/sigtimedwait.c: Likewise.
53637         * signal/sigvec.c: Likewise.
53638         * signal/sigwait.c: Likewise.
53639         * signal/sigwaitinfo.c: Likewise.
53640         * signal/sysv_signal.c: Likewise.
53641         * socket/accept.c: Likewise.
53642         * socket/accept4.c: Likewise.
53643         * socket/bind.c: Likewise.
53644         * socket/connect.c: Likewise.
53645         * socket/getpeername.c: Likewise.
53646         * socket/getsockname.c: Likewise.
53647         * socket/getsockopt.c: Likewise.
53648         * socket/isfdtype.c: Likewise.
53649         * socket/listen.c: Likewise.
53650         * socket/recv.c: Likewise.
53651         * socket/recvfrom.c: Likewise.
53652         * socket/recvmsg.c: Likewise.
53653         * socket/send.c: Likewise.
53654         * socket/sendmsg.c: Likewise.
53655         * socket/sendto.c: Likewise.
53656         * socket/setsockopt.c: Likewise.
53657         * socket/shutdown.c: Likewise.
53658         * socket/sockatmark.c: Likewise.
53659         * socket/socket.c: Likewise.
53660         * socket/socketpair.c: Likewise.
53661         * stdio-common/ctermid.c: Likewise.
53662         * stdio-common/cuserid.c: Likewise.
53663         * stdio-common/remove.c: Likewise.
53664         * stdio-common/rename.c: Likewise.
53665         * stdio-common/renameat.c: Likewise.
53666         * stdio-common/tempname.c: Likewise.
53667         * stdlib/getcontext.c: Likewise.
53668         * stdlib/makecontext.c: Likewise.
53669         * stdlib/setcontext.c: Likewise.
53670         * stdlib/swapcontext.c: Likewise.
53671         * stdlib/system.c: Likewise.
53672         * streams/fattach.c: Likewise.
53673         * streams/fdetach.c: Likewise.
53674         * streams/getmsg.c: Likewise.
53675         * streams/getpmsg.c: Likewise.
53676         * streams/putmsg.c: Likewise.
53677         * streams/putpmsg.c: Likewise.
53678         * sysdeps/unix/bsd/getpt.c: Likewise.
53679         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53680         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53681         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53683         Likewise.
53684         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53685         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53686         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53687         * sysvipc/msgctl.c: Likewise.
53688         * sysvipc/msgget.c: Likewise.
53689         * sysvipc/msgrcv.c: Likewise.
53690         * sysvipc/msgsnd.c: Likewise.
53691         * sysvipc/semctl.c: Likewise.
53692         * sysvipc/semget.c: Likewise.
53693         * sysvipc/semop.c: Likewise.
53694         * sysvipc/semtimedop.c: Likewise.
53695         * sysvipc/shmat.c: Likewise.
53696         * sysvipc/shmctl.c: Likewise.
53697         * sysvipc/shmdt.c: Likewise.
53698         * sysvipc/shmget.c: Likewise.
53699         * termios/tcdrain.c: Likewise.
53700         * termios/tcflow.c: Likewise.
53701         * termios/tcflush.c: Likewise.
53702         * termios/tcgetattr.c: Likewise.
53703         * termios/tcgetpgrp.c: Likewise.
53704         * termios/tcsendbrk.c: Likewise.
53705         * termios/tcsetattr.c: Likewise.
53706         * termios/tcsetpgrp.c: Likewise.
53707         * time/adjtime.c: Likewise.
53708         * time/clock.c: Likewise.
53709         * time/getitimer.c: Likewise.
53710         * time/gettimeofday.c: Likewise.
53711         * time/setitimer.c: Likewise.
53712         * time/settimeofday.c: Likewise.
53713         * time/stime.c: Likewise.
53714         * time/time.c: Likewise.
53716 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53718         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53719         /usr/old/bin.
53721         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53722         instead of spaces.
53723         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53725 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53727         [BZ #14796]
53728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53729         FE_TONEAREST before applying Dekker multiplication and Knuth
53730         addition.  Clear inexact exceptions and check for exact zero
53731         results afterwards.
53732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53733         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53735         * math/libm-test.inc (fma_test): Add more tests.
53736         (fma_test_towardzero): Likewise.
53737         (fma_test_downward): Likewise.
53738         (fma_test_upward): Likewise.
53739         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53740         function.
53741         (libc_fesetround): New macro.
53742         (libc_fesetroundf): Likewise.
53743         (libc_fesetroundl): Likewise.
53744         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53745         function.
53746         (libc_fesetround_387): Likewise.
53747         (libc_fesetroundf): New macro.
53748         (libc_fesetround): Likewise.
53749         (libc_fesetroundl): Likewise.
53750         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53751         function.
53752         (libc_fesetroundf): New macro.
53753         (libc_fesetround): Likewise.
53754         (libc_fesetroundl): Likewise.
53755         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53756         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53757         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53758         libm_hidden_ver.
53759         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53760         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53761         libm_hidden_def.
53762         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53763         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53764         libm_hidden_ver.
53765         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53766         libm_hidden_def.
53768         [BZ #3439]
53769         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53770         integer constant usable in #if and use that to give value to enum
53771         constant.
53772         (FE_DIVBYZERO): Likewise.
53773         (FE_UNDERFLOW): Likewise.
53774         (FE_OVERFLOW): Likewise.
53775         (FE_INVALID): Likewise.
53776         (FE_INVALID_SNAN): Likewise.
53777         (FE_INVALID_ISI): Likewise.
53778         (FE_INVALID_IDI): Likewise.
53779         (FE_INVALID_ZDZ): Likewise.
53780         (FE_INVALID_IMZ): Likewise.
53781         (FE_INVALID_COMPARE): Likewise.
53782         (FE_INVALID_SOFTWARE): Likewise.
53783         (FE_INVALID_SQRT): Likewise.
53784         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53785         (FE_TONEAREST): Likewise.
53786         (FE_TOWARDZERO): Likewise.
53787         (FE_UPWARD): Likewise.
53788         (FE_DOWNWARD): Likewise.
53789         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53790         (FE_DIVBYZERO): Likewise.
53791         (FE_OVERFLOW): Likewise.
53792         (FE_UNDERFLOW): Likewise.
53793         (FE_INEXACT): Likewise.
53794         (FE_TONEAREST): Likewise.
53795         (FE_DOWNWARD): Likewise.
53796         (FE_UPWARD): Likewise.
53797         (FE_TOWARDZERO): Likewise.
53798         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53799         (FE_UNDERFLOW): Likewise.
53800         (FE_OVERFLOW): Likewise.
53801         (FE_DIVBYZERO): Likewise.
53802         (FE_INVALID): Likewise.
53803         (FE_TONEAREST): Likewise.
53804         (FE_TOWARDZERO): Likewise.
53805         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53806         (FE_OVERFLOW): Likewise.
53807         (FE_UNDERFLOW): Likewise.
53808         (FE_DIVBYZERO): Likewise.
53809         (FE_INEXACT): Likewise.
53810         (FE_TONEAREST): Likewise.
53811         (FE_TOWARDZERO): Likewise.
53812         (FE_UPWARD): Likewise.
53813         (FE_DOWNWARD): Likewise.
53814         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53815         (FE_DIVBYZERO): Likewise.
53816         (FE_OVERFLOW): Likewise.
53817         (FE_UNDERFLOW): Likewise.
53818         (FE_INEXACT): Likewise.
53819         (FE_TONEAREST): Likewise.
53820         (FE_DOWNWARD): Likewise.
53821         (FE_UPWARD): Likewise.
53822         (FE_TOWARDZERO): Likewise.
53824 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53826         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53828 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53830         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53831         commands.  Quote $PWD.
53832         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53833         -x" by "export".
53834         (remove_newlines): Remove.
53836 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
53838         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
53839         * stdlib/stdlib.h (atof): Moved to ...
53840         * include/bits/stdlib-float.h: Here.  New file.
53841         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
53842         * stdlib/bits/stdlib-float.h: New file.
53843         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
53844         -mno-sse -mno-mmx.
53845         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
53846         <xmmintrin.h>.
53848 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53850         * conform/conformtest.pl (@headers): Add fenv.h.
53851         * conform/data/fenv.h-data: New file.
53852         * include/fenv.h [_ISOMAC]: Disable all contents of file except
53853         include of <math/fenv.h>.
53855         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
53856         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
53857         && !UNIX98].  Enables tests for XOPEN2K8.
53858         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
53859         POSIX2008]: Likewise.
53861         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
53862         (struct rusage): Do not expect type or its members.
53864         [BZ #3439]
53865         * math/math.h (FP_NAN): Define macro to integer constant usable in
53866         #if and use that to give value to enum constant.
53867         (FP_INFINITE): Likewise.
53868         (FP_ZERO): Likewise.
53869         (FP_SUBNORMAL): Likewise.
53870         (FP_NORMAL): Likewise.
53872 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
53874         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
53875         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
53876         arguments.
53878 2012-11-02  Roland McGrath  <roland@hack.frob.com>
53880         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
53881         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
53882         autoconf-time if not.
53883         * configure.in: Remove AC_PREREQ.
53885 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53887         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
53888         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
53889         of the internal implementation.
53891 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
53893         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
53894         except include of <misc/sys/syslog.h>.
53896 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
53899         function returns with a NULL context exit with zero.
53901 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53903         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
53905 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
53907         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
53908         (run_program_cmd): This.
53909         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
53910         (tst_langinfo): New variable.  Use it.
53912 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
53914         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
53915         floating point opcodes.
53917 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53919         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
53920         variable.
53922         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
53924         * sysdeps/mach/hurd/powerpc: Remove directory.
53925         * sysdeps/mach/powerpc: Likewise.
53927 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53929         * scripts/check-local-headers.sh: Ignore c++ headers.
53931 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53933         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
53934         __libc_cleanup_region_start argument.
53936 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
53938         [BZ #14784]
53939         [BZ #14785]
53940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
53941         x * y using scaling, not as x * y + z.
53942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53944         * math/libm-test.inc (fma_test): Add more tests.
53945         (fma_test_towardzero): Likewise.
53946         (fma_test_downward): Likewise.
53947         (fma_test_upward): Likewise.
53949 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
53951         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
53953 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53955         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
53956         New variable.
53958 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
53960         * rt/tst-shm.c (worker): Correct checking for mmap failure.
53962 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53965         Fix sort order.
53966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53967         Likewise.
53969 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53972         Fix the order of the list for glibc 2.17.
53973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53974         Likewise.
53976 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
53978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53980 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
53982         [BZ #14610]
53983         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
53984         for low part of x being zero before using __atanl (y).
53985         * math/libm-test.inc (atan2_test): Add another test.
53987         * manual/install.texi (Configuring and compiling): Document
53988         general use of test-wrapper and test-wrapper-env.
53989         * INSTALL: Regenerated.
53991         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
53992         (__fma): Do not extract and scale down low bits on after-rounding
53993         systems when result rounded to normal precision would have normal
53994         exponent.
53995         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
53996         (__fmal): Do not extract and scale down low bits on after-rounding
53997         systems when result rounded to normal precision would have normal
53998         exponent.
53999         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54000         (__fmal): Do not extract and scale down low bits on after-rounding
54001         systems when result rounded to normal precision would have normal
54002         exponent.
54003         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54004         macro.
54005         (fma_test): Add more tests.
54006         (fma_test_towardzero): Likewise.
54007         (fma_test_downward): Likewise.
54008         (fma_test_upward): Likewise.
54010 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54012         * sysdeps/i386/tininess.h: Renamed to ...
54013         * sysdeps/x86/tininess.h: This.
54014         * sysdeps/x86_64/tininess.h: Removed.
54016 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54018         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54019         input.  Use $(build-program-cmd).
54020         ($(objpfx)tst-array1-static.out): Likewise.
54021         ($(objpfx)tst-array2.out): Likewise.
54022         ($(objpfx)tst-array3.out): Likewise.
54023         ($(objpfx)tst-array4.out): Likewise.
54024         ($(objpfx)tst-array5.out): Likewise.
54025         ($(objpfx)tst-array5-static.out): Likewise.
54027 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54029         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54030         if defined.
54032         * nss/nsswitch.h (nss_interface_function): Provide new
54033         macro for use with NSS functions.
54034         * grp/initgroups.c: Use new macro.
54035         * nss/getXXbyYY.c: Likewise.
54036         * nss/getXXbyYY_r.c: Likewise.
54037         * nss/getXXent.c: Likewise.
54038         * nss/getXXent_r.c: Likewise.
54039         * sysdeps/posix/getaddrinfo.c: Likewise.
54041 2012-10-30  Andreas Jaeger  <aj@suse.de>
54043         * po/ru.po: Update Russion translation from translation project.
54045 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54047         [BZ #14152]
54048         [BZ #14783]
54049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54050         result and shift together with sticky bit instead of replicating
54051         round-to-nearest rounding.
54052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54054         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54055         missing underflow exceptions.
54056         (fma_test_towardzero): Add more tests.
54057         (fma_test_downward): Likewise.
54058         (fma_test_upward): Likewise.
54060         [BZ #14047]
54061         * sysdeps/generic/tininess.h: New file.
54062         * sysdeps/i386/tininess.h: Likewise.
54063         * sysdeps/sh/tininess.h: Likewise.
54064         * sysdeps/x86_64/tininess.h: Likewise.
54065         * stdlib/tst-strtod-underflow.c: Likewise.
54066         * stdlib/tst-tininess.c: Likewise.
54067         * stdlib/strtod_l.c: Include <tininess.h>.
54068         (round_and_return): Do not set errno for exact underflow cases.
54069         Force an underflow exception when setting errno for underflow.
54070         Determine underflow based on rounding to normal precision if
54071         TININESS_AFTER_ROUNDING.
54072         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54073         ERANGE for exact underflow cases.
54074         * stdlib/Makefile (tests): Add tst-tininess and
54075         tst-strtod-underflow.
54076         ($(objpfx)tst-tininess): Use $(link-libm).
54077         ($(objpfx)tst-strtod-underflow): Likewise.
54079 2012-10-30  Andreas Jaeger  <aj@suse.de>
54081         [BZ#14767]
54082         * elf/Makefile (tests): Remove conditional for have-initfini-array
54083         since this is now always required and the variable does not exist
54084         anymore.
54085         (tests-static): Likewise.
54086         (modules-names): Likewise.
54088         * po/eo.po: Add Esperanto translation from translation project.
54090         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54091         merged with constructor/destructor.
54092         (init_array): Likewise.
54093         * elf/tst-array2dep.c (fini_array): Likewise.
54094         (init_array): Likewise.
54096 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54098         * manual/message.texi: Delete @cartouche tags.
54100 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54102         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54103         EOPNOTSUPP.
54104         * sysdeps/mach/hurd/fsync.c: Likewise.
54106         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54107         [_POSIX_REALTIME_SIGNALS]: Change condition to
54108         [_POSIX_REALTIME_SIGNALS > 0].
54110 2012-10-27  Andreas Jaeger  <aj@suse.de>
54112         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54113         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54115         [__WORDSIZE != 64]: Likewise.
54117 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54119         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54120         *  iconvdata/tst-tables.sh: Likewise.
54122 2012-10-25  David S. Miller  <davem@davemloft.net>
54124         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54125         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54126         of strtoull.
54128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54129         ifunc-impl-list.c
54130         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54131         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54132         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54133         file.
54135 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54137         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54138         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54139         __getdirentries.
54141 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54142             Jim Blandy  <jimb@codesourcery.com>
54144         * scripts/cross-test-ssh.sh: New file.
54145         * manual/install.texi (Configuring and compiling): Document use of
54146         cross-test-ssh.sh.
54147         * INSTALL: Regenerated.
54149 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54151         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54152         EOPNOTSUPP.
54154 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54156         * Makeconfig (run-program-prefix): Fix comment.
54158 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54159             Jim Blandy  <jimb@codesourcery.com>
54161         * Makeconfig (test-wrapper): New variable,
54162         (test-wrapper-env): Likewise.
54163         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54164         (run-built-tests): Define to yes.
54165         (run-program-prefix): Use $(test-wrapper).
54166         (built-program-cmd): Likewise.
54167         * Rules (make-test-out): Use $(test-wrapper-env) and
54168         $(host-built-program-cmd).
54169         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54170         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54171         tst-pathopt.sh.
54172         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54173         $(test-wrapper-env) to tst-rtld-load-self.sh.
54174         ($(objpfx)order2.out): Use $(test-wrapper).
54175         ($(objpfx)tst-initorder.out): Likewise.
54176         ($(objpfx)tst-initorder2.out): Likewise.
54177         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54178         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54179         (test_wrapper_env): New variable.  Use it to run ld.so.
54180         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54181         Use it to run ld.so.
54182         (test_wrapper_env): Likewise.
54183         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54184         $(test-wrapper) to run-iconv-test.sh.
54185         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54186         (ICONV): Use $test_wrapper.
54187         * posix/Makefile ($(objpfx)globtest.out): Pass
54188         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54189         globtest.sh, not $(run-program-prefix).
54190         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54191         (test_wrapper): Likewise.
54192         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54193         set together with run_via_rtld_prefix.
54194         (run_program_prefix): Define in terms of test_wrapper and
54195         run_via_rtld_prefix.
54197 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54199         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54200         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54201         Targets removed.
54203         [BZ #14743]
54204         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54205         Declare __clock_getres, __clock_gettime, __clock_settime,
54206         __clock_nanosleep, and __clock_getcpuclockid.
54207         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54208         Remove librt_hidden_def (clock_gettime).
54209         * sysdeps/unix/clock_gettime.c: Likewise.
54210         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54212         * rt/clock_getres.c: Define __clock_getres as an alias.
54213         * sysdeps/posix/clock_getres.c: Likewise.
54214         * rt/clock_settime.c: Define __clock_settime as an alias.
54215         * sysdeps/unix/clock_settime.c: Likewise.
54216         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54217         * sysdeps/unix/clock_nanosleep.c: Likewise.
54218         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54219         * rt/clock-compat.c: New file.
54220         * rt/Makefile (librt-routines): Add clock-compat and move
54221         $(clock-routines) to ...
54222         (routines): ... here, new variable.
54223         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54224         Don't add get_clockfreq here.
54225         * rt/Versions (libc: GLIBC_2.17): New version set.
54226         Add clock_* symbols here.
54227         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54229         (GLIBC_2.17): Add clock_* symbols.
54230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54232         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54234         Likewise.
54235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54236         Likewise.
54237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54241         * NEWS: Mention the move.
54243         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54244         Use __open, __read, __close rather than their public counterparts.
54245         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54246         (__get_clockfreq_via_cpuinfo): Likewise.
54247         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54248         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54250         * config.h.in (HAVE_IFUNC): New #undef.
54251         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54252         was successful.
54253         * configure: Regenerated.
54255 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54257         * configure.in: Move READELF check to start of file.
54258         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54259         libc_cv_asm_gnu_indirect_function in the process.
54260         * configure: Regenerated.
54262 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54264         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54265         send the output to /dev/null.
54266         (libc_cv_cc_with_libunwind): Likewise.
54267         (libc_cv_as_noexecstack): Likewise.
54268         * configure: Regenerate.
54270 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54272         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54274         * posix/globtest.sh (TMPDIR): Do not set.
54275         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54276         (testout): Likewise.
54278 2012-10-24  Andreas Jaeger  <aj@suse.de>
54280         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54281         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54282         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54283         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54284         posix_fadvise64, posix_fallocate64.
54286         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54287         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54288         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54289         Likewise.
54290         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54291         Likewise.
54292         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54295         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54296         <bits/fcntl-linux.h>.
54297         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54299         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54300         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54301         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54302         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54303         [__WORDSIZE != 64]: Likewise.
54305 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54307         * Makeconfig (run-built-tests): New variable.
54308         * Rules [$(cross-compiling) = yes]: Change condition to
54309         [$(run-built-tests) = no].
54310         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54311         to [$(run-built-tests) = yes].
54312         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54313         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54314         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54315         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54316         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54317         * io/Makefile [$(cross-compiling) = no]: Likewise.
54318         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54319         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54320         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54321         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54322         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54323         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54324         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54325         * string/Makefile [$(cross-compiling) = no]: Likewise.
54327         * posix/Makefile ($(objpfx)globtest.out): Pass
54328         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54329         $(rtld-installed-name).
54330         * posix/globtest.sh (elf_objpfx): Remove variable.
54331         (rtld_installed_name): Likewise.
54332         (library_path): Likewise.
54333         (run_program_prefix): New variable.  Use for running globtest
54334         binary.
54336 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54337             Joseph Myers  <joseph@codesourcery.com>
54339         * Makeconfig (host-built-program-cmd): New variable.
54340         * elf/Makefile (tst-stackguard1-ARGS): Use
54341         $(host-built-program-cmd).
54342         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54343         (tst-spawn-ARGS): Likewise.
54344         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54346 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54347             Jim Blandy  <jimb@codesourcery.com>
54349         * Makeconfig (run-via-rtld-prefix): New variable.
54350         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54351         (built-program-cmd): Likewise.
54353 2012-10-22  Andreas Jaeger  <aj@suse.de>
54355         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54356         __O_RSYNC if it exists, otherwise to O_SYNC.
54358 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54359             Joseph Myers  <joseph@codesourcery.com>
54361         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54362         /dev/null.
54363         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54364         from /dev/null
54365         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54366         /dev/null.
54368 2012-10-22  Andreas Jaeger  <aj@suse.de>
54370         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54371         Define always.
54372         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54375         bits/fcntl-linux.h.
54377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54378         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54381         to __O_LARGEFILE.
54382         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54383         to __O_LARGEFILE.
54385 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54386             Joseph Myers  <joseph@codesourcery.com>
54388         * config.make.in (NM): New variable.
54390 2012-10-21  Andreas Jaeger  <aj@suse.de>
54392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54393         definitions and declarations that are provided by
54394         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54396 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54398         [BZ #14683]
54399         * elf/Makefile (tests-static): Add tst-leaks1-static.
54400         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54401         ($(objpfx)tst-leaks1-static): New rule.
54402         ($(objpfx)tst-leaks1-static-mem): Likewise.
54403         (tst-leaks1-static-ENV): New macro.
54404         * elf/dl-open.c (dl_open_worker): Check the main application
54405         only if SHARED is defined.
54406         * elf/tst-leaks1-static.c: New file.
54408 2012-10-20  Andreas Jaeger  <aj@suse.de>
54410         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54411         generic values for Linux.
54412         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54413         and declarations that are provided by <bits/fcntl-linux.h> and
54414         include <bits/fcntl-linux.h>.
54415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54418 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54420         * io/fcntl.h: Move include of <bits/types.h> to the top and
54421         include it unconditionally.
54423 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54425         * wcsmbs/Makefile (tests-ifunc): New variable.
54426         (tests): Add $(tests-ifunc).
54427         * wcsmbs/test-wcschr-ifunc.c: New file.
54428         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54429         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54430         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54431         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54432         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54434         * string/Makefile (tests-ifunc): New variable.
54435         (tests): Add $(tests-ifunc).
54436         * string/test-memccpy.c (TEST_NAME): New macro.
54437         * string/test-memchr.c (TEST_NAME): Likewise.
54438         * string/test-memcmp.c (TEST_NAME): Likewise.
54439         * string/test-memcpy.c (TEST_NAME): Likewise.
54440         * string/test-memmem.c (TEST_NAME): Likewise.
54441         * string/test-memmove.c (TEST_NAME): Likewise.
54442         * string/test-memset.c (TEST_NAME): Likewise.
54443         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54444         * string/test-stpcpy.c (TEST_NAME): Likewise.
54445         * string/test-stpncpy.c (TEST_NAME): Likewise.
54446         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54447         * string/test-strcasestr.c (TEST_NAME): Likewise.
54448         * string/test-strcat.c (TEST_NAME): Likewise.
54449         * string/test-strchr.c (TEST_NAME): Likewise.
54450         * string/test-strcmp.c(TEST_NAME): Likewise.
54451         * string/test-strcpy.c (TEST_NAME): Likewise.
54452         * string/test-strcspn.c (TEST_NAME): Likewise.
54453         * string/test-strlen.c (TEST_NAME): Likewise.
54454         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54455         * string/test-strncmp.c (TEST_NAME): Likewise.
54456         * string/test-strncpy.c (TEST_NAME): Likewise.
54457         * string/test-strnlen.c (TEST_NAME): Likewise.
54458         * string/test-strpbrk.c (TEST_NAME): Likewise.
54459         * string/test-strrchr.c (TEST_NAME): Likewise.
54460         * string/test-strspn.c (TEST_NAME): Likewise.
54461         * string/test-strstr.c (TEST_NAME): Likewise.
54462         * string/test-bcopy-ifunc.c: New file.
54463         * string/test-bzero-ifunc.c: Likewise.
54464         * string/test-memccpy-ifunc.c: Likewise.
54465         * string/test-memchr-ifunc.c: Likewise.
54466         * string/test-memcmp-ifunc.c: Likewise.
54467         * string/test-memcpy-ifunc.c: Likewise.
54468         * string/test-memmem-ifunc.c: Likewise.
54469         * string/test-memmove-ifunc.c: Likewise.
54470         * string/test-mempcpy-ifunc.c: Likewise.
54471         * string/test-memset-ifunc.c: Likewise.
54472         * string/test-rawmemchr-ifunc.c: Likewise.
54473         * string/test-stpcpy-ifunc.c: Likewise.
54474         * string/test-stpncpy-ifunc.c: Likewise.
54475         * string/test-strcasecmp-ifunc.c: Likewise.
54476         * string/test-strcasestr-ifunc.c: Likewise.
54477         * string/test-strcat-ifunc.c: Likewise.
54478         * string/test-strchr-ifunc.c: Likewise.
54479         * string/test-strchrnul-ifunc.c: Likewise.
54480         * string/test-strcmp-ifunc.c: Likewise.
54481         * string/test-strcpy-ifunc.c: Likewise.
54482         * string/test-strcspn-ifunc.c: Likewise.
54483         * string/test-strlen-ifunc.c: Likewise.
54484         * string/test-strncasecmp-ifunc.c: Likewise.
54485         * string/test-strncat-ifunc.c: Likewise.
54486         * string/test-strncmp-ifunc.c: Likewise.
54487         * string/test-strncpy-ifunc.c: Likewise.
54488         * string/test-strnlen-ifunc.c: Likewise.
54489         * string/test-strpbrk-ifunc.c: Likewise.
54490         * string/test-strrchr-ifunc.c: Likewise.
54491         * string/test-strspn-ifunc.c: Likewise.
54492         * string/test-strstr-ifunc.c: Likewise.
54494         * debug/Makefile (tests-ifunc): New variable.
54495         (tests): Add $(tests-ifunc).
54496         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54497         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54498         * debug/test-stpcpy_chk-ifunc.c: New file.
54499         * debug/test-strcpy_chk-ifunc.c: Likewise.
54501 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54503         [BZ #13601]
54504         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54505         header is not read in.
54507 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54509         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54510         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54511         directly.  Pass built executable to script as
54512         $(built-program-cmd).
54513         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54514         $testprogram without using LD_LIBRARY_PATH and $ldso.
54516         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54517         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54518         $(rtld-installed-name).
54519         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54520         (rtld_installed_name): Likewise.
54521         (library_path): Likewise.
54522         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54523         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54524         $(run-program-prefix) to tst-tables.sh.
54525         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54526         it to run tst-table-from and tst-table-to.
54527         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54528         Pass it to tst-table.sh.
54529         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54530         $(run-program-prefix) to tst-gettext.sh.
54531         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54532         tst-translit.sh.
54533         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54534         tst-gettext2.sh.
54535         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54536         to run tst-gettext.
54537         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54538         to run tst-gettext2.
54539         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54540         to run tst-translit.
54541         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54542         $(run-program-prefix) to tst-mtrace.sh.
54543         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54544         to run tst-mtrace.
54545         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54546         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54547         $(rtld-installed-name).
54548         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54549         (rtld_installed_name): Likewise.
54550         (run_program_prefix): New variable.  Use it to run wordexp-test.
54552         * Makeconfig (ARCH): Remove all definitions.
54553         (machine): Likewise.
54554         [ARCH]: Remove conditional code.
54555         [!objdir]: Give error.
54556         [!objdir] (objpfx): Remove.
54557         [!objdir] (common-objpfx): Likewise.
54558         [!objdir] (common-objdir): Likewise.
54559         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54560         AC_CONFIG_FILES call.
54561         * configure: Regenerated.
54563         [BZ #13888]
54564         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54565         or TMPDIR.
54566         (testout): Likewise.
54568         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54569         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54570         $(rtld-installed-name).
54571         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54572         (rtld_installed_name): Likwise.
54573         (runit): Remove function.
54574         (run_getconf): New variable,  Use it for running getconf binary.
54576 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54578         [BZ #14716]
54579         * string/test-memmem.c (check_result): New function.
54580         (do_one_test): Use it.
54581         (check1): New function.
54582         (test_main): Use it.
54584 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54586         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54588 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54590         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54591         (_G_LSEEK64): Likewise.
54592         (_G_MMAP64): Likewise.
54593         (_G_FSTAT64): Likewise.
54594         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54595         (_G_LSEEK64): Likewise.
54596         (_G_MMAP64): Likewise.
54597         (_G_FSTAT64): Likewise.
54598         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54599         unconditional.  Call __mmap64 directly.
54600         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54601         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54602         __lseek64 directly.
54603         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54604         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54605         __mmap64 directly.
54606         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54607         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54608         __lseek64 directly.
54609         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54610         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54611         __lseek64 directly.
54612         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54613         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54614         __lseek64 directly.
54615         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54616         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54617         __fxstat64 directly.
54618         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54619         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54620         unconditional.
54621         (freopen64) [!_G_OPEN64]: Remove conditional code.
54622         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54623         unconditional.
54624         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54625         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54626         unconditional.
54627         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54628         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54629         unconditional.
54630         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54631         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54632         unconditional.
54633         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54634         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54635         unconditional.
54636         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54637         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54638         unconditional.
54639         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54640         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54641         unconditional.
54642         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54644 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54646         [BZ #12140]
54647         * manual/memory.texi (Malloc Tunable Parameters): Add note
54648         about free list pointers overwriting some perturb bytes.
54649         Wording suggested by Roland McGrath.
54651 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54653         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54654         (lgamma_test): Likewise.
54655         (tgamma_test): Likewise.
54657 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54659         [BZ #14700]
54660         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54661         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54663 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54665         * NEWS: Mention BZ #14716.
54666         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54667         when removing AVAILABLE1_USES_J macro.
54669 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54671         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54672         (__bswap_64): __uint64_t for unsigned 64-bit int.
54674 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54676         * include/string.h (memmem): Declare libc hidden alias.
54677         * string/memmem.c (memmem): Define libc hidden alias.
54678         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54679         __read, __close instead of open, read, close.
54681 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54684         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54685         global and hidden.
54686         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54687         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54688         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54689         Likewise.
54690         (__rawmemchr_sse2): Likewise.
54691         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54692         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54693         (__strchr_sse2): Likewise.
54694         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54695         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54696         (__strcasecmp_sse2): Likewise.
54697         (__strncasecmp_sse2): Likewise.
54698         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54699         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54700         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54701         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54702         (__strrchr_sse2): Likewise.
54703         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54704         ifunc-impl-list.c.
54705         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54706         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54707         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54708         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54709         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54710         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54711         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54712         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54713         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54714         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54715         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54716         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54717         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54718         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54719         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54720         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54721         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54722         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54723         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54724         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54725         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54726         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54727         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54728         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54729         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54730         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54731         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54732         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54733         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54734         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54736         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54737         global and hidden.
54738         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54739         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54740         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54741         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54742         Likewise.
54743         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54744         Likewise.
54745         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54746         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54747         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54748         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54749         ifunc-impl-list.c.
54750         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54751         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54752         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54753         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54754         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54755         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54756         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54757         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54758         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54759         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54760         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54761         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54762         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54763         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54764         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54765         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54766         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54767         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54768         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54769         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54770         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54771         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54772         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54773         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54774         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54775         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54776         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54777         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54778         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54779         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54780         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54781         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54782         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54783         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54784         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54785         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54786         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54787         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54788         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54789         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54790         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54792         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54793         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54794         * include/ifunc-impl-list.h: New file.
54795         * misc/ifunc-impl-list.c: Likewise.
54796         * misc/Makefile (routines): Add ifunc-impl-list.
54797         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54798         * string/test-string.h: Include <ifunc-impl-list.h>.
54799         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54800         TEST_NAME]: New variables.
54801         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54802         are defined.
54803         (test_init): Call __libc_ifunc_impl_list to initialize
54804         func_list if TEST_IFUNC and TEST_NAME are defined.
54806         * string/Makefile (strop-tests): Add bcopy and bzero.
54807         * string/test-bcopy.c: New file.
54808         * string/test-bzero.c: Likewise.
54809         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54810         defined.
54811         * string/test-memset.c: Support bzero test if TEST_BZERO is
54812         defined.
54813         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54814         __libc_memmove.
54815         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54816         __libc_memset.
54817         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54818         of memset.
54820 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54822         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54823         * configure: Regenerated.
54825         * Makeconfig (+link-static-before-libc): Don't include
54826         $(link-static-libc).
54828         * libio/libio.h (_IO_pos_t): Remove.
54830 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54832         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54833         McGrath.
54835 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54837         * crypt/crypt-entry.c: Include fips-private.h.
54838         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
54839         * crypt/md5c-test.c (main): Tolerate disabled MD5.
54840         * sysdeps/unix/sysv/linux/fips-private.h: New file.
54841         * sysdeps/generic/fips-private.h: New file, dummy fallback.
54843 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54845         * crypt/crypt-private.h: Include stdbool.h.
54846         (_ufc_setup_salt_r): Return bool.
54847         * crypt/crypt-entry.c: Include errno.h.
54848         (__crypt_r): Return NULL with EINVAL for bad salt.
54849         * crypt/crypt_util.c (bad_for_salt): New.
54850         (_ufc_setup_salt_r): Check that salt is long enough and within
54851         the specified alphabet.
54852         * crypt/badsalttest.c: New file.
54853         * crypt/Makefile (tests): Add it.
54854         ($(objpfx)badsalttest): New.
54856 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
54858         * NEWS: Add entry for BZ #14602.
54860 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54862         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
54863         type-generic.
54864         * math/libm-test.inc: Update comment listing what functions and
54865         macros are tested.
54866         (isgreater_test): New function.
54867         (isgreaterequal_test): Likewise.
54868         (isless_test): Likewise.
54869         (islessequal_test): Likewise.
54870         (islessgreater_test): Likewise.
54871         (isunordered_test): Likewise.
54872         (main): Call the new functions.
54874 2012-10-09  Roland McGrath  <roland@hack.frob.com>
54876         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
54877         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
54878         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
54879         * sysdeps/i386/configure: Regenerated.
54880         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
54881         * sysdeps/mach/configure: Regenerated.
54882         * sysdeps/mach/hurd/configure: Regenerated.
54883         * sysdeps/powerpc/configure: Regenerated.
54884         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54885         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54886         * sysdeps/s390/s390-32/configure: Regenerated.
54887         * sysdeps/s390/s390-64/configure: Regenerated.
54888         * sysdeps/sh/configure: Regenerated.
54889         * sysdeps/sparc/configure: Regenerated.
54890         * sysdeps/unix/sysv/linux/configure: Regenerated.
54891         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
54892         * sysdeps/x86_64/configure: Regenerated.
54894         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
54895         defined.  Don't check if MAP is NULL.
54897 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
54899         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
54900         (_G_stat64): Likewise.
54901         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
54902         (_G_stat64): Likewise.
54903         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
54904         instead of struct _G_stat64.
54905         * libio/fileops.c (mmap_remap_check): Likewise.
54906         (decide_maybe_mmap): Likewise.
54907         (_IO_new_file_seekoff): Likewise.
54908         (_IO_file_stat): Likewise.
54909         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
54910         _G_off64_t.
54911         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
54912         instead of struct _G_stat64.
54913         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
54915 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
54917         [BZ #14602]
54918         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54919         Replace with ...
54920         (CHECK_EOL): New macro.
54921         (two_way_short_needle): Check beginning of haystack for EOL.  Use
54922         CHECK_EOL.
54923         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54924         Replace with CHECK_EOL.
54925         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
54926         Replace with CHECK_EOL.
54928 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
54930         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
54931         type-generic.
54932         * math/libm-test.inc: Update comment listing what functions and
54933         macros are tested.
54934         (finite_test): New function.
54935         (isinf_test): Likewise.
54936         (isnan_test): Likewise.
54937         (fpclassify_test): Test subnormal input.
54938         (isfinite_test): Likewise.
54939         (isnormal_test): Likewise.
54940         (main): Call the new functions.
54942 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
54944         [BZ #14660]
54945         * Makerules (%.dynsym): Force C locale when running
54946         $(OBJDUMP) --dynamic-syms.
54948 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
54950         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
54951         <stdint.h>.
54953 2012-10-06  David S. Miller  <davem@davemloft.net>
54955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
54956         upper 32-bits of the length value in %o2 since we use branch-on-register
54957         tests which consider the entire 64-bit register.
54959 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
54961         * string/test-strstr.c (check2): Add a test for page boundary.
54963 2012-10-05  David S. Miller  <davem@davemloft.net>
54965         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
54966         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
54967         file.
54968         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
54969         sysdep_routines.
54970         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
54971         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
54972         and bzero when HWCAP_SPARC_CRYPTO is present.
54974 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
54976         [BZ #14602]
54977         * string/test-strstr.c (check2): New function.
54978         (test_main): Call check2.
54980         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
54981         and bug-strchr1.
54982         * string/bug-strcasestr1.c (do_test): Moved to ...
54983         * string/test-strcasestr.c (check1): Here.  New function.
54984         (do_one_test): Break out result checking code into ...
54985         (check_result): This.  New function.
54986         (do_one_test): Call check_result.
54987         (test_main): Call check1.
54988         * string/bug-strchr1.c (do_test): Moved to ...
54989         * string/test-strchr.c (check1): Here.  New function.
54990         (do_one_test): Break out result checking code into ...
54991         (check_result): This.  New function.
54992         (do_one_test): Call check_result.
54993         (test_main): Call check1.
54994         * string/bug-strstr1.c (main): Moved to ...
54995         * string/test-strstr.c (check1): Here.  New function.
54996         (do_one_test): Break out result checking code into ...
54997         (check_result): This.  New function.
54998         (do_one_test): Call check_result.
54999         (test_main): Call check1.
55000         * string/bug-strcasestr1.c: Removed.
55001         * string/bug-strchr1.c: Likewise.
55002         * string/bug-strstr1.c: Likewise.
55004         * elf/Makefile (dl-routines): Add hwcaps.
55005         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55006         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55007         (_dl_important_hwcaps): Moved to ...
55008         * elf/dl-hwcaps.c: Here.  New file.
55009         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55011         [BZ #14557]
55012         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55013         if IS_IN_rtld isn't defined.
55015         * elf/dl-support.c (_dl_sysinfo_map): New.
55016         Include "get-dynamic-info.h" and "setup-vdso.h".
55017         (_dl_non_dynamic_init): Call setup_vdso.
55018         * elf/dynamic-link.h: Don't include <assert.h>.
55019         (elf_get_dynamic_info): Moved to ...
55020         * elf/get-dynamic-info.h: Here.  New file.
55021         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55022         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55023         * elf/setup-vdso.h: Here.  New file.
55024         * elf/rtld.c: Include "setup-vdso.h".
55025         (dl_main): Call setup_vdso.
55027 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55029         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55030         creal in comment listing functions tested.  List finite, isinf,
55031         isnan, isless, islessequal, isgreater, isgreaterequal,
55032         islessgreater, isunordered, lgamma_r and pow10 as functions and
55033         macros not tested.  Mention which functions not tested are aliases
55034         for other functions.  Fix typo.  Note that signs of NaNs are not
55035         tested.
55037         * scripts/config.guess: Update from config.git.
55038         * scripts/config.sub: Likewise.
55040 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55042         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55043         * misc/madvise.c (madvise): Renamed to __madvise.
55044         Make madvise a weak alias.
55045         * include/sys/mman.h: Declare __madvise.
55046         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55047         * sysdeps/unix/syscalls.list
55048         (madvise): Make __madvise the strong name, and madvise a weak alias.
55049         * sysdeps/unix/sysv/linux/syscalls.list
55050         (madvise, mmap): Remove redundant entries.
55051         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55052         * malloc/malloc.c (mtrim): Likewise.
55053         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55055 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55057         * sysdeps/mach/hurd/dl-cache.c: File removed.
55058         * config.h.in (USE_LDCONFIG): New #undef.
55059         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55060         * configure: Regenerated.
55061         * elf/Makefile (dl-routines): Add dl-cache only under
55062         [$(use-ldconfig) = yes].
55063         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55064         cache on [USE_LDCONFIG].
55065         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55066         [USE_LDCONFIG].
55067         * elf/rtld.c (dl_main): Likewise.
55069 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55071         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55072         _SC_LEVEL4_CACHE_LINESIZE.
55074 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55076         * sysdeps/unix/bsd/confstr.h: File removed.
55078 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55080         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55081         sys/sdt-config.h.
55083 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55085         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55086         Make 'mapoff' field ElfW(Off) rather than off_t.
55088 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55090         * nscd/Makefile: Remove nscd-cflags and all its users.
55091         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55092         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55094         [BZ #10631]
55095         * malloc.c (malloc_printerr): Clarify error message.
55097 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55099         [BZ #14648]
55100         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55101         Set bit_FMA_Usable if FMA is supported.
55102         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55103         macro.
55104         (bit_FMA4_Usable): Updated.
55105         (index_FMA_Usable): New macro.
55106         (CPUID_FMA): Likewise.
55107         (HAS_FMA): Defined with bit_FMA_Usable.
55109 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55111         * bits/types.h (__swblk_t): Type removed.
55112         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55113         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55115         (__SWBLK_T_TYPE): Likewise.
55116         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55117         (__SWBLK_T_TYPE): Likewise.
55118         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55119         (__SWBLK_T_TYPE): Likewise.
55120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55121         (__SWBLK_T_TYPE): Likewise.
55123 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55124             Honza Horak <hhorak@redhat.com>
55126         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55127         (xdr_mapname): Use YPMAXMAP as maxsize.
55128         (xdr_peername): Use YPMAXPEER as maxsize.
55129         (xdr_keydat): Use YPAXRECORD as maxsize.
55130         (xdr_valdat): Use YPMAXRECORD as maxsize.
55132 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55134         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55136         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55137         * csu/init-first.c: ... here.
55138         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55139         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55140         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55141         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55142         * sysdeps/i386/init-first.c: File removed.
55143         * sysdeps/sh/init-first.c: File removed.
55145 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55147         [BZ #14645]
55148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55149         if x * y might underflow to zero and z is zero.
55150         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55152         * math/libm-test.inc (min_subnorm_value): New variable.
55153         (fma_test): Add more tests.
55154         (fma_test_towardzero): Likewise.
55155         (fma_test_downward): Likewise.
55156         (fma_test_upward): Likewise.
55157         (initialize): Set min_subnorm_value.
55159 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55161         [BZ #14638]
55162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55163         0 + 0.
55164         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55165         mode for addition resulting in exact zero.
55166         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55168         exact 0 + 0.
55169         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55170         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55171         * math/libm-test.inc (fma_test): Add more tests.
55172         (fma_test_towardzero): New function.
55173         (fma_test_downward): Likewise.
55174         (fma_test_upward): Likewise.
55175         (main): Call the new functions.
55177 2012-09-28  David S. Miller  <davem@davemloft.net>
55179         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55181 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55183         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55184         instead of SIGALRM.
55186         * sysdeps/gnu/_G_config.h: Moved to ...
55187         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55188         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55189         * sysdeps/generic/_G_config.h: ... here.
55191         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55193         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55195         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55196         Conditionalize target on [libnss_test1.so-version].
55198         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55200         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55201         (elfobjdir): Move out of conditionals.
55203         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55204         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55205         (__nss_lookup_function): Conditionalize label remove_from_tree on
55206         [!DO_STATIC_NSS || SHARED], matching its only use.
55208 2012-09-28  David S. Miller  <davem@davemloft.net>
55210         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55211         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55212         file.
55213         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55214         sysdep_routines.
55215         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55217         when HWCAP_SPARC_CRYPTO is present.
55219 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55221         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55223 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55225         [BZ #6530]
55226         * stdio-common/vfprintf.c (process_string_arg): Revert
55227         2000-07-22 change.
55229 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55231         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55232         for testcase.
55233         * stdio-common/tst-sprintf.c: Include <locale.h>
55234         (main): Test sprintf's handling of incomplete multibyte
55235         characters.
55237 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55239         * elf/dl-runtime.c (VERSYMIDX): Removed.
55240         * elf/dl-version.c (VERSYMIDX): Likewise.
55241         * elf/do-rel.h (VERSYMIDX): Likewise.
55242         (VALIDX): Likewise.
55243         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55244         * elf/rtld.c (VALIDX): Likewise.
55245         (ADDRIDX): Likewise.
55246         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55247         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55248         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55249         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55250         (VALIDX): Likewise.
55251         (ADDRIDX): Likewise.
55253 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55255         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55257 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55259         [BZ #11438]
55260         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55261         to global scope.
55262         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55263         addresses are in the same scope as 192.0.2/24.
55264         * posix/gai.conf: Document new scope table defaults.
55266 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55268         [BZ #5298]
55269         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55270         for ftell.  Compute offsets from write pointers instead.
55271         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55273 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55275         [BZ #14543]
55276         * libio/Makefile (tests): New test case tst-fseek.
55277         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55278         combination works in wide mode.
55279         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55280         state when the external buffer state changes.
55282 2012-09-27  David S. Miller  <davem@davemloft.net>
55284         [BZ #14376]
55285         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55286         pass reloc->r_addend in as the 'high' argument to
55287         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55291 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55293         * rt/tst-aio2.c: Include <pthread.h>.
55294         * rt/tst-aio3.c: Likewise.
55296 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55298         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55300 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55302         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55303         contents on [SHARED].
55305 2012-09-26  Marek Polacek  <polacek@redhat.com>
55307         [BZ #14530]
55308         [BZ #13741]
55309         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55310         for C++ and GCC <4.3 as well as for non GCC compilers.
55312 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55316 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55318         * Makefile.in (all, install): Declare with .PHONY.
55319         Reported by Michael Hope <michael.hope@linaro.org>.
55321 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55323         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55324         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55325         system header.
55326         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55327         Likewise.
55328         (sydep_routines): Add the new and the internal functions.
55329         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55330         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55332         (GLIBC_2.17): Add the new function.
55333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55334         (GLIBC_2.17): Likewise.
55335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55336         (GLIBC_2.17): Likewise.
55337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55338         (GLIBC_2.17): Likewise.
55339         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55341 2012-09-25  Alan Modra  <amodra@gmail.com>
55343         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55344         Add release barrier before setting once_control to say
55345         initialisation is done.  Add hints on lwarx.  Use macro in
55346         place of isync.
55347         (clear_once_control): Add release barrier.
55349 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55351         [BZ #13629]
55352         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55353         specially.
55354         * math/s_clog10.c (__clog10): Likewise.
55355         * math/s_clog10f.c (__clog10f): Likewise.
55356         * math/s_clog10l.c (__clog10l): Likewise.
55357         * math/s_clogf.c (__clogf): Likewise.
55358         * math/s_clogl.c (__clogl): Likewise.
55359         * math/Makefile (libm-calls): Add x2y2m1.
55360         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55361         (__x2y2m1): Likewise.
55362         (__x2y2m1l): Likewise.
55363         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55364         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55365         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55366         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55367         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55368         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55369         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55370         * sysdeps/i386/fpu/libm-test-ulps: Update.
55371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55373         [BZ #14621]
55374         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55375         int as type of variable DEPTH.
55376         (glob): Use size_t instead of int as type of variables NEWCOUNT
55377         and OLD_PATHC.
55379 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55381         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55382         Add s_sincosf-sse2.
55383         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55384         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55385         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55386         macros for using routine as __sincosf_ia32.
55387         Use macro for function declaration and weak_alias.
55388         * sysdeps/i386/fpu/libm-test-ulps: Update.
55390         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55391         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55393         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55394         subnormal argument.
55395         * math/s_cexpf.c (__cexpf): Likewise.
55396         * math/s_csinf.c (__csinf): Likewise.
55397         * math/s_csinhf.c (__csinhf): Likewise.
55398         * math/s_ctanf.c (__ctanf): Likewise.
55399         * math/s_ctanhf.c (__ctanhf): Likewise.
55400         * math/s_ccosh.c (__ccoshf): Likewise.
55401         * math/s_cexp.c (__cexpl): Likewise.
55402         * math/s_csin.c (__csin): Likewise.
55403         * math/s_csinh.c (__csinh): Likewise.
55404         * math/s_ctan.c (__ctan): Likewise.
55405         * math/s_ctanh.c (ctanh): Likewise.
55406         * math/s_ccoshl.c (__ccoshl): Likewise.
55407         * math/s_cexpl.c (__cexpl): Likewise.
55408         * math/s_csinl.c (__csinl): Likewise.
55409         * math/s_csinhl.c (__csinhl): Likewise.
55410         * math/s_ctanl.c (__ctanl): Likewise.
55411         * math/s_ctanhl.c (__ctanhl): Likewise.
55413 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55415         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55416         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55417         (_IO_off_t): Define to __off_t, not _G_off_t.
55418         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55419         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55420         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55421         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55422         type of __dummy and __dummy2 fields.
55423         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55424         (_G_ssize_t): Likewise.
55425         (_G_off_t): Likewise.
55426         (_G_pid_t): Likewise.
55427         (_G_uid_t): Likewise.
55428         (_G_wchar_t): Likewise.
55429         (_G_wint_t): Likewise.
55430         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55431         (_G_ssize_t): Likewise.
55432         (_G_off_t): Likewise.
55433         (_G_pid_t): Likewise.
55434         (_G_uid_t): Likewise.
55435         (_G_wchar_t): Likewise.
55436         (_G_wint_t): Likewise.
55437         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55438         (_G_ssize_t): Likewise.
55439         (_G_off_t): Likewise.
55440         (_G_pid_t): Likewise.
55441         (_G_uid_t): Likewise.
55442         (_G_wchar_t): Likewise.
55443         (_G_wint_t): Likewise.
55445 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55447         * malloc/arena.c: Include malloc-sysdep.h.
55448         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55449         is sufficient to shrink the heap or an unmap is needed.
55450         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55451         new function check_may_shrink_heap.
55452         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55453         new function check_may_shrink_heap.
55455 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55457         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55458         comments.
55460 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55462         * catgets/test-gencat.sh: Add "set -e".
55463         * elf/tst-pathopt.sh: Likewise.
55464         * grp/tst_fgetgrent.sh: Likewise.
55465         * iconvdata/run-iconv-test.sh: Likewise.
55466         * intl/tst-gettext.sh: Likewise.
55467         * intl/tst-gettext2.sh: Likewise.
55468         * intl/tst-gettext4.sh: Likewise.
55469         * intl/tst-gettext6.sh: Likewise.
55470         * intl/tst-translit.sh: Likewise.
55471         * io/ftwtest-sh: Likewise.
55472         * libio/test-freopen.sh: Likewise.
55473         * malloc/tst-mtrace.sh: Likewise.
55474         * posix/globtest.sh: Likewise.
55475         * posix/tst-getconf.sh: Likewise.
55476         * posix/wordexp-tst.sh: Likewise.
55477         * stdio-common/tst-printf.sh: Likewise.
55478         * stdio-common/tst-unbputc.sh: Likewise.
55479         * stdlib/tst-fmtmsg.sh: Likewise.
55480         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55481         * catgets/Makefile: Do not specify -e option when running
55482         testsuite shell scripts.
55483         * elf/Makefile: Likewise.
55484         * grp/Makefile: Likewise.
55485         * iconvdata/Makefile: Likewise.
55486         * intl/Makefile: Likewise.
55487         * io/Makefile: Likewise.
55488         * libio/Makefile: Likewise.
55489         * malloc/Makefile: Likewise.
55490         * posix/Makefile: Likewise.
55491         * stdio-common/Makefile: Likewise.
55492         * stdlib/Makefile: Likewise.
55493         * sysdeps/x86_64/Makefile: Likewise.
55495         * io/ftwtest-sh: Add copyright header.
55496         * posix/globtest.sh: Likewise.
55497         * posix/tst-getconf.sh: Likewise.
55498         * posix/wordexp-tst.sh: Likewise.
55499         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55501 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55503         [BZ #13679]
55504         * Makeconfig (+link): Defined as $(+link-static) if
55505         $(build-shared) isn't yes.
55506         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55507         isn't yes.
55508         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55510         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55512         [BZ #14562]
55513         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55514         new chunk size with MALLOC_ALIGN_MASK.
55516 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55518         [BZ #5044]
55519         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55520         <rounding-mode.h>.
55521         (__printf_fphex): Determine rounding using get_rounding_mode and
55522         round_away.
55523         * stdio-common/tst-printf-round.c (struct hex_test): New
55524         structure.
55525         (hex_tests): New variable.
55526         (test_hex_in_one_mode): New function.
55527         (do_test): Also run tests for hex float output.
55529 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55531         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55532         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55533         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55534         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55535         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55536         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55537         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55538         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55540 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55542         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55543         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55544         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55545         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55547 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55549         [BZ #14579]
55550         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55551         mode only.
55552         * elf/tst-rtld-load-self.sh: New test.
55553         * elf/Makefile: Run it.
55555 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55557         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55558         (tst-writev-ENV): Remove.
55559         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55561 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55563         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55565 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55567         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55568         unconditional.
55569         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55570         Likewise.
55571         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55572         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55573         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55574         Likewise.
55576 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55578         [BZ #14587]
55579         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55580         * config.make.in (have-cpp-asm-debuginfo): Removed.
55581         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55582         * configure: Regenerated.
55584 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55586         [BZ #5044]
55587         * stdio-common/printf_fp.c: Include <stdbool.h> and
55588         <rounding-mode.h>.
55589         (___printf_fp): Determine rounding using get_rounding_mode and
55590         round_away.
55591         * stdio-common/tst-printf-round.c: New file.
55592         * stdio-common/Makefile (tests): Add tst-printf-round.
55593         (link-libm): New variable.
55594         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55596 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55598         [BZ #14576]
55599         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55600         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55601         Likewise.
55602         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55603         Likewise.
55605 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55607         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55608         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55609         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55610         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55612 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55614         [BZ #14518]
55615         * include/rounding-mode.h: New file.
55616         * sysdeps/generic/get-rounding-mode.h: Likewise.
55617         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55618         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55619         (MAX_VALUE): New macro.
55620         (MIN_VALUE): Likewise.
55621         (overflow_value): New function.
55622         (underflow_value): Likewise.
55623         (round_and_return): Use overflow_value and underflow_value to
55624         determine return values in overflow and underflow cases.  Use
55625         round_away to determine rounding depending on rounding mode.
55626         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55627         determine return values in overflow and underflow cases.
55628         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55629         (struct test_results): New structure.
55630         (struct test): Use struct test_results to store expected results
55631         for all rounding modes.
55632         (TEST): Include expected results for all rounding modes.
55633         (test_in_one_mode): New function.
55634         (do_test): Use test_in_one_mode to compute and check results.
55635         Check results for all rounding modes.
55636         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55637         $(link-libm).
55639 2012-12-09  Allan McRae  <allan@archlinux.org>
55641         * sysdeps/i386/fpu/libm-test-ulps: Update
55643 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55645         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55646         (_G_int32_t): Likewise.
55647         (_G_uint16_t): Likewise.
55648         (_G_uint32_t): Likewise.
55649         (_G_HAVE_BOOL): Likewise.
55650         (_G_HAVE_ATEXIT): Likewise.
55651         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55652         (_G_HAVE_IO_FILE_OPEN): Likewise.
55653         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55654         (_G_int32_t): Likewise.
55655         (_G_uint16_t): Likewise.
55656         (_G_uint32_t): Likewise.
55657         (_G_HAVE_BOOL): Likewise.
55658         (_G_HAVE_ATEXIT): Likewise.
55659         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55660         (_G_HAVE_IO_FILE_OPEN): Likewise.
55661         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55662         (_G_int32_t): Likewise.
55663         (_G_uint16_t): Likewise.
55664         (_G_uint32_t): Likewise.
55665         (_G_HAVE_BOOL): Likewise.
55666         (_G_HAVE_ATEXIT): Likewise.
55667         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55668         (_G_HAVE_IO_FILE_OPEN): Likewise.
55670 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55672         * csu/libc-tls.c: Update copyright years.
55674 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55676         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55677         [!_G_USING_THUNKS]: Remove conditional code.
55678         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55679         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55681         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55682         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55683         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55684         (_G_VTABLE_LABEL_PREFIX): Likewise.
55685         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55686         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55687         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55688         (_G_VTABLE_LABEL_PREFIX): Likewise.
55689         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55690         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55691         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55692         (_G_VTABLE_LABEL_PREFIX): Likewise.
55693         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55695 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55697         * libio/Makefile: Include ../Makeconfig before tests.
55698         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55699         only if $(build-shared) is yes.
55701         * iconv/gconv_db.c: Update copyright years.
55703 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55705         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55706         unwind info if defined PIC. Fix special cases description.
55707         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55709         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55710         DP_HI_MASK entry.
55711         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55713 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55715         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55717         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55718         is NULL.
55720         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55721         (LDLIBS-tst-chk4): This.
55722         (LDFLAGS-tst-chk5): Renamed to ...
55723         (LDLIBS-tst-chk5): This.
55724         (LDFLAGS-tst-chk6): Renamed to ...
55725         (LDLIBS-tst-chk6): This.
55726         (LDFLAGS-tst-lfschk4): Renamed to ...
55727         (LDLIBS-tst-lfschk4): This.
55728         (LDFLAGS-tst-lfschk5): Renamed to ...
55729         (LDLIBS-tst-lfschk5): This.
55730         (LDFLAGS-tst-lfschk6): Renamed to ...
55731         (LDLIBS-tst-lfschk6): This.
55733         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55734         on $(common-objpfx)soversions.mk.
55736 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55738         [BZ #10014]
55739         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55740         example host name.
55742 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55744         * malloc/arena.c (arena_get_retry): New function that gets
55745         another arena for the caller to try its request on.
55746         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55747         current arena cannot fulfill the request.
55748         (__libc_memalign): Likewise.
55749         (__libc_memalign): Likewise.
55750         (__libc_pvalloc): Likewise.
55751         (__libc_calloc): Likewise.
55753 2012-09-05  John Tobey  <john.tobey@gmail.com>
55755         [BZ #13542]
55756         * manual/arith.texi (Operations on Complex): Fix description
55757         of carg branch cut.
55759 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55761         [BZ #10014]
55762         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55763         host name.
55765         [BZ #10038]
55766         * manual/memory.texi (Memory): Make order of menu items match
55767         order of sections.
55769 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55771         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55772         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55773         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55775 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55777         * csu/libc-tls.c (static_dtv): Renamed to ...
55778         (_dl_static_dtv): This.  Make it global.
55779         (_dl_initial_dtv): Removed.
55780         (__libc_setup_tls): Updated.
55781         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55782         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55783         DL_INITIAL_DTV.
55785 2012-09-06  Petr Machata  <pmachata@redhat.com>
55787         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55788         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55789         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55790         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55792 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55794         [BZ #14545]
55795         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55796         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55797         freeing dtv[-1].
55799 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55801         [BZ #14544]
55802         * Makeconfig (link-static-before-libc): Replace $(+prector)
55803         with $(+prectorT).
55804         (link-static-after-libc): Replace $(+postctor) with
55805         $(+postctorT).
55806         (link-bounded): Replace $(+prector)/$(+postctor) with
55807         $(+prectorT)/$(+postctorT).
55808         (+prectorT): New macro.
55809         (+postctorT): Likewise.
55811 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55813         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55814         (round_str): Handle values above the maximum for IBM long double
55815         as inexact.
55816         * stdlib/tst-strtod-round.c (tests): Regenerated.
55818 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55820         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55821         assembler flag.
55822         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55823         zarch_nohighgprs around the zarch optimized routines.
55824         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55825         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55826         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55827         for zarch.
55829 2012-09-05  David S. Miller  <davem@davemloft.net>
55831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55833         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55834         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
55835         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
55836         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55837         entries.
55839 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55841         * malloc/arena.c: Fold copyright years.
55842         * malloc/mcheck.c, malloc/memusage.c: Likewise.
55844 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55846         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
55848 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55850         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
55852 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55854         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
55855         change internal state upon failure.
55857 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
55859         * malloc/mcheck.c (mcheck_check_all): Fix typo.
55860         * malloc/memusage.c (mmap): Likewise.
55861         (mmap64, mremap): Likewise.  Adjust name in comment.
55863 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55865         * libio/fileops.c: Fix typos in comments.
55866         * libio/oldfileops.c: Likewise.
55867         * libio/wfileops.c: Likewise.
55869 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55871         [BZ #1349]
55872         * malloc/Makefile (tests): Add tst-malloc-usable test case.
55873         (tst-malloc-usable-ENV): Set environment for test case.
55874         * malloc/hooks.c (malloc_check_get_size): New function to get
55875         requested size.
55876         * malloc/malloc.c (musable): Use malloc_check_get_size.
55877         * malloc/tst-malloc-usable.c: New test case.
55879 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55881         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
55883 2012-09-05  Allan McRae  <allan@archlinux.org>
55885         [BZ #13966]
55886         * configure.in (CXX_SYSINCLUDES): Use compiler output to
55887         determine header location.
55888         * configure: Regenerated.
55890 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55892         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
55893         float format.
55894         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
55895         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
55896         format.
55897         (test): Regenerate.
55899 2012-09-04  David S. Miller  <davem@davemloft.net>
55901         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
55902         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
55903         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
55905 2012-09-04  Florian Weimer  <fweimer@redhat.com>
55907         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
55908         failures.
55910         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
55912 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
55914         [BZ #9914]
55915         * libio/iogetdelim.c: Include <limits.h>.
55916         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
55917         + len + 1 would overflow.
55919 2012-09-03  Andreas Jaeger  <aj@suse.de>
55921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55922         * sysdeps/i386/fpu/libm-test-ulps: Update.
55924 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55926         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55927         Add s_sinf-sse2, s_conf-sse2.
55929         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
55930         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
55931         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
55932         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
55934         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
55935         for using routine as __sinf_ia32.
55936         Use macro for function declaration and weak_alias.
55937         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
55938         for using routine as __cosf_ia32.
55939         Use macro for function declaration and weak_alias.
55941         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
55942         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
55944         * sysdeps/x86_64/fpu/s_sinf.S: New file.
55945         * sysdeps/x86_64/fpu/s_cosf.S: New file.
55946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55948         * math/libm-test.inc (cos_test): Add more test cases.
55949         (sin_test): Likewise.
55950         (sincos_test): Likewise.
55952 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55954         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
55955         (IFUNC_RESOLVE): Make pointers to the specialized implementations
55956         hidden.
55957         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55959 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
55961         [BZ #14538]
55962         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
55963         first element of the GOT.
55964         (elf_machine_load_address): Return the difference between
55965         the runtime address of _DYNAMIC and elf_machine_dynamic ().
55967 2012-09-01  Allan McRae  <allan@archlinux.org>
55969         [BZ #13412]
55970         * configure.in (AWK): Require gawk version 3.0 or later.
55971         * configure: Regenerated.
55973 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
55975         * sysdeps/unix/sysv/linux/kernel-features.h
55976         (__ASSUME_POSIX_CPU_TIMERS): Remove.
55977         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55978         [__NR_clock_getres]: Make code unconditional.
55979         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
55980         (clock_getcpuclockid): Remove code left unreachable by removal of
55981         conditionals.
55982         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
55983         code unconditional.
55984         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55985         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55986         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
55987         Make code unconditional.
55988         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
55989         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55990         * sysdeps/unix/sysv/linux/clock_settime.c
55991         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
55992         conditional code.
55993         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
55994         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
55996 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
55998         [BZ #14476]
55999         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56000         scripts/test-installation.pl.
56002         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56003         and $ld_so_version if it is set.
56005 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56007         [BZ #14516]
56008         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56009         failure if reading from procfs failed.
56010         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56012 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56014         * sysdeps/unix/sysv/linux/kernel-features.h
56015         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56016         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56017         Remove conditional code.
56018         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56019         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56020         Remove conditional code.
56021         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56022         * sysdeps/unix/sysv/linux/i386/fxstat.c
56023         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56024         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56025         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56026         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56027         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56028         * sysdeps/unix/sysv/linux/i386/lxstat.c
56029         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56030         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56031         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56032         Remove conditional code.
56033         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56034         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56035         Remove conditional code.
56036         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56037         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56038         <kernel-features.h>.
56039         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56040         Remove.
56041         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56042         Remove conditional code.
56043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56044         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56045         Remove conditional.
56047 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56049         [BZ #5400]
56050         * NEWS: Add fixed bug number.
56052 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56054         [BZ #14519]
56055         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56056         underflowing exponent in case of negative sign.
56057         * stdlib/tst-strtod-round-data: Add more tests.
56058         * stdlib/tst-strtod-round.c (tests): Regenerated.
56060         [BZ #3479]
56061         * stdlib/strtod_l.c (NDIG): Remove.
56062         (HEXNDIG): Likewise.
56063         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56064         smallest representable value.
56065         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56066         lie within an exact representation of 1/2 ulp of the result.
56067         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56068         unconditionally.
56069         (TENS_P9_IDX): Define unconditionally.
56070         (TENS_P9_SIZE): Likewise.
56071         (TENS_P10_IDX): Likewise.
56072         (TENS_P10_SIZE): Likewise.
56073         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56074         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56075         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56076         entries for 10^2^13 and 10^2^14.
56077         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56078         (TENS_P13_IDX): Define.
56079         (TENS_P13_SIZE): Likewise.
56080         (TENS_P14_IDX): Likewise.
56081         (TENS_P14_SIZE): Likewise.
56082         (_fpioconst_pow10): Change array size to
56083         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56084         unconditional.
56085         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56086         1024]: Add entries for 10^2^13 and 10^2^14.
56087         [LAST_POW10 > _LAST_POW10]: Remove #error.
56088         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56089         (_fpioconst_pow10): Change array size to
56090         FPIOCONST_POW10_ARRAY_SIZE.
56091         * stdlib/gen-fpioconst.c: New file.
56092         * stdlib/gen-tst-strtod-round.c: Likewise.
56093         * stdlib/tst-strtod-round-data: Likewise.
56094         * stdlib/tst-strtod-round.c: Likewise.
56095         * stdlib/Makefile (tests): Add tst-strtod-round.
56097         [BZ #14459]
56098         * stdlib/strtod_l.c: Include <stdint.h>.
56099         (NDEBUG): Do not define.
56100         (round_and_return): Change EXPONENT parameter to type intmax_t.
56101         Rearrange calculations to avoid internal overflow possibilities.
56102         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56103         Rearrange calculations to avoid internal overflow possibilities.
56104         Assert that number fits inside MPNSIZE limbs.
56105         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56106         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56107         calculations and add assertions to avoid internal overflow
56108         possibilities.  Add casts to avoid signed/unsigned operations.
56109         * stdlib/tst-strtod-overflow.c: New file.
56110         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56112 2012-08-25  Marek Polacek  <polacek@redhat.com>
56114         * time/time.h: Fix some typos in comments.
56116 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56118         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56119         * posix/tst-rfc3484-2.c: Likewise.
56120         * posix/tst-rfc3484-3.c: Likewise.
56122 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56124         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56125         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56127 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56129         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56130         #include of fxstatat64.c.
56132 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56134         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56135         * shadow/getspent_r.c: Likewise.
56136         * shadow/getspnam.c: Likewise.
56137         * shadow/getspnam_r.c: Likewise.
56138         * gshadow/getsgent.c: Likewise.
56139         * gshadow/getsgent_r.c: Likewise.
56140         * gshadow/getsgnam.c: Likewise.
56141         * gshadow/getsgnam_r.c: Likewise.
56142         * inet/getnetbyad.c: Likewise.
56143         * inet/getnetbyad_r.c: Likewise.
56144         * inet/getnetbynm.c: Likewise.
56145         * inet/getnetbynm_r.c: Likewise.
56146         * inet/getnetent.c: Likewise.
56147         * inet/getnetent_r.c: Likewise.
56148         * inet/getproto.c: Likewise.
56149         * inet/getproto_r.c: Likewise.
56150         * inet/getprtent.c: Likewise.
56151         * inet/getprtent_r.c: Likewise.
56152         * inet/getprtname.c: Likewise.
56153         * inet/getprtname_r.c: Likewise.
56154         * inet/getrpcbyname.c: Likewise.
56155         * inet/getrpcbyname_r.c: Likewise.
56156         * inet/getrpcbynumber.c: Likewise.
56157         * inet/getrpcbynumber_r.c: Likewise.
56158         * inet/getrpcent.c: Likewise.
56159         * inet/getrpcent_r.c: Likewise.
56160         * inet/getaliasent.c: Likewise.
56161         * inet/getaliasent_r.c: Likewise.
56162         * inet/getaliasname.c: Likewise.
56163         * inet/getaliasname_r.c: Likewise.
56164         * nscd/getgrgid_r.c: Likewise.
56165         * nscd/getgrnam_r.c: Likewise.
56166         * nscd/gethstbyad_r.c: Likewise.
56167         * nscd/gethstbynm3_r.c: Likewise.
56168         * nscd/getpwnam_r.c: Likewise.
56169         * nscd/getpwuid_r.c: Likewise.
56170         * nscd/getsrvbynm_r.c: Likewise.
56171         * nscd/getsrvbypt_r.c: Likewise.
56172         * nscd/gai.c: Likewise.
56174         * configure.in (build_nscd): New substituted variable, set
56175         by --disable-build-nscd and defaults to $use_nscd.
56176         * configure: Regenerated.
56177         * config.make.in (build-nscd): New substituted variable.
56178         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56179         Change conditional to require [$(build-nscd) = yes] as well.
56180         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56182         [BZ# 13696]
56183         * configure.in (use_nscd): New substituted variable, set by
56184         --disable-nscd.  If enabled, define USE_NSCD.
56185         * configure: Regenerated.
56186         * config.h.in: Add USE_NSCD.
56187         * config.make.in (use-nscd): New substituted variable.
56188         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56189         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56190         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56191         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56192         (CFLAGS-getgrnam_r.c): Likewise.
56193         (CFLAGS-initgroups.c): Likewise.
56194         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56195         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56196         Variables removed.
56197         * inet/getnetgrent_r.c
56198         (nscd_setnetgrent): New function, broken out of ...
56199         (setnetgrent): ... here.  Call it.
56200         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56201         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56202         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56203         * nscd/Makefile (routines, aux): Move definitions after include of
56204         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56205         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56206         Conditionalize on [USE_NSCD].
56207         (is_nscd, nscd_init_cb): Likewise.
56208         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56209         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56210         * nss/nss_db/db-init.c: Likewise.
56211         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56212         [USE_NSCD].
56213         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56214         (make_request): Use it.
56215         (cache_valid_p): New function.
56216         (__check_pf): Use it.
56217         * NEWS: Add item for --disable-nscd.
56219 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56221         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56222         to support sed >= 4.2.1-20-ga9bf076.
56223         * configure: Regenerated.
56225 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56227         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56228         Conditionalize whole body on [IREL].
56230 2012-08-22  Jeff Law <law@redhat.com>
56232         [BZ #14505]
56233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56234         if the family is PF_UNSPEC.
56236 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56238         * Makerules (lib-version): Rename from V.
56239         (install-lib-nosubdir): Change V to lib-version.
56241 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56243         [BZ #14252]
56244         * powerpc32/power6/wcschr.c: New file.
56245         * powerpc32/power6/wcscpy.c: New file.
56246         * powerpc32/power6/wcsrchr.c: New file.
56247         * powerpc64/power6/wcschr.c: New file.
56248         * powerpc64/power6/wcscpy.c: New file.
56249         * powerpc64/power6/wcsrchr.c: New file.
56251 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56253         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56254         (two_way_short_needle): Use it.
56255         * string/strstr.c (AVAILABLE1_USES_J): Define.
56256         * string/strcasestr.c: Likewise.
56258         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56259         array references.
56260         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56262         [BZ #11607]
56263         * NEWS: Add an entry.
56264         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56265         define their defaults.
56266         (two_way_short_needle): Detect end-of-string on-the-fly.
56267         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56268         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56269         * string/bug-strcasestr1.c: New test.
56270         * string/Makefile: Run it.
56272 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56274         [BZ #11607]
56275         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56276         the first character.
56278 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56280         * csu/elf-init.c (__libc_csu_irel): Function removed.
56281         * csu/libc-start.c (apply_irel): New function.
56282         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56284 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56286         * sysdeps/unix/sysv/linux/kernel-features.h
56287         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56288         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56289         <kernel-features.h>.
56290         [__NR_fadvise64_64]: Make code unconditional.
56291         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56292         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56293         !__NR_fadvise64_64)]: Likewise.
56294         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56295         !__NR_fadvise64_64))]: Likewise.
56296         [__NR_fadvise64]: Make code unconditional.
56297         [!__NR_fadvise64]: Remove conditional code.
56298         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56299         <kernel-features.h>.
56300         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56301         unconditional.
56302         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56303         conditional code.
56304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56305         not include <kernel-features.h>.
56306         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56307         unconditional.
56308         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56309         conditional code.
56310         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56311         include <kernel-features.h>.
56312         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56313         unconditional.
56314         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56315         conditional code.
56317 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56319         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56320         slight instruction rearrangements per scrollpipe analysis.
56321         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56323 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56325         * manual/syslog.texi (syslog; vsyslog, closelog):
56326         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56327         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56329         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56330         DSOCAPS to match condition on defining it.
56332 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56334         * sysdeps/unix/sysv/linux/kernel-features.h
56335         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56337         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56338         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56340         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56341         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56343         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56344         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56346         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56347         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56349         * sysdeps/unix/sysv/linux/kernel-features.h
56350         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56351         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56352         unconditional.
56353         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56354         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56355         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56356         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56357         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56358         Make code unconditional.
56359         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56360         (__mmap64) [!__NR_mmap2]: Likewise.
56361         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56362         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56363         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56364         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56365         [__NR_mmap2]: Make code unconditional.
56366         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56367         (__mmap64) [!__NR_mmap2]: Likewise.
56369 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56371         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56373 2012-08-18  Andreas Jaeger  <aj@suse.de>
56375         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56377 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56379         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56380         * include/unistd.h (__have_sock_cloexec): Likewise.
56381         (__have_pipe2): Likewise.
56382         (__have_dup3): Likewise.
56384 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56386         [BZ #9685]
56387         * include/unistd.h (__have_pipe2): Change define into an extern int.
56388         (__have_dup3): Likewise.
56389         * socket/have_sock_cloexec.c: Include fcntl.h.
56390         (__have_pipe2): New variable.
56391         (__have_dup3): Likewise.
56393 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56395         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56397 2012-08-17  Marek Polacek  <polacek@redhat.com>
56399         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56400         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56402 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56404         * configure.in: Add AC_SUBST for sysheaders.
56405         * configure: Regenerated.
56406         * config.make.in (sysheaders): New substituted variable.
56408         * sysdeps/unix/mkfifo.c: Moved ...
56409         * sysdeps/posix/mkfifo.c: ... here.
56410         * sysdeps/unix/mkfifoat.c: Moved ...
56411         * sysdeps/posix/mkfifoat.c: ... here.
56413         * sysdeps/unix/utime.c: Moved ...
56414         * sysdeps/posix/utime.c: ... here.
56416         * sysdeps/unix/time.c: Moved ...
56417         * sysdeps/posix/time.c: ... here.
56418         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56419         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56421         * sysdeps/unix/nice.c: Moved ...
56422         * sysdeps/posix/nice.c: ... here.
56424         * sysdeps/unix/alarm.c: Moved ...
56425         * sysdeps/posix/alarm.c: ... here.
56427         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56429 2012-08-17  Jeff Law <law@redhat.com>
56431         * intl/Makefile (codeset_mo): New variable.
56432         ($(codeset_mo)): New target.
56433         (tst-codeset.out): Depend on that.  Remove explicit rule.
56434         (tst-gettext3.out, tst-gettext5.out): Likewise.
56435         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56436         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56437         * intl/tst-codeset.sh: Remove.
56438         * intl/tst-gettext3.sh: Likewise.
56439         * intl/tst-gettext5.sh: Likewise.
56441 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56443         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56444         * sysdeps/unix/syscalls.list: ... here.
56446         * sysdeps/posix/getaddrinfo.c
56447         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56448         (gaiconf_init, gaiconf_reload): Use them.
56449         [!_STATBUF_ST_NSEC]
56450         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56451         Define using time_t rather than struct timespec.
56453         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56454         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56455         Macros removed.
56456         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56457         [!NO_THREADS].
56458         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56459         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56460         Likewise.
56462         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56463         __libc_cleanup_push argument.
56465         * bits/param.h: New file.
56466         * misc/sys/param.h: New file.
56467         * include/sys/param.h: New file.
56468         * misc/Makefile (headers): Add bits/param.h.
56469         * sysdeps/generic/sys/param.h: File removed.
56470         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56471         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56472         * sysdeps/mach/hurd/bits/param.h: New file.
56473         * sysdeps/mach/hurd/sys/param.h: File removed.
56475         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56476         last change.
56478         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56479         [_IO_MTSAFE_IO].
56480         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56481         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56482         New macros.
56484         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56485         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56486         rather than -D_IO_MTSAFE_IO conditionally.
56487         * stdio-common/Makefile (CPPFLAGS): Likewise.
56488         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56489         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56490         Use $(libio-mtsafe).
56491         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56492         of -D_IO_MTSAFE_IO.
56493         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56494         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56495         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56496         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56497         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56498         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56499         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56500         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56501         (CFLAGS-fread_u_chk.c): Likewise.
56502         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56503         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56504         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56505         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56506         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56507         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56508         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56509         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56510         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56512         * libio/Makefile: Test [$(libc-reentrant) = yes]
56513         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56515         * Makeconfig
56516         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56517         * sysdeps/pthread/configure: File removed.
56518         * sysdeps/pthread/Makeconfig: New file.
56519         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56520         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56522 2012-08-16  Gary Benson  <gbenson@redhat.com>
56524         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56525         unmapping the first object in a namespace.
56527 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56529         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56530         (__internal_setnetgrent): ... this.  Add internal_function to
56531         definition.  Add libc_hidden_def.
56532         (setnetgrent): Update caller.
56533         (internal_endnetgrent): Renamed to ...
56534         (__internal_endnetgrent): ... this.  Add internal_function to
56535         definition.  Add libc_hidden_def.
56536         (endnetgrent): Update caller.
56537         (internal_getnetgrent_r): Renamed to ...
56538         (__internal_getnetgrent_r): ... this.  Add internal_function to
56539         definition.  Add libc_hidden_def.
56540         (__getnetgrent_r): Update caller.
56541         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56543 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56545         * stdlib/longlong.h: Update from GCC.
56547 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56549         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56550         on _QL, which is set by umul_ppmm but never used.
56551         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56552         variables, which are set by GMP macros but never used.
56553         * stdio-common/_itowa.c (_itowa): Likewise.
56554         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56555         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56557 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56559         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56560         struct La_sh_regs is not constant.
56561         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56562         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56563         and struct La_sparc64_regs are not constant.
56565 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56567         * sysdeps/unix/sysv/linux/kernel-features.h
56568         (__ASSUME_POSIX_TIMERS): Remove.
56569         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56570         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56571         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56572         Make code unconditional.
56573         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56574         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56575         Make code unconditional.
56576         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56577         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56578         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56579         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56580         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56581         Make code unconditional.
56582         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56583         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56584         (__libc_missing_posix_timers): Remove.
56586 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56588         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56589         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56591         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56593         * elf/dl-sym.c: Include <stdlib.h>.
56595         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56596         constants, which avoids warnings in 32-bit builds.
56598         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56599         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56601         * misc/lseek.c: File moved to ...
56602         * io/lseek.c: ... here.
56604         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56606         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56607         shifting LEN more than 31 bits at once.
56609 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56611         [BZ #14195]
56612         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56613         segmentation fault for a case of two empty input strings.
56614         * string/test-strncasecmp.c (check1): Renamed to...
56615         (bz12205): ...this.
56616         (bz14195): Add new testcase for two empty input strings and N > 0.
56617         (test_main): Call new testcase, adapt for renamed function.
56619 2012-08-15  Andreas Jaeger  <aj@suse.de>
56621         [BZ #14090]
56622         * crypt/md5test2.c: New test, based on test supplied by Serge
56623         Belyshev <belyshev@depni.sinp.msu.ru>.
56624         * crypt/Makefile (xtests): Add md5test-giant..
56625         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56627 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56629         [BZ #14090]
56630         * crypt/md5.c (md5_process_block): Don't assume the buffer
56631         length is less than 2**32.
56632         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56633         length is less than 2**64.
56635 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56637         * string/str-two-way.h: Include <sys/param.h>.
56638         (MAX): Macro removed.
56640         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56641         Move #define and #undef of memmove to just before and after
56642         including <string.h>.
56644         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56645         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56646         and after including <string.h>.  Move declarations of
56647         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56648         to before #include "string/memmove.c".
56650         * include/dirent.h: Declare __getdirentries.
56652         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56653         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56655 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56657         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56658         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56659         * sysdeps/i386/configure: Regenerated.
56660         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56661         STABS_CURRENT_FILE, and STABS_FUN.
56662         (END): Remove call to STABS_FUN_END.
56663         (STABS_CURRENT_FILE1): Delete.
56664         (STABS_CURRENT_FILE): Likewise.
56665         (STABS_FUN): Likewise.
56666         (STABS_FUN_END): Likewise.
56667         (STABS_FUN2): Likewise.
56668         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56669         * sysdeps/x86_64/configure: Regenerated.
56671 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56673         * elf/dl-open.c: Include <atomic.h>.
56674         * elf/dl-lookup.c: Likewise.
56676 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56678         * sysdeps/unix/sysv/linux/kernel-features.h
56679         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56680         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56681         unconditionally.
56682         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56683         unconditionally.
56684         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56685         condition on __ASSUME_CLONE_THREAD_FLAGS.
56687 2012-08-14  Andreas Jaeger  <aj@suse.de>
56689         * sysdeps/i386/fpu/libm-test-ulps: Update.
56691 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56693         * include/atomic.h (atomic_exchange_and_add): Split into ...
56694         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56695         New atomic macros.
56697 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56701 2012-08-13  Jeff Law <law@redhat.com>
56703         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56704         null byte in the output string.
56706 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56708         * sysdeps/unix/sysv/linux/kernel-features.h
56709         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56710         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56711         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56712         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56713         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56714         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56715         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56717 2012-08-09  Jeff Law <law@redhat.com>
56719         [BZ #13939]
56720         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56721         When avoid_arena is set, don't retry in the that arena.  Pick the
56722         next one, whatever it might be.
56723         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56724         (arena_lock): Pass in new parameter to arena_get2.
56725         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56726         arena_get2.
56727         (__libc_malloc): Unify retrying after main arena failure with
56728         __libc_memalign version.
56729         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56731 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56733         [BZ #14166]
56734         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56735         to __redirect_strstr.
56736         (__strstr_sse42): Use typeof __redirect_strstr.
56737         (__strstr_ia32): Likewise.
56738         (__libc_strstr): New prototype.
56739         (strstr): Renamed to ...
56740         (__libc_strstr): This.
56741         (strstr): New strong alias of __libc_strstr.
56742         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56743         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56744         __redirect_time.
56745         Include <time.h>.
56746         (__libc_time): New prototype.
56747         (time_ifunc): Replace time with __libc_time.
56748         (time): New strong alias and hidden definition of __libc_time.
56749         (__GI_time): Remove strong alias.
56750         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56751         Include <stddef.h>.
56752         (memmove): Redefined to __redirect_memmove.
56753         (__memmove_sse2): Use typeof __redirect_memmove.
56754         (__memmove_ssse3): Likewise.
56755         (__memmove_ssse3_back): Likewise.
56756         (__libc_memmove): New prototype.
56757         (memmove): Renamed to ...
56758         (__libc_memmove): This.
56759         (memmove): New strong alias of __libc_memmove.
56761 2012-08-08  Mark Salter  <msalter@redhat.com>
56763         * elf/elf.h
56764         (R_MN10300_TLS_GD): Define.
56765         (R_MN10300_TLS_LD): Likewise.
56766         (R_MN10300_TLS_LDO): Likewise.
56767         (R_MN10300_TLS_GOTIE): Likewise.
56768         (R_MN10300_TLS_IE): Likewise.
56769         (R_MN10300_TLS_LE): Likewise.
56770         (R_MN10300_TLS_DTPMOD): Likewise.
56771         (R_MN10300_TLS_DTPOFF): Likewise.
56772         (R_MN10300_TLS_TPOFF): Likewise.
56773         (R_MN10300_SYM_DIFF): Likewise.
56774         (R_MN10300_ALIGN): Likewise.
56775         (R_MN10300_NUM): Update.
56777 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56780         Remove.
56782 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56784         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56786         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56787         sysdeps/unix -> sysdeps/posix move.
56788         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56790 2012-08-07      Allan McRae     <allan@archlinux.org>
56792         [BZ #14303]
56793         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56794         (SUNOS_CPP): Likewise.
56795         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56796         not found.
56797         (open_input): Call CPP using execvp.
56799 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56801         * sysdeps/unix/sysv/linux/kernel-features.h
56802         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56803         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56804         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56805         (__ASSUME_WAITID_SYSCALL): Likewise.
56806         * sysdeps/unix/sysv/linux/dl-execstack.c
56807         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56808         code unconditional.
56809         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56810         conditional code.
56811         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56812         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56813         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56814         code.
56815         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56816         unconditional.
56817         [__ASSUME_WAITID_SYSCALL]: Likewise.
56818         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56820 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56822         * sysdeps/unix/closedir.c: Renamed to ...
56823         * sysdeps/posix/closedir.c: ... here.
56824         * sysdeps/unix/dirfd.c: Renamed to ...
56825         * sysdeps/posix/dirfd.c: ... here.
56826         * sysdeps/unix/dirstream.h: Renamed to ...
56827         * sysdeps/posix/dirstream.h: ... here.
56828         * sysdeps/unix/fdopendir.c: Renamed to ...
56829         * sysdeps/posix/fdopendir.c: ... here.
56830         * sysdeps/unix/opendir.c: Renamed to ...
56831         * sysdeps/posix/opendir.c: ... here.
56832         * sysdeps/unix/readdir.c: Renamed to ...
56833         * sysdeps/posix/readdir.c: ... here.
56834         * sysdeps/unix/readdir_r.c: Renamed to ...
56835         * sysdeps/posix/readdir_r.c: ... here.
56836         * sysdeps/unix/rewinddir.c: Renamed to ...
56837         * sysdeps/posix/rewinddir.c: ... here.
56838         * sysdeps/unix/seekdir.c: Renamed to ...
56839         * sysdeps/posix/seekdir.c: ... here.
56840         * sysdeps/unix/telldir.c: Renamed to ...
56841         * sysdeps/posix/telldir.c: ... here.
56842         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
56843         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
56844         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
56845         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
56847         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
56848         * bits/fcntl.h: ... here.
56850         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
56851         not 0.
56852         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
56853         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
56854         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
56855         (struct flock): Move l_start, l_len to the beginning.
56856         Use __pid_t for l_pid.
56857         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
56858         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
56859         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
56860         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
56861         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
56862         [__USE_LARGEFILE64] (struct flock64): New type.
56863         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
56865         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
56866         * bits/dirent.h: ... here.
56868         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
56869         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
56871 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56873         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56874         Change from 2.6.0 to 2.6.16.
56875         * sysdeps/unix/sysv/linux/configure: Regenerated.
56876         * sysdeps/unix/sysv/linux/kernel-features.h
56877         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
56878         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
56879         version.
56880         (__ASSUME_UTIMES): Likewise.
56881         (__ASSUME_CLONE_STOPPED): Remove.
56882         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
56883         architectures, not kernel version.
56884         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
56885         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56886         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56887         (__ASSUME_WAITID_SYSCALL): Likewise.
56888         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
56889         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
56890         * README: State 2.6.16 as minimum Linux kernel version.  Do not
56891         refer to older versions.
56893 2012-08-06  Roland McGrath  <roland@hack.frob.com>
56895         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
56896         Define alphasort64 as an alias.
56897         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
56898         Define versionsort64 as an alias.
56899         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
56900         Define scandir64 as an alias.
56901         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
56902         Define scandirat64 as an alias.
56903         * dirent/alphasort64.c (alphasort64):
56904         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
56905         * dirent/versionsort64.c: Likewise.
56906         * dirent/scandir64.c: Likewise.
56907         * dirent/scandirat64.c: Likewise.
56908         * sysdeps/wordsize-64/alphasort.c: File removed.
56909         * sysdeps/wordsize-64/alphasort64.c: File removed.
56910         * sysdeps/wordsize-64/scandir.c: File removed.
56911         * sysdeps/wordsize-64/scandir64.c: File removed.
56912         * sysdeps/wordsize-64/scandirat.c: File removed.
56913         * sysdeps/wordsize-64/scandirat64.c: File removed.
56914         * sysdeps/wordsize-64/versionsort.c: File removed.
56915         * sysdeps/wordsize-64/versionsort64.c: File removed.
56916         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
56917         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
56918         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
56919         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
56920         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
56921         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
56922         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
56923         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
56925         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
56926         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56927         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
56928         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56929         [defined __arch64__ || defined __sparcv9]
56930         (__INO_T_MATCHES_INO64_T): New macro.
56931         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56932         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
56933         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
56934         * sysdeps/unix/sysv/linux/bits/dirent.h
56935         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
56936         (_DIRENT_MATCHES_DIRENT64): New macro.
56938         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
56939         Define lockf64 as an alias.
56940         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
56941         Define fseeko64 as an alias.
56942         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
56943         Define ftello64 as an alias.
56944         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
56945         Define _IO_fgetpos64 and fgetpos64 as aliases.
56946         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
56947         Define _IO_fsetpos64 and fsetpos64 as aliases.
56948         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
56949         Conditionalize body on this.
56950         * libio/fseeko64.c: Likewise.
56951         * libio/ftello64.c: Likewise.
56952         * libio/iofgetpos64.c: Likewise.
56953         * libio/iofsetpos64.c: Likewise.
56954         * sysdeps/wordsize-64/lockf.c: File removed.
56955         * sysdeps/wordsize-64/lockf64.c: File removed.
56956         * sysdeps/wordsize-64/fseeko.c: File removed.
56957         * sysdeps/wordsize-64/fseeko64.c: File removed.
56958         * sysdeps/wordsize-64/ftello.c: File removed.
56959         * sysdeps/wordsize-64/ftello64.c: File removed.
56960         * sysdeps/wordsize-64/iofgetpos.c: File removed.
56961         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
56962         * sysdeps/wordsize-64/iofsetpos.c: File removed.
56963         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
56964         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
56965         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
56966         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
56967         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
56968         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
56969         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
56970         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
56971         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
56972         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
56973         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
56975         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56976         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
56977         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
56978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56979         [defined __arch64__ || defined __sparcv9]
56980         (__OFF_T_MATCHES_OFF64_T): New macro.
56981         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56982         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
56983         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56984         (__OFF_T_MATCHES_OFF64_T): New macro.
56986 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56988         * stdlib/secure-getenv.c (__secure_getenv): Replace
56989         GLIBC_2_16 with GLIBC_2_17.
56991 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
56993         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
56994         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56996 2012-08-03  David S. Miller  <davem@davemloft.net>
56998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57000 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57002         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57003         Remove.
57004         (__ASSUME_CORRECT_SI_PID): Likewise.
57005         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57006         (__ASSUME_TMPFS_NAME): Likewise.
57007         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57008         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57009         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57010         (HAVE_AUX_SECURE): Make definition unconditional.
57011         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57012         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57014 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57016         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57017         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57018         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57019         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57020         __eloop_threshold instead of SYMLOOP_MAX.
57022         * sysdeps/generic/eloop-threshold.h: New file.
57023         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57024         of MAXSYMLINKS.
57025         * elf/chroot_canon.c (chroot_canon): Likewise.
57027 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57029         [BZ #13717]
57030         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57031         Change to 2.6.0 everywhere.
57032         * sysdeps/unix/sysv/linux/configure: Regenerated.
57033         * sysdeps/unix/sysv/linux/kernel-features.h
57034         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57035         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57036         kernel versions.
57037         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57038         (__ASSUME_FUTEX_REQUEUE): Remove.
57039         (__ASSUME_STATFS64): Define unconditionally.
57040         (__ASSUME_AT_SECURE): Likewise.
57041         (__ASSUME_CORRECT_SI_PID): Likewise.
57042         (__ASSUME_TGKILL): Define without depending on kernel version for
57043         i386.
57044         (__ASSUME_UTIMES): Likewise.
57045         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57046         kernel version.
57047         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57048         (__ASSUME_TMPFS_NAME): Likewise.
57049         * README: Update reference to Linux kernel versions.
57051 2012-08-02  Marek Polacek  <polacek@redhat.com>
57053         [BZ# 14150]
57054         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57055         libc_cv_asm_type_prefix with %.
57056         * configure: Regenerated.
57057         * include/libc-symbols.h: Remove comment about
57058         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57059         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57060         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57061         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57062         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57063         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57064         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57065         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57066         * elf/tst-unique2mod1.c: Likewise.
57067         * elf/tst-unique1mod2.c: Likewise.
57068         * elf/tst-unique1mod1.c: Likewise.
57069         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57070         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57071         Replace ASM_TYPE_DIRECTIVE with .type.
57072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57073         * sysdeps/i386/sysdep.h: Likewise.
57074         * sysdeps/x86_64/sysdep.h: Likewise.
57075         * sysdeps/sh/sysdep.h: Likewise.
57076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57077         Do not define ASM_TYPE_DIRECTIVE.
57078         * sysdeps/powerpc/sysdep.h: Likewise.
57079         * sysdeps/powerpc/powerpc32/sysdep.h:
57080         Replace ASM_TYPE_DIRECTIVE with .type.
57081         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57082         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57083         * sysdeps/i386/fpu/e_powf.S: Likewise.
57084         * sysdeps/i386/fpu/e_expl.S: Likewise.
57085         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57086         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57087         * sysdeps/i386/fpu/e_pow.S: Likewise.
57088         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57089         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57090         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57091         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57092         * sysdeps/i386/fpu/e_log2.S: Likewise.
57093         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57094         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57095         * sysdeps/i386/fpu/e_powl.S: Likewise.
57096         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57097         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57098         * sysdeps/i386/fpu/e_logl.S: Likewise.
57099         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57100         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57101         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57102         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57103         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57104         * sysdeps/i386/fpu/e_log.S: Likewise.
57105         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57106         * sysdeps/i386/fpu/e_logf.S: Likewise.
57107         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57108         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57109         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57110         * sysdeps/i386/fpu/e_log10.S: Likewise.
57111         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57112         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57113         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57114         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57115         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57116         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57117         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57118         * sysdeps/i386/i686/strtok.S: Likewise.
57119         * sysdeps/i386/i386-mcount.S: Likewise.
57120         * sysdeps/i386/strtok.S: Likewise.
57121         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57122         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57123         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57124         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57125         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57126         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57127         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57128         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57129         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57130         * sysdeps/x86_64/_mcount.S: Likewise.
57131         * sysdeps/x86_64/strtok.S: Likewise.
57132         * sysdeps/sh/_mcount.S: Likewise.
57134 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57136         * libio/iofopen.c: Include <fcntl.h>.
57137         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57138         (_IO_fopen64, fopen64): Define as aliases.
57139         * libio/iofopen64.c: Include <fcntl.h>.
57140         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57141         Conditionalize body on this.
57142         * sysdeps/wordsize-64/iofopen.c: File removed.
57143         * sysdeps/wordsize-64/iofopen64.c: File removed.
57145 2012-08-01  Marek Polacek  <polacek@redhat.com>
57147         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57148         Use dlfcn directly instead of a variable.
57149         (binfmt-subdir): Do not define.
57150         (dlfcn): Likewise.
57152 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57154         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57155         Remove all definitions.
57156         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57157         <kernel-features.h>.
57158         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57159         (miss_F_GETOWN_EX): Remove all definitions.
57160         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57161         macro definition.
57162         [!__ASSUME_FCNTL64]: Remove conditional code.
57163         [__ASSUME_FCNTL64]: Make code unconditional.
57164         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57165         <kernel-features.h>.
57166         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57167         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57168         (lockf64) [__NR_fcntl64]: Make code unconditional.
57169         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57171         * sysdeps/unix/sysv/linux/kernel-features.h
57172         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57173         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57174         Make code unconditional.
57175         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57176         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57178         [__NR_vfork]: Make code unconditional.
57179         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57180         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57182         [__NR_vfork]: Make code unconditional.
57183         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57184         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57186 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57188         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57189         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57191         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57192         Define mkstemp64 as an alias.
57193         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57194         Define mkstemps64 as an alias.
57195         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57196         Define mkostemp64 as an alias.
57197         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57198         Define mkostemps64 as an alias.
57199         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57200         Conditionalize body on this.
57201         * misc/mkostemp64.c: Likewise.
57202         * misc/mkostemps64.c: Likewise.
57203         * misc/mkstemps64.c: Likewise.
57204         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57205         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57206         * sysdeps/wordsize-64/mkostemp.c: File removed.
57207         * sysdeps/wordsize-64/mkstemp.c: File removed.
57208         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57209         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57210         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57211         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57213         [BZ #14138]
57214         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57215         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57216         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57217         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57219         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57220         compat_symbol macros from <shlib-compat.h> rather than the underlying
57221         default_symbol_version and symbol_version macros, so that DEFAULT
57222         lines in shlib-versions are respected.
57223         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57225 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57227         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57228         Declare with warn_unused_result.
57229         (setgid, setregid, setegid, setresgid): Likewise.
57230         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57231         Likewise.
57232         * WUR-REPORT: Remove set*id functions.
57234 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57236         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57238 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57240         [BZ #10191]
57241         * include/sys/socket.h (__libc_accept, __libc_accept4):
57242         Add attribute_hidden.
57243         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57245         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57246         use of PTR_MANGLE.
57247         * inet/getnetgrent_r.c (setup): Likewise.
57249         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57251 2012-07-31  David S. Miller  <davem@davemloft.net>
57253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57255 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57257         [BZ #13629]
57258         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57259         value between 1.0 and 2.0 and smaller part has absolute value less
57260         than 1.0.
57261         * math/s_clog10.c (__clog10): Likewise.
57262         * math/s_clog10f.c (__clog10f): Likewise.
57263         * math/s_clog10l.c (__clog10l): Likewise.
57264         * math/s_clogf.c (__clogf): Likewise.
57265         * math/s_clogl.c (__clogl): Likewise.
57266         * math/libm-test.inc (clog_test): Add more tests.
57267         (clog10_test): Likewise.
57268         * sysdeps/i386/fpu/libm-test-ulps: Update.
57269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57271 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57273         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57274         Exit with zero in case no suitable GID is found, and write a
57275         message to standard error.
57277 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57279         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57280         rather than to 1.
57281         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57282         (MAXPATHLEN): Removed.
57283         (NOGROUP, NODEV): New macros.
57284         (setbit, clrbit, isset, isclr): New macros.
57285         (howmany, roundup, powerof2): New macros.
57286         (DEV_BSIZE): New macro.
57288         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57289         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57291         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57292         definition on [!__NO_LONG_DOUBLE_MATH].
57294         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57295         PTR_MANGLE and PTR_DEMANGLE.
57297         * socket/accept4.c (accept4): Rename to __libc_accept4.
57298         Define accept4 as a weak alias.
57300         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57301         on [_DIRENT_HAVE_D_TYPE].
57302         * io/ftw.c (ftw_dir): Likewise.
57304         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57306         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57308         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57309         Use the BSD numbers rather than the arbitrary ones we had.
57310         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57311         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57312         (SIGXCPU, SIGXFSZ): New macros.
57313         (_NSIG): Now 32.
57315         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57316         initializer on [_LIBC_REENTRANT].
57318         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57319         definitions inside [_POSIX_MAPPED_FILES].
57321         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57323         * dirent/opendir.c: Include <fcntl.h>.
57325         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57326         (__libc_getspecific): Likewise.
57327         (__libc_key_create): Likewise.
57329         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57330         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57331         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57332         (tmpfile64): Define as alias.
57333         * sysdeps/wordsize-64/tmpfile.c: File removed.
57334         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57335         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57336         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57338         * stdio-common/vfscanf.c: Include <stdbool.h>.
57339         * nss/makedb.c: Likewise.
57340         * stdio-common/_i18n_number.h: Likewise.
57341         * argp/argp-help.c: Likewise.
57342         * posix/wordexp.c: Likewise.
57343         * sysdeps/posix/spawni.c: Likewise.
57344         * nss/nss_files/files-initgroups.c: Likewise.
57345         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57346         * nss/nss_files/files-initgroups.c: Likewise.
57347         * nss/nss_db/db-netgrp.c: Likewise.
57348         * nss/nss_db/db-initgroups.c: Likewise.
57349         * io/fchmodat.c: Include <sys/stat.h>.
57351         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57352         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57354         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57355         [HAVE_MMAP].
57357         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57358         Add multiple inclusion protection.
57360 2012-07-27  David S. Miller  <davem@davemloft.net>
57362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57364 2012-07-27  Gary Benson  <gbenson@redhat.com>
57366         [BZ #14298]
57367         * elf/rtld.c: Include <stap-probe.h>.
57368         (dl_main): Added static probes "init_start" and "init_complete".
57369         * elf/dl-load.c: Include <stap-probe.h>.
57370         (lose): Take new parameter "nsid".
57371         Added static probe "map_failed".
57372         (_dl_map_object_from_fd): Pass namespace id to lose.
57373         Added static probe "map_start".
57374         (open_verify): Pass namespace id to lose.
57375         * elf/dl-open.c: Include <stap-probe.h>.
57376         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57377         and "reloc_complete".
57378         * elf/dl-close.c: Include <stap-probe.h>.
57379         (_dl_close_worker): Added static probes "unmap_start" and
57380         "unmap_complete".
57381         * elf/rtld-debugger-interface.txt: New file documenting the above.
57383 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57385         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57386         rather than a string variable.
57387         * sunrpc/rpc_main.c (h_output): Likewise.
57388         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57390 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57392         * inet/check_native.c: New file.
57394 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57396         [BZ #13629]
57397         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57398         if larger part has absolute value 1.0.
57399         * math/s_clog10.c (__clog10): Likewise.
57400         * math/s_clog10f.c (__clog10f): Likewise.
57401         * math/s_clog10l.c (__clog10l): Likewise.
57402         * math/s_clogf.c (__clogf): Likewise.
57403         * math/s_clogl.c (__clogl): Likewise.
57404         * math/libm-test.inc (clog_test): Add more tests.
57405         (clog10_test): Likewise.
57406         * sysdeps/i386/fpu/libm-test-ulps: Update.
57407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57409         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57410         (pltexit): Likewise.
57411         (La_regs): Likewise.
57412         (La_retval): Likewise.
57413         (int_retval): Likewise.
57414         Update #error for removed macros to refer only to definitions in
57415         tst-audit.h.
57416         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57417         macro.
57418         (pltexit): Likewise.
57419         (La_regs): Likewise.
57420         (La_retval): Likewise.
57421         (int_retval): Likewise.
57422         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57423         macro.
57424         (pltexit): Likewise.
57425         (La_regs): Likewise.
57426         (La_retval): Likewise.
57427         (int_retval): Likewise.
57428         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57429         macro.
57430         (pltexit): Likewise.
57431         (La_regs): Likewise.
57432         (La_retval): Likewise.
57433         (int_retval): Likewise.
57434         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57435         macro.
57436         (pltexit): Likewise.
57437         (La_regs): Likewise.
57438         (La_retval): Likewise.
57439         (int_retval): Likewise.
57440         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57441         macro.
57442         (pltexit): Likewise.
57443         (La_regs): Likewise.
57444         (La_retval): Likewise.
57445         (int_retval): Likewise.
57446         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57447         macro.
57448         (pltexit): Likewise.
57449         (La_regs): Likewise.
57450         (La_retval): Likewise.
57451         (int_retval): Likewise.
57452         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57453         macro definitions in tst-audit.h.
57454         * sysdeps/i386/tst-audit.h: New file.
57455         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57456         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57457         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57458         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57459         * sysdeps/sh/tst-audit.h: Likewise.
57460         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57461         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57462         * sysdeps/x86_64/tst-audit.h: Likewise.
57464 2012-07-26  Andreas Jaeger  <aj@suse.de>
57466         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57467         ptrace.
57469         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57470         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57471         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57472         PTRACE_O_MASK.
57473         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57474         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57475         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57477         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57478         value.
57480         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57481         _sigsys.
57482         (si_call_addr, si_syscall, si_arch): Define new macro.
57483         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57484         _sigsys.
57485         (si_call_addr, si_syscall, si_arch): Define new marcro.
57486         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57487         _sigsys.
57488         (si_call_addr, si_syscall, si_arch): Define new macro.
57489         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57490         _sigsys.
57491         (si_call_addr, si_syscall, si_arch): Define new macro.
57493 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57495         [BZ #13717]
57496         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57497         Change to 2.4.21 where previously 2.4.1.
57498         * sysdeps/unix/sysv/linux/configure: Regenerated.
57499         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57500         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57501         Linux kernel version.
57502         (__ASSUME_STD_AUXV): Remove.
57503         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57504         kernel version.
57505         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57506         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57507         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57508         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57509         (__ASSUME_NETLINK_SUPPORT): Likewise.
57510         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57511         (__no_netlink_support): Remove conditional definition.
57512         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57513         Remove.
57514         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57515         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57516         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57517         (if_nameindex_ioctl): Remove.
57518         (if_nameindex_netlink): Do not handle __no_netlink_support.
57519         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57520         code.
57521         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57522         Remove conditional code.
57523         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57524         code.
57525         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57526         unconditional.
57527         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57528         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57529         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57530         Remove.
57531         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57532         [!__ASSUME_STD_AUXV]: Remove conditional code.
57533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57534         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57535         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57537         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57538         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57539         code.
57540         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57542         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57543         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57544         conditional code.
57545         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57547         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57548         code.
57549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57550         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57551         conditional code.
57552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57553         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57554         code unconditional.
57555         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57556         conditional code.
57557         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57558         unconditional.
57559         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57560         conditional code.
57561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57562         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57563         unconditional.
57564         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57565         conditional code.
57566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57567         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57568         code unconditional.
57569         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57570         conditional code.
57571         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57572         unconditional.
57573         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57574         conditional code.
57575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57576         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57577         code unconditional.
57578         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57579         conditional code.
57580         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57581         unconditional.
57582         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57583         conditional code.
57585 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57587         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57588         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57589         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57590         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57591         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57592         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57593         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57594         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57595         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57596         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57597         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57598         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57599         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57600         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57601         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57602         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57603         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57604         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57605         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57607         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57608         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57609         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57611 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57613         * Versions.def: Add GLIBC_2.17.
57614         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57615         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57616         Introduce __libc_secure_getenv.
57617         * stdlib/Versions (2.17): Add secure_getenv
57618         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57619         * stdlib/secure-getenv.c: Rename __secure_getenv to
57620         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57621         symbol __secure_getenv for GLIBC_2.0.
57622         * stdlib/tst-secure-getenv.c: New.
57623         * stdlib/Makefile (tests): Add testcase.
57624         * manual/startup.texi (Environment Access): Document
57625         secure_getenv.
57626         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57627         __libc_secure_getenv.
57628         * inet/ruserpass.c (ruserpass): Likewise.
57629         * malloc/mtrace.c (mtrace): Likewise.
57630         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57631         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57632         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57633         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57634         HAVE_SECURE_GETENV.
57635         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57636         __secure_getenv to __libc_secure_getenv.
57637         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57639         Likewise.
57640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57641         Likewise.
57642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57650 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57652         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57653         (struct La_i86_retval): Likewise.
57654         (struct La_x86_64_regs): Likewise.
57655         (struct La_x86_64_retval): Likewise.
57656         (struct La_x32_regs): Likewise.
57657         (struct La_x32_retval): Likewise.
57658         (struct La_ppc32_regs): Likewise.
57659         (struct La_ppc32_retval): Likewise.
57660         (struct La_ppc64_regs): Likewise.
57661         (struct La_ppc64_retval): Likewise.
57662         (struct La_sh_regs): Likewise.
57663         (struct La_sh_retval): Likewise.
57664         (struct La_s390_32_regs): Likewise.
57665         (struct La_s390_32_retval): Likewise.
57666         (struct La_s390_64_regs): Likewise.
57667         (struct La_s390_64_retval): Likewise.
57668         (struct La_sparc32_regs): Likewise.
57669         (struct La_sparc32_retval): Likewise.
57670         (struct La_sparc64_regs): Likewise.
57671         (struct La_sparc64_retval): Likewise.
57672         (struct audit_ifaces): Remove architecture-specific pltenter and
57673         pltexit members.
57674         * sysdeps/i386/ldsodefs.h: New file.
57675         * sysdeps/powerpc/ldsodefs.h: Likewise.
57676         * sysdeps/s390/ldsodefs.h: Likewise.
57677         * sysdeps/sh/ldsodefs.h: Likewise.
57678         * sysdeps/sparc/ldsodefs.h: Likewise.
57679         * sysdeps/x86_64/ldsodefs.h: Likewise.
57681 2012-07-25  Marek Polacek  <polacek@redhat.com>
57683         [BZ #6808]
57684         * math/libm-test.inc (yn_test): Add another test.
57685         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57686         to ERANGE when the result is +-Inf.
57687         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57688         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57689         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57690         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57692 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57694         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57695         equal to 0.
57696         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57697         clock_t.
57698         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57700 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57702         * configure.in <sysdeps resolving>: Correct printing
57703         Implies_before.
57704         * configure: Regenerate.
57706 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57708         * math/w_ilogb.c: Include <limits.h>.
57709         * math/w_ilogbl.c: Likewise.
57711 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57713         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57714         va_copy.  Document allowing for unavailable va_copy only as
57715         pre-C99 compatibility.
57716         * manual/string.texi (Copying and Concatenation): Use va_copy
57717         instead of __va_copy in concat example.
57719 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57721         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57722         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57723         it if not null.
57725         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57726         with O_NOLINK passed to __file_name_lookup.
57728         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57729         with O_NOLINK passed to __file_name_lookup.
57731         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57732         negative N or less than NGIDS.
57734         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57735         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57736         enough.  Use memcpy instead of strncpy.
57738 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57740         * elf/Makefile (check-data): Remove.
57741         (localplt.data): New vpath directive.
57742         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57743         instead of $(check-data).
57744         * scripts/data/localplt-generic.data: Move to ...
57745         * sysdeps/generic/localplt.data: ... here.
57746         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57747         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57748         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57750         ... here.
57751         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57753         ... here.
57754         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57756         ... here.
57757         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57759         ... here.
57760         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57762         ... here.
57763         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57765         ... here.
57767 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57769         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57770         PPC32 and PPC64 files.
57771         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57772         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57774 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57776         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57777         __makecontext_ret to ...
57778         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57779         ... here and call exit if uc_link is NULL.  New file.
57780         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57781         __makecontext_ret.S.
57782         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57783         __makecontext_ret to ...
57784         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57785         ... here and call exit if uc_link is NULL.  New file.
57786         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57787         __makecontext_ret.S.
57789 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57791         * elf/elf.h (R_390_IRELATIVE): New definition.
57792         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57793         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57794         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57796         (elf_machine_lazy_rel): Likewise.
57797         * sysdeps/s390/dl-irel.h: New file.
57798         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57799         * sysdeps/s390/s390-64/memset.S: New asm code.
57800         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57801         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57802         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57803         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57804         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57805         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57806         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57807         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57808         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57809         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57810         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57811         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57812         * sysdeps/s390/s390-32/memset.S: New asm code.
57813         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57815 2012-07-17  Marek Polacek  <polacek@redhat.com>
57817         [BZ #14349]
57818         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57819         * sysdeps/s390/s390-64/configure.in: Likewise.
57820         * sysdeps/sparc/configure.in: Likewise.
57821         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57822         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57823         * sysdeps/i386/configure.in: Likewise.
57824         * sysdeps/x86_64/configure.in: Likewise.
57825         * sysdeps/sh/configure.in: Likewise.
57826         * sysdeps/s390/s390-32/configure: Regenerated.
57827         * sysdeps/s390/s390-64/configure: Likewise.
57828         * sysdeps/x86_64/configure: Likewise.
57829         * sysdeps/sh/configure: Likewise.
57830         * sysdeps/powerpc/powerpc64/configure: Likewise.
57831         * sysdeps/powerpc/powerpc32/configure: Likewise.
57832         * sysdeps/sparc/configure: Likwise.
57833         * sysdeps/i386/configure: Likewise.
57835         * elf/dl-open.c: Comment fixes.
57837 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
57839         * Makefile [CXX] (check-data): Remove.
57840         [CXX] (c++-types.data): New vpath directive.
57841         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
57842         vpath.  Do not allow for C++ type data being missing.
57843         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
57844         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
57845         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
57846         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
57847         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
57848         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
57849         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
57850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
57851         ... here.
57852         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
57853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
57854         ... here.
57855         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
57856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
57857         ... here.
57858         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
57859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
57860         ... here.
57861         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
57862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
57863         ... here.
57864         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
57865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
57866         ... here.
57867         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
57868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
57869         ... here.
57870         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
57871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
57873         * elf/tls-macros.h (TLS_LE): Move architecture-specific
57874         definitions to architecture-specific files.
57875         (TLS_IE): Likewise.
57876         (TLS_LD): Likewise.
57877         (TLS_GD): Likewise.
57878         * sysdeps/i386/tls-macros.h: New file.
57879         * sysdeps/powerpc/tls-macros.h: Likewise.
57880         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
57881         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
57882         * sysdeps/sh/tls-macros.h: Likewise.
57883         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
57884         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
57885         * sysdeps/x86_64/tls-macros.h: Likewise.
57887 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57889         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
57890         zero value for regular exit case.
57892         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
57893         (__start_context): Preserve zero value for regular exit case.
57895 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
57896             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57898         * manual/setjmp.texi (setcontext): Clarify normal process
57899         termination when uc_link is the null pointer.
57900         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
57901         exit call.
57903 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
57905         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
57906         preprocessor.  Test for each exception mask separately.
57908 2012-07-16  Andreas Jaeger  <aj@suse.de>
57910         * po/ru.po: Update from translation team.
57912 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
57914         * conform/data/string.h-data (NULL): Use macro-constant.  Require
57915         equal to 0.
57916         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57917         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57918         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
57919         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
57920         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57922 2012-07-13  Andreas Jaeger  <aj@suse.de>
57924         * po/fr.po: Update from translation team.
57926 2012-07-12  Marek Polacek  <polacek@redhat.com>
57928         [BZ #14173]
57929         * math/libm-test.inc (yn_test): Add test for BZ #14173.
57930         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
57931         loop condition.
57933 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
57935         [BZ #13717]
57936         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57937         Change to 2.4.1 where previously 2.4.0.
57938         * sysdeps/unix/sysv/linux/configure: Regenerated.
57939         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
57940         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
57941         version.
57942         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
57943         (__ASSUME_AT_CLKTCK): Remove.
57944         (__ASSUME_AT_PAGESIZE): Likewise.
57945         (__ASSUME_AT_XID): Likewise.
57946         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
57947         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
57948         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
57949         unconditionally.
57950         (HAVE_AUX_PAGESIZE): Likewise.
57951         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
57952         [__ASSUME_AT_CLKTCK]: Make code unconditional.
57953         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
57955 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
57957         [BZ #14307]
57958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
57959         the temporary buffer used to invoke __gethostbyname2_r,
57960         __gethostbyaddr_r and gethostbyname4_r to make room for struct
57961         host_data / struct gaih_addrtuple.
57962         * resolv/nss_dns/dns-host.c (global scope): Move definition of
57963         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
57964         header file nss/nsswitch.h.
57965         * nss/nsswitch.h (global scope): Add definition of implementation
57966         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
57967         resolv/nss_dns/dns-host.c).
57969 2012-07-11  Andreas Jaeger  <aj@suse.de>
57971         * po/fr.po: Update from translation team.
57973         * po/sv.po: Update from translation team
57974         * po/fr.po: Another update from translation team.
57976 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57978         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
57979         for subnormals or multiply small sinh result by itself.
57980         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57983 2012-07-11  David S. Miller  <davem@davemloft.net>
57985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57987 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
57989         [BZ #14347]
57990         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
57991         (INTERNAL_MARK): Shift it here.
57993 2012-07-10  Marek Polacek  <polacek@redhat.com>
57995         [BZ #14151]
57996         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
57997         libc_cv_asm_global_directive with .globl.
57998         * configure: Regenerated.
57999         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58000         with .globl.
58001         * sysdeps/i386/configure: Regenerated.
58002         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58003         with .globl.
58004         * sysdeps/x86_64/configure: Regenerated.
58005         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58006         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58007         * elf/tst-unique2mod2.c: Likewise.
58008         * elf/tst-unique2mod1.c: Likewise.
58009         * elf/tst-unique1mod2.c: Likewise.
58010         * elf/tst-unique1mod1.c: Likewise.
58011         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58012         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58013         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58014         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58015         * sysdeps/mach/sysdep.h: Likewise.
58016         * sysdeps/i386/sysdep.h: Likewise.
58017         * sysdeps/i386/i386-mcount.S: Likewise.
58018         * sysdeps/x86_64/_mcount.S: Likewise.
58019         * sysdeps/x86_64/sysdep.h: Likewise.
58020         * sysdeps/sh/_mcount.S: Likewise.
58021         * sysdeps/sh/sysdep.h: Likewise.
58022         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58023         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58024         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58025         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58026         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58027         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58028         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58029         * locale/localeinfo.h: Likewise.
58030         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58031         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58033 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58035         [BZ #14336]
58036         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58037         system".
58038         * manual/message.texi (The Uniforum approach): Likewise.
58039         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58040         (glibc iconv Implementation): Likewise.
58042 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58044         [BZ #14337]
58045         * math/s_clog.c (__clog): Avoid scaling a value down where that
58046         could result in underflow.
58047         * math/s_clog10.c (__clog10): Likewise.
58048         * math/s_clog10f.c (__clog10f): Likewise.
58049         * math/s_clog10l.c (__clog10l): Likewise.
58050         * math/s_clogf.c (__clogf): Likewise.
58051         * math/s_clogl.c (__clogl): Likewise.
58052         * math/libm-test.inc (clog_test): Add more tests.
58053         (clog10_test): Likewise.
58054         * sysdeps/i386/fpu/libm-test-ulps: Update.
58055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58057 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58059         [BZ #14283]
58060         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58061         by 7 not 8 to examine high bit of fractional part.
58063         [BZ #14042]
58064         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58065         for call to __mcount_internal.
58066         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58067         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58068         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58070 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58072         [BZ #14154]
58073         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58074         approximation for values within 0x1p-13f of an odd multiple of
58075         pi/4.
58076         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58077         exception.  Add more tests.
58078         * sysdeps/i386/fpu/libm-test-ulps: Update.
58080         [BZ #6778]
58081         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58082         inputs and return -1 for them.  Do not check for +Inf in case not
58083         reachable for +Inf.
58084         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58085         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58086         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58087         and return -1 for them.  Do not check for +Inf in case not
58088         reachable for +Inf.
58089         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58090         define.
58091         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58092         and return -1 for them.  Do not check for +Inf in case not
58093         reachable for +Inf.
58094         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58095         spurious underflow.
58096         * sysdeps/i386/fpu/libm-test-ulps: Update.
58097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58099 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58101         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58103 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58105         [BZ #14157]
58106         [BZ #14331]
58107         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58108         could result in spurious underflow.  Scale down values above
58109         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58110         * math/s_csqrtf.c (__csqrtf): Likewise.
58111         * math/s_csqrtl.c (__csqrtl): Likewise.
58112         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58113         spurious underflow.
58114         * sysdeps/i386/fpu/libm-test-ulps: Update.
58115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58117 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58119         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58120         xopen-msg.sed.
58121         * catgets/xopen-msg.awk: New file.
58122         * catgets/xopen-msg.sed: Removed.
58124         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58125         po2text.sed.
58126         * intl/po2test.awk: New file.
58127         * intl/po2test.sed: Removed.
58129 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58131         [BZ #14328]
58132         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58133         or multiply small sinh result by itself.
58134         * math/s_ctanf.c (__ctanf): Likewise.
58135         * math/s_ctanh.c (__ctanh): Likewise.
58136         * math/s_ctanhf.c (__ctanhf): Likewise.
58137         * math/s_ctanhl.c (__ctanhl): Likewise.
58138         * math/s_ctanl.c (__ctanl): Likewise.
58139         * math/libm-test.inc (ctan_test_tonearest): New function.
58140         (ctan_test_towardzero): Likewise.
58141         (ctan_test_downward): Likewise.
58142         (ctan_test_upward): Likewise.
58143         (ctanh_test_tonearest): Likewise.
58144         (ctanh_test_towardzero): Likewise.
58145         (ctanh_test_downward): Likewise.
58146         (ctanh_test_upward): Likewise.
58147         (main): Call these new functions.
58148         * sysdeps/i386/fpu/libm-test-ulps: Update.
58149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58151 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58153         * .gitignore: Delete /ports entry.
58155 2012-07-03  Andreas Jaeger  <aj@suse.de>
58157         * po/bg.po: Update from translation team.
58158         * po/cs.po: Likewise.
58159         * po/de.po: Likewise.
58160         * po/hr.po: Likewise.
58161         * po/nl.pl: Likewise.
58162         * po/pl.po: Likewise.
58163         * po/vi.po: Likewise.
58165 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58167         * Makeconfig [!+link] (+link-before-libc): New variable.
58168         [!+link] (+link-after-libc): Likewise.
58169         [!+link] (+link-tests): Likewise.
58170         [!+link] (+link): Define in terms of $(+link-before-libc) and
58171         $(+link-after-libc).
58172         [!+link-static] (+link-static-before-libc): New variable.
58173         [!+link-static] (+link-static-after-libc): Likewise.
58174         [!+link-static] (+link-static-tests): Likewise.
58175         [!+link-static] (+link-static): Define in terms of
58176         $(+link-static-before-libc) and $(+link-static-after-libc).
58177         [build-shared] (link-libc-before-gnulib): New variable.
58178         [build-shared] (link-libc-tests): Likewise.
58179         [build-shared] (link-libc): Define in terms of
58180         $(link-libc-before-gnulib).
58181         [!build-shared] (link-libc-tests): New variable.
58182         (link-libc-static-tests): New variable.
58183         [!gnulib] (gnulib-arch): New variable.
58184         [!gnulib] (gnulib-tests): Likewise.
58185         [!gnulib] (static-gnulib-arch): Likewise.
58186         [!gnulib] (static-gnulib-tests): Likewise.
58187         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58188         Define with "=" instead of ":=".
58189         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58190         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58191         * Rules (binaries-all-notests): New variable.
58192         (binaries-all-tests): Likewise.
58193         (binaries-static-notests): Likewise.
58194         (binaries-static-tests): Likewise.
58195         (binaries-all): Define using $(binaries-all-notests) and
58196         $(binaries-all-tests).
58197         (binaries-static): Define using $(binaries-static-notests) and
58198         $(binaries-static-tests).
58199         (binaries-shared-tests): New variable.
58200         (binaries-shared-notests): Likewise.
58201         (binaries-shared): Remove variable.
58202         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58203         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58204         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58205         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58206         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58207         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58208         * elf/Makefile (sln-modules): New variable.
58209         (extra-objs): Add $(sln-modules:=.o).
58210         (ldconfig-modules): Add static-stubs.
58211         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58212         * elf/static-stubs.c: New file.
58214         [BZ #14283]
58215         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58216         by 7 not 8 to examine high bit of fractional part.  Use volatile
58217         variables when splitting into final array of floats if
58218         __FLT_EVAL_METHOD__ != 0.
58219         * math/libm-test.inc (cos_test): Add another test.
58220         (sin_test): Likewise.
58221         * sysdeps/i386/fpu/libm-test-ulps: Update.
58223         [BZ #14273]
58224         * math/libm-test.inc (cosh_test): Add more tests.
58226         * version.h (RELEASE): Set to "development".
58227         (VERSION): Set to "2.16.90".
58229 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58231         * NEWS: Update copyright. Remove last-updated date.
58232         Mention math library bug fixes and timezone data changes.
58233         * README: Mention GNU/Hurd, x32, and HPPA support status.
58235 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58237         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58239 2012-06-27  Andreas Jaeger  <aj@suse.de>
58241         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58243 2012-06-25  Andreas Jaeger  <aj@suse.de>
58245         * sysdeps/s390/fpu/libm-test-ulps: Update.
58247 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58248             Thomas Schwinge  <thomas@codesourcery.com>
58250         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58251         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58252         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58253         fanotify_mark.
58255 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58257         * sysdeps/mach/start.c: Remove file.
58258         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58259         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58260         * sysdeps/sh/init-first.c: Likewise.
58262         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58263         registers for frame unwinding purposes, add CFI directives.
58264         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58265         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58266         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58267         Likewise.
58269         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58270         __fortify_fail returning.
58271         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58273         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58274         sysdeps/sh/____longjmp_chk.S.
58275         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58276         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58277         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58278         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58280         * sysdeps/sh/abort-instr.h: New file.
58281         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58282         process in case exit returns.
58284         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58285         initialize the GOT register before use.
58287         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58288         calculation of ARGC > 4.
58290         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58291         meaningful names to some local labels.
58293 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58294             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58296         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58297         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58298         (__arch_compare_and_exchange_val_16_acq): Likewise.
58299         (__arch_compare_and_exchange_val_32_acq): Likewise.
58300         (atomic_exchange_and_add): Fix gUSA sequence.
58301         (atomic_add): Likewise.
58302         (atomic_add_negative): Likewise.
58303         (atomic_add_zero): Likewise.
58304         (atomic_bit_test_set): Likewise.
58306 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58308         [BZ #13579]
58309         * include/link.h (struct link_map): Add l_free_initfini.
58310         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58311         l_initfini.
58312         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58313         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58314         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58315         set.
58317 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58319         * configure.in: Use AC_LANG_SOURCE.
58320         * configure: Regenerate.
58322 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58324         * configure.in (libc_cv_localstatedir): New substituted variable.
58325         * configure: Regenerated.
58326         * config.make.in (localstatedir): New variable, substituted from
58327         libc_cv_localstatedir.
58328         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58329         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58330         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58331         * sysdeps/gnu/configure: Regenerated.
58333 2012-06-21  Jeff Law  <law@redhat.com>
58335         [BZ #14277]
58336         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58337         free.  Simplify list management for _LIBC case.
58339 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58341         [BZ #14273]
58342         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58343         Clear sign bit of 64-bit integer value before comparing against
58344         overflow value.
58346         * sysdeps/mach/configure: Regenerated.
58348 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58350         [BZ #14278]
58351         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58353 2012-06-21  Jeff Law  <law@redhat.com>
58355         [BZ #13882]
58356         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58357         uint16_t for elements in the "seen" array to avoid char overflows.
58358         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58359         * elf/dl-open.c (dl_open_worker): Likewise.
58361 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58363         * scripts/list-sources.sh: Scan PORTS for translations.
58364         * po/libc.pot: Regenerated.
58366 2012-06-21  Andreas Jaeger  <aj@suse.de>
58368         [BZ #12194]
58369         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58370         warning.
58371         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58372         * bits/byteswap-16.h (__bswap_16): Likewise.
58373         * bits/byteswap.h (__bswap_constant_16): Likewise.
58375 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58377         [BZ #14117]
58378         * sysdeps/i386/fpu_control.h: Removed.
58379         * sysdeps/x86_64/fpu_control.h: Moved to ...
58380         * sysdeps/x86/fpu_control.h: Here.
58382         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58383         (_FPU_SETCW): Likewise.
58385 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58387         [BZ #14117]
58388         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58389         * sysdeps/x86/fpu/bits/mathinline.h: This.
58390         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58392         [BZ #14050]
58393         [BZ #14117]
58394         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58395         functions if __x86_64__ is defined.
58397 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58399         * string/endian.h: Add !__ASSEMBLER__ condition for including
58400         conversion interfaces.
58402 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58404         [BZ #14241]
58405         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58406         of ABS(x) in calculating zero to negative powers other than odd
58407         integers.
58408         * math/libm-test.inc (pow_test): Add more tests.
58410 2012-06-15  Andreas Jaeger  <aj@suse.de>
58412         * manual/contrib.texi (Contributors): Update entry of Liubov
58413         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58414         Machado Filho.
58416 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58418         * string/string.h: Add __wur to GNU version of strerror_r.
58420 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58422         [BZ #14229]
58423         * string/Makefile (tests): Add tst-strtok_r.
58424         * string/tst-strtok_r.c: New file.
58425         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58426         RAX_LP/RDX_LP on SAVE_PTR.
58428 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58430         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58432 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58434         * libm_test.inc (csqrt_test): Allow more spurious underflow
58435         exceptions.
58436         (j0_test): Likewise.
58437         (j1_test): Likewise.
58438         (y0_test): Likewise.
58439         (y1_test): Likewise.
58441 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58443         * po/Makefile (libc.pot): Use UTF-8 charset.
58445 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58447         [BZ #14210]
58448         Suppress sign-conversion warning from FD_SET.
58449         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58450         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58451         not unsigned long int.
58452         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58454 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58456         [BZ #14050]
58457         [BZ #14117]
58458         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58459         __extern_always_inline instead of __extern_inline.
58460         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58461         (__signbit): Likewise.
58462         (__signbitl): Support C++ namespace.
58463         (lrintf): New inline function.
58464         (lrint): Likewise.
58465         (llrintf): Likewise.
58466         (llrint): Likewise.
58467         (fmaxf): Likewise.
58468         (fmax): Likewise.
58469         (fminf): Likewise.
58470         (fmin): Likewise.
58471         (rint): Likewise.
58472         (rintf): Likewise.
58473         (ceil): Likewise.
58474         (ceilf): Likewise.
58475         (floor): Likewise.
58476         (floorf): Likewise.
58477         (nearbyint): Likewise.
58478         (nearbyintf): Likewise.
58480 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58482         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58483         non-default versions.
58485 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58487         [BZ #14218]
58488         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58490 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58492         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58493         (FE_UPWARD, FE_DOWNWARD): Don't define.
58494         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58495         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58497         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58498         reading it.
58499         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58500         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58502 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58504         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58505         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58506         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58507         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58509 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58511         [BZ #14117]
58512         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58513         * sysdeps/i386/fpu/Implies: New file.
58514         * sysdeps/x86_64/fpu/Implies: Likewise.
58515         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58516         * sysdeps/x86/fpu/bits/fenv.h: This.
58518         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58519         __SSE_MATH__.
58521 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58523         [BZ #14134]
58524         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58525         character 0xffff that matches the last element of the
58526         conversion table.
58528 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58531         fmodl commit.
58533 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58536         values higher than 25.6283.
58538 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58541         subnormal exponent extraction and add some __builtin_expect.
58542         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58543         Fix for subnormal mantissa calculation.
58545 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58547         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58548         cpu2 is -1 and errno is not ENOSYS.
58550 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58552         [BZ #14117]
58553         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58554         * sysdeps/x86/bits/string.h: This.
58555         * sysdeps/x86_64/bits/string.h: Removed.
58557         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58558         if not compiling for x86-64, but compiling for >= i486.
58560         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58561         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58563         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58564         New macro from Linux kernel 3.4.0.
58565         (FP_XSTATE_MAGIC2): Likewise.
58566         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58567         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58568         (struct _fpx_sw_bytes): New struct.
58569         (struct _xsave_hdr): Likewise.
58570         (struct _ymmh_state): Likewise.
58571         (struct _xstate): Likewise.
58573         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58574         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58575         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58576         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58577         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58578         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58580         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58581         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58582         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58583         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58584         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58585         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58587 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58589         [BZ #13743]
58590         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58591         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58592         (sysdep_headers): Include sys/platform/ppc.h.
58593         * sysdeps/powerpc/test-gettimebase.c: Test for
58594         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58595         * manual/Makefile (appendices): Include platform.texi.
58596         * manual/contrib.texi (Contributors): Update @node pointers.
58597         * manual/maint.texi (Maintenance): Likewise.
58598         (Platform): New node.
58599         * manual/platform.texi: New file.  Document the new features.
58601 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58602             Jakub Jelinek  <jakub@redhat.com>
58604         [BZ #14188]
58605         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58606         where __builtin_expect is unavailable.
58608 2012-06-03  David S. Miller  <davem@davemloft.net>
58610         * stdlib/longlong.h: Updated from GCC.
58612 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58614         [BZ #14042]
58615         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58616         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58617         __mcount_internal.
58618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58619         (GLIBC_2.16): Likewise.
58621 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58623         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58625 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58628         (default-abi): New variable.
58629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58630         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58631         variable.
58632         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58633         Likewise.
58634         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58635         Likewise.
58636         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58637         Likewise.
58639         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58640         definition.  Document in comment.
58642 2012-06-01  David S. Miller  <davem@davemloft.net>
58644         * stdlib/longlong.h: Updated from GCC.
58646 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58648         [BZ #14117]
58649         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58650         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58651         sys/debugreg.h sys/io.h here.
58652         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58653         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58654         sys/io.h.
58655         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58656         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58657         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58658         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58659         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58660         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58662         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58663         Define only if __x86_64__ is defined.
58665 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58667         [BZ #14048]
58668         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58669         Use int64_t for variable i.
58670         * math/libm-test.inc (fmod_test): Add more tests.
58672         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58673         z computation is not scheduled after fetestexcept.
58674         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58675         Use math_force_eval instead of asm to ensure calculation scheduled
58676         before exception test.
58677         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58678         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58680 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58683         computation is not scheduled after fetestexcept.
58685 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58687         [BZ #14117]
58688         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58689         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58691 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58693         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58694         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58696 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58698         [BZ #14117]
58699         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58700         <bits/wordsize.h>.
58701         (__WCHAR_MIN): Support __WORDSIZE == 64.
58702         (__WCHAR_MAX): Likewise.
58704         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58705         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58707         [BZ #14183]
58708         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58709         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58711         [BZ #14117]
58712         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58713         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58715         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58716         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58718         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58719         Defined to 1 if __x86_64__ isn't defined.
58720         (_STAT_VER_LINUX_OLD): New.
58721         (st_atime): Remove duplicate.
58722         (st_mtime): Likewise.
58723         (st_ctime): Likewise.
58725 2012-05-31  David S. Miller  <davem@davemloft.net>
58727         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58728         entries.
58730 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58732         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58733         gen-libm-test.pl.
58735         [BZ #14132]
58736         * elf/dl-reloc.c: Include <_itoa.h>.
58737         (_dl_reloc_bad_type): Remove use of INTUSE.
58738         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58739         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58740         * stdio-common/psiginfo.c (psiginfo): Likewise.
58741         * stdio-common/psignal.c (psignal): Likewise.
58742         * string/strsignal.c (strsignal): Likewise.
58743         * include/signal.h (_sys_siglist): Declare hidden proto.
58744         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58745         INTVARDEF with libc_hidden_data_def.
58746         * stdio-common/itoa-udigits.c: Likewise.
58747         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58748         (_itoa_lower_digits_internal): Remove declaration.
58749         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58750         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58751         (_sys_sigabbrev_internal): Remove aliases.
58752         (_sys_siglist): Define hidden alias.
58754 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58756         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58757         bits/sysctl.h.
58759 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58761         [BZ #14117]
58762         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58763         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58765         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58766         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58767         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58768         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58769         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58770         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58772         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58773         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58774         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58776         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58777         with __addr.
58778         (insw): Likewise.
58779         (insl): Likewise.
58780         (outsb): Likewise.
58781         (outsw): Likewise.
58782         (outsl): Likewise.
58784         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58785         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58786         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58788         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58789         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58790         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58791         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58792         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58793         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58795         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58796         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58798         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58799         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58801         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58802         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58803         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58805         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58806         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58807         to ...
58808         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58810         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58811         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58812         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58814         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58815         for x86-64.
58816         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58818 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58820         * math/math.h (M_El): Use two more decimal places.
58821         (M_LOG2El): Likewise.
58822         (M_LOG10El): Likewise.
58823         (M_LN2l): Likewise.
58824         (M_LN10l): Likewise.
58825         (M_PIl): Likewise.
58826         (M_PI_2l): Likewise.
58827         (M_PI_4l): Likewise.
58828         (M_1_PIl): Likewise.
58829         (M_2_PIl): Likewise.
58830         (M_2_SQRTPIl): Likewise.
58831         (M_SQRT2l): Likewise.
58832         (M_SQRT1_2l): Likewise.
58834 2012-05-31  David S. Miller  <davem@davemloft.net>
58836         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
58837         values between float registers.
58838         * sysdeps/sparc/sparc64/memset.S: Likewise.
58839         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58841 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
58843         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
58844         -D_FORTIFY_SOURCE=1.
58845         (CPPFLAGS-tst-longjmp_chk.c): Define.
58846         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
58847         (CPPFLAGS-tst-longjmp_chk2.c): Define.
58848         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
58849         CFLAGS-tst-wchar-h.c.
58851 2012-05-31  Marek Polacek  <polacek@redhat.com>
58853         [BZ #14132]
58854         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
58855         __endmntent_internal): Remove declaration.
58856         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
58857         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
58858         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
58860 2012-05-30  David S. Miller  <davem@davemloft.net>
58862         * sysdeps/sparc/sparc32/soft-fp/q_util.c
58863         (___Q_simulate_exceptions): Use real FP ops rather than writing
58864         into the %fsr.
58865         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
58866         Likewise.
58868 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58870         [BZ #14117]
58871         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
58872         * sysdeps/x86/bits/xtitypes.h: This.
58874         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
58875         * sysdeps/x86/bits/wordsize.h: This.
58877         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
58878         * sysdeps/x86/bits/huge_vall.h: This.
58880         * sysdeps/i386/bits/select.h: Removed.
58881         * sysdeps/x86_64/bits/select.h: Renamed to ...
58882         * sysdeps/x86/bits/select.h: This.
58884         * sysdeps/i386/bits/setjmp.h: Removed.
58885         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
58886         * sysdeps/x86/bits/setjmp.h: This.
58888         * sysdeps/i386/bits/mathdef.h: Removed.
58889         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
58890         * sysdeps/x86/bits/mathdef.h: This.
58892 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
58894         [BZ #14132]
58895         * include/sys/socket.h (__connect_internal)
58896         (__libc_sa_len_internal): Remove declaration.
58897         (__connect, __libc_sa_len): Declare hidden_proto.
58898         (SA_LEN): Remove use of INTUSE.
58899         * socket/connect.c: Add libc_hidden_def.
58900         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
58901         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
58902         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
58903         alias.
58904         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
58905         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
58906         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
58907         of adding _internal alias.
58909 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58911         [BZ #14117]
58912         * sysdeps/i386/bits/link.h: Removed.
58913         * sysdeps/i386/bits/linkmap.h: Likewise.
58914         * sysdeps/x86_64/bits/link.h: Renamed to ...
58915         * sysdeps/x86/bits/link.h: This.
58916         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
58917         * sysdeps/x86/bits/linkmap.h: This.
58919         * sysdeps/i386/bits/endian.h: Removed.
58920         * sysdeps/x86_64/bits/endian.h: Renamed to ...
58921         * sysdeps/x86/bits/endian.h: This.
58923         * sysdeps/i386/bits/byteswap.h: Removed.
58924         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58925         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
58926         * sysdeps/x86/bits/byteswap.h: This.
58927         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
58928         * sysdeps/x86/bits/byteswap-16.h: This.
58929         * sysdeps/i386/Implies: Add x86.
58930         * sysdeps/x86_64/Implies: Likewise.
58932 2012-05-30  David S. Miller  <davem@davemloft.net>
58934         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
58935         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
58936         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
58937         (FP_TRAPPING_EXCEPTIONS): Define.
58938         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
58939         (FP_TRAPPING_EXCEPTIONS): Define.
58940         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
58941         subnormals only when inexact has been signalled or underflow
58942         exceptions are enabled.
58943         (_FP_PACK_CANONICAL): Likewise.
58945 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58947         [BZ #14183]
58948         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
58949         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
58951 2012-05-30  Richard Henderson  <rth@twiddle.net>
58953         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
58954         with #ifndef NOT_IN_libc.
58956         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
58957         marked to avoid plt entry.
58959 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
58961         [BZ #14112]
58962         * Makeconfig (default-abi): New macro.
58963         (abi-includes): Likewise.
58964         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
58965         $(abi-$(default-abi)-lib-soname) for soname if defined.
58966         ($(common-objpfx)gnu/lib-names.stmp): Generate from
58967         abi-variants.
58968         * Makefile (installed-stubs): Likewise.
58969         * include/stubs-biarch.h: Removed.
58970         * scripts/lib-names.awk: Only handle one library at a time.
58971         * scripts/soversions.awk: Remove WORDSIZE support.
58972         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58973         entries.
58974         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
58975         Removed.
58976         (syscall-list-default-condition): Likewise.
58977         (syscall-list-default-condition): Likewise.
58978         (syscall-list-includes): Likewise.
58979         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
58980         syscall-list-* with abi-*.  Handle undefined abi-variants.
58981         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
58982         * sysdeps/unix/sysv/linux/i386/Implies: New file.
58983         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
58984         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
58985         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
58986         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
58987         Removed.
58988         (syscall-list-32-options): Likewise.
58989         (syscall-list-32-condition): Likewise.
58990         (syscall-list-64-options): Likewise.
58991         (syscall-list-64-condition): Likewise.
58992         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
58993         macro.
58994         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
58995         Renamed to ...
58996         (abi-*): This.
58997         (abi-64-ld-soname): New macro.
58998         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
58999         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59000         Renamed to ...
59001         (abi-*): This.
59002         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59003         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59005 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59007         * sysdeps/unix/sysv/linux/kernel-features.h
59008         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59009         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59010         include <kernel-features.h>.
59011         [!__NR_ftruncate64]: Remove conditional code.
59012         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59013         [__NR_ftruncate64]: Make code unconditional.
59014         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59015         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59016         include <kernel-features.h>.
59017         [!__NR_ftruncate64]: Remove conditional code.
59018         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59019         [__NR_ftruncate64]: Make code unconditional.
59020         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59022         include <kernel-features.h>.
59023         [!__NR_ftruncate64]: Remove conditional code.
59024         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59025         [__NR_ftruncate64]: Make code unconditional.
59026         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59028         include <kernel-features.h>.
59029         [!__NR_ftruncate64]: Remove conditional code.
59030         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59031         [__NR_ftruncate64]: Make code unconditional.
59032         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59034         * configure.in (libc_cv_fpie): Weaken to a compile test using
59035         LIBC_TRY_CC_OPTION.
59036         * configure: Regenerated.
59038 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59044         Refreshed.
59045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59051         Refreshed.
59053 2012-05-27  David S. Miller  <davem@davemloft.net>
59055         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59056         (___Q_zero): New.
59057         (__Q_simulate_exceptions): Return void.  Change to simulate
59058         exceptions by writing into the %fsr.
59059         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59060         (__Qp_handle_exceptions): Likewise.
59061         (numbers): Delete.
59062         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59063         __Qp_handle_exceptions.
59064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59065         __Qp_handle_exceptions.
59066         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59067         as unused and give dummy FP_RND_NEAREST initializer.
59068         (FP_INHIBIT_RESULTS): Define.
59069         (___Q_simulate_exceptions): Update declaration.
59070         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59071         formatting.
59072         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59073         as unused and give dummy FP_RND_NEAREST initializer.
59074         (__Qp_handle_exceptions): Update declaration.
59075         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59076         formatting.
59078 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59080         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59081         the temporary FPU control word.
59082         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59083         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59084         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59085         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59086         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59087         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59088         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59089         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59090         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59091         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59092         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59094 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59096         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59097         fields.
59099 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59101         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59102         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59103         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59104         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59105         Likewise.
59106         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59107         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59108         Likewise.
59110 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59112         * po/h.po: Update from translation team.
59114 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59116         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59118         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59119         handling of denormals.
59120         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59121         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59122         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59123         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59124         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59126         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59127         Likewise.
59129 2012-05-26  Marek Polacek  <polacek@redhat.com>
59131         [BZ #14152]
59132         * math/libm-test.inc (fma_test): Don't always expect underflow
59133         exception.
59135 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59137         [BZ #12416]
59138         * elf/tst-execstack.c: Include stackinfo.h.
59139         (do_test): Adjust test case to ensure that pthread_getattr_np
59140         behaviour remains the same after marking stack executable.
59142 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59144         * sysdeps/unix/sysv/linux/kernel-features.h
59145         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59146         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59147         kernel-features.h.
59148         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59149         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59150         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59151         kernel-features.h.
59152         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59153         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59155 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59157         * configure.in: Define the default includes to being none.
59158         * configure: Regenerated.
59160 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59162         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59163         * sysdeps/x86_64/setjmp.S: Likewise.
59164         * sysdeps/i386/bsd-setjmp.S: Likewise.
59165         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59166         * sysdeps/i386/setjmp.S: Likewise.
59167         * sysdeps/i386/__longjmp.S: Likewise.
59168         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59169         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59171         * include/stap-probe.h: New file.
59172         * configure.in: Handle --enable-systemtap.
59173         * configure: Regenerated.
59174         * config.h.in (USE_STAP_PROBE): New #undef.
59175         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59176         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59177         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59179 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59181         [BZ #13717]
59182         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59183         to 2.4.0 where earlier.
59184         * sysdeps/unix/sysv/linux/configure: Regenerated.
59185         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59186         <kernel-features.h>.
59187         [__ASSUME_32BITUIDS]: Make code unconditional.
59188         [!__ASSUME_32BITUIDS]: Remove conditional code.
59189         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59190         <kernel-features.h>.
59191         [__ASSUME_32BITUIDS]: Make code unconditional.
59192         [!__ASSUME_32BITUIDS]: Remove conditional code.
59193         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59194         [__ASSUME_32BITUIDS]: Make code unconditional.
59195         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59196         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59197         <kernel-features.h>.
59198         [__ASSUME_32BITUIDS]: Make code unconditional.
59199         [!__ASSUME_32BITUIDS]: Remove conditional code.
59200         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59201         <kernel-features.h>.
59202         [__ASSUME_32BITUIDS]: Make code unconditional.
59203         [!__ASSUME_32BITUIDS]: Remove conditional code.
59204         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59205         <kernel-features.h>.
59206         [__ASSUME_32BITUIDS]: Make code unconditional.
59207         [!__ASSUME_32BITUIDS]: Remove conditional code.
59208         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59209         <kernel-features.h>.
59210         [__ASSUME_32BITUIDS]: Make code unconditional.
59211         [!__ASSUME_32BITUIDS]: Remove conditional code.
59212         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59213         <kernel-features.h>.
59214         [__ASSUME_32BITUIDS]: Make code unconditional.
59215         [!__ASSUME_32BITUIDS]: Remove conditional code.
59216         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59217         <kernel-features.h>.
59218         [__ASSUME_32BITUIDS]: Make code unconditional.
59219         [!__ASSUME_32BITUIDS]: Remove conditional code.
59220         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59221         <kernel-features.h>.
59222         [__ASSUME_32BITUIDS]: Make code unconditional.
59223         [!__ASSUME_32BITUIDS]: Remove conditional code.
59224         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59225         <kernel-features.h>.
59226         [__ASSUME_32BITUIDS]: Make code unconditional.
59227         [!__ASSUME_32BITUIDS]: Remove conditional code.
59228         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59229         <kernel-features.h>.
59230         [__ASSUME_32BITUIDS]: Make code unconditional.
59231         [!__ASSUME_32BITUIDS]: Remove conditional code.
59232         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59233         <kernel-features.h>.
59234         [__ASSUME_32BITUIDS]: Make code unconditional.
59235         [!__ASSUME_32BITUIDS]: Remove conditional code.
59236         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59237         <kernel-features.h>.
59238         [__NR_setresgid] (__setresgid): Do not declare.
59239         [__ASSUME_32BITUIDS]: Make code unconditional.
59240         [!__ASSUME_32BITUIDS]: Remove conditional code.
59241         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59242         <kernel-features.h>.
59243         [__NR_setresuid] (__setresuid): Do not declare.
59244         [__ASSUME_32BITUIDS]: Make code unconditional.
59245         [!__ASSUME_32BITUIDS]: Remove conditional code.
59246         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59247         <kernel-features.h>.
59248         [__ASSUME_32BITUIDS]: Make code unconditional.
59249         [!__ASSUME_32BITUIDS]: Remove conditional code.
59250         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59251         <kernel-features.h>.
59252         [__ASSUME_32BITUIDS]: Make code unconditional.
59253         [!__ASSUME_32BITUIDS]: Remove conditional code.
59254         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59255         <kernel-features.h>.
59256         [__ASSUME_32BITUIDS]: Make code unconditional.
59257         [!__ASSUME_32BITUIDS]: Remove conditional code.
59258         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59259         <kernel-features.h>.
59260         [__ASSUME_32BITUIDS]: Make code unconditional.
59261         [!__ASSUME_32BITUIDS]: Remove conditional code.
59262         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59263         <kernel-features.h>.
59264         [__ASSUME_32BITUIDS]: Make code unconditional.
59265         [!__ASSUME_32BITUIDS]: Remove conditional code.
59266         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59267         <kernel-features.h>.
59268         [__ASSUME_32BITUIDS]: Make code unconditional.
59269         [!__ASSUME_32BITUIDS]: Remove conditional code.
59270         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59271         <kernel-features.h>.
59272         [__ASSUME_32BITUIDS]: Make code unconditional.
59273         [!__ASSUME_32BITUIDS]: Remove conditional code.
59274         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59275         <kernel-features.h>.
59276         [__ASSUME_32BITUIDS]: Make code unconditional.
59277         [!__ASSUME_32BITUIDS]: Remove conditional code.
59278         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59279         <kernel-features.h>.
59280         [__ASSUME_32BITUIDS]: Make code unconditional.
59281         [!__ASSUME_32BITUIDS]: Remove conditional code.
59282         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59283         <kernel-features.h>.
59284         [__ASSUME_32BITUIDS]: Make code unconditional.
59285         [!__ASSUME_32BITUIDS]: Remove conditional code.
59286         * sysdeps/unix/sysv/linux/kernel-features.h
59287         (__ASSUME_SETRESUID_SYSCALL): Remove.
59288         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59289         (__ASSUME_32BITUIDS): Likewise.
59290         (__ASSUME_LDT_WORKS): Likewise.
59291         (__ASSUME_O_DIRECTORY): Likewise.
59292         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59293         architecture but not kernel version.
59294         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59295         (__ASSUME_MMAP2_SYSCALL): Likewise.
59296         (__ASSUME_STAT64_SYSCALL): Likewise.
59297         (__ASSUME_IPC64): Likewise.
59298         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59299         <kernel-features.h>.
59300         [__ASSUME_32BITUIDS]: Make code unconditional.
59301         [!__ASSUME_32BITUIDS]: Remove conditional code.
59302         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59303         <kernel-features.h>.
59304         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59305         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59306         132096]: Remove conditional code.
59307         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59308         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59309         <kernel-features.h>.
59310         [__ASSUME_32BITUIDS]: Make code unconditional.
59311         [!__ASSUME_32BITUIDS]: Remove conditional code.
59312         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59313         <kernel-features.h>.
59314         [__ASSUME_32BITUIDS]: Make code unconditional.
59315         [!__ASSUME_32BITUIDS]: Remove conditional code.
59316         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59317         <kernel-features.h>.
59318         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59319         unconditional.
59320         (__setresgid): Do not declare.
59321         [__ASSUME_32BITUIDS]: Make code unconditional.
59322         [!__ASSUME_32BITUIDS]: Remove conditional code.
59323         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59324         <kernel-features.h>.
59325         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59326         unconditional.
59327         (__setresuid): Do not declare.
59328         [__ASSUME_32BITUIDS]: Make code unconditional.
59329         [!__ASSUME_32BITUIDS]: Remove conditional code.
59330         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59331         <kernel-features.h>.
59332         [__ASSUME_32BITUIDS]: Make code unconditional.
59333         [!__ASSUME_32BITUIDS]: Remove conditional code.
59334         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59335         <kernel-features.h>.
59336         [__ASSUME_32BITUIDS]: Make code unconditional.
59337         [!__ASSUME_32BITUIDS]: Remove conditional code.
59339 2012-05-25  Richard Henderson  <rth@twiddle.net>
59341         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59342         dl_hwcap to ifunc resolver.
59343         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59344         elf_ifunc_invoke.
59345         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59346         dl_hwcap to ifunc resolver.
59347         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59349 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59351         [BZ #14153]
59352         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59353         for |x| <= 2**-26, not 2**-57.
59354         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59355         exception.
59357 2012-05-24  Jeff Law  <law@redhat.com>
59359         * stdio-common/Makefile (tests): Add bug25.
59360         * stdio-common/bug25.c: New test.
59362 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59364         [BZ #13576]
59365         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59366         multiple of MALLOC_ALIGNMENT in size.
59367         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59369 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59371         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59372         Require >= 256.
59373         (FILENAME_MAX): Use macro-int-constant.
59374         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59375         (_IOFBF): Use macro-int-constant.
59376         (_IOLBF): Likewise.
59377         (_IONBF): Likewise.
59378         (SEEK_CUR): Likewise.
59379         (SEEK_END): Likewise.
59380         (SEEK_SET): Likewise.
59381         (TMP_MAX): Likewise.
59382         (EOF): Use macro-int-constant.  Require < 0.
59383         (NULL): Use macro-constant.  Require == 0.
59384         (stdin): Require type to be FILE *.
59385         (stdout): Likewise.
59386         (stderr): Likewise.
59387         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59388         macro-int-constant.
59389         (EXIT_SUCCESS): Likewise.
59390         (NULL): Use macro-constant.  Require == 0.
59391         (RAND_MAX): Use macro-int-constant.
59392         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59393         [C99-based standards] (strtof): Require function.
59394         [C99-based standards] (strtold): Likewise.
59395         [C99-based standards] (strtoll): Likewise.
59396         [C99-based standards] (strtoull): Likewise.
59397         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59398         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59399         [ISO || ISO99 || ISO11] (math.h): Likewise.
59400         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59401         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59402         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59404 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59406         [BZ #14132]
59407         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59408         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59409         * intl/dgettext.c (DCGETTEXT): Likewise.
59410         * intl/gettext.c (DCGETTEXT): Likewise.
59411         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59412         * posix/regex_internal.h (gettext): Likewise.
59413         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59414         Remove declaration.
59415         * include/argz.h (__argz_count_internal)
59416         (__argz_stringify_internal): Remove declaration.
59417         (__argz_count, __argz_stringify): Declare hidden proto.
59418         * intl/dcgettext.c: Remove use of INTDEF.
59419         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59420         * string/argz-stringify.c: Likewise.
59421         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59422         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59423         Declare hidden proto.
59424         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59425         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59426         Declare hidden proto.
59427         * include/stdio.h (__asprintf_internal): Don't declare.
59428         (__asprintf): Don't define as macro.  Declare hidden proto.
59429         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59430         (__fsetlocking): Declare hidden proto.
59431         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59432         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59433         hidden proto.
59434         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59435         (_IO_setlinebuf): Remove use of INTUSE.
59436         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59437         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59438         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59439         Remove declaration.
59440         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59441         (_IO_do_flush): Remove use of INTUSE.
59442         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59443         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59444         (_IO_adjust_column, _IO_least_wmarker)
59445         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59446         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59447         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59448         (_IO_default_doallocate, _IO_wdefault_doallocate)
59449         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59450         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59451         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59452         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59453         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59454         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59455         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59456         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59457         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59458         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59459         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59460         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59461         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59462         proto.
59463         (_IO_flush_all_internal, _IO_adjust_column_internal)
59464         (_IO_default_uflow_internal, _IO_default_finish_internal)
59465         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59466         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59467         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59468         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59469         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59470         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59471         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59472         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59473         (_IO_file_close_internal, _IO_file_close_it_internal)
59474         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59475         (_IO_file_init_internal, _IO_file_attach_internal)
59476         (_IO_file_fopen_internal, _IO_file_read_internal)
59477         (_IO_file_sync_internal, _IO_file_seek_internal)
59478         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59479         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59480         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59481         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59482         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59483         (_IO_list_all_internal, _IO_link_in_internal)
59484         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59485         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59486         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59487         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59488         (_IO_do_write_internal, _IO_padn_internal)
59489         (_IO_getline_info_internal, _IO_getline_internal)
59490         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59491         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59492         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59493         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59494         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59495         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59496         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59497         with libc_hidden_ver, remove use of INTUSE.
59498         * libio/genops.c: Likewise.
59499         * libio/freopen.c: Likewise.
59500         * libio/freopen64.c: Likewise.
59501         * libio/iofclose.c: Likewise.
59502         * libio/iofdopen.c: Likewise.
59503         * libio/iofflush.c: Likewise.
59504         * libio/iofflush_u.c: Likewise.
59505         * libio/iofgets.c: Likewise.
59506         * libio/iofgets_u.c: Likewise.
59507         * libio/iofopen.c: Likewise.
59508         * libio/iofopncook.c: Likewise.
59509         * libio/iofread.c: Likewise.
59510         * libio/iofread_u.c: Likewise.
59511         * libio/ioftell.c: Likewise.
59512         * libio/iofwrite.c: Likewise.
59513         * libio/iogetline.c: Likewise.
59514         * libio/iogets.c: Likewise.
59515         * libio/iogetwline.c: Likewise.
59516         * libio/iopadn.c: Likewise.
59517         * libio/iopopen.c: Likewise.
59518         * libio/ioseekoff.c: Likewise.
59519         * libio/ioseekpos.c: Likewise.
59520         * libio/iosetbuffer.c: Likewise.
59521         * libio/iosetvbuf.c: Likewise.
59522         * libio/ioungetc.c: Likewise.
59523         * libio/ioungetwc.c: Likewise.
59524         * libio/iovdprintf.c: Likewise.
59525         * libio/iovsprintf.c: Likewise.
59526         * libio/iovsscanf.c: Likewise.
59527         * libio/memstream.c: Likewise.
59528         * libio/obprintf.c: Likewise.
59529         * libio/oldfileops.c: Likewise.
59530         * libio/oldiofclose.c: Likewise.
59531         * libio/oldiofdopen.c: Likewise.
59532         * libio/oldiofopen.c: Likewise.
59533         * libio/oldiopopen.c: Likewise.
59534         * libio/oldstdfiles.c: Likewise.
59535         * libio/putc.c: Likewise.
59536         * libio/setbuf.c: Likewise.
59537         * libio/setlinebuf.c: Likewise.
59538         * libio/stdfiles.c: Likewise.
59539         * libio/strops.c: Likewise.
59540         * libio/vasprintf.c: Likewise.
59541         * libio/vscanf.c: Likewise.
59542         * libio/vsnprintf.c: Likewise.
59543         * libio/vswprintf.c: Likewise.
59544         * libio/wfiledoalloc.c: Likewise.
59545         * libio/wfileops.c: Likewise.
59546         * libio/wgenops.c: Likewise.
59547         * libio/wmemstream.c: Likewise.
59548         * libio/wstrops.c: Likewise.
59549         * libio/__fpurge.c: Likewise.
59550         * libio/__fsetlocking.c: Likewise.
59551         * assert/assert.c: Likewise.
59552         * debug/fgets_chk.c: Likewise.
59553         * debug/fgets_u_chk.c: Likewise.
59554         * debug/fread_chk.c: Likewise.
59555         * debug/fread_u_chk.c: Likewise.
59556         * debug/gets_chk.c: Likewise.
59557         * debug/obprintf_chk.c: Likewise.
59558         * debug/vasprintf_chk.c: Likewise.
59559         * debug/vdprintf_chk.c: Likewise.
59560         * debug/vsnprintf_chk.c: Likewise.
59561         * debug/vsprintf_chk.c: Likewise.
59562         * malloc/mtrace.c: Likewise.
59563         * misc/error.c: Likewise.
59564         * misc/syslog.c: Likewise.
59565         * stdio-common/asprintf.c: Likewise.
59566         * stdio-common/fxprintf.c: Likewise.
59567         * stdio-common/getw.c: Likewise.
59568         * stdio-common/isoc99_fscanf.c: Likewise.
59569         * stdio-common/isoc99_scanf.c: Likewise.
59570         * stdio-common/isoc99_vfscanf.c: Likewise.
59571         * stdio-common/isoc99_vscanf.c: Likewise.
59572         * stdio-common/isoc99_vsscanf.c: Likewise.
59573         * stdio-common/printf-prs.c: Likewise.
59574         * stdio-common/printf_fp.c: Likewise.
59575         * stdio-common/printf_fphex.c: Likewise.
59576         * stdio-common/printf_size.c: Likewise.
59577         * stdio-common/putw.c: Likewise.
59578         * stdio-common/scanf.c: Likewise.
59579         * stdio-common/sprintf.c: Likewise.
59580         * stdio-common/tmpfile.c: Likewise.
59581         * stdio-common/vfprintf.c: Likewise.
59582         * stdio-common/vfscanf.c: Likewise.
59583         * stdlib/strfmon_l.c: Likewise.
59584         * sunrpc/openchild.c: Likewise.
59585         * sunrpc/xdr_stdio.c: Likewise.
59586         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59587         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59589 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59591         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59593         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59594         in the third column, to generate for the shared library an IFUNC
59595         that uses _dl_vdso_vsym.
59596         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59597         * Makeconfig (object-suffixes-noshared): New variable.
59599         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59600         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59601         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59602         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59604         [BZ #14132]
59605         * include/sys/time.h (__gettimeofday): Remove macro.
59606         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59607         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59608         Remove INTDEF.
59609         (__gettimeofday): Add libc_hidden_def.
59610         (gettimeofday): Add libc_hidden_weak.
59611         * sysdeps/mach/gettimeofday.c: Likewise.
59612         * sysdeps/posix/gettimeofday.c: Likewise.
59613         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59614         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59615         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59616         (__gettimeofday_internal): Remove strong_alias.
59617         (__gettimeofday): Add libc_hidden_def.
59618         (gettimeofday): Add libc_hidden_weak.
59619         * sysdeps/unix/syscalls.list (gettimeofday):
59620         Remove __gettimeofday_internal alias.
59622 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59623             H.J. Lu  <hongjiu.lu@intel.com>
59625         [BZ #12495]
59626         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59627         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59628         (largebin_index_32_big): New.
59629         (largebin_index): Use it for 16-byte alignment.
59630         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59631         correction with front_misalign.
59633 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59637         Likewise.
59638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59639         Likewise.
59640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59641         Likewise.
59642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59643         Likewise.
59644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59645         Likewise.
59646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59647         Likewise.
59648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59649         Likewise.
59650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59651         Likewise.
59652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59653         Likewise.
59654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59655         Likewise.
59656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59657         Likewise.
59658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59659         Likewise.
59661         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59662         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59664 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59666         [BZ #10846]
59667         [BZ #14036]
59668         * math/libm-test.inc (exp_test): Add test from bug 14036.
59669         (pow_test): Add test from bug 10846.
59671         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59672         and other flags.
59673         (special_function): Do not include flags in test name.
59674         (parse_args): Likewise.
59675         * sysdeps/i386/fpu/libm-test-ulps: Update.
59676         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59677         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59678         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59681         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59682         exceptions.
59683         * math/libm-test.inc ("Philosophy"): Update comment about
59684         exception testing.
59685         (UNDERFLOW_EXCEPTION): New macro.
59686         (UNDERFLOW_EXCEPTION_OK): Likewise.
59687         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59688         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59689         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59690         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59691         (INVALID_EXCEPTION_OK): Update value.
59692         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59693         (OVERFLOW_EXCEPTION_OK): Likewise.
59694         (IGNORE_ZERO_INF_SIGN): Likewise.
59695         (test_exceptions): Handle underflow exceptions.
59696         (acos_test): Update for underflow exception expectations.
59697         (cexp_test): Likewise.
59698         (clog_test): Likewise.
59699         (clog10_test): Likewise.
59700         (csqrt_test): Likewise.
59701         (ctan_test): Likewise.
59702         (ctanh_test): Likewise.
59703         (exp_test): Likewise.
59704         (exp10_test): Likewise.
59705         (exp2_test): Likewise.
59706         (expm1_test): Likewise.
59707         (fma_test): Likewise.
59708         (j0_test): Likewise.
59709         (jn_test): Likewise.
59710         (nexttoward_test): Likewise.
59711         (pow_test): Likewise.
59712         (scalbn_test): Likewise.
59713         (scalbln_test): Likewise.
59714         (tan_test): Likewise.
59715         (y1_test): Likewise.
59716         * sysdeps/i386/fpu/libm-test-ulps: Update.
59717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59719 2012-05-23  David S. Miller  <davem@davemloft.net>
59721         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59722         (__libc_sigaction): Remove unused local variables.
59724 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59726         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59728 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59730         mktime: avoid signed integer overflow
59731         * time/mktime.c (__mktime_internal): Do not mishandle the case
59732         where diff == INT_MIN.
59734         mktime: simplify computation of average
59735         * time/mktime.c (ranged_convert): Use new time_t_avg function
59736         instead of rolling our own (probably-slower) code.
59738         mktime: do not assume signed right shift propagates sign bit
59739         * time/mktime.c (isdst_differ): New static function.
59740         (__mktime_internal): No need to normalize tm_isdst now.
59741         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59742         tm_isdst values.
59744         mktime: merge another wrapv change from gnulib
59745         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59746         from some compilers.
59748         mktime: remove incorrect attempt at unusual arithmetics
59749         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59750         The code didn't really work on such machines anyway.
59751         (TYPE_MINIMUM): Assume two's complement.
59752         (twos_complement_arithmetic): Verify that long_int and time_t
59753         are two's complement (or unsigned, in the latter case).
59755         mktime: check signed shifts on long_int and time_t, too
59756         * time/mktime.c (SHR): Check that shifts work as desired
59757         on the types long_int and time_t too, as SHR is used on
59758         such types.
59760         mktime: do not assume 'long' is wide enough
59761         * time/mktime.c (verify): Move decl up.
59762         (long_int): New type.
59763         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59764         to remove assumption in the code that 'long' is wide enough to
59765         store year values.  This assumption is not true on x32 and on
59766         some non-glibc platforms.
59768         mktime: merge wrapv change from gnulib
59769         * time/mktime.c (WRAPV): New macro.
59770         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59771         (guess_time_tm, __mktime_internal): Do not assume that signed
59772         integer overflow wraps around; modern compilers generate code
59773         where this assumption is no longer valid.
59775 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59777         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59778         Replace "jmp L(pseudo_end)" with "ret".
59779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59780         Likewise.
59782 2012-05-23  Andreas Jaeger  <aj@suse.de>
59784         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59785         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59787 2012-05-23  Andreas Jaeger  <aj@suse.de>
59788             Maximilian Attems  <max@stro.at>
59790         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59791         New macros.
59793 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59795         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59796         code so that pseudo_end is just ret and the stack pointer is
59797         correct also for static library in error case.
59799 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59801         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59802         move to syscalls.list.
59803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59808         * manual/install.texi (Running make install): Do not mention Linux
59809         kernel version for which pt_chown is not needed.
59810         (Linux): Do not mention problems with nscd with 2.0 kernels.
59811         * INSTALL: Regenerated.
59813 2012-05-23  Andreas Jaeger  <aj@suse.de>
59815         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59816         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59817         macro.
59818         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59819         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59820         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59821         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59822         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59823         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59824         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59825         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59826         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59827         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59828         * sysdeps/unix/sysv/linux/bits/in.h
59829         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59831 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59833         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59834         (PREPARE_VERSION): Just use assert instead, it will be elided
59835         under [NDEBUG] anyway.
59837 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59839         * sysdeps/unix/sysv/linux/Makefile: Include
59840         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
59841         (sysdep_routines): Remove sysctl.
59842         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
59843         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
59844         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
59845         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
59846         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
59848 2012-05-22  Andreas Jaeger  <aj@suse.de>
59850         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
59851         that pseudo_end is just ret and the stack pointer is correct also
59852         for static library in error case.
59854 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
59856         [BZ #14122]
59857         * nss/nsswitch.c (defconfig_entries): New variable.
59858         (__nss_database_lookup): Don't leak defconfig entries.
59859         (nss_parse_service_list): Don't leak on error paths.
59860         (free_database_entries): New function.
59861         (free_defconfig): New function.
59862         (free_mem): Move common code to free_database_entries.
59864 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59866         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
59867         Add arch_prctl.
59868         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
59870         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59871         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
59872         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
59873         New macro.
59874         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
59875         (INTERNAL_SYSCALL_TYPES): Likewise.
59876         (LOAD_ARGS_TYPES_[1-6]): Likewise.
59877         (LOAD_REGS_TYPES_[1-6]): Likewise.
59878         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
59879         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
59881 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59883         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
59884         copysignl for GLIBC_2_0.
59885         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
59886         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
59887         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
59888         logbl for GLIBC_2_0.
59889         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
59890         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
59892 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59894         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
59895         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
59897         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59898         Use "neg %eax".
59900         * time/mktime.c: Update copyright years.
59902 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
59904         mktime: merge comment-quoting-style change from gnulib
59905         * time/mktime.c: Quote 'like this' in comments.
59906         The GNU coding standards suggest that we no longer quote `like this',
59907         as "`" and "'" are typically rendered asymmetrically nowadays.
59908         The typical gnulib style is to quote 'like this' when quoting
59909         code, and "like this" when quoting English.
59911         * time/mktime.c (compile-command): Add "-I.".
59913         mktime: merge mktime-internal.h change from gnulib
59914         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
59916         mktime: merge time_r change from gnulib
59917         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
59919         mktime: merge DEBUG change from gnulib
59920         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
59921         case system <time.h> has a #define.
59923         mktime: merge <sys/types.h> change from gnulib
59924         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
59925         since <time.t> is now guaranteed to define time_t.
59927         mktime: merge HAVE_CONFIG_H change from gnulib
59928         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
59930 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
59932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59933         Use "neg %eax".
59935         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
59936         __rlim_t cast.
59937         (struct rusage): Use anonymous union to pad each field to
59938         __syscall_slong_t.
59940 2012-05-21  David S. Miller  <davem@davemloft.net>
59942         * Makefules (o-iterator): Remove .s cases.
59943         (compile-command.s): Delete.
59944         (COMPILE.s): Delete.
59945         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
59947 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
59949         * configure.in (libc_cv_predef_stack_protector): Only consider
59950         "foobar" and "__stack_chk_fail" lines in libc_undefs.
59951         * configure: Regenerated.
59953 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
59955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59956         New macro.  Use R*LP on int and pointer.
59957         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
59958         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
59959         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
59960         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
59962         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
59963         [__WORDSIZE_TIME64_COMPAT32] instead of
59964         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
59965         (struct utmp): Likewise.
59966         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
59967         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
59968         Renamed to ...
59969         (__WORDSIZE_TIME64_COMPAT32): This.
59970         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
59971         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
59972         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
59973         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
59974         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
59975         (__WORDSIZE_TIME64_COMPAT32): New macro.
59977 2012-05-21  Andreas Jaeger  <aj@suse.de>
59979         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
59980         only if [SHARED]. Add prototype for __wcschr_ia32.
59982 2012-05-21  Roland McGrath  <roland@hack.frob.com>
59984         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
59985         of %rbp unmolested in the jmp_buf while mangling the low bits.
59986         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
59987         unmolested high bits of %rbp while demangling the low bits.
59988         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59990 2012-05-21  Andreas Jaeger  <aj@suse.de>
59992         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
59993         * sunrpc/svc_simple.c: Use it for registerrpc.
59994         * sunrpc/xcrypt.c: Use it for passwd2des.
59996         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
59998 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60000         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60001         Don't define if [__SYSCALL_WORDSIZE != 32].
60002         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60003         New macro.
60005 2012-05-21  Bruno Haible  <bruno@clisp.org>
60006             Andreas Jaeger  <aj@suse.de>
60008         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60009         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60010         inptr and inend for must_buffer_ch.
60011         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60012         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60013         * stdio-common/Makefile (tests): Remove bug15.
60014         (bug15-ENV): Remove macro.
60015         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60016         anymore.
60018 2012-05-19  Andreas Jaeger  <aj@suse.de>
60019             Roland McGrath  <roland@hack.frob.com>
60021         * manual/contrib.texi: Completely rewritten. It contains now an
60022         alphabetical list of contributors and their contributions.
60024 2012-05-21  Richard Henderson  <rth@twiddle.net>
60026         * misc/getauxval.c (__getauxval): Use unsigned long int.
60027         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60028         (getauxval): Use unsigned long int.
60030 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60032         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60034 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60036         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60037         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60038         __alignof__ (long double).
60040 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60044 2012-05-20  Richard Henderson  <rth@twiddle.net>
60046         * misc/getauxval.c: New file.
60047         * misc/sys/auxv.h: New file.
60048         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60049         (routines): Add getauxval.
60050         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60051         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60052         * elf/dl-sysdep.c (_dl_auxv): Remove.
60053         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60054         * elf/dl-support.c (_dl_auxv): New variable.
60055         (_dl_aux_init): Initialize it.
60056         * manual/startup.texi (Auxiliary Vector): New node.
60057         * sysdeps/generic/bits/hwcap.h: New file.
60058         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60059         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60060         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60061         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60062         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60063         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60065         Update.
60066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60069         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60075 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60079 2012-05-19  David S. Miller  <davem@davemloft.net>
60081         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60083 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60085         [BZ #14123]
60086         * math/s_ccosh.c: Include <float.h>
60087         (__ccosh): Avoid internal overflow calculating sinh and cosh
60088         values before multiplying by sin and cos values.
60089         * math/s_ccoshf.c: Likewise.
60090         * math/s_ccoshl.c: Likewise.
60091         * math/s_csin.c: Likewise.
60092         * math/s_csinf.c: Likewise.
60093         * math/s_csinl.c: Likewise.
60094         * math/s_csinh.c: Likewise.
60095         * math/s_csinhf.c: Likewise.
60096         * math/s_csinhl.c: Likewise.
60097         * math/libm-test.inc (ccos_test): Add more tests.
60098         (ccosh_test): Likewise.
60099         (csin_test): Likewise.
60100         (csinh_test): Likewise.
60101         * sysdeps/i386/fpu/libm-test-ulps: Update.
60102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60104 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60106         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60107         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60109         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60111 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60113         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60114         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60115         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60116         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60117         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60118         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60119         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60120         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60121         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60122         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60123         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60124         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60125         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60126         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60127         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60128         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60129         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60130         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60131         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60132         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60133         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60134         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60135         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60136         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60137         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60138         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60139         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60140         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60141         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60142         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60143         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60145 2012-05-18  Andreas Jaeger  <aj@suse.de>
60147         * csu/.gitignore: Delete.
60149 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60151         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60152         (timex): Use __syscall_slong_t.
60154 2012-05-18  Andreas Jaeger  <aj@suse.de>
60155             Carlos O'Donell  <carlos_odonell@mentor.com>
60157         * manual/install.texi (Configuring and compiling): Update
60158         description about files modified in the source directory.
60159         * INSTALL: Regenerated.
60161 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60163         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60164         value.  Use "or" to set return value to -1.
60165         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60166         negate return value.
60168 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60170         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60171         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60172         failure if the compiler has Graphite support disabled.
60173         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60174         Likewise.
60175         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60176         (CFLAGS-memmove.c): Likewise.
60177         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60178         Likewise.
60180 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60182         * sysdeps/x86_64/x32/_itoa.h: New file.
60184         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60185         getdents system call only if kernel and user dirents have the
60186         same d_ino and d_off.
60188         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60189         LLONG_MAX != LONG_MAX.
60190         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60191         (_fitoa_word): Likewise.
60193         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60194         years.
60195         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60196         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60197         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60199         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60200         include <bits/wordsize.h>.  Check __x86_64__ instead of
60201         __WORDSIZE.
60202         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60203         if __x86_64__ is defined.  Use anonymous union on fpstate.
60205         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60206         anonymous union.
60208 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60210         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60211         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60212         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60213         Refer to _rtld_local_ro instead of _rtld_global_ro.
60214         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60215         Likewise.
60216         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60217         Likewise.
60218         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60219         Likewise.
60220         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60221         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60222         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60224         [BZ #10882]
60225         * sysdeps/powerpc/powerpc32/dl-machine.c
60226         (__elf_machine_runtime_setup) [PROF]: Don't reference
60227         _dl_prof_resolve.
60229 2012-05-18  Andreas Jaeger  <aj@suse.de>
60231         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60232         function only available for GCCs before 3.4 since GCC 3.4
60233         introduced a builtin.
60234         (lrint): Likewise.
60235         (llrintf): Likewise.
60236         (llrint): Likewise.
60237         (fmaxf): Likewise.
60238         (fmax): Likewise.
60239         (fminf): Likewise.
60240         (fmin): Likewise.
60241         (rint): Likewise.
60242         (rintf): Likewise.
60243         (nearbyint): Likewise.
60244         (nearbyintf): Likewise.
60245         (ceil): Likewise.
60246         (ceilf): Likewise.
60247         (floor): Likewise.
60248         (floorf): Likewise.
60250 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60252         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60253         on both fields and cast pointer to __syscall_ulong_t.
60255         * bits/types.h (__fsword_t): New type.
60256         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60257         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60258         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60259         (__FSWORD_T_TYPE): Likewise.
60260         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60261         (__FSWORD_T_TYPE): Likewise.
60262         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60263         (__FSWORD_T_TYPE): Likewise.
60264         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60265         (__FSWORD_T_TYPE): Likewise.
60266         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60267         __SWORD_TYPE with __fsword_t.
60268         (statfs64): Likewise.
60270 2012-05-17  David S. Miller  <davem@davemloft.net>
60272         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60274 2012-05-17  Andreas Jaeger  <aj@suse.de>
60276         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60277         warning.
60279 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60281         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60283 2012-05-17  Andreas Jaeger  <aj@suse.de>
60285         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60286         when it is used.
60288 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60290         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60292 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60294         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60295         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60297 2012-05-17  Andreas Jaeger  <aj@suse.de>
60298             Carlos O'Donell  <carlos_odonell@mentor.com>
60300         [BZ #14059]
60301         * sysdeps/x86_64/multiarch/init-arch.h
60302         (bit_YMM_Usable): Rename to...
60303         (bit_AVX_Usable): ... this.
60304         (bit_FMA4_Usable): New macro.
60305         (bit_XMM_state): New macro.
60306         (bit_YMM_state): New macro.
60307         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60308         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60309         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60310         (CPUID_OSXSAVE): New macro.
60311         (CPUID_AVX): New macro.
60312         (CPUID_FMA4): New macro.
60313         (index_YMM_Usable): Rename to...
60314         (index_AVX_Usable): ... this.
60315         (HAS_AVX): Use HAS_ARCH_FEATURE.
60316         (HAS_FMA4): Likewise.
60317         (HAS_YMM_USABLE): Remove.
60318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60319         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60320         are present.
60321         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60322         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60323         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60324         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60325         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60327 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60329         * math/libm-test.c: Support platforms without multiple rounding modes.
60330         * math/bug-nextafter.c: Support platforms without FP exceptions.
60331         * math/bug-nexttoward.c: Likewise.
60332         * math/test-fenv.c: Likewise.
60333         * math/test-misc.c: Likewise.
60334         * stdlib/bug-getcontext.c: Likewise.
60336 2012-05-17  Andreas Jaeger  <aj@suse.de>
60338         * manual/examples/search.c (critter_cmp): Change signature to
60339         avoid warnings.
60340         * manual/string.texi (Collation Functions): Likewise.
60342 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60344         * bits/types.h: Fold copyright years.
60345         * bits/typesizes.h: Likewise.
60346         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60348         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60349         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60350         * time/time.h: Likewise.
60352 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60354         [BZ #208]
60355         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60356         in instead of returning them.  Return void.
60357         (__libc_mallinfo): Accumulate over all arenas.
60358         (__malloc_stats): Adjust for change in int_mallinfo interface.
60360 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60362         [BZ #10375]
60363         * configure.in (NM): Add AC_CHECK_TOOL for it.
60364         (libc_extra_cflags): New substituted variable.
60365         Check for -fstack-protector being used implicitly.
60366         * configure: Regenerated.
60367         * config.make.in (config-extra-cflags): New variable,
60368         gets @libc_extra_cflags@.
60369         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60371         [BZ #10375]
60372         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60373         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60374         * configure: Regenerated.
60375         * config.make.in (CPPUNDEFS): New substituted variable.
60376         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60377         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60378         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60380 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60382         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60383         (mq_attr): Use __syscall_slong_t.
60385 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60387         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60388         Check __x86_64__ instead of __WORDSIZE.
60389         (_STAT_VER_LINUX): Likewise.
60390         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60391         __syscall_ulong_t and __syscall_slong_t.
60392         (stat64): Likewise.
60394 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60396         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60398 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60400         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60402 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60404         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60405         __syscall_ulong_t.
60407         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60408         include <bits/wordsize.h>.  Check __x86_64__ instead of
60409         __WORDSIZE.
60410         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60411         defined.
60412         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60414         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60415         include <bits/wordsize.h>.  Check __x86_64__ instead of
60416         __WORDSIZE.
60417         (user_regs_struct): Use "__extension__ unsigned long long"
60418         instead of "unsigned long" if __x86_64__ is defined.
60419         (user): Likewise.  Pad after pointer field if __ILP32__ is
60420         defined.
60422 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60424         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60425         versions 5 to 9.
60426         * configure: Regenerated.
60427         * manual/install.texi (texinfo): Increase version requirement to
60428         4.5 or later.
60429         * INSTALL: Regenerated.
60431         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60433 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60435         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60437         * sysdeps/x86_64/x32/ffs.c: New file.
60439         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60440         __syscall_ulong_t.
60441         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60442         defined.  Use __syscall_ulong_t.
60443         (shminfo): Use __syscall_ulong_t.
60444         (shm_info): Likewise.
60446         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60447         __syscall_ulong_t.
60449         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60450         <bits/wordsize.h>.
60451         (msgqnum_t): Use __syscall_ulong_t.
60452         (msglen_t): Likewise.
60453         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60454         __syscall_ulong_t.
60456         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60457         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60459         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60461         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60462         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60464         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60465         __syscall_slong_t.
60467         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60468         include <bits/wordsize.h>.  Check __x86_64__ instead of
60469         __WORDSIZE.
60471         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60472         "unsigned long long int" if __x86_64__ is defined.
60473         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60475         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60476         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60477         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60479         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60480         <stdint.h>.
60481         (GET_PC): Cast to uintptr_t first.
60482         (GET_FRAME): Likewise.
60483         (GET_STACK): Likewise.
60485         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60486         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60487         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60488         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60489         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60490         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60491         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60492         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60493         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60494         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60495         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60496         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60497         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60498         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60499         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60500         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60501         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60502         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60503         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60504         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60505         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60506         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60507         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60508         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60509         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60510         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60511         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60512         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60513         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60515 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60517         * Makerules (+depfiles): Also collect depfiles from .oS in
60518         $(extra-objs).
60519         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60520         .oS, $(libnldbl-routines)).
60522         * Makerules (native-compile-mkdep-flags): Define.
60523         * sunrpc/Makefile (extra-objs): Add $(addprefix
60524         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60525         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60526         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60527         calling $(make-target-directory).
60529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60531         * bits/types.h (__snseconds_t): Removed.
60532         * time/time.h (struct timespec): Replace __snseconds_t with
60533         __syscall_slong_t.
60534         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60535         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60536         Likewise.
60537         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60538         (__SNSECONDS_T_TYPE): Likewise.
60539         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60540         (__SNSECONDS_T_TYPE): Likewise.
60541         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60542         (__SNSECONDS_T_TYPE): Likewise.
60544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60546         * sysdeps/mach/hurd/bits/typesizes.h
60547         (__SYSCALL_SLONG_TYPE): New macro.
60548         (__SYSCALL_ULONG_TYPE): Likewise.
60550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60552         * bits/types.h (__syscall_slong_t): New type.
60553         (__syscall_ulong_t): Likewise.
60555         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60556         (__SYSCALL_ULONG_TYPE): Likewise.
60557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60558         (__SYSCALL_SLONG_TYPE): Likewise.
60559         (__SYSCALL_ULONG_TYPE): Likewise.
60560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60561         (__SYSCALL_SLONG_TYPE): Likewise.
60562         (__SYSCALL_ULONG_TYPE): Likewise.
60563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60564         (__SYSCALL_SLONG_TYPE): Likewise.
60565         (__SYSCALL_ULONG_TYPE): Likewise.
60567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60569         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60570         Add sigaltstack-offsets.sym.
60571         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60572         <sigaltstack-offsets.h>.
60573         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60574         longjmp_msg pointer.
60575         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60576         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60577         signal stack.
60578         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60580 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60582         * elf/stackguard-macros.h: Remove file.
60583         * sysdeps/generic/stackguard-macros.h: New file.
60584         * sysdeps/i386/stackguard-macros.h: Likewise.
60585         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60586         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60587         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60588         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60589         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60590         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60591         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60592         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60593         <elf/stackguard-macros.h>.
60595         [BZ #14109]
60596         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60597         __aligned__ in attribute.
60598         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60599         (gregset_t): Likewise.
60601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60603         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60604         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60605         * sysdeps/x86_64/x32/Implies-after: New file.
60607 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60609         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60610         and access return value for _dl_profile_fixup.  Use R10_LP to
60611         load frame size.
60613 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60615         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60619         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60620         * sysdeps/x86_64/x32/sysdep.h: New file.
60622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60624         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60625         * sysdeps/x86_64/setjmp.S: Likewise.
60627 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60629         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60630         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60631         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60632         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60633         remove unused global constant.
60635 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60637         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60638         include of <not-cancel.h>.
60640 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60642         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60644 2012-05-15  Jeff Law  <law@redhat.com>
60645             Andreas Jaeger  <aj@suse.de>
60647         [BZ #13594]
60648         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60649         out from...
60650         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60651         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60652         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60653         code changing __hst_map_handle.map.
60655 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60657         * configure.in (sysnames): Look for Implies-before and Implies-after
60658         files.
60659         * configure: Regenerated.
60661 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60663         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60664         8-byte data alignment with LP_SIZE alignment.
60666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60668         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60669         into R10_LP.
60671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60673         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60677         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60678         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60679         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60680         Likewise.
60681         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60685         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60686         (stackinfo_sub_sp): Likewise.
60688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60690         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60691         RAX_LP.
60693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60695         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60696         into R*_LP.
60698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60700         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60701         sizes into R*_LP.
60703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60705         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60709         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60710         into R11_LP and load __x86_64_shared_cache_size_half into
60711         R8_LP.
60713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60715         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60716         R8_LP.
60718 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60721         logb for POWER7.
60722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60723         logbf for POWER7.
60724         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60725         logbl for POWER7.
60726         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60727         powerpc32/power7/fpu/s_logb.c via #include.
60728         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60729         powerpc32/power7/fpu/s_logbf.c via #include.
60730         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60731         powerpc32/power7/fpu/s_logbl.c via #include.
60733 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60735         * README.libm: Remove file.
60737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60739         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60740         count for x32.  Use R*_LP and omit operand-size suffix.
60742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60744         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60745         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60746         * sysdeps/x86_64/x32/shlib-versions: New file.
60748 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60750         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60751         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60752         Use _dl_fatal_printf instead.
60754 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60756         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60757         set if not set by the user.  Do not allow for being unset.
60758         * sysdeps/unix/sysv/linux/configure: Regenerated.
60760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60762         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60763         the `q' suffix from lea and replace .quad with ASM_ADDR.
60765 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60767         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60768         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60769         instead of $17.
60770         (PTR_DEMANGLE): Likewise.
60772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60774         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60775         (LP_OP): Likewise.
60776         (ASM_ADDR): Likewise.
60777         (RAX_LP): Likewise.
60778         (RBP_LP): Likewise.
60779         (RBX_LP): Likewise.
60780         (RCX_LP): Likewise.
60781         (RDI_LP): Likewise.
60782         (RSI_LP): Likewise.
60783         (RSP_LP): Likewise.
60784         (R8_LP): Likewise.
60785         (R9_LP): Likewise.
60786         (R10_LP): Likewise.
60787         (R10_LP): Likewise.
60788         (R11_LP): Likewise.
60789         (R12_LP): Likewise.
60790         (R13_LP): Likewise.
60791         (R14_LP): Likewise.
60792         (R15_LP): Likewise.
60794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60796         * sysdeps/x86_64/x32/dl-machine.h: New file.
60798 2012-05-14  Andreas Jaeger  <aj@suse.de>
60800         * manual/Makefile (subdir): Remove export of subdir.
60801         (all): Remove target.
60802         (.PHONY): Remove all from list.
60803         (mkinstalldirs): Remove.
60804         (.PHONY): Remove installdirs from list.
60805         ($(inst_infodir)/libc.info): Use make-target-directory.
60806         (installdirs): Remove.
60807         (subdir_%): Remove.
60808         (glibc-targets): Remove.
60809         (lib): Remove.
60810         (stubs): Remove.
60811         ($(objpfx)stubs ../po/manual.pot): Remove.
60812         ($(objpfx)stamp%): Remove.
60813         (make-target-directory): Remove.
60814         (subdir_install): Remove.
60815         (routines): Remove.
60816         (aux): Remove.
60817         (sources): Remove.
60818         (objects): Remove.
60819         (headers): Remove.
60821         [BZ #13750]
60822         * manual/.gitignore: Remove, it's not needed anymore.
60823         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60824         all files in it.
60825         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60826         directory.
60827         (texis): Renamed to $(objpfx)texis.
60828         (texis-path): New, contains path to generated files.
60829         (chapters.%): Use texis-path for complete path, add extra argument
60830         libc-texinfo.sh.
60831         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60832         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60833         (summary,texi, stamp-summary): Use complete path of
60834         files. Generate files in build dir.
60835         (dir-add.texi): Build in build dir.
60836         (libm-err.texi,stamp-libm-err): Likewise.
60837         (version.texi, stamp-version): Likewise.
60838         (.%c.texi): Likewise.
60839         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
60840         (mostlyclean): Remove target.
60841         (realclean): Remove target.
60842         (generated): Add new variable with contents from mostlyclean and
60843         realclean, remove entries duplicated in common-mostlyclean, add
60844         stamp-libm-err and stamp-version.
60845         (generated-dirs): Add libc directory.
60846         ($(inst_infodir)/libc.info): Install files from build dir.
60848         * manual/install.texi (Configuring and compiling): Adjust since
60849         the info files are not part of the tar ball anymore.
60851 2012-05-14  Andreas Jaeger  <aj@suse.de>
60853         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
60854         variable.
60856 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60858         [BZ #13717]
60859         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60860         to 2.2.0 where earlier.
60861         * sysdeps/unix/sysv/linux/configure: Regenerated.
60862         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
60863         Remove conditional code.
60864         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
60865         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
60866         Remove conditional code.
60867         [!__NR_lchown]: Likewise.
60868         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60869         [__NR_lchown]: Likewise.
60870         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
60871         comment referencing __ASSUME_LCHOWN_SYSCALL.
60872         * sysdeps/unix/sysv/linux/i386/sigaction.c
60873         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60874         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60875         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
60876         Remove conditional code.
60877         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
60878         (__protocol_available): Remove #if 0 code.
60879         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
60880         conditional code.
60881         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
60882         * sysdeps/unix/sysv/linux/kernel-features.h
60883         (__ASSUME_GETCWD_SYSCALL): Don't define.
60884         (__ASSUME_REALTIME_SIGNALS): Likewise.
60885         (__ASSUME_PREAD_SYSCALL): Likewise.
60886         (__ASSUME_PWRITE_SYSCALL): Likewise.
60887         (__ASSUME_POLL_SYSCALL): Likewise.
60888         (__ASSUME_LCHOWN_SYSCALL): Likewise.
60889         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
60890         non-SPARC.
60891         (__ASSUME_SIOCGIFNAME): Don't define.
60892         (__ASSUME_MSG_NOSIGNAL): Likewise.
60893         (__ASSUME_SENDFILE): Define unconditionally.
60894         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
60895         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
60896         conditional code.
60897         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
60898         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
60899         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60900         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60901         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
60902         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
60903         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
60904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
60905         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60906         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
60908         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60909         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
60911         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60912         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
60914         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
60917         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60918         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
60920         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
60921         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
60923         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60924         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
60926         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60928         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
60929         Remove conditional code.
60930         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60931         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60932         Remove conditional code.
60933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60934         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
60935         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
60936         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60937         Remove conditional code.
60938         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60939         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
60940         Remove conditional code.
60941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60942         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
60943         Remove conditional code.
60944         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60945         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
60946         Remove conditional code.
60947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
60948         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
60949         Remove conditional code.
60950         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60951         * sysdeps/unix/sysv/linux/sh/pwrite64.c
60952         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
60953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
60954         * sysdeps/unix/sysv/linux/sigaction.c
60955         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60956         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60957         * sysdeps/unix/sysv/linux/sigpending.c
60958         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60959         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60960         * sysdeps/unix/sysv/linux/sigprocmask.c
60961         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60962         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60963         * sysdeps/unix/sysv/linux/sigsuspend.c
60964         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
60965         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
60966         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60967         (__libc_missing_rt_sigs): Remove.
60968         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
60969         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
60970         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
60971         Remove conditional code.
60972         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
60973         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
60974         return 1.
60975         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
60976         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
60977         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
60978         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
60980 2012-05-14  Andreas Jaeger  <aj@suse.de>
60982         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
60983         it's not used in glibc.
60984         (__coshm1): Likewise.
60985         (__acosh1p): Likewise.
60986         (__sgn): Likewise.
60988         * manual/string.texi (Copying and Concatenation): Add missing
60989         variable in concat example.
60990         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
60992 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60994         [BZ #14103]
60995         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
60996         __builtin_clzl with __builtin_clzll.
60998 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61000         [BZ #14104]
61001         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61002         libc_freeres_ptr.
61004 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61006         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61007         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61008         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61009         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61011 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61013         * NEWS: Update ia64 info.
61015 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61017         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61018         used as bcopy.
61020 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61022         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61023         * sysdeps/unix/syscalls.list (dup3): Likewise.
61024         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61025         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61027 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61029         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61030         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61032 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61034         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61035         thread pointer.
61036         (TLS_IE): Use mov/add instead of movq/addq to load thread
61037         pointer.
61038         (TLS_GD_PREFIX): New.
61039         (TLS_GD): Use it.
61041 2012-05-11  David S. Miller  <davem@davemloft.net>
61043         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61044         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61045         (_FPU_SETCW): Likewise.
61047 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61049         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61050         is 32-byte aligned.
61052 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61054         [BZ #11837]
61055         * iconvdata/gb18030.c: Update tables.
61056         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61057         characters specially.
61058         (BODY for TO_LOOP): Add encoding of missing ranges.
61060 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61062         [BZ #13673]
61063         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61064         * sysdeps/mach/hurd/dup3.c: Likewise.
61065         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61066         * sysdeps/powerpc/memmove.c:: Likewise.
61068 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61070         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61071         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61073 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61075         * elf/elf.h (R_X86_64_RELATIVE64): New.
61076         (R_X86_64_NUM): Updated.
61077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61078         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61079         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61080         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61081         tst-quad1pie tst-quad2pie
61082         (modules-names): Add tst-quadmod1 tst-quadmod2.
61083         ($(objpfx)tst-quad1): New dependency.
61084         ($(objpfx)tst-quad2): Likewise.
61085         ($(objpfx)tst-quad1pie): Likewise.
61086         ($(objpfx)tst-quad2pie): Likewise.
61087         * sysdeps/x86_64/tst-quad1.c: New file.
61088         * sysdeps/x86_64/tst-quad1pie.c: New file.
61089         * sysdeps/x86_64/tst-quad2.c: Likewise.
61090         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61091         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61092         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61093         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61094         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61098         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61099         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61100         * streams/stropts.h (t_scalar_t): Define type.
61102         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61103         (_PATH_PRESERVE): Set to "/var/lib".
61104         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61106         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61107         instead of int.
61109         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61110         if __dir_mkfile succeeded.
61112         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61113         checking for _hurd_dtablesize.  Unlock it right after having
61114         finished _hurd_dtable allocation.
61116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61118         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61119         * sysdeps/mach/hurd/configure: Regenerated.
61120         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61121         special-casing to...
61122         * sysdeps/gnu/configure.in: ... this new file.
61123         * sysdeps/unix/sysv/linux/configure: Regenerated.
61124         * sysdeps/gnu/configure: New generated file.
61126         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61127         for Linux: use nsec instead of usec, as well as:
61128         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61129         members of type struct timespec.
61130         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61131         New macros.
61132         (struct stat64): Likewise.
61133         (_STATBUF_ST_NSEC): New macro.
61134         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61136         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61137         __strtoul_internal rather than strtoul.
61139 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61141         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61142         and reject them.
61144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61146         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61147         which preserves existing values.
61148         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61150 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61152         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61153         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61154         greater than FD_SETSIZE.
61156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61158         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61159         allocated, call __vm_protect to finish enabling the existing space, and
61160         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61161         allocate the remainder.
61163 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61165         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61166         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61170         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61171         sysdeps/mach/hurd/readlink.c.
61173         * posix/tst-sysconf.c (posix_options): Only use
61174         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61175         _POSIX_SYNCHRONIZED_IO when they are defined
61176         * sysdeps/mach/hurd/bits/posix_opt.h:
61177         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61178         (_XOPEN_REALTIME): Undefine macro.
61179         (_XOPEN_REALTIME_THREADS): Undefine macro.
61180         (_XOPEN_SHM): Undefine macro.
61181         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61182         macro to -1.
61183         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61184         macro to -1.
61185         (_POSIX_ASYNC_IO): Undefine macro.
61186         (_POSIX_PRIORITIZED_IO): Undefine macro.
61187         (_POSIX_SPIN_LOCKS): Define macro to -1.
61189         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61190         SA_NODEFER, SA_RESETHAND.
61191         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61192         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61193         F_DUPFD_CLOEXEC.
61195 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61197         * elf/Makefile (pldd-modules): Define unconditionally.
61199 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61201         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61203 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61205         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61206         Return ENOENT when name is empty.
61207         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61211         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61213         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61217         Fix mlock in all cases except non-readable pages.
61218         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61219         instead of VM_PROT_ALL as parameter to __vm_wire function.
61221         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61222         (__mkdir): When path is `/', just fail with EEXIST.
61223         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61227         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61228         <sys/uio.h> (for writev).
61229         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61230         and <sys/param.h> (for MIN).
61232 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61234         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61235         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61236         if interrupted.
61238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61240         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61241         Depend on against $(link-rpcuserlibs).
61243 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61245         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61246         (__libc_stack_end): Do not use attribute_relro.
61247         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61248         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61249         to libthread-provided value.
61250         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61251         attribute_relro.
61253 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61255         [BZ #3748]
61256         * bits/libc-lock.h (__libc_once_get): New macro.
61257         * sysdeps/mach/bits/libc-lock.h: Likewise.
61258         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61259         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61260         instead of using implementation details.
61262         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61263         * libio/freopen.c: Likewise.
61264         * libio/freopen64.c: Likewise.
61265         * misc/syslog.c: Likewise.
61266         * nscd/connections.c: Likewise.
61267         * nscd/netgroupcache.c: Likewise.
61268         * sysdeps/posix/getcwd.c: Likewise.
61270 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61272         * math/w_ilogbf.c: Add #include <limits.h>.
61274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61276         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61277         path instead of returning without unlocking.
61279         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61280         immediate-write ioctls.
61281         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61285         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61286         __builtin_frame_address instead of making assumptions about the
61287         location of the return address relative to DATA.  Force early load of
61288         the return address.
61289         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61290         __builtin_frame_address.
61292         dup3 for GNU Hurd.
61293         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61294         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61295         implement dup3 and do some further code clean-ups.
61296         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61297         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61299 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61301         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61303         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61304         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61305         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61306         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61307         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61308         d->port.lock.
61310         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61311         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61312         when handler == SIG_ERR, not when handler != SIG_ERR.
61314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61316         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61317         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61318         definitions.
61320         accept4 for GNU Hurd.
61321         * include/sys/socket.h (__libc_accept4): New prototype.
61322         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61323         to implement __libc_accept4.
61324         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61325         __libc_accept4.
61326         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61328         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61329         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61330         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61331         signal-defines.sym.
61333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61335         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61337 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61339         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61340         assertion on O_CLOEXEC flag.
61341         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61342         * hurd/intern-fd.c: Likewise.
61343         * hurd/port2fd.c: Likewise.
61345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61347         [BZ #3906]
61348         * bits/in.h (IPV6_PKTINFO): Define new macro.
61349         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61351 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61353         [BZ #13954]
61354         [BZ #13955]
61355         [BZ #13956]
61356         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61357         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61358         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61359         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61361         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61362         * math/libm-test.inc (logb_test) : Additional logb tests.
61364 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61365             Andreas Jaeger  <aj@suse.de>
61367         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61368         * configure: Regenerated.
61369         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61370         * config.make.in (link-obsolete-rpc): New substituted variable.
61371         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61372         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61373         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61374         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61375         so that libc.a contains the symbols.
61376         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61377         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61378         * sunrpc/auth_none.c: Likewise.
61379         * sunrpc/auth_unix.c: Likewise.
61380         * sunrpc/authdes_prot.c: Likewise.
61381         * sunrpc/authuxprot.c: Likewise.
61382         * sunrpc/clnt_gen.c: Likewise.
61383         * sunrpc/clnt_perr.c: Likewise.
61384         * sunrpc/clnt_raw.c: Likewise.
61385         * sunrpc/clnt_simp.c: Likewise.
61386         * sunrpc/clnt_tcp.c: Likewise.
61387         * sunrpc/clnt_udp.c: Likewise.
61388         * sunrpc/clnt_unix.c: Likewise.
61389         * sunrpc/des_crypt.c: Likewise.
61390         * sunrpc/des_soft.c: Likewise.
61391         * sunrpc/get_myaddr.c: Likewise.
61392         * sunrpc/key_call.c: Likewise.
61393         * sunrpc/key_prot.c: Likewise.
61394         * sunrpc/netname.c: Likewise.
61395         * sunrpc/pm_getmaps.c: Likewise.
61396         * sunrpc/pm_getport.c: Likewise.
61397         * sunrpc/pmap_clnt.c: Likewise.
61398         * sunrpc/pmap_prot.c: Likewise.
61399         * sunrpc/pmap_prot2.c: Likewise.
61400         * sunrpc/pmap_rmt.c: Likewise.
61401         * sunrpc/publickey.c: Likewise.
61402         * sunrpc/rpc_cmsg.c: Likewise.
61403         * sunrpc/rpc_common.c: Likewise.
61404         * sunrpc/rpc_dtable.c: Likewise.
61405         * sunrpc/rpc_prot.c: Likewise.
61406         * sunrpc/rpc_thread.c: Likewise.
61407         * sunrpc/rtime.c: Likewise.
61408         * sunrpc/svc.c: Likewise.
61409         * sunrpc/svc_auth.c: Likewise.
61410         * sunrpc/svc_raw.c: Likewise.
61411         * sunrpc/svc_run.c: Likewise.
61412         * sunrpc/svc_tcp.c: Likewise.
61413         * sunrpc/svc_udp.c: Likewise.
61414         * sunrpc/svc_unix.c: Likewise.
61415         * sunrpc/svcauth_des.c: Likewise.
61416         * sunrpc/xcrypt.c: Likewise.
61417         * sunrpc/xdr.c: Likewise.
61418         * sunrpc/xdr_array.c: Likewise.
61419         * sunrpc/xdr_float.c: Likewise.
61420         * sunrpc/xdr_intXX_t.c: Likewise.
61421         * sunrpc/xdr_mem.c: Likewise.
61422         * sunrpc/xdr_rec.c: Likewise.
61423         * sunrpc/xdr_ref.c: Likewise.
61424         * sunrpc/xdr_sizeof.c: Likewise.
61425         * sunrpc/xdr_stdio.c: Likewise.
61427 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61429         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61430         change.  Update copyright years.
61432 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61434         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61436 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61437             Joseph Myers  <joseph@codesourcery.com>
61438             Paul Pluzhnikov  <ppluzhnikov@google.com>
61440         [BZ #14012]
61441         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61442         requiring rpcgen.
61443         [cross-compiling] (extra-libs): Likewise.
61444         [cross-compiling] (extra-libs-others): Likewise.
61445         [cross-compiling] (librpcsvc-routines): Likewise.
61446         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61447         [cross-compiling] (omit-deps): Likewise.
61448         (sunrpc-CPPFLAGS): New variable.
61449         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61450         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61451         (cross-rpcgen-objs): New variable.
61452         (extra-objs): Append $(cross-rpcgen-objs).
61453         ($(cross-rpcgen-objs)): New rule.
61454         ($(objpfx)cross-rpcgen): Likewise.
61455         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61456         comment.
61457         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61458         ($(objpfx)x%.stmp): Likewise.
61459         * sunrpc/proto.h [IS_IN_build] (_): Define.
61460         [IS_IN_build] (_libc_intl_domainname): Likewise.
61462 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61464         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61465         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61466         and R_X86_64_TPOFF64.
61468 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61470         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61471         sysdeps/unix/sysv/syscalls.list.
61472         (stime): Likewise.
61473         (utime): Likewise.
61474         * sysdeps/unix/sysv/syscalls.list: Remove file.
61476 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61478         [BZ #3440]
61479         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61480         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61481         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61482         (__LC_IDENTIFICATION): Make these macros useful in #if
61483         expressions, as required by C99.
61485 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61487         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61488         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61489         after this.
61491 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61493         * stdlib/longlong.h: Updated from GCC.
61495 2012-05-09  Andreas Jaeger  <aj@suse.de>
61497         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61498         default is first entry.
61499         (run_mode): Set type.
61500         (main): Remove informal message about syslog.
61501         (options): Fix typo.
61503         [BZ #14053]
61504         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61505         to asm.
61506         (lrint): Likewise.
61507         (llrintf): Likewise.
61508         (llrint): Likewise.
61509         (rint): Likewise.
61510         (rintf): Likewise.
61511         (nearbyint): Likewise.
61512         (nearbyintf): Likewise.
61514 2012-05-09  Andreas Jaeger  <aj@suse.de>
61515             Pedro Alves  <palves@redhat.com>
61517         * nscd/nscd.c (run_mode): Use enum.
61518         (main): Cleanup coding style issue.
61520 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61521             Andreas Jaeger  <aj@suse.de>
61523         * nscd/nscd.c (go_background): Replaced with...
61524         (run_mode): ... this.
61525         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61526         (options): Add -F --foreground.
61527         (main): Implement it.
61528         (parse_opt): Parse it.
61530 2012-05-09  Andreas Jaeger  <aj@suse.de>
61532         [BZ #14083]
61533         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61534         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61535         -Wconversion warning.
61536         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61537         Likewise.
61539 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61541         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61542         == 0.
61543         (LC_ALL): Use macro-int-constant.
61544         (LC_COLLATE): Likewise.
61545         (LC_CTYPE): Likewise.
61546         (LC_MESSAGES): Likewise.
61547         (LC_MONETARY): Likewise.
61548         (LC_NUMERIC): Likewise.
61549         (LC_TIME): Likewise.
61550         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61551         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61553         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61554         Specify type.
61555         [C99-based standards] (float_t): Expect type.
61556         [C99-based standards] (double_t): Expect type.
61557         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61558         type.
61559         [C99-based standards] (HUGE_VALL): Likewise.
61560         [C99-based standards] (INFINITY): Likewise.
61561         [C99-based standards] (NAN): Likewise.
61562         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61563         [C99-based standards] (FP_NAN): Likewise.
61564         [C99-based standards] (FP_NORMAL): Likewise.
61565         [C99-based standards] (FP_SUBNORMAL): Likewise.
61566         [C99-based standards] (FP_ZERO): Likewise.
61567         [C99-based standards] (FP_FAST_FMA): Use
61568         optional-macro-int-constant.  Specify type.  Require == 1.
61569         [C99-based standards] (FP_FAST_FMAF): Likewise.
61570         [C99-based standards] (FP_FAST_FMAL): Likewise.
61571         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61572         [C99-based standards] (FP_ILOGBNAN): Likewise.
61573         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61574         Specify type.
61575         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61576         [C99-based standards] (math_errhandling): Specify type.
61577         [ISO99 || ISO11] (signgam): Do not allow.
61578         [non-C99-based standards] (copysignf): Do not allow.
61579         [non-C99-based standards] (exp2f): Likewise.
61580         [non-C99-based standards] (log2f): Likewise.
61581         [non-C99-based standards] (modff): Allow.
61582         [non-C99-based standards] (erff): Do not allow.
61583         [non-C99-based standards] (erfcf): Likewise.
61584         [non-C99-based standards] (gammaf): Likewise.
61585         [non-C99-based standards] (hypotf): Likewise.
61586         [non-C99-based standards] (j0f): Likewise.
61587         [non-C99-based standards] (j1f): Likewise.
61588         [non-C99-based standards] (jnf): Likewise.
61589         [non-C99-based standards] (lgammaf): Likewise.
61590         [non-C99-based standards] (tgammaf): Likewise.
61591         [non-C99-based standards] (y0f): Likewise.
61592         [non-C99-based standards] (y1f): Likewise.
61593         [non-C99-based standards] (ynf): Likewise.
61594         [non-C99-based standards] (isnanf): Likewise.
61595         [non-C99-based standards] (acoshf): Likewise.
61596         [non-C99-based standards] (asinhf): Likewise.
61597         [non-C99-based standards] (atanhf): Likewise.
61598         [non-C99-based standards] (cbrtf): Likewise.
61599         [non-C99-based standards] (expm1f): Likewise.
61600         [non-C99-based standards] (ilogbf): Likewise.
61601         [non-C99-based standards] (log1pf): Likewise.
61602         [non-C99-based standards] (logbf): Likewise.
61603         [non-C99-based standards] (nextafterf): Likewise.
61604         [non-C99-based standards] (remainderf): Likewise.
61605         [non-C99-based standards] (rintf): Likewise.
61606         [non-C99-based standards] (scalbf): Likewise.
61607         [non-C99-based standards] (copysignl): Likewise.
61608         [non-C99-based standards] (exp2l): Likewise.
61609         [non-C99-based standards] (log2l): Likewise.
61610         [non-C99-based standards] (modfl): Allow.
61611         [non-C99-based standards] (erfl): Do not allow.
61612         [non-C99-based standards] (erfcl): Likewise.
61613         [non-C99-based standards] (gammal): Likewise.
61614         [non-C99-based standards] (hypotl): Likewise.
61615         [non-C99-based standards] (j0l): Likewise.
61616         [non-C99-based standards] (j1l): Likewise.
61617         [non-C99-based standards] (jnl): Likewise.
61618         [non-C99-based standards] (lgammal): Likewise.
61619         [non-C99-based standards] (tgammal): Likewise.
61620         [non-C99-based standards] (y0l): Likewise.
61621         [non-C99-based standards] (y1l): Likewise.
61622         [non-C99-based standards] (ynl): Likewise.
61623         [non-C99-based standards] (isnanl): Likewise.
61624         [non-C99-based standards] (acoshl): Likewise.
61625         [non-C99-based standards] (asinhl): Likewise.
61626         [non-C99-based standards] (atanhl): Likewise.
61627         [non-C99-based standards] (cbrtl): Likewise.
61628         [non-C99-based standards] (expm1l): Likewise.
61629         [non-C99-based standards] (ilogbl): Likewise.
61630         [non-C99-based standards] (log1pl): Likewise.
61631         [non-C99-based standards] (logbl): Likewise.
61632         [non-C99-based standards] (nextafterl): Likewise.
61633         [non-C99-based standards] (remainderl): Likewise.
61634         [non-C99-based standards] (rintl): Likewise.
61635         [non-C99-based standards] (scalbl): Likewise.
61636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61637         [non-C99-based standards] (FP_*): Do not allow.
61638         [C99-based standards] (FP_*): Change to
61639         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61640         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61641         allow.
61642         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61643         (SIG_ERR): Likewise.
61644         [X/Open-based standards] (SIG_HOLD): Likewise.
61645         (SIG_IGN): Likewise.
61646         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61647         positive value.
61648         (SIGFPE): Likewise.
61649         (SIGILL): Likewise.
61650         (SIGINT): Likewise.
61651         (SIGSEGV): Likewise.
61652         (SIGTER): Likewise.
61653         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61654         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61655         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61656         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61657         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61658         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61659         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61660         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61661         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61662         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61663         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61664         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61665         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61666         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61667         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61668         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61669         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61670         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61671         [X/Open-based standards] (SIGTRAP): Likewise.
61672         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61673         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61674         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61675         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61676         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61677         allow.
61679 2012-05-08  Ian Wienand  <ianw@vmware.com>
61681         [BZ #14080]
61682         * time/tzset.c (__tzset_parse_tz): Update default rules for
61683         daylight time changes in the Energy Policy Act of 2005.
61685 2012-05-09  Andreas Jaeger  <aj@suse.de>
61687         [BZ #13983]
61688         * elf/ldconfig.c (parse_conf): Change string to make clear that
61689         ldconfig only issued a warning if ld.so.conf does not exist.
61691 2012-05-08  David S. Miller  <davem@davemloft.net>
61693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61694         movxtod instead of popping the value on the stack.
61696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61698 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61700         * config.h.in: Add HAVE_ARM_PCS_VFP.
61702 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61704         [BZ #13979]
61705         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61706         checking but the checks are disabled for any reason.
61708 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61710         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61711         and ELF64_R_TYPE with ELFW(R_TYPE).
61713 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61715         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61716         (ulimit): Likewise.
61718         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61719         (settimeofday): Likewise.
61721 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61723         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61724         a struct th_u2 inside the union, and move tu_block/tu_code into
61725         a new th_u3 union of tu_block/tu_code inside of that.  Move
61726         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61727         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61728         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61729         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61730         (th_stuff): Change to th_u1.tu_stuff.
61731         (th_data): Define.
61732         (th_msg): Change to th_u1.th_u2.tu_data.
61734 2012-05-07  David S. Miller  <davem@davemloft.net>
61736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61738         [BZ #14074]
61739         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61740         (SETUP_PIC_REG): Use it.
61741         (SETUP_PIC_REG_LEAF): Use it.
61743 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61745         [BZ #13885]
61746         [BZ #13923]
61747         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61748         USE_AS_EXPM1L.
61749         (EXPL_FINITE): Likewise.
61750         (FLDLOG): Likewise.
61751         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61752         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61753         e_expl.S.
61754         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61755         USE_AS_EXPM1L.
61756         (EXPL_FINITE): Likewise.
61757         (FLDLOG): Likewise.
61758         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61759         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61760         e_expl.S.
61761         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61762         test of -max_value argument for long double.
61763         * sysdeps/i386/fpu/libm-test-ulps: Update.
61764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61766 2012-05-06  David S. Miller  <davem@davemloft.net>
61768         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61769         quad soft-float symbols whose references which are compiler
61770         generated.
61771         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61773 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61775         [BZ #13884]
61776         [BZ #13914]
61777         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61778         USE_AS_EXP10L.
61779         (EXPL_FINITE): Likewise.
61780         (FLDLOG): Likewise.
61781         (c0): Likewise.
61782         (c1): Likewise.
61783         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61784         Adjust comments for base varying.
61785         (__expl_finite): Change alias to EXPL_FINITE.
61786         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61787         e_expl.S.
61788         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61789         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61790         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61791         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61792         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61793         USE_AS_EXP10L.
61794         (EXPL_FINITE): Likewise.
61795         (FLDLOG): Likewise.
61796         (c0): Likewise.
61797         (c1): Likewise.
61798         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61799         Adjust comments for base varying.
61800         (__expl_finite): Change alias to EXPL_FINITE.
61801         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61802         tests for bugs.
61803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61805         [BZ #14064]
61806         * math/libm-test.inc (check_float_internal): Correct ulp
61807         calculation for subnormal expected results.
61809 2012-05-06  Andreas Jaeger  <aj@suse.de>
61811         * Makeconfig (+math-flags): New, set to -frounding-math.
61812         (+cflags): Add +math-flags so that all of glibc gets compiled with
61813         it.
61815         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61817 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61819         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61820         Disable one test.
61822         [BZ #13787]
61823         [BZ #13922]
61824         [BZ #14036]
61825         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61826         (__ieee754_expl): Allow for and saturate large arguments.
61827         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61828         (u_threshold): Likewise.
61829         (__exp): Call __ieee754_exp before checking for overflow and
61830         underflow.
61831         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61832         (u_threshold): Likewise.
61833         (__expf): Call __ieee754_expf before checking for overflow and
61834         underflow.
61835         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
61836         (u_threshold): Likewise.
61837         (__expl): Call __ieee754_expl before checking for overflow and
61838         underflow.
61839         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
61840         (__ieee754_expl): Allow for and saturate large arguments.
61841         * math/libm-test.inc (exp_test): Add another test.  Do not allow
61842         missing overflow exception on overflow.
61843         (expm1_test): Do not allow missing overflow exception on overflow.
61845         * sysdeps/i386/fpu/e_expl.c: Move to ...
61846         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
61847         rather than using inline asm.
61848         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
61849         * sysdeps/x86_64/fpu/e_expl.S: Copy from
61850         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
61852         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
61853         (nice): Likewise.
61854         (poll): Likewise.
61855         (signal): Likewise.
61856         (time): Likewise.
61857         (times): Likewise.
61859 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61861         * sysdeps/unix/syscalls.list (adjtime): Add entry from
61862         sysdeps/unix/common/syscalls.list.
61863         (fchmod): Likewise.
61864         (fchown): Likewise.
61865         (ftruncate): Likewise.
61866         (getrusage): Likewise.
61867         (gettimeofday): Likewise.
61868         (setpgid): Likewise.
61869         (setregid): Likewise.
61870         (setreuid): Likewise.
61871         (sigaction): Likewise.
61872         (truncate): Likewise.
61873         (vhangup): Likewise.
61874         * sysdeps/unix/common/syscalls.list: Remove file.
61875         * sysdeps/unix/bsd/Implies: Don't include unix/common.
61876         * sysdeps/unix/sysv/linux/Implies: Likewise.
61878 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
61880         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
61881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
61882         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
61883         Moved to ...
61884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
61885         Here.
61886         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
61887         to ...
61888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
61889         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
61890         to ...
61891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
61892         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
61893         to ...
61894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
61895         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
61896         to ...
61897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
61898         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
61899         to ...
61900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
61901         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
61902         to ...
61903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
61904         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
61905         to ...
61906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61907         Here.
61908         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
61909         to ...
61910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
61911         Here.
61912         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
61913         to ...
61914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
61915         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
61916         Moved to ...
61917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
61918         Here.
61919         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
61920         to ...
61921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
61923 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61925         * sysdeps/unix/common/bits/dirent.h: Remove file.
61926         * sysdeps/unix/common/bits/fcntl.h: Likewise.
61928         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
61929         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
61930         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
61931         * sysdeps/unix/bsd/isatty.c: Likewise.
61932         * sysdeps/unix/bsd/tcdrain.c: Likewise.
61933         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
61934         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
61936 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61938         [BZ #13563]
61939         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
61940         long double comparison inaccuracies.
61941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61942         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61944 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
61946         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
61947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
61949 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
61951         [BZ #14049]
61952         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
61953         nonzero digits before rounding a hex value.
61954         * stdlib/tst-strtod.c (tests): Add another test.
61956 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61958         * sysdeps/s390/fpu/libm-test-ulps: Update.
61960 2012-05-03  Andreas Jaeger  <aj@suse.de>
61962         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
61963         does not get optimized out.
61964         (malloc_opt_barrier): New.
61966 2012-05-03  Andreas Jaeger  <aj@suse.de>
61967             Roland McGrath  <roland@hack.frob.com>
61969         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
61970         intermediate file deletion.
61971         (generated): Add .symlist files.
61973 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
61975         [BZ #13775]
61976         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
61977         Redirect under this condition.
61978         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61979         [__USE_GNU] (__dprintf_chk): Not under this condition.
61980         [__USE_GNU] (__vdprintf_chk): Likewise.
61981         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
61982         under this condition.
61983         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
61984         [__USE_XOPEN2K8] (dprintf): Define under this condition.
61985         [__USE_XOPEN2K8] (vdprintf): Likewise.
61986         [__USE_GNU] (__dprintf_chk): Not under this condition.
61987         [__USE_GNU] (__vdprintf_chk): Likewise.
61988         [__USE_GNU] (dprintf): Likewise.
61989         [__USE_GNU] (vdprintf): Likewise.
61991 2012-05-03  Roland McGrath  <roland@hack.frob.com>
61993         * elf/Makefile (common-generated): Set this instead of generated for
61994         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
61995         $(all-built-dso)-derived lists.
61997 2012-05-03  Andreas Jaeger  <aj@suse.de>
61999         * sysdeps/i386/fpu/libm-test-ulps: Update.
62001         * FAQ: Removed.
62002         * FAQ.in: Likewise.
62003         * scripts/gen-FAQ.pl: Likewise.
62004         * manual/install.texi (Installation): Point to online location of
62005         FAQ.
62006         * Makefile (files-for-dist): Remove FAQ.
62007         (FAQ): Remove.
62009 2012-05-02  Allan McRae  <allan@archlinux.org>
62011         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62012         (LDFLAGS-reldepmod5.so): Likewise.
62013         (LDFLAGS-reldep6mod1.so): Likewise.
62014         (LDFLAGS-reldep6mod4.so): Likewise.
62015         (LDFLAGS-reldep8mod3.so): Likewise.
62016         (LDFLAGS-unload4mod1.so): Likewise.
62017         (LDFLAGS-unload4mod2.so): Likewise.
62018         (LDFLAGS-tst-initorder): Likewise.
62019         (LDFLAGS-tst-initordera2.so): Likewise.
62020         (LDFLAGS-tst-initordera3.so): Likewise.
62021         (LDFLAGS-tst-initordera4.so): Likewise.
62022         (LDFLAGS-tst-initorderb2.so): Likewise.
62023         (LDFLAGS-noload): Likewise.
62024         (LDFLAGS-next): Likewise.
62025         (LDFLAGS-order2mod1.so): Likewise.
62026         (LDFLAGS-order2mod2.so): Likewise.
62027         (LDFLAGS-tst-initorder2): Likewise.
62028         (LDFLAGS-tst-initorder2a.so): Likewise.
62029         (LDFLAGS-tst-initorder2b.so): Likewise.
62030         (LDFLAGS-tst-initorder2c.so): Likewise.
62031         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62033 2012-05-02  David S. Miller  <davem@davemloft.net>
62035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62037 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62039         [BZ #14055]
62040         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62042 2012-05-02  Andreas Jaeger  <aj@suse.de>
62044         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62045         since we manipulate rounding mode.
62046         (CPPFLAGS-test-idouble.c): Likewise.
62047         (CPPFLAGS-test-ifloat.c): Likewise.
62048         (CFLAGS-test-ldouble.c): Likewise.
62049         (CFLAGS-test-double.c): Likewise.
62050         (CFLAGS-test-float.c): Likewise.
62051         (CFLAGS-test-misc.c): Likewise.
62052         (CFLAGS-test-test-fenv.c): Likewise.
62054 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62056         [BZ #2550]
62057         [BZ #2570]
62058         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62059         comparisons to determine direction to adjust input.
62061 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62063         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62064         output to the target.
62066         * scripts/localplt.awk: New file.
62067         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62068         (check-localplt-CFLAGS): Variable removed.
62069         ($(all-built-dso:=.jmprel)): New static pattern rule.
62070         (generated): Add those targets.
62071         (localplt-built-dso): New variable.
62072         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62074         * elf/check-localplt.c: File removed.
62076         * scripts/check-execstack.awk: New file.
62077         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62078         (check-execstack-CFLAGS): Variable removed.
62079         ($(objpfx)check-execstack.h): Target removed.
62080         ($(objpfx)execstack-default): New target.
62081         (generated): Add that instead of check-execstack.h.
62082         ($(all-built-dso:=.phdr)): New static pattern rule.
62083         (generated): Add those targets.
62084         * elf/check-execstack.c: File removed.
62086         * scripts/check-textrel.awk: New file.
62087         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62088         (check-textrel-CFLAGS): Variable removed.
62089         (all-built-dso): Use := to define.o
62090         ($(all-built-dso:=.dyn)): New static pattern rule.
62091         (generated): Add those targets.
62092         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62093         * config.make.in (READELF): New substituted variable.
62094         * elf/check-textrel.c: File removed.
62096 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62098         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62099         allow.
62100         * conform/data/ctype.h-data [C99-based standards] (isblank):
62101         Expect function.
62102         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62103         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62105         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62106         Specify type.  Require positive value.
62107         (EILSEQ): Likewise.
62108         (ERANGE): Likewise.
62109         [ISO || POSIX] (EILSEQ): Do not expect.
62110         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62111         Specify type.  Require positive value.
62112         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62113         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62114         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62115         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62116         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62117         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62118         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62119         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62120         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62121         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62122         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62123         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62124         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62125         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62126         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62127         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62128         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62129         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62130         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62131         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62132         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62133         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62134         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62135         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62136         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62137         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62138         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62139         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62140         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62141         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62142         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62143         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62144         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62145         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62146         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62147         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62148         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62149         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62150         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62151         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62152         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62153         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62154         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62155         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62156         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62157         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62158         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62159         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62160         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62161         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62162         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62163         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62164         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62165         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62166         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62167         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62168         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62169         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62170         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62171         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62172         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62173         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62174         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62175         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62176         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62177         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62178         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62179         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62180         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62181         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62182         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62183         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62184         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62185         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62186         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62187         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62188         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62189         Require >= 2.
62190         (FLT_ROUNDS): Expect as macro, not constant.
62191         (FLT_MANT_DIG): Use macro-int-constant.
62192         (DBL_MANT_DIG): Likewise.
62193         (LDBL_MANT_DIG): Likewise.
62194         (FLT_DIG): Likewise.
62195         (DBL_DIG): Likewise.
62196         (LDBL_DIG): Likewise.
62197         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62198         (DBL_MIN_EXP): Likewise.
62199         (LDBL_MIN_EXP): Likewise.
62200         (FLT_MAX_EXP): Use macro-int-constant.
62201         (DBL_MAX_EXP): Likewise.
62202         (LDBL_MAX_EXP): Likewise.
62203         (FLT_MAX_10_EXP): Likewise.
62204         (DBL_MAX_10_EXP): Likewise.
62205         (LDBL_MAX_10_EXP): Likewise.
62206         (FLT_MAX): Use macro-constant.
62207         (DBL_MAX): Likewise.
62208         (LDBL_MAX): Likewise.
62209         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62210         (DBL_EPSILON): Likewise.
62211         (LDBL_EPSILON): Likewise.
62212         (FLT_MIN): Likewise.
62213         (DBL_MIN): Likewise.
62214         (LDBL_MIN): Likewise.
62215         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62216         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62217         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62218         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62219         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62220         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62221         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62222         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62223         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62224         [ISO11] (FLT_TRUE_MIN): Likewise.
62225         [ISO11] (LDBL_TRUE_MIN): Likewise.
62226         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62227         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62228         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62229         (SCHAR_MAX): Likewise.
62230         (UCHAR_MAX): Likewise.
62231         (CHAR_MIN): Likewise.
62232         (CHAR_MAX): Likewise.
62233         (MB_LEN_MAX): Use macro-int-constant.
62234         (SHRT_MIN): Use macro-int-constant.  Specify type.
62235         (SHRT_MAX): Likewise.
62236         (USHRT_MAX): Likewise.
62237         (INT_MAX): Likewise.
62238         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62239         bound negative.
62240         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62241         bound with "U".
62242         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62243         bound with "L".
62244         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62245         bound negative.  Suffix upper bound with "L".
62246         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62247         bound with "UL".
62248         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62249         Specify type.
62250         [C99-based standards] (LLONG_MAX): Likewise.
62251         [C99-based standards] (ULLONG_MAX): Likewise.
62252         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62253         == 0.
62254         [ISO11] (max_align_t): Require type.
62255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62257         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62258         from $CFLAGS, without defining away __attribute__ calls.
62259         (checknamespace): Use $CFLAGS_namespace.
62261         * conform/conformtest.pl (@keywords): Only include C99 keywords
62262         for standards based on C99 or C11.
62264         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62265         Disable tests.
62266         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62267         UNIX98]: Likewise.
62269         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62270         usability of symbols in #if.
62272         * conform/conformtest.pl: If macro or constant types start
62273         "promoted:", expect the symbol to be of the following type
62274         promoted by the integer promotions.
62276         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62277         in one place.  Also handle "macro-constant".
62279         * conform/conformtest.pl: Only accept expected macro values with
62280         "==".  Parse all "macro" lines in one place.
62281         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62283         * conform/conformtest.pl: Handle braced types on "constant" lines
62284         instead of handling "typed-constant".
62285         * conform/data/signal.h-data: Use "constant" instead of
62286         "typed-constant".
62288         * conform/conformtest.pl: Handle "optional-" at start of lines in
62289         one place rather than duplicating several cases.  Handle each
62290         format of "macro" line with initial "optional-".
62292         * conform/conformtest.pl: Only accept expected constant or
62293         optional-constant values with "==".  Parse all "constant" lines in
62294         one place.  Parse all "optional-constant" lines in one place.
62295         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62296         * conform/data/fmtmsg.h-data: Likewise.
62297         * conform/data/netinet/in.h-data: Likewise.
62298         * conform/data/tar.h-data: Likewise.
62299         * conform/data/limits.h-data: Use "==" form on "constant" and
62300         "optional-constant" lines.
62302         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62303         Use -std=c99 for XOPEN2K.
62304         (@knownproblems): Remove.
62305         (newtoken): Don't check %isknown.
62307         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62308         Do not expect macro.
62309         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62310         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62311         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62312         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62313         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62314         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62315         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62316         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62317         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62318         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62319         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62320         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62321         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62322         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62323         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62324         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62325         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62326         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62327         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62328         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62329         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62330         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62331         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62332         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62333         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62334         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62335         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62336         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62337         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62338         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62339         [XPG3] (acosh): Likewise.
62340         [XPG3] (asinh): Likewise.
62341         [XPG3] (atanh): Likewise.
62342         [XPG3] (cbrt): Likewise.
62343         [XPG3] (expm1): Likewise.
62344         [XPG3] (ilogb): Likewise.
62345         [XPG3] (log1p): Likewise.
62346         [XPG3] (logb): Likewise.
62347         [XPG3] (nextafter): Likewise.
62348         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62349         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62350         [XPG3] (remainder): Likewise.
62351         [XPG3] (rint): Likewise.
62352         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62353         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62354         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62355         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62356         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62357         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62358         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62359         [UNIX98 || XOPEN2K] (scalb): Expect.
62360         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62361         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62362         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62363         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62364         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62365         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62366         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62367         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62368         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62369         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62370         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62371         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62372         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62373         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62374         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62375         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62376         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62377         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62378         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62379         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62380         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62381         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62382         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62383         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62384         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62385         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62386         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62387         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62388         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62389         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62390         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62391         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62392         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62393         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62394         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62395         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62396         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62397         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62398         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62399         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62400         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62401         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62402         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62403         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62404         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62405         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62406         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62407         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62408         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62409         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62410         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62411         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62412         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62413         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62414         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62415         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62416         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62417         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62418         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62419         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62420         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62421         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62422         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62423         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62424         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62425         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62426         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62427         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62428         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62429         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62430         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62431         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62432         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62433         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62434         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62435         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62436         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62437         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62438         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62439         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62440         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62441         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62442         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62443         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62444         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62445         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62446         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62447         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62448         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62449         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62450         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62451         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62452         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62453         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62454         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62455         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62456         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62457         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62458         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62459         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62460         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62461         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62462         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62463         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62464         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62465         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62466         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62467         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62468         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62469         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62470         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62471         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62472         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62473         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62474         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62475         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62476         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62477         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62478         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62479         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62480         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62481         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62482         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62483         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62484         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62485         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62486         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62487         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62488         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62489         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62490         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62491         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62492         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62493         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62494         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62495         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62496         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62498         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62499         _XOPEN_SOURCE_EXTENDED for XPG4.
62501         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62503         * Makeconfig (localtime): Remove variable.
62504         (inst_localtime-file): Likewise.
62506 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62509         Update.
62510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62511         Update.
62512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62513         Update.
62514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62515         Update.
62516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62517         Update.
62518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62519         Update.
62520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62521         Update.
62522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62523         Update.
62524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62525         Update.
62527 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62529         [BZ #2550]
62530         [BZ #2570]
62531         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62532         comparisons to determine direction to adjust input.
62533         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62534         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62535         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62536         Likewise.
62537         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62538         Likewise.
62539         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62540         Likewise.
62541         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62542         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62543         Likewise.
62544         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62545         Likewise.
62546         * math/libm-test.inc (nexttoward_test): Add more tests.
62548 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62550         [BZ #14040]
62551         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62552         in version GLIBC_2.1, not GLIBC_2.0.
62553         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62554         Likewise.
62556 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62558         [BZ #13942]
62559         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62560         (1 - x) * (1 + x).
62561         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62562         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62563         * math/libm-test.inc (acos_test): Add more tests.
62564         (asin_test): Likewise.
62565         * sysdeps/i386/fpu/libm-test-ulps: Update.
62566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62568         [BZ #14034]
62569         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62570         of square root.
62571         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62572         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62573         * math/libm-test.inc (acos_test_tonearest): New function.
62574         (acos_test_towardzero): Likewise.
62575         (acos_test_downward): Likewise.
62576         (acos_test_upward): Likewise.
62577         (asin_test_tonearest): Likewise.
62578         (asin_test_towardzero): Likewise.
62579         (asin_test_downward): Likewise.
62580         (asin_test_upward): Likewise.
62581         (main): Call the new functions.
62582         * sysdeps/i386/fpu/libm-test-ulps: Update.
62583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62585         [BZ #13884]
62586         [BZ #13924]
62587         * math/e_exp10.c: Include <float.h>.
62588         (__ieee754_exp10): Handle underflow here rather than multiplying
62589         large negative argument by M_LN10.
62590         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62591         of __ieee754_expf.
62592         * math/e_exp10l.c: Include <float.h>.
62593         (__ieee754_exp10l): Handle underflow here rather than multiplying
62594         large negative argument by M_LN10l.
62595         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62596         spurious overflow exception on underflow.
62598 2012-04-29  Marek Polacek  <polacek@redhat.com>
62600         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62601         (__fortify_function): New macro.
62602         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62603         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62604         __extern_always_inline.
62605         * libio/bits/stdio2.h: Likewise.
62606         * libio/bits/stdio.h: Likewise.
62607         * string/string.h: Likewise.
62608         * string/bits/string3.h: Likewise.
62609         * include/stdio.h: Likewise.
62610         * stdlib/bits/stdlib.h: Likewise.
62611         * stdlib/stdlib.h: Likewise.
62612         * rt/bits/mqueue2.h: Likewise.
62613         * rt/mqueue.h: Likewise.
62614         * posix/bits/unistd.h: Likewise.
62615         * posix/unistd.h: Likewise.
62616         * io/bits/poll2.h: Likewise.
62617         * io/bits/fcntl2.h: Likewise.
62618         * io/fcntl.h: Likewise.
62619         * io/sys/poll.h: Likewise.
62620         * misc/bits/syslog.h: Likewise.
62621         * misc/bits/syslog-ldbl.h: Likewise.
62622         * misc/sys/syslog.h: Likewise.
62623         * socket/bits/socket2.h: Likewise.
62624         * socket/sys/socket.h: Likewise.
62625         * debug/tst-chk1.c: Likewise.
62626         * wcsmbs/bits/wchar2.h: Likewise.
62627         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62628         * wcsmbs/wchar.h: Likewise.
62630 2012-04-29  Andreas Jaeger  <aj@suse.de>
62632         * Makerules (tests): Remove enable-check-abi protection.
62633         (check-abi-warn): Remove.
62634         (check-abi-%): Remove check-abi-warn usage.
62636         * configure.in: Remove check-abi configure option.
62637         * configure: Regenerated.
62638         * config.make.in (enable-check-abi): Remove.
62640 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62642         [BZ #14033]
62643         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62644         double functions to double *_finite functions.
62646         [BZ #13941]
62647         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62648         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62649         LDBL_MIN_EXP.
62650         * stdio-common/Makefile (tests): Add tst-sprintf3.
62651         * stdio-common/tst-sprintf3.c: New file.
62653         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62654         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62656 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62658         * conform/conformtest.pl: Remove duplicate typed-constant
62659         handling.
62661 2012-04-28  David S. Miller  <davem@davemloft.net>
62663         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62664         (check-abi-%): Remove AWK script prerequisite and explicit
62665         abilist directory.
62666         (check-abi): Rewrite to just diff the symlist with the abilist.
62667         (config-tls, config-abi-config): Delete, no longer used.
62668         (update-abi-%): Remove AWK script and explicit abilist directory.
62669         (update-abi): Rewrite to simply compare and conditionally copy the
62670         symlist and the sysdep abilist file.  Remove update-abi-config
62671         checks.
62672         * abilist/ld.abilist: Remove.
62673         * abilist/libBrokenLocale.abilist: Remove.
62674         * abilist/libanl.abilist: Remove.
62675         * abilist/libcrypt.abilist: Remove.
62676         * abilist/libdl.abilist: Remove.
62677         * abilist/librt.abilist: Remove.
62678         * abilist/libthread_db.abilist: Remove.
62679         * abilist/libutil.abilist: Remove.
62680         * scripts/extract-abilist.awk: Remove.
62681         * scripts/merge-abilist.awk: Remove.
62682         * sysdeps/generic/libcidn.abilist: New file.
62683         * sysdeps/generic/libnss_compat.abilist: New file.
62684         * sysdeps/generic/libnss_db.abilist: New file.
62685         * sysdeps/generic/libnss_dns.abilist: New file.
62686         * sysdeps/generic/libnss_files.abilist: New file.
62687         * sysdeps/generic/libnss_hesiod.abilist: New file.
62688         * sysdeps/generic/libnss_nis.abilist: New file.
62689         * sysdeps/generic/libnss_nisplus.abilist: New file.
62690         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62691         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62692         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62693         file.
62694         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62695         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62696         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62697         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62698         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62699         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62700         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62701         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62702         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62703         file.
62704         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62705         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62706         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62707         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62708         file.
62709         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62710         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62711         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62712         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62713         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62714         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62715         file.
62716         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62717         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62718         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62719         file.
62720         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62721         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62722         New file.
62723         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62724         New file.
62725         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62726         New file.
62727         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62728         New file.
62729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62730         New file.
62731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62732         New file.
62733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62734         New file.
62735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62736         New file.
62737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62738         New file.
62739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62740         New file.
62741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62742         New file.
62743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62744         New file.
62745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62746         New file.
62747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62748         file.
62749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62750         New file.
62751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62752         New file.
62753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62754         file.
62755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62756         New file.
62757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62758         New file.
62759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62760         file.
62761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62762         New file.
62763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62764         New file.
62765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62766         New file.
62767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62768         New file.
62769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62770         New file.
62771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62772         New file.
62773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62775         file.
62776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62777         New file.
62778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62779         file.
62780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62781         file.
62782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62783         file.
62784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62785         file.
62786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62787         file.
62788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62789         New file.
62790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62791         file.
62792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62793         file.
62794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62795         New file.
62796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62797         file.
62798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62800         file.
62801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62802         New file.
62803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62804         file.
62805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62806         file.
62807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62808         file.
62809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62810         file.
62811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62812         file.
62813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62814         New file.
62815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62816         file.
62817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62818         file.
62819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62820         New file.
62821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62822         file.
62823         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62824         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62825         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62826         file.
62827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62828         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62829         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62830         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62831         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62832         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62833         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62834         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
62835         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
62836         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
62837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
62838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
62839         file.
62840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
62841         New file.
62842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
62843         file.
62844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
62845         file.
62846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
62847         file.
62848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
62849         file.
62850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
62851         file.
62852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
62853         New file.
62854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
62855         New file.
62856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
62857         file.
62858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
62859         New file.
62860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
62861         file.
62862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
62863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
62864         file.
62865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
62866         New file.
62867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
62868         file.
62869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
62870         file.
62871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
62872         file.
62873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
62874         file.
62875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
62876         file.
62877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
62878         New file.
62879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
62880         New file.
62881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
62882         file.
62883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
62884         New file.
62885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
62886         file.
62888 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62890         * conform/conformtest.pl: Fix typo in handling typed-constant from
62891         allow-header.
62893 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62895         * README: Cut down references to pre-2.6 Linux kernels and
62896         Linuxthreads.  Update lists of configurations in libc and ports
62897         and sort alphabetically.  Say "or newer" with Linux kernel version
62898         requirements.
62900         * config.h.in [IS_IN_build]: Allow compiling without optimization.
62902 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62904         [BZ #887]
62905         * math/libm-test.inc (logb_test_downward): New test to expose
62906         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
62907         rounding mode.
62909 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
62911         [BZ #14027]
62912         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
62913         to be done.
62914         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
62915         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
62917 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
62919         * sysdeps/unix/i386/brk.S: Remove file.
62920         * sysdeps/unix/i386/dl-brk.S: Likewise.
62921         * sysdeps/unix/i386/pipe.S: Likewise.
62922         * sysdeps/unix/i386/sigreturn.S: Likewise.
62923         * sysdeps/unix/i386/syscall.S: Likewise.
62924         * sysdeps/unix/i386/vfork.S: Likewise.
62925         * sysdeps/unix/i386/wait.S: Likewise.
62927         * sysdeps/unix/common/tcsendbrk.c: Move to ...
62928         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
62930         * configure.in (arm*-none*): Do not allow without
62931         --enable-hacker-mode.
62932         (netbsd*): Remove case setting base_os.
62933         (386bsd*): Likewise.
62934         (freebsd*): Likewise.
62935         (bsdi*): Likewise.
62936         (osf*): Likewise.
62937         (sunos*): Likewise.
62938         (ultrix*): Likewise.
62939         (newsos*): Likewise.
62940         (dynix*): Likewise.
62941         (*bsd*): Likewise.
62942         (sysv*): Likewise.
62943         (isc*): Likewise.
62944         (esix*): Likewise.
62945         (sco*): Likewise.
62946         (minix*): Likewise.
62947         (irix4*): Likewise.
62948         (irix6*): Likewise.
62949         (solaris[2-9]*): Likewise.
62950         (none): Likewise.
62951         * configure: Regenerated.
62953 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62955         [BZ #11521]
62956         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
62957         overflow or cancellation in calculating denominator.
62958         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
62959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
62960         down expression to avoid unexpected rounding in newer GCCs.
62961         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
62963 2012-04-26  David S. Miller  <davem@davemloft.net>
62965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
62966         long-double compat symbols.
62967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
62969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
62970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
62971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
62972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
62973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
62974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
62975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
62976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
62977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
62978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
62979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62981 2012-04-25  David S. Miller  <davem@davemloft.net>
62983         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
62984         HWCAP_* values only after the memory barriers have been defined.
62985         (atomic_full_barrier): Define.
62986         (atomic_read_barrier): Define.
62987         (atomic_write_barrier): Define.
62989 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62991         * shlib-versions: Add libgcc_s version information.
62992         * sysdeps/generic/libgcc_s.h: Remove.
62993         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
62994         libgcc_s.h.
62995         * sysdeps/gnu/unwind-resume.c: Likewise.
62996         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
62998 2012-04-25  David S. Miller  <davem@davemloft.net>
63000         * sysdeps/unix/sparc/brk.S: Delete.
63001         * sysdeps/unix/sparc/dl-brk.S: Delete.
63002         * sysdeps/unix/sparc/pipe.S: Delete.
63003         * sysdeps/unix/sparc/sysdep.S: Delete.
63004         * sysdeps/unix/sparc/sysdep.h: Delete.
63005         * sysdeps/unix/sparc/vfork.S: Delete.
63006         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63007         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63008         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63009         (ret_ERRVAL, r0, r1, MOVE): Define.
63010         (JUMPTARGET): Remove.
63011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63012         sysdeps/unix/sparc/sysdep.h
63013         (ENTRY, END): Remove.
63014         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63016 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63018         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63019         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63020         -DIS_IN_build.
63022         * timezone/README: Update upstream location and email address for
63023         tzcode and tzdata.
63024         * timezone/zdump.c: Update from tzcode 2012b.
63025         * timezone/zic.c: Likewise.
63027         * configure.in (libc_cv_as_needed): Remove test.
63028         * configure: Regenerated.
63029         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63030         conditional definition.
63031         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63032         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63033         * config.make.in (have-as-needed): Remove variable.
63035 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63036             Paul Pluzhnikov  <ppluzhnikov@google.com>
63038         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63039         strings correctly.
63041 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63043         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63044         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63045         * sysdeps/sh/strlen.S: Likewise.
63047 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63049         * sysdeps/unix/fork.S: Remove file.
63050         * sysdeps/unix/i386/fork.S: Likewise.
63051         * sysdeps/unix/sparc/fork.S: Likewise.
63053         * sysdeps/unix/system.c: Remove file.
63054         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63056         * sysdeps/unix/getegid.S: Remove file.
63057         * sysdeps/unix/geteuid.S: Likewise.
63059 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63061         * scripts/check-localplt.awk: New file.
63062         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63063         of diff.
63064         * scripts/data/localplt-generic.data: Add a comment.
63066         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63067         NODE when __dir_mkfile failed.
63068         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63069         Reported by Ludovic Courtès <ludo@gnu.org>.
63071 2012-04-24  Andreas Jaeger  <aj@suse.de>
63073         * Makerules (common-clean): Also remove gen-as-const-headers
63074         files.
63076 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63078         * Makerules (native-compile): Do not change working directory for
63079         build.  Use $(OUTPUT_OPTION) in command.
63080         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63082 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63084         [BZ #13886]
63085         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63086         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63087         * math/libm-test.inc (floor_test): Add more tests.
63088         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63090 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63092         * sysdeps/unix/getdents.c: Remove file.
63093         * sysdeps/unix/sysv/getdents.c: Likewise.
63094         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63096         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63097         sysdeps/unix/mman/syscalls.list.
63098         (mmap): Likewise.
63099         (mprotect): Likewise.
63100         (msync): Likewise.
63101         (munmap): Likewise.
63102         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63103         * sysdeps/unix/mman/syscalls.list: Remove.
63104         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63106         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63107         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63108         * configure: Regenerated.
63109         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63110         $(libgcc_s_suffix).
63111         * config.make.in (libgcc_s_suffix): Remove variable.
63113 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63115         * sysdeps/unix/sysv/gethostname.c: Move to ...
63116         * sysdeps/posix/gethostname.c: ... here.
63118         * sysdeps/unix/execve.S: Remove file.
63120         * sysdeps/unix/_exit.S: Remove file.
63122 2012-04-23  Andreas Jaeger  <aj@suse.de>
63124         [BZ #13739]
63125         * manual/Makefile: Remove make dist support, there's no
63126         need for a stand-alone documentation tar ball.
63127         (TEXI2DVI): Define always, it's not in Makeconfig.
63128         (dist): Removed.
63129         (tar-it): Removed.
63130         (edition): Removed.
63131         (glibc-doc-$(edition).tar): Removed
63132         (%.Z): Removed.
63133         (%.gz): Removed.
63134         (%.uu): Removed.
63135         (ETAGS): Remove, it's in Makeconfig.
63136         (move-if-change): Remove, it's in Makeconfig.
63138 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63140         [BZ #13970]
63141         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63142         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63143         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63144         (strtod_l, strtof_l, strtold_l): Remove __wur.
63145         It is not necessarily an error to ignore strtol's return value.
63146         One can reliably look at the stored endptr to decide whether
63147         the number had valid syntax.
63149 2012-04-21  Andreas Jaeger  <aj@suse.de>
63151         [BZ #13739]
63152         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63154 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63156         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63157         * sysdeps/unix/sysv/Versions: Remove file.
63159 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63161         [BZ #13927]
63162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63164 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63166         [BZ #7064]
63167         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63168         version from __vm86.
63170 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63172         * sysdeps/unix/common/lxstat.c: Remove file.
63173         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63175         * sysdeps/unix/sysv/Makefile: Remove file.
63177         * sysdeps/unix/sysv/direct.h: Remove file.
63179         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63180         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63181         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63182         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63183         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63184         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63185         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63187         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63189         * sysdeps/unix/xmknod.c: Remove file.
63190         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63192         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63194         * sysdeps/unix/sysv/i386/time.S: Remove file.
63196         * sysdeps/unix/fxstat.c: Remove file.
63197         * sysdeps/unix/xstat.c: Likewise.
63198         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63200         * sysdeps/unix/sysv/sigaction.c: Remove file.
63202         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63203         (sysdep_headers): Remove variable.
63204         [termio.h not in sysdep_headers] (generated): Likewise.
63205         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63206         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63207         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63208         * sysdeps/unix/sysv/tcflow.c: Likewise.
63209         * sysdeps/unix/sysv/tcflush.c: Likewise.
63210         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63211         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63212         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63213         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63214         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63216         * sysdeps/unix/siglist.c: Remove file.
63218         * sysdeps/unix/getppid.S: Remove file.
63220         * sysdeps/unix/mkdir.c: Remove file.
63221         * sysdeps/unix/rmdir.c: Likewise.
63223 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63225         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63226         ERR_MAX value.
63227         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63228         errlist-compat value.
63230 2012-04-18  David S. Miller  <davem@davemloft.net>
63232         * sysdeps/generic/memcopy.h (reg_char): Delete.
63233         * debug/strcat_chk.c: Use char, not reg_char.
63234         * debug/strcpy_chk.c: Likewise.
63235         * debug/strncat_chk.c: Likewise.
63236         * debug/strncpy_chk.c: Likewise.
63237         * string/memchr.c: Likewise.
63238         * string/memrchr.c: Likewise.
63239         * string/rawmemchr.c: Likewise.
63240         * string/strcat.c: Likewise.
63241         * string/strchr.c: Likewise.
63242         * string/strchrnul.c: Likewise.
63243         * string/strcmp.c: Likewise.
63244         * string/strcpy.c: Likewise.
63245         * string/strncat.c: Likewise.
63246         * string/strncmp.c: Likewise.
63247         * string/strncpy.c: Likewise.
63249 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63251         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63252         __builtin_memcopy is called when src and dest ranges are known to not
63253         overlap.
63255 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63257         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63258         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63259         fwd_align_merge macro call.
63260         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63261         bwd_align_merge macro call.
63262         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63264 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63266         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63267         bwd_align_merge macros.
63268         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63269         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63270         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63272 2012-04-18  David S. Miller  <davem@davemloft.net>
63274         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63276 2012-04-18  Andreas Jaeger  <aj@suse.de>
63278         [BZ# 6794]
63279         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63280         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63281         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63283         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63284         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63285         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63287         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63288         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63289         Adjust for changed ldbl-128 files.
63291         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63292         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63293         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63295 2012-04-17  David S. Miller  <davem@davemloft.net>
63297         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63299 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63301         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63302         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63303         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63304         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63305         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63306         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63308 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63310         [BZ #6794]
63311         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63312         * math/libm-test.inc: Add ilogb errno and exception tests.
63313         * math/w_ilogb.c: New file: ilogb wrapper.
63314         * math/w_ilogbf.c: New file: ilogbf wrapper.
63315         * math/w_ilogbl.c: New file: ilogbl wrapper.
63316         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63317         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63318         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63319         exception being thrown with 0.0 as argument.
63320         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63321         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63322         exception being thrown with 0.0 as argument.
63323         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63324         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63325         exception being thrown with 0.0 as argument.
63326         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63327         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63328         exception being thrown with 0.0 as argument.
63329         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63330         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63331         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63332         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63333         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63334         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63335         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63336         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63337         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63339 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63341         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63342         with altivec.
63344 2012-04-16  Marek Polacek  <polacek@redhat.com>
63346         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63348 2012-04-16  Marek Polacek  <polacek@redhat.com>
63350         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63351         operands of fdivp instruction.
63353 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63355         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63356         * elf/tst-auditmod3b.c: Likewise.
63357         * elf/tst-auditmod4b.c: Likewise.
63358         * elf/tst-auditmod5b.c: Likewise.
63359         * elf/tst-auditmod6b.c: Likewise.
63360         * elf/tst-auditmod6c.c: Likewise.
63361         * elf/tst-auditmod7b.c: Likewise.
63362         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63363         * sysdeps/x86_64/preconfigure.in: Likewise.
63364         * sysdeps/x86_64/preconfigure: Regenerated.
63366 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63368         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63369         __ILP32__.
63371 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63373         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63374         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63376 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63378         [BZ #13973]
63379         * locale/iso-639.def: Fix gl language name. Spotted by
63380         Yaron Shahrabani.
63382 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63384         [BZ #2074]
63385         * libio/libio.h (__io_write_fn): Update comment.
63387 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63389         [BZ #2074]
63390         * stdio.texi (Hook Functions): The user provided writer function
63391         is not allowed to return -1.
63393 2012-04-11  David S. Miller  <davem@davemloft.net>
63395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63397 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63399         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63400         Add a leading slash to rtkaio.
63402 2012-04-11  Jim Meyering  <meyering@redhat.com>
63404         [BZ #11959]
63405         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63406         It is not necessarily an error to ignore fwrite's return
63407         value.  One can reliably use ferror to test for errors after
63408         the fact.
63410 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63412         * bits/types.h (__snseconds_t): New type.
63413         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63415         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63416         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63417         (__SNSECONDS_T_TYPE): Likewise.
63418         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63419         (__SNSECONDS_T_TYPE): Likewise.
63420         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63421         (__SNSECONDS_T_TYPE): Likewise.
63423 2012-04-10  Andreas Jaeger  <aj@suse.de>
63425         [BZ #2636]
63426         * manual/time.texi (Processor Time): Return type of times is
63427         elapsed real time since an arbitrary point in the past.
63428         (CPU Time): Move CLK_TCK from here...
63429         (Processor Time): ...to here.  Correct description.
63430         * manual/conf.texi (Constants for Sysconf): Correct description of
63431         _SC_CLK_TCK.
63433 2012-04-10  David S. Miller  <davem@davemloft.net>
63435         [BZ #13967]
63436         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63437         where the is a gap between DT_REL(A) and DT_JMPREL.
63439 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63441         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63442         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63443         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63445 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63447         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63448         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63449         (dl_main): Handle --inhibit-cache.
63450         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63451         _dl_inhibit_cache.
63452         * elf/dl-load.c (_dl_map_object): Use it.
63453         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63455 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63457         [BZ #13872]
63458         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63459         (__ieee754_powl): Saturate large exponents rather than testing for
63460         overflow of y*log2(x).
63461         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63462         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63463         exceptions.
63465         [BZ #11521]
63466         * math/s_ctan.c: Include <float.h>.
63467         (__ctan): Avoid internal overflow or cancellation in calculating
63468         denominator.
63469         * math/s_ctanf.c: Likewise.
63470         * math/s_ctanl.c: Likewise.
63471         * math/s_ctanh.c: Likewise.
63472         * math/s_ctanhf.c: Likewise.
63473         * math/s_ctanhl.c: Likewise.
63474         * math/libm-test.inc (ctan_test): Add more tests.
63475         (ctanh_test): Likewise.
63476         * sysdeps/i386/fpu/libm-test-ulps: Update.
63477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63479 2012-04-09  Andreas Jaeger  <aj@suse.de>
63481         [BZ #6894]
63482         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63483         is an optional BSD extension.
63485         [BZ #10254]
63486         * manual/stdio.texi (Opening Streams): Document additional fopen
63487         parameters.
63489 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63491         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63492         %eax without telling the compiler.
63494 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63496         [BZ # 13963]
63497         * manual/install.texi: Use sourceware.org.
63499 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63501         [BZ #13873]
63502         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63503         (__ieee754_pow): Generate overflow and underflow using huge*huge
63504         and tiny*tiny rather than just returning constant infinity or zero
63505         for large exponents.
63506         * math/libm-test.inc (pow_test): Require overflow exceptions for
63507         applicable cases of large exponents.
63509         [BZ #706]
63510         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63511         (__ieee754_pow): Use iterative multiplication algorithm only for
63512         integer exponents with absolute value below 1024.  Check for odd
63513         integer exponents when using algorithm for real exponents.
63514         * math/libm-test.inc (pow_test): Add more tests.
63515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63517 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63519         [BZ #13705]
63520         * math/libm-test.inc (exp_test): Do not allow overflow exception
63521         on underflow test.
63523 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63525         [BZ #13705]
63526         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63527         instead of __kernel_standard_f.
63529 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63531         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63532         * sysdeps/x86_64/memset_chk.S: Likewise.
63534 2012-04-08  Andreas Jaeger  <aj@suse.de>
63536         [BZ #10153]
63537         * manual/startup.texi (Environment Access): Describe return value
63538         for putenv and setenv.
63540         [BZ #6895]
63541         * manual/filesys.texi (Directory Entries): Add description for
63542         DT_LNK.
63544         [BZ #6890]
63545         * manual/filesys.texi (Directory Entries): Clarify that it's file
63546         system not operating system in the description of DT_UNKNOWN.
63548         [BZ #6578]
63549         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63551 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63553         [BZ #6649]
63554         * manual/llio.texi (Opening and Closing Files): Add cross
63555         reference to explain mode argument.
63557 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63559         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63560         * sysdeps/x86_64/memset_chk.S: Likewise.
63562 2012-04-07  David S. Miller  <davem@davemloft.net>
63564         * elf/elf.h (R_SPARC_WDISP10): Define.
63565         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63566         R_SPARC_SIZE32.
63567         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63568         R_SPARC_SIZE64 and R_SPARC_H34.
63570 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63572         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63573         conditions and remove no longer applicable assertion.
63575 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63577         * bits/byteswap.h: Include <features.h>.
63578         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63579         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63581 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63583         * bits/byteswap.h (__bswap_16): Removed.
63584         Include <bits/byteswap-16.h> to get __bswap_16.
63585         * sysdeps/i386/bits/byteswap.h: Likewise.
63586         * sysdeps/s390/bits/byteswap.h: Likewise.
63587         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63588         * bits/byteswap-16.h: New file.
63589         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63590         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63591         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63592         * string/Makefile (headers): Add bits/byteswap-16.h.
63594 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63596         [BZ #13895]
63597         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63598         extra indirection.
63599         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63600         * nss/tst-nss-static.c: New.
63602 2012-04-06  Robert Millan  <rmh@gnu.org>
63604         [BZ #6486]
63605         * manual/llio.texi (File Position Primitive): lseek
63606         refers to WHENCE when it really means OFFSET.
63608 2012-04-06  Andreas Jaeger  <aj@suse.de>
63610         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63611         strncmp declarations.
63613         * abilist/libc.abilist: Add __poll and __ppoll.
63615 2012-04-05  David S. Miller  <davem@davemloft.net>
63617         * scripts/check-local-headers.sh: Accept a host triplet in the
63618         path matched by the exclude regexp.
63620         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63621         definition.
63622         * sysdeps/powerpc/powerpc32/dl-machine.h
63623         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63624         * sysdeps/s390/s390-32/dl-machine.h
63625         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63626         * sysdeps/sparc/sparc32/dl-machine.h
63627         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63628         * sysdeps/sparc/sparc64/dl-machine.h
63629         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63631         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63632         lazy binding.
63633         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63634         undefined symbol errors.
63636         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63637         DT_NEEDED entries.
63639 2012-04-05  Michael Matz  <matz@suse.de>
63641         [BZ #13592]
63642         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63644 2012-04-05  Andreas Jaeger  <aj@suse.de>
63646         [BZ #13908]
63647         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63648         comment.
63650 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63652         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63653         which ROUND is no valid rounding mode.
63655 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63657         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63658         read again.
63659         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63661 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63663         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63664         an exception using FPU order intentionally.
63666 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63668         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63669         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63670         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63671         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63673 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63675         [BZ #12340]
63676         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63677         EINVAL when BUFLEN is too smal.
63679 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63681         [BZ #13553]
63682         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63683         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63685 2012-04-03  Andreas Jaeger  <aj@suse.de>
63687         [BZ #13938]
63688         * manual/setjmp.texi (System V contexts): Fix sentence.
63690         [BZ #13926]
63691         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63692         New macro for this case.
63693         [!__GNUC__] (__bswap_64): New inline function for this case.
63694         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63695         * bits/byteswap.h: Likewise.
63696         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63697         ull, guard with __GLIBC_HAVE_LONG_LONG.
63699         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63700         __GLIBC_HAVE_LONG_LONG.
63702         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63703         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63705 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63707         [BZ #13691]
63708         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63709         inptr and inend, rather than using last_ch.
63711 2012-04-02  David S. Miller  <davem@davemloft.net>
63713         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63714         * stdio-common/printf-parse.h (read_int): Change return type to
63715         'int', return -1 on INT_MAX overflow.
63716         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63717         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63718         overflows INT_MAX.  Check for overflow of in-format-string precision
63719         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63720         SIZE_MAX not INT_MAX for integer overflow test.
63721         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63722         skip the construct in the format string but do not record anything.
63723         * stdio-common/bug22.c: Adjust to test both width/prevision
63724         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63725         explicitly for proper errno values.
63727 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63729         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63730         CHAR_MAX.
63731         * string/test-strcmp.c [! WIDE]: Likewise.
63732         * time/tst-mktime2.c: Likewise for INT_MAX.
63733         * string/test-string.h: #include <sys/param.h> for MIN.
63735         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63736         * sysdeps/i386/init-first.c (init): Likewise.
63737         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63738         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63739         * sysdeps/sh/init-first.c (init): Likewise.
63741 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63743         * po/ru.po: Update from translation team.
63744         * po/vi.po: Likewise.
63746 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63748         * resolv/nss_dns/dns-host.c: Merge copyright years.
63750 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63752         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63753         Optimize memcpy with prefetch if
63754         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63755         src, dst pointers have unequal 16 byte alignments.
63757 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63759         [BZ #13928]
63760         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63761         from a CNAME entry and return the minimum ttl for the query.
63762         (gaih_getanswer_slice): Likewise.
63764 2012-03-30  Jeff Law  <law@redhat.com>
63766         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63767         due to long keys.
63768         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63769         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63771         * resolv/nss_dns/dns-host.c: Update copyright year.
63773 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63775         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63776         requests to save a system call.  Fix check that all bytes are sent.
63778         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63779         comments for sendmmsg.
63781 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63783         [BZ #13691]
63784         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63785         with only 1 character between 0x0041 and 0x01b0.
63786         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63787         * wcsmbs/tst-mbsnrtowcs.c: New file.
63789 2012-03-29  David S. Miller  <davem@davemloft.net>
63791         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63792         small copies by hand.
63794 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63796         [BZ #13761]
63797         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63798         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63799         group memberships.
63801 2012-03-28  David S. Miller  <davem@davemloft.net>
63803         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63804         that branches into memcpy.
63805         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63806         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63808         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63809         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63810         bits.
63811         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63812         implementation too.
63813         * sysdeps/sparc/mempcpy.S: New file.
63815         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63816         the IFUNC routine in the libc case.
63817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63819         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63820         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63821         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63822         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63823         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63824         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63825         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63826         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63828         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63829         loop to 256 bytes instead of 64 bytes and fix test signedness.
63831         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63832         * sysdeps/sparc/sparc32/Makefile: rather than here...
63833         * sysdeps/sparc/sparc64/Makefile: and here.
63835 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
63837         * malloc/mallocbug.c: Avoid warnings about unused variables.
63839 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63841         [BZ #13760]
63842         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
63843         in the right place. Discard and retry query if response is
63844         larger than input buffer size.
63846 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
63848         [BZ #369]
63849         [BZ #2678]
63850         [BZ #3866]
63851         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
63852         x for large integer exponent.
63853         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
63854         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
63855         sign of result as needed afterwards.
63856         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
63857         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
63858         result for underflowing pow the same as for overflow.
63859         (__kernel_standard_l): Handle powl overflow and underflow here
63860         rather than calling __kernel_standard.
63861         * math/libm-test.inc (pow_test): Add more tests.
63863         [BZ #3868]
63864         [BZ #13879]
63865         [BZ #13910]
63866         [BZ #13911]
63867         [BZ #13912]
63868         [BZ #13913]
63869         [BZ #13915]
63870         [BZ #13916]
63871         [BZ #13917]
63872         [BZ #13918]
63873         [BZ #13919]
63874         [BZ #13920]
63875         [BZ #13921]
63876         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
63877         * sysdeps/ieee754/k_standard.c: Include <float.h>.
63878         (__kernel_standard_l): New function.
63879         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
63880         __kernel_standard.
63881         * math/w_acosl.c (__acosl): Likewise.
63882         * math/w_asinl.c (__asinl): Likewise.
63883         * math/w_atan2l.c (__atan2l): Likewise.
63884         * math/w_atanhl.c (__atanhl): Likewise.
63885         * math/w_coshl.c (__coshl): Likewise.
63886         * math/w_exp10l.c (__exp10l): Likewise.
63887         * math/w_exp2l.c (__exp2l): Likewise.
63888         * math/w_fmodl.c (__fmodl): Likewise.
63889         * math/w_hypotl.c (__hypotl): Likewise.
63890         * math/w_j0l.c (__j0l, __y0l): Likewise.
63891         * math/w_j1l.c (__j1l, __y1l): Likewise.
63892         * math/w_jnl.c (__jnl, __ynl): Likewise.
63893         * math/w_lgammal.c (__lgammal): Likewise.
63894         * math/w_log10l.c (__log10l): Likewise.
63895         * math/w_log2l.c (__log2l): Likewise.
63896         * math/w_logl.c (__logl): Likewise.
63897         * math/w_powl.c (__powl): Likewise.
63898         * math/w_remainderl.c (__remainderl): Likewise.
63899         * math/w_scalbl.c (sysv_scalbl): Likewise.
63900         * math/w_sinhl.c (__sinhl): Likewise.
63901         * math/w_sqrtl.c (__sqrtl): Likewise.
63902         * math/w_tgammal.c (__tgammal): Likewise.
63903         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
63904         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
63905         * math/libm-test.inc (acos_test): Add more tests.
63906         (acosh_test): Likewise.
63907         (asin_test): Likewise.
63908         (atanh_test): Likewise.
63909         (exp_test): Likewise.
63910         (exp10_test): Likewise.
63911         (exp2_test): Likewise.
63912         (expm1_test): Likewise.
63913         (lgamma_test): Likewise.
63914         (log_test): Likewise.
63915         (log10_test): Likewise.
63916         (log1p_test): Likewise.
63917         (log2_test): Likewise.
63918         (pow_test): Do not allow some spurious overflow exceptions.
63919         (sqrt_test): Add more tests.
63920         (tgamma_test): Likewise.
63921         (y0_test): Likewise.
63922         (y1_test): Likewise.
63923         (yn_test): Likewise.
63925 2012-03-27  Anton Blanchard  <anton@samba.org>
63927         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
63928         MAP_HUGETLB.
63929         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63930         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63931         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63933 2012-03-27  David S. Miller  <davem@davemloft.net>
63935         * conform/Makefile: Run run-conformtest.sh using $(BASH).
63937         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
63938         have-as-vis3 check.
63940 2012-03-27  Andreas Jaeger  <aj@suse.de>
63942         * sysdeps/x86_64/elf/configure.in: Moved to ...
63943         * sysdeps/x86_64/configure.in: ... here.
63944         * sysdeps/x86_64/elf/start.S: Moved to ...
63945         * sysdeps/x86_64/start.S: ... here.
63946         * sysdeps/x86_64/elf/configure: Delete.
63948         * sysdeps/x86_64/configure.in: Merge contents from
63949         sysdeps/i386/configure.in (without i686 check).
63951         * sysdeps/i386/elf/Versions: Merge into ...
63952         * sysdeps/i386/Versions: ... this.
63953         * sysdeps/i386/elf/Versions: Delete file.
63954         * sysdeps/i386/elf/start.S: Moved to ...
63955         * sysdeps/i386/start.S: ...here.
63956         * sysdeps/i386/elf/configure.in: Merge into...
63957         * sysdeps/i386/configure.in: ...here.
63958         * sysdeps/i386/elf/configure.in: Delete file.
63959         * sysdeps/i386/elf/configure: Delete file.
63961         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
63962         * debug/backtracesyms.c: ... here.
63963         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
63964         * debug/backtracesymsfd.c: ... here.
63965         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
63966         * sysdeps/generic/ifunc-sel.h: ... here.
63968         * sysdeps/unix/i386/start.c: Delete file.
63969         * sysdeps/unix/sparc/start.c: Delete file.
63970         * sysdeps/unix/start.c: Delete file.
63972         * sysdeps/sh/elf/configure.in: Moved to ...
63973         * sysdeps/sh/configure.in: ... here.
63974         * sysdeps/sh/elf/start.S: Moved to ...
63975         * sysdeps/sh/start.S: ... here.
63976         * sysdeps/sh/elf/configure: Delete file.
63978         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
63979         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
63980         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
63981         * sysdeps/powerpc/powerpc64/entry.h: ... here.
63982         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
63983         * sysdeps/powerpc/powerpc64/start.S: here.
63984         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
63985         * sysdeps/powerpc/powerpc64/Makefile: ... this.
63986         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
63987         * sysdeps/powerpc/powerpc64/configure.in: ... this.
63988         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
63990         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
63991         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
63992         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
63993         * sysdeps/powerpc/powerpc32/start.S: ... here.
63994         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
63995         * sysdeps/powerpc/powerpc32/configure.in: ... this.
63996         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
63998         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
63999         * sysdeps/powerpc/ifunc-sel.h: ... here.
64000         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64001         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64003         * sysdeps/sparc/elf/configure.in: Moved to ...
64004         * sysdeps/sparc/configure.in: ... here.
64005         * sysdeps/sparc/elf/configure: Delete file.
64006         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64007         * sysdeps/sparc/sparc32/start.S: ... here.
64008         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64009         * sysdeps/sparc/sparc64/start.S: ... here.
64010         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64011         * sysdeps/sparc/sparc32/Makefile: ... this.
64012         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64013         * sysdeps/sparc/sparc64/Makefile: ... this.
64015         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64016         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64017         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64018         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64019         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64020         * sysdeps/s390/s390-32/setjmp.S: ... here.
64021         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64022         * sysdeps/s390/s390-32/configure.in: ... here.
64023         * sysdeps/s390/s390-32/elf/configure: Delete file.
64024         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64025         * sysdeps/s390/s390-32/start.S: ... here.
64027         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64028         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64029         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64030         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64031         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64032         * sysdeps/s390/s390-64/setjmp.S: ... here.
64033         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64034         * sysdeps/s390/s390-64/configure.in: ... here
64035         * sysdeps/s390/s390-64/elf/configure: Delete file.
64036         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64037         * sysdeps/s390/s390-64/start.S: ... here.
64038         * sysdeps/s390/s390-64/elf/configure: Delete.
64040         * configure.in: Remove support for elf directories in sysdeps.
64042         * configure: Regenerated.
64043         * sysdeps/i386/configure: Regenerated.
64044         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64045         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64046         * sysdeps/s390/s390-32/configure: Regenerated.
64047         * sysdeps/s390/s390-64/configure: Regenerated.
64048         * sysdeps/sh/configure: Regenerated.
64049         * sysdeps/sparc/configure: Regenerated.
64050         * sysdeps/x86_64/configure: Regenerated.
64052 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64056         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64057         denormal result into account.
64059 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64061         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64062         Reported by Allan McRae <allan@archlinux.org>.
64064 2012-03-23  Jeff Law  <law@redhat.com>
64066         * nss/getnssent.c (__nss_getent): Fix typo.
64068 2012-03-23  David S. Miller  <davem@davemloft.net>
64070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64072 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64074         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64075         to pad to uint64_t for each field.
64076         (dl_tls_index): Replace unsigned long with uint64_t.
64078 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64079         Paul Pluzhnikov  <ppluzhnikov@google.com>
64081         [BZ #6528]
64082         * grp/Makefile (otherlibs): Don't set it.
64083         * inet/Makefile (otherlibs): Likewise.
64084         * login/Makefile (otherlibs): Likewise.
64085         * nscd/Makefile (otherlibs): Likewise.
64086         * posix/Makefile (otherlibs): Likewise.
64087         * pwd/Makefile (otherlibs): Likewise.
64088         * rt/Makefile (otherlibs): Likewise.
64089         * sunrpc/Makefile (otherlibs): Likewise.
64090         * nss/Makefile (otherlibs): Likewise.
64091         Add libnss_files to routines and static-only-routines.
64092         ($(objpfx)getent): Remove rule.
64093         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64094         static-only-routines.
64096 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64098         [BZ #13892]
64099         * math/s_cexp.c: Include <float.h>.
64100         (__cexp): Handle exp result overflowing not necessarily
64101         overflowing both real and imaginary parts of result.
64102         * math/s_cexpf.c: Likewise.
64103         * math/s_cexpl.c: Likewise.
64104         * math/libm-test.inc (cexp_test): Add more tests.
64105         * sysdeps/i386/fpu/libm-test-ulps: Update.
64106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64108 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64110         * include/link.h (ELFW): New macro.
64111         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64112         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64114 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64116         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64117         with uint64_t.
64119 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64121         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64122         declaration.
64123         (struct La_x32_retval): Likewise.
64125 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64127         * sysdeps/x86_64/preconfigure.in: New file.
64128         * sysdeps/x86_64/preconfigure: New generated file.
64130 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64132         [BZ #13824]
64133         * math/e_exp2l.c: Include <float.h>.
64134         (__ieee754_exp2l): Handle overflow and underflow cases
64135         separately.  Only pass fractional part of argument to
64136         __ieee754_expl.
64137         * math/libm-test.inc (exp2_test): Add more tests.
64139         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64140         negating x to take absolute value.
64141         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64142         Likewise.
64143         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64144         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64145         Likewise.
64146         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64147         computing low part if x was negated.
64148         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64150 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64152         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64153         la_x32_gnu_pltexit.
64154         (pltexit): Cast int_retval to ptrdiff_t.
64155         * elf/tst-auditmod3b.c: Likewise.
64156         * elf/tst-auditmod4b.c: Likewise.
64157         * elf/tst-auditmod5b.c: Likewise.
64158         * elf/tst-auditmod6b.c: Likewise.
64159         * elf/tst-auditmod6c.c: Likewise.
64160         * elf/tst-auditmod7b.c: Likewise.
64162         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64163         and x32_gnu_pltexit.
64165         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64166         __ELF_NATIVE_CLASS.
64167         (La_x32_regs): New macro.
64168         (La_x32_retval): Likewise.
64169         (la_x32_gnu_pltenter): New function prototype.
64170         (la_x32_gnu_pltexit): Likewise.
64172 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64174         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64175         exponent.
64177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64179         * configure.in (libc_cv_cc_nofma): Check for option to disable
64180         generation of FMA instructions.
64181         * configure: Regenerate.
64182         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64183         * sysdeps/ieee754/dbl-64/Makefile: New file.
64184         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64185         Remove brandred-fma4.
64186         (CFLAGS-brandred-fma4.c): Remove.
64187         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64188         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64189         define.
64190         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64191         define.
64193 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64195         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64196         LLONG_MAX != LONG_MAX.
64197         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64198         (_fitoa_word): Likewise.
64199         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64200         LLONG_MAX != LONG_MAX.
64201         * stdio-common/_itowa.h: Include <_itoa.h>.
64202         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64203         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64204         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64205         only if not defined.
64206         (_ITOA_WORD_TYPE): Likewise.
64207         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64208         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64210 2012-03-21  David S. Miller  <davem@davemloft.net>
64212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64214 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64216         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64217         of x86_64 when setting libc_cv_slibdir, libdir and
64218         libc_cv_localedir.
64219         * sysdeps/unix/sysv/linux/configure: Regenerated.
64221 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64223         * manual/lang.texi (Old Varargs): Remove section.
64224         (How Variadic): Update menu.
64225         (va_start): Do not mention varargs.h.
64227 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64228             Joseph Myers  <joseph@codesourcery.com>
64230         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64231         link test.
64232         * configure: Regenerated.
64234 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64236         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64237         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64238         conformtest.pl
64240 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64242         * NOTES: Remove.
64243         * Makefile (files-for-dist): Remove NOTES.
64244         (NOTES): Remove rule.
64245         * README: Don't refer to NOTES.
64246         * manual/creature.texi: Don't include macros.texi.
64247         * manual/intro.texi (creature.texi): Remove comment referring to
64248         NOTES.
64250         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64251         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64252         * configure: Regenerated.
64253         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64254         LIBC_TRY_CC_OPTION.
64255         (libc_cv_as_i686): Likewise.
64256         (libc_cv_cc_avx): Likewise.
64257         (libc_cv_cc_sse2avx): Likewise.
64258         (libc_cv_cc_fma4): Likewise.
64259         (libc_cv_cc_novzeroupper): Likewise.
64260         * sysdeps/i386/configure: Regenerated.
64262         [BZ #13883]
64263         * sysdeps/i386/fpu/s_cexp.S: Remove.
64264         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64265         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64266         * math/libm-test.inc (cexp_test): Add more tests.
64267         * sysdeps/i386/fpu/libm-test-ulps: Update.
64268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64270 2012-03-21  Allan McRae  <allan@archlinux.org>
64272         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64274 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64276         [BZ #13871]
64277         * math/w_exp2.c: Do not include <float.h>.
64278         (o_threshold, u_threshold): Remove.
64279         (__exp2): Calculate result before checking finiteness and calling
64280         __kernel_standard.
64281         * math/w_exp2f.c: Likewise.
64282         * math/w_exp2l.c: Likewise.
64283         * math/libm-test.inc (exp2_test): Require overflow exception for
64284         1e6 input.
64286         [BZ #3866]
64287         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64288         range of signed 64-bit integers before using fistpll.  Remove
64289         checks for whether integers fit in mantissa bits.
64290         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64291         the range of signed 32-bit integers before using fistpl.  Remove
64292         checks for whether integers fit in mantissa bits.
64293         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64294         (__ieee754_powl): Test for y outside the range of signed 64-bit
64295         integers before using fistpll.  Reduce 64-bit values to 63-bit
64296         ones as needed.
64297         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64298         divide-by-zero is raised for zero to large negative powers.
64299         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64300         (__ieee754_powl): Test for y outside the range of signed 64-bit
64301         integers before using fistpll.  Reduce 64-bit values to 63-bit
64302         ones as needed.
64303         * math/libm-test.inc (pow_test): Add more tests.
64305 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64307         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64308         <stdio-common/_itoa.h>.
64309         * debug/segfault.c: Likewise.
64310         * elf/dl-cache.c: Likewise.
64311         * elf/dl-minimal.c: Likewise.
64312         * elf/dl-misc.c: Likewise.
64313         * elf/dl-sysdep.c: Likewise.
64314         * elf/dl-version.c: Likewise.
64315         * elf/rtld.c: Likewise.
64316         * hurd/hurdsock.c: Likewise.
64317         * hurd/lookup-retry.c: Likewise.
64318         * malloc/malloc.c: Likewise.
64319         * malloc/mtrace.c: Likewise.
64320         * nscd/nscd_getgr_r.c: Likewise.
64321         * nscd/nscd_getpw_r.c: Likewise.
64322         * nscd/nscd_getserv_r.c: Likewise.
64323         * posix/getopt_init.c: Likewise.
64324         * posix/wordexp.c: Likewise.
64325         * stdio-common/_itoa.c: Likewise.
64326         * stdio-common/printf_fphex.c: Likewise.
64327         * stdio-common/vfprintf.c: Likewise.
64328         * string/_strerror.c: Likewise.
64329         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64330         * sysdeps/i386/i686/hp-timing.h: Likewise.
64331         * sysdeps/mach/_strerror.c: Likewise.
64332         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64333         * sysdeps/mach/hurd/sethostid.c: Likewise.
64334         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64335         * sysdeps/mach/xpg-strerror.c: Likewise.
64336         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64337         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64338         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64339         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64340         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64341         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64342         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64343         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64344         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64345         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64346         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64347         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64348         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64349         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64350         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64351         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64352         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64353         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64354         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64355         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64356         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64358         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64360         * stdio-common/_itoa.h: Moved to ...
64361         * sysdeps/generic/_itoa.h: Here.
64363         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64365         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64366         instead of "_itoa.h" and "_itowa.h".
64367         * stdio-common/vfprintf.: Likewise.
64369 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64371         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64372         <bits/wordsize.h>.
64373         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64374         (__signbit): Likwise.
64375         (llrintf): Likwise.
64376         (llrint): Likwise.
64378 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64380         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64381         __WORDSIZE != 64.
64383 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64385         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64386         OVERFLOW_EXCEPTION_OK.
64387         * math/libm-test.inc ("Philosophy"): Update comment about
64388         exception testing.
64389         (OVERFLOW_EXCEPTION): Define.
64390         (OVERFLOW_EXCEPTION_OK): Likewise.
64391         (INVALID_EXCEPTION_OK): Renumber.
64392         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64393         (IGNORE_ZERO_INF_SIGN): Likewise.
64394         (test_exceptions): Handle FE_OVERFLOW.
64395         (exp10_test): Expect overflow exceptions.
64396         (exp2_test): Likewise.
64397         (expm1_test): Likewise.
64398         (nextafter_test): Likewise.
64399         (pow_test): Likewise.
64400         (scalbn_test): Likewise.
64401         (scalbln_test): Likewise.
64403 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64405         * sysdeps/x86_64/bits/atomic.h
64406         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64407         64bit integer.
64408         (atomic_exchange_acq): Likewise.
64409         (__arch_exchange_and_add_body): Likewise.
64410         (__arch_add_body): Likewise.
64411         (atomic_add_negative): Likewise.
64412         (atomic_add_zero): Likewise.
64414 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64416         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64417         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64419 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64421         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64422         Check __x86_64__ instead of __WORDSIZE.
64424 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64426         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64428 2012-03-19  David S. Miller  <davem@davemloft.net>
64430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64432         * sysdeps/sparc/fpu/fenv_private.h: New file.
64433         * sysdeps/sparc/fpu/math_private.h: Use it.
64434         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64435         Remove.
64436         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64437         (libc_feholdexcept_setroundl): Remove.
64438         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64439         Remove.
64440         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64441         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64443 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64445         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64446         int64_t instead of long int.
64447         (INSERT_WORDS64): Likwise.
64449 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64451         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64452         _Unwind_GetCFA return to _Unwind_Ptr first.
64454 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64456         [BZ #13629]
64457         * math/s_clog.c: Include <float.h>.
64458         (__clog): Scale large or subnormal inputs.
64459         * math/s_clogf.c: Likewise.
64460         * math/s_clogl.c: Likewise.
64461         * math/s_clog10.c: Include <float.h>.
64462         (M_LOG10_2): Define.
64463         (__clog10): Scale large or subnormal inputs.
64464         * math/s_clog10f.c: Likewise.
64465         * math/s_clog10l.c: Likewise.
64466         * math/libm-test.inc (clog_test): Add more tests.
64467         (clog10_test): Likewise.
64468         * sysdeps/i386/fpu/libm-test-ulps: Update.
64469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64471         [BZ #11451]
64472         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64473         x and y.
64474         * math/libm-test.inc (atan2_test): Add another test.
64476         * Makerules (common-objdir-compile): Remove.
64477         * sysdeps/unix/Makefile (config-generated): Do not add
64478         $(unix-generated) to variable.
64479         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64480         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64481         Remove rule.
64482         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64483         Likewise.
64484         [generic bits/local_lim.h] (before-compile): Do not append to
64485         variable.
64486         [generic bits/local_lim.h] (common-generated): Likewise.
64487         [generic sys/param.h] (before-compile): Do not append to variable.
64488         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64489         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64490         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64491         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64492         include.
64493         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64494         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64495         [generic sys/param.h] ($(addprefix
64496         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64497         [generic sys/param.h] (common-generated): Do not append to
64498         variable.
64499         [generic sys/param.h] (sysdep_headers): Likewise.
64500         [generic bits/errno.h] (before-compile): Do not append to
64501         variable.
64502         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64503         rule.
64504         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64505         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64506         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64507         [generic bits/errno.h] (common-generated): Do not append to
64508         variable.
64509         [generic bits/ioctls.h] (before-compile): Do not append to
64510         variable.
64511         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64512         rule.
64513         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64514         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64515         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64516         rule.
64517         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64518         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64519         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64520         [generic bits/ioctls.h] (common-generated): Do not append to
64521         variable.
64522         [generic sys/syscall.h] (syscall.h): Remove variable.
64523         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64524         rule.
64525         [generic sys/syscall.h] (before-compile): Do not append to
64526         variable.
64527         [generic sys/syscall.h] (common-generated): Likewise.
64528         * sysdeps/unix/errnos-tmpl.c: Remove file.
64529         * sysdeps/unix/errnos.awk: Likewise.
64530         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64531         * sysdeps/unix/ioctls.awk: Likewise.
64532         * sysdeps/unix/mk-local_lim.c: Likewise.
64533         * sysdeps/unix/snarf-ioctls: Likewise.
64535 2012-03-19  Richard Henderson  <rth@twiddle.net>
64537         * sysdeps/i386/fpu/fenv_private.h: New file.
64538         * sysdeps/i386/fpu/math_private.h: Use it.
64539         (math_opt_barrier, math_force_eval): Remove.
64540         (libc_feholdexcept_setround_53bit): Remove.
64541         (libc_feupdateenv_53bit): Remove.
64542         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64543         (math_opt_barrier, math_force_eval): Remove.
64544         (libc_feholdexcept): Remove.
64545         (libc_feholdexcept_setround): Remove.
64546         (libc_fetestexcept, libc_fesetenv): Remove.
64547         (libc_feupdateenv_test): Remove.
64548         (libc_feupdateenv, libc_feholdsetround): Remove.
64549         (libc_feresetround): Remove.
64551         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64552         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64554         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64555         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64556         (libc_feupdateenv_testl): New.
64557         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64558         (libc_feupdateenv_testf): New.
64559         (libc_feupdateenv): Use libc_feupdateenv_test.
64560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64561         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64563         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64564         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64565         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64566         (libc_feresetround_noex): New.
64567         (libc_feresetround_noexf): New.
64568         (libc_feresetround_noexl): New.
64569         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64570         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64571         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64572         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64573         SET_RESTORE_ROUND.
64574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64576         (__cos): Likewise.
64577         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64578         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64579         SET_RESTORE_ROUND_NOEX.
64580         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64581         SET_RESTORE_ROUND_NOEXF.
64582         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64583         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64584         (libc_feholdsetroundf): New.
64585         (libc_feresetround, libc_feresetroundf): New.
64587         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64588         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64589         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64591         * sysdeps/generic/math_private.h: Include <fenv.h>.
64592         (default_libc_feholdexcept): New.
64593         (default_libc_feholdexcept_setround): New.
64594         (default_libc_fesetenv, default_libc_feupdateenv): New.
64595         (libc_feholdexcept): Only define if undefined.
64596         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64597         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64598         (libc_feholdexcept_setroundl): Likewise.
64599         (libc_feholdexcept_setround_53bit): Likewise.
64600         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64601         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64602         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64603         (libc_feupdateenv_53bit): Likewise.
64604         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64605         (libc_feholdexcept): Convert from macro to inline function.
64606         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64607         (libc_fesetenv, libc_feupdateenv): Likewise.
64609         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64610         not previously defined.
64611         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64612         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64613         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64614         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64615         * sysdeps/ieee754/flt-32/math_private.h: New file.
64616         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64617         math_private.h below SET_FLOAT_WORD.
64618         (__isnan, __isinf_ns, __finite): Remove.
64619         (__isnanf, __isinf_nsf, __finitef): Remove.
64621 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64625 2012-03-17  David S. Miller  <davem@davemloft.net>
64627         [BZ #6471]
64628         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64629         for 2.16.
64631 2012-03-16  David S. Miller  <davem@davemloft.net>
64633         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64634         warnings.
64636         [BZ #6471]
64637         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64638         properly.
64639         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64640         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64641         sysdep_routines when subdir is sysvipc.
64642         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64643         __getshmlba helper.
64645         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64647 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64649         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64650         [__LP64__].
64652 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64654         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64655         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64656         (__lround): Renamed to ...
64657         (__llround): This.  Replace long int with long long int.
64658         Define lround functions as aliases of llround functions.
64659         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64661 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64663         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64664         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64665         adresses to uintptr_t.  Replace "long int" and "unsigned long
64666         int" with "greg_t" on va_arg.
64668 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64670         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64671         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64673         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64674         Move e_machine check before EI_CLASS check.  Handle x32
64675         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64676         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64677         SKIP_EM_IA_64 and include
64678         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64680         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64681         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64682         (add_system_dir): New macro.
64684         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64685         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64687 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64689         [BZ #2551]
64690         [BZ #2552]
64691         [BZ #2553]
64692         [BZ #2554]
64693         [BZ #2562]
64694         [BZ #2563]
64695         [BZ #2565]
64696         [BZ #2566]
64697         [BZ #2576]
64698         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64699         (y0): Likewise.
64700         * math/w_j0f.c (j0f): Likewise.
64701         (y0f): Likewise.
64702         * math/w_j0l.c (__j0l): Likewise.
64703         (__y0l): Likewise.
64704         * math/w_j1.c (j1): Likewise.
64705         (y1): Likewise.
64706         * math/w_j1f.c (j1f): Likewise.
64707         (y1f): Likewise.
64708         * math/w_j1l.c (__j1l): Likewise.
64709         (__y1l): Likewise.
64710         * math/w_jn.c (jn): Likewise.
64711         (yn): Likewise.
64712         * math/w_jnf.c (jnf): Likewise.
64713         (ynf): Likewise.
64714         * math/w_jnl.c (__jnl): Likewise.
64715         (__ynl): Likewise.
64716         * math/libm-test.inc (j0_test): Add more tests.
64717         (j1_test): Likewise.
64718         (jn_test): Likewise.  Add trailing semicolon to existing test.
64719         (y0_test): Likewise.
64720         (y1_test): Likewise.
64721         * sysdeps/i386/fpu/libm-test-ulps: Update.
64722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64724         [BZ #13851]
64725         [BZ #13854]
64726         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64727         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64728         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64729         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64730         (__tanl): Set errno for infinite argument.
64731         * sysdeps/i386/fpu/mptan.c: Remove.
64732         * sysdeps/i386/fpu/s_tan.S: Likewise.
64733         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64734         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64735         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64736         * math/libm-test.inc (tan_test): Add more tests and enable more
64737         tests for double and long double.
64738         * sysdeps/i386/fpu/libm-test-ulps: Update.
64739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64741 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64743         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64744         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64746 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64748         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64749         * configure.in: Use it for both main tree and add-ons.
64750         * configure: Regenerated.
64752 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64754         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64756 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64758         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64759         in comment.
64761         [BZ #13851]
64762         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64763         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64764         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64765         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64766         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64767         infinite argument.
64768         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64770         != 0 for prec == 2.
64771         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64772         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64773         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64774         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64775         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64776         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64777         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64778         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64779         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64780         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64781         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64782         * math/libm-test.inc (cos_test): Add more tests and enable more
64783         tests for long double.
64784         (sin_test): Likewise.
64785         (sincos_test): Likewise.
64786         * sysdeps/i386/fpu/libm-test-ulps: Update.
64787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64789 2012-03-16  David S. Miller  <davem@davemloft.net>
64791         * sysdeps/sparc/fpu/math_private.h: New file.
64793 2012-03-15  David S. Miller  <davem@davemloft.net>
64795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64796         file.
64797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64799         file.
64800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64802         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64803         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64805         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64806         sysdep routines.
64807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64809         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64810         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64812         * sysdeps/sparc/sparc-ifunc.h: New file.
64813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64814         sparc-ifunc.h
64815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64817         Likewise.
64818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64819         Likewise.
64820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64824         Likewise.
64825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64830         Likewise.
64831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64832         Likewise.
64833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
64835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
64836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
64837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64839         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
64840         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
64841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64843         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
64844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
64845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
64846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
64847         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
64848         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
64849         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
64850         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
64851         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
64852         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
64853         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
64854         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
64855         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
64856         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
64858 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64860         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
64861         scaling.
64862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64864 2012-03-15  Andreas Jaeger  <aj@suse.de>
64866         [BZ #13852]
64867         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
64868         ieee754/flt-32 implementation for sin, cos and sincos.
64869         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
64870         * sysdeps/i386/fpu/s_cosf.S: Likewise.
64871         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
64872         * sysdeps/i386/fpu/s_sinf.S: Likewise.
64873         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
64874         ieee754/flt-32 implementation for tan.
64876         * math/libm-test.inc (cos_test): Enable some large input tests for
64877         float as well
64878         (sin_test): Likewise.
64879         (sincos_test): Likewise.
64880         (tan_test): Add tests for large input.
64882         * sysdeps/i386/fpu/libm-test-ulps: Update.
64884 2012-03-15  Andreas Jaeger  <aj@suse.de>
64886         [BZ #13658]
64887         * math/libm-test.inc (cos_test): Add more test cases.
64888         (sin_test): Likewise.
64889         (sincos_test): Likewise.
64891 2012-03-15  Andreas Jaeger  <aj@suse.de>
64893         [BZ #13837]
64894         * math/libm-test.inc (cos_test): Add a test case for large input
64895         value.
64896         (sin_test): Likewise.
64897         (sincos_test): Likewise.
64899 2012-03-15  Andreas Jaeger  <aj@suse.de>
64900             Joseph Myers  <joseph@codesourcery.com>
64902         [BZ #13658]
64903         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
64904         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
64905         * sysdeps/i386/fpu/branred.c: Likewise.
64906         * sysdeps/i386/fpu/dosincos.c: Likewise.
64907         * sysdeps/i386/fpu/mpa.c: Likewise.
64908         * sysdeps/i386/fpu/s_cos.S: Likewise.
64909         * sysdeps/i386/fpu/s_sin.S: Likewise.
64910         * sysdeps/i386/fpu/s_sincos.S: Likewise.
64911         * sysdeps/i386/fpu/sincos32.c: Likewise.
64913         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
64914         Define.
64915         (libc_feupdateenv_53bit): Define.
64916         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
64917         Define.
64918         (libc_feupdateenv_53bit): Define.
64920         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
64921         53 bit (without extend i386 double precision).
64923         * math/libm-test.inc (sincos_test): Add tests for large input.
64924         (sin): Likewise.
64925         (cos): Likewise.
64927         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
64929 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
64931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64933 2012-03-15  David S. Miller  <davem@davemloft.net>
64935         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
64936         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
64937         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
64938         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
64939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
64940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
64941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
64942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
64943         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
64944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
64945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
64946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
64947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
64948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
64949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
64950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
64951         file.
64952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
64953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
64954         file.
64955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
64956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
64957         file.
64958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
64959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
64960         file.
64961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
64962         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
64963         fmin/fmax sysdep routines.
64964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64966 2012-03-14  David S. Miller  <davem@davemloft.net>
64968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
64969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
64970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
64971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
64972         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
64973         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
64974         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
64975         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
64976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
64977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
64978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
64979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
64980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
64981         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
64982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
64983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
64984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
64985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
64986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
64987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
64988         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
64989         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
64990         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
64991         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
64992         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
64993         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
64994         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
64995         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
64996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
64997         routines.
64998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
64999         file.
65000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65002         file.
65003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65005         file.
65006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65008         file.
65009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65011         file.
65012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65014         file.
65015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65016         file.
65017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65018         file.
65019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65020         file.
65021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65022         New file.
65023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65024         file.
65025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65026         file.
65027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65029         file.
65030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65032         file.
65033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65035         file.
65036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65038         VIS3 routines.
65040         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65041         New file.
65043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65045         * sysdeps/sparc/configure.in: New file.
65046         * sysdeps/sparc/configure: Generate.
65047         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65048         * configure: Regenerate.
65049         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65050         * config.make.in (have-as-vis3): New.
65051         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65052         available use -Av9d instead of -Av9a.
65053         * sysdeps/sparc/sparc64/Makefile: Likewise.
65054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65056         New file.
65057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65058         file.
65059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65060         New file.
65061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65062         file.
65063         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65064         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65065         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65066         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65067         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65069         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65070         fzeros/fnegs to load 0x80000000 into a float register instead of
65071         using the stack.
65072         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65074 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65076         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65077         bits/syscall.h.
65078         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65079         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65080         ($(inst_includedir)/bits/syscall.h): Remove rule.
65081         ($(objpfx)bits/syscall.d): Include instead of
65082         $(objpfx)syscall-list.d.
65083         (generated): Change syscall-list.h and syscall-list.d to
65084         bits/syscall.h and bits/syscall.d.
65086 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65088         [BZ #13846]
65089         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65091 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65093         [BZ #13841]
65094         * math/s_csqrt.c: Include <float.h>.
65095         (__csqrt): Scale large or subnormal inputs.
65096         * math/s_csqrtf.c: Likewise.
65097         * math/s_csqrtl.c: Likewise.
65098         * math/libm-test.inc (csqrt_test): Add more tests.
65099         * sysdeps/i386/fpu/libm-test-ulps: Update.
65100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65102         [BZ #13840]
65103         * math/libm-test.inc (hypot_test): Add more tests.
65105 2012-03-13  David S. Miller  <davem@davemloft.net>
65107         [BZ #13840]
65108         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65109         double-precision for the calculation instead of scaling.
65111 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65113         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65114         manipulate bits before adding and subtracting TWO52[sx].
65115         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65116         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65117         Likewise.
65118         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65120 2012-03-13  David S. Miller  <davem@davemloft.net>
65122         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65123         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65124         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65125         rtld-global-offsets.h
65126         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65128         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65129         large parameters.
65131         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65133         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65134         'err' in the ifdef scope in which it is actually used.
65136         * nss/nss_db/db-init.c: Include string.h
65138 2012-03-12  David S. Miller  <davem@davemloft.net>
65140         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65141         masking out of the most significant byte of random value used.
65142         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65143         Fix coding style in previous change.
65145         * sysdeps/unix/sysv/linux/kernel-features.h
65146         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65147         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65148         expression.
65149         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65150         later.
65152 2012-03-11  David S. Miller  <davem@davemloft.net>
65154         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65155         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65156         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65157         for 'resultvar' otherwise things get truncated on 64-bit.
65159         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65160         Fix masking out of the most significant byte of random value used.
65162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65164 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65168 2012-03-09  David S. Miller  <davem@davemloft.net>
65170         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65171         variables with appropriate CPP guards.
65172         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65173         from the frame pointer, not the stack pointer.  Correct layout
65174         comments.  Fix test on resulting framesize and the management of
65175         the outregs buffer for pltexit.  Preserve floating point return
65176         values across _dl_call_pltexit call.
65177         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65178         framesize and the management of the outregs buffer for pltexit.
65179         Preserve floating point return values across _dl_call_pltexit
65180         call.
65181         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65182         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65183         (la_sparc64_gnu_pltexit): New functions.
65184         (print_exit): Fix format string for return register value.
65186 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65188         * sunrpc/Makefile (others): Add rpcgen.
65189         ($(objpfx)rpcgen): Remove special build rule and dependency on
65190         libc.
65191         * sunrpc/rpcgen.c: New file.
65193 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65195         [BZ #13673]
65196         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65197         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65198         * sysdeps/i386/crti.S: Likewise.
65199         * sysdeps/i386/crtn.S: Likewise.
65200         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65201         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65202         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65203         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65204         * sysdeps/sh/crti.S: Likewise.
65205         * sysdeps/sh/crtn.S: Likewise.
65206         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65208         [BZ #13673]
65209         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65210         with URL.
65211         * locale/programs/locfile-kw.gperf: Likewise.
65212         * locale/programs/charmap-kw.h: Regenerated.
65213         * locale/programs/locfile-kw.h: Likewise.
65215         [BZ #13673]
65216         * intl/plural.y: Replace FSF snail mail address with URL.
65217         * intl/plural.c: Regenerated.
65219 2012-03-09  Richard Henderson  <rth@twiddle.net>
65221         * include/math_private.h: Remove file.
65222         * math/math_private.h: Move file ...
65223         * sysdeps/generic/math_private.h: ... here.
65225         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65226         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65227         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65229         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65230         and <math_private.h>.
65231         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65232         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65233         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65234         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65235         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65236         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65237         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65238         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65239         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65240         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65241         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65242         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65243         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65244         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65245         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65246         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65247         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65248         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65249         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65250         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65251         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65252         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65253         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65254         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65255         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65256         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65257         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65258         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65259         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65260         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65261         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65262         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65263         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65264         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65265         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65266         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65267         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65268         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65269         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65270         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65271         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65272         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65273         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65274         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65275         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65276         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65277         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65278         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65279         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65280         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65281         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65282         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65283         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65284         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65285         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65286         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65287         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65288         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65289         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65290         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65291         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65292         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65293         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65294         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65295         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65296         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65297         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65298         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65299         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65300         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65301         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65302         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65303         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65304         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65305         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65306         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65307         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65308         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65309         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65310         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65311         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65312         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65313         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65314         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65315         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65316         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65317         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65318         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65319         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65320         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65321         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65322         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65323         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65324         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65325         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65326         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65327         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65328         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65329         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65330         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65331         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65332         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65333         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65334         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65335         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65336         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65337         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65338         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65339         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65340         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65341         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65342         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65343         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65344         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65345         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65346         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65347         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65348         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65349         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65350         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65351         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65352         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65353         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65354         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65355         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65356         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65357         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65358         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65359         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65360         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65361         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65362         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65363         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65364         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65365         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65366         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65367         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65368         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65369         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65370         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65371         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65372         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65373         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65374         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65375         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65376         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65377         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65378         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65379         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65380         * sysdeps/ieee754/k_standard.c: Likewise.
65381         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65382         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65384         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65385         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65386         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65387         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65388         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65389         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65390         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65391         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65393         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65394         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65395         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65396         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65397         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65398         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65399         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65400         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65401         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65402         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65403         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65404         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65405         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65406         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65407         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65408         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65409         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65410         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65411         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65412         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65413         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65414         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65415         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65416         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65417         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65418         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65419         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65420         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65421         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65422         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65423         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65424         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65425         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65426         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65427         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65428         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65429         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65430         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65431         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65432         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65433         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65434         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65435         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65436         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65437         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65438         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65439         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65440         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65441         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65442         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65443         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65444         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65445         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65446         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65447         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65448         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65449         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65450         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65451         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65452         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65453         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65454         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65455         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65456         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65457         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65458         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65460         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65461         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65462         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65463         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65464         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65465         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65466         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65467         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65468         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65469         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65470         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65471         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65472         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65473         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65474         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65475         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65476         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65477         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65478         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65479         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65480         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65481         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65482         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65483         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65484         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65485         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65486         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65487         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65488         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65489         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65490         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65491         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65492         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65493         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65494         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65495         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65496         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65497         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65498         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65499         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65500         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65501         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65502         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65503         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65504         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65505         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65506         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65507         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65508         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65509         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65510         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65511         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65512         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65513         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65514         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65515         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65516         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65517         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65518         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65519         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65520         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65521         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65522         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65524         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65525         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65526         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65527         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65528         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65529         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65530         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65531         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65532         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65533         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65534         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65535         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65536         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65537         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65538         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65539         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65540         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65541         * sysdeps/ieee754/s_lib_version.c: Likewise.
65542         * sysdeps/ieee754/s_matherr.c: Likewise.
65543         * sysdeps/ieee754/s_signgam.c: Likewise.
65544         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65545         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65546         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65547         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65548         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65549         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65550         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65551         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65552         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65553         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65554         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65555         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65556         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65557         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65558         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65559         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65560         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65561         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65562         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65563         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65564         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65566 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65568         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65569         * sunrpc/rpc_main.c: Likewise.
65570         * sunrpc/rpc_svcout.c: Likewise.
65572 2012-03-09  David S. Miller  <davem@davemloft.net>
65574         * include/math_private.h: New file.
65576 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65578         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65579         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65580         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65581         from <bits/socket_type.h>.
65582         (enum __socket_type): Don't define here.
65583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65585         bits/socket_type.h.
65587         [BZ #13566]
65588         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65589         checking __USE_GNU.
65591         * Makerules ($(inst_includedir)/%.h): New rule.
65592         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65593         (install-others): Remove variable setting.
65594         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65596 2012-03-08  Richard Henderson  <rth@twiddle.net>
65598         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65599         from macro to inline function; merge with the
65600         !__LIBC_INTERNAL_MATH_INLINES version.
65601         (__ieee754_sqrtf): Likewise.
65603         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65604         to inline function.
65605         (__rintf, __floor, __floorf): Likewise.
65607         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65608         macro to inline function.
65609         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65611         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65612         not <math/math_private.h>.
65614 2012-03-08  David S. Miller  <davem@davemloft.net>
65616         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65617         copyright year.
65618         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65620 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65622         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65623         normalization.
65624         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65625         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65627 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65629         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65630         be defined individually, they must be defined as a block.  Define
65631         S for printing a string instead of hidint the different by using a
65632         macro for adding the 'l'.
65633         * stdio-common/tst-fphex-wide.c: Adjust.
65635 2012-03-07  Marek Polacek  <polacek@redhat.com>
65637         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65639 2012-03-08  Marek Polacek  <polacek@redhat.com>
65641         [BZ #13806]
65642         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65643         * stdio-common/tst-fphex.c: Define a few macros to make the
65644         test reusable.  Use them.
65645         * stdio-common/tst-fphex-wide.c: New file.
65647 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65649         [BZ #6911]
65650         * manual/macros.texi (gnusystems): New macro.
65651         (nongnusystems): Likewise.
65652         (gnulinuxhurdsystems): Likewise.
65653         (gnuhurdsystems): Likewise..
65654         (gnulinuxsystems): Likewise.
65655         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65656         variants of the GNU system, not "GNU system".
65657         * manual/conf.texi: Likewise.
65658         * manual/errno.texi: Likewise.  Update example of errno macro
65659         expansion.
65660         * manual/filesys.texi: Likewise.
65661         (getumask): Document as specific to GNU/Hurd.
65662         * manual/install.texi: Likewise.  Reword some references to
65663         GNU/Linux.
65664         * manual/intro.texi: Likewise.
65665         * manual/io.texi: Likewise.
65666         (File Name Portability): Detail which constraints are inapplicable
65667         to all GNU systems and which are only inapplicable to GNU/Hurd.
65668         * manual/job.texi: Likewise.
65669         * manual/llio.texi: Likewise.
65670         (O_NOCTTY): Document as present on GNU/Linux.
65671         * manual/maint.texi: Likewise.
65672         * manual/memory.texi: Likewise.
65673         * manual/pattern.texi: Likewise.
65674         * manual/pipe.texi: Likewise.
65675         * manual/process.texi: Likewise.
65676         * manual/resource.texi: Likewise.
65677         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65678         child on GNU/Hurd.
65679         * manual/setjmp.texi: Likewise.
65680         * manual/signal.texi: Likewise.
65681         * manual/startup.texi: Likewise.
65682         * manual/stdio.texi: Likewise.
65683         * manual/terminal.texi: Likewise.
65684         (ONLCR): Document as POSIX.
65685         (OXTABS): Document availability on GNU/Linux as XTABS.
65686         (ONOEOT): Document availability separately from other bits.
65687         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65688         * manual/time.texi: Likewise.
65689         * manual/users.texi: Likewise.
65690         * INSTALL: Regenerated.
65691         * sysdeps/gnu/errlist.c: Regenerated.
65693         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65694         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65695         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65696         puts.
65697         * configure: Regenerated.
65699 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65701         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65702         default includes instead of AC_HEADER_CHECK.
65703         * sysdeps/i386/configure: Regenerated.
65705         [BZ #10716]
65706         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65707         * math/s_cacoshf.c (__cacoshf): Likewise.
65708         * math/s_cacoshl.c (__cacoshl): Likewise.
65709         * math/s_casinh.c (__casinh): Set signs of result from argument.
65710         * math/s_casinhf.c (__casinhf): Likewise.
65711         * math/s_casinhl.c (__casinhl): Likewise.
65712         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65713         (casinh_test): Add more tests.
65714         * sysdeps/i386/fpu/libm-test-ulps: Update.
65715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65717 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65719         * po/zh_TW.po: Update from translation team.
65721         * login/Makefile (distribute): Remove variable.
65722         * catgets/Makefile: Likewise.
65723         * mach/Makefile: Likewise.
65724         * malloc/Makefile: Likewise.
65725         * misc/Makefile: Likewise.
65726         * iconv/Makefile: Likewise.
65727         * nscd/Makefile: Likewise.
65728         * hurd/Makefile: Likewise.
65729         * manual/Makefile: Likewise.
65730         * locale/Makefile: Likewise.
65731         * intl/Makefile: Likewise.
65732         * conform/Makefile: Likewise.
65733         * nss/Makefile: Likewise.
65734         * time/Makefile: Likewise.
65735         * soft-fp/Makefile: Likewise.
65736         * dirent/Makefile: Likewise.
65737         * gmon/Makefile: Likewise.
65738         * po/Makefile: Likewise.
65739         * rt/Makefile: Likewise.
65740         * socket/Makefile: Likewise.
65741         * math/Makefile: Likewise.
65742         * signal/Makefile: Likewise.
65743         * debug/Makefile: Likewise.
65744         * elf/Makefile: Likewise.
65745         * timezone/Makefile: Likewise.
65746         * stdlib/Makefile: Likewise.
65747         * iconvdata/Makefile: Likewise.
65748         * sunrpc/Makefile: Likewise.
65749         * io/Makefile: Likewise.
65750         * argp/Makefile: Likewise.
65751         * inet/Makefile: Likewise.
65752         * hesiod/Makefile: Likewise.
65753         * grp/Makefile: Likewise.
65754         * csu/Makefile: Likewise.
65755         * wctype/Makefile: Likewise.
65756         * crypt/Makefile: Likewise.
65757         * libio/Makefile: Likewise.
65758         * string/Makefile: Likewise.
65759         * nis/Makefile: Likewise.
65760         * resolv/Makefile: Likewise.
65761         * stdio-common/Makefile: Likewise.
65762         * wcsmbs/Makefile: Likewise.
65763         * dlfcn/Makefile: Likewise.
65764         * posix/Makefile: Likewise.
65766         [BZ #6959]
65767         * timezone/Makefile: Don't install timezone files, just the programs
65768         and scripts.
65770 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65772         * nss/databases.def: Add missing gshadow entry.
65774         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65776 2012-03-06  Marek Polacek  <polacek@redhat.com>
65778         [BZ #13726]
65779         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65780         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65781         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65782         * stdio-common/tst-long-dbl-fphex.c: New file.
65784 2012-03-06  David S. Miller  <davem@davemloft.net>
65786         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65787         (set_obp_int): New function.
65788         (get_obp_int): New function.
65789         (__get_clockfreq_via_dev_openprom): Likewise.
65790         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65791         Avoid unused variable warnings on 'val' and use builtin_expect.
65792         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65793         __builtin_expect.
65794         (INLINE_CLONE_SYSCALL): Likewise.
65796 2012-03-05  David S. Miller  <davem@davemloft.net>
65798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65800 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65804         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65805         only for |x| >= 40.
65806         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65808 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65810         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65811         Replace gettimeofday with __vdso_gettimeofday.
65813         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65814         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65815         __vdso_clock_gettime and __vdso_getcpu.
65817         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65818         time with __vdso_time.
65820 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65822         * manual/lang.texi (size_t): Note types to which size_t may be
65823         equivalent with the GNU C Library, but do not describe when
65824         differences between them are significant.
65826 2012-03-05  Andreas Jaeger  <aj@suse.de>
65828         * sysdeps/i386/fpu/libm-test-ulps: Update.
65830 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65832         [BZ #3976]
65833         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65834         (__ieee754_pow): Save and restore rounding mode and use
65835         round-to-nearest for main computations.
65836         * math/libm-test.inc (pow_test_tonearest): New function.
65837         (pow_test_towardzero): Likewise.
65838         (pow_test_downward): Likewise.
65839         (pow_test_upward): Likewise.
65840         (main): Call the new functions.
65841         * sysdeps/i386/fpu/libm-test-ulps: Update.
65842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65844         [BZ #3976]
65845         * math/libm-test.inc (cosh_test_tonearest): New function.
65846         (cosh_test_towardzero): Likewise.
65847         (cosh_test_downward): Likewise.
65848         (cosh_test_upward): Likewise.
65849         (sinh_test_tonearest): Likewise.
65850         (sinh_test_towardzero): Likewise.
65851         (sinh_test_downward): Likewise.
65852         (sinh_test_upward): Likewise.
65853         (main): Call the new functions.
65854         * sysdeps/i386/fpu/libm-test-ulps: Update.
65855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65857 2012-03-05  Tom de Vries  <tom@codesourcery.com>
65859         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
65860         default stack guard is set in last bytes.
65861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
65863 2012-03-05  Kees Cook  <keescook@chromium.org>
65865         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
65867         [BZ #13656]
65868         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
65869         possibly allocate from heap instead of stack.
65870         * stdio-common/bug-vfprintf-nargs.c: New file.
65871         * stdio-common/Makefile (tests): Add nargs overflow test.
65873 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
65875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65877 2012-03-03  Marek Polacek  <polacek@redhat.com>
65879         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
65880         * math/math_private.h: Likewise.
65881         * stdlib/tst-strtod.c: Likewise.
65882         * sysdeps/i386/i486/bits/atomic.h: Likewise.
65883         * sysdeps/x86_64/bits/atomic.h: Likewise.
65885 2012-03-02  David S. Miller  <davem@davemloft.net>
65887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
65888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
65889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
65890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
65891         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
65892         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
65893         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
65894         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
65896 2012-03-02  Roland McGrath  <roland@hack.frob.com>
65898         [BZ #13792]
65899         * manual/examples/README: New file, says the example source files
65900         can be used under GPL>=2.
65901         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
65902         line containing just "*/".
65903         * manual/examples/add.c: Add copyright header (GPL>=2).
65904         * manual/examples/argp-ex1.c: Likewise.
65905         * manual/examples/argp-ex2.c: Likewise.
65906         * manual/examples/argp-ex3.c: Likewise.
65907         * manual/examples/argp-ex4.c: Likewise.
65908         * manual/examples/atexit.c: Likewise.
65909         * manual/examples/db.c: Likewise.
65910         * manual/examples/dir.c: Likewise.
65911         * manual/examples/dir2.c: Likewise.
65912         * manual/examples/execinfo.c: Likewise.
65913         * manual/examples/filecli.c: Likewise.
65914         * manual/examples/filesrv.c: Likewise.
65915         * manual/examples/fmtmsgexpl.c: Likewise.
65916         * manual/examples/genpass.c: Likewise.
65917         * manual/examples/inetcli.c: Likewise.
65918         * manual/examples/inetsrv.c: Likewise.
65919         * manual/examples/isockad.c: Likewise.
65920         * manual/examples/longopt.c: Likewise.
65921         * manual/examples/memopen.c: Likewise.
65922         * manual/examples/memstrm.c: Likewise.
65923         * manual/examples/mkfsock.c: Likewise.
65924         * manual/examples/mkisock.c: Likewise.
65925         * manual/examples/mygetpass.c: Likewise.
65926         * manual/examples/pipe.c: Likewise.
65927         * manual/examples/popen.c: Likewise.
65928         * manual/examples/rprintf.c: Likewise.
65929         * manual/examples/search.c: Likewise.
65930         * manual/examples/select.c: Likewise.
65931         * manual/examples/setjmp.c: Likewise.
65932         * manual/examples/sigh1.c: Likewise.
65933         * manual/examples/sigusr.c: Likewise.
65934         * manual/examples/stpcpy.c: Likewise.
65935         * manual/examples/strdupa.c: Likewise.
65936         * manual/examples/strftim.c: Likewise.
65937         * manual/examples/strncat.c: Likewise.
65938         * manual/examples/subopt.c: Likewise.
65939         * manual/examples/swapcontext.c: Likewise.
65940         * manual/examples/termios.c: Likewise.
65941         * manual/examples/testopt.c: Likewise.
65942         * manual/examples/testpass.c: Likewise.
65943         * manual/examples/timeval_subtract.c: Likewise.
65945         [BZ #13792]
65946         * manual/time.texi (Elapsed Time): Move timeval_subtract example
65947         function to ...
65948         * manual/timeval_subtract.c.texi: ... here, new file.
65950 2012-03-02  David S. Miller  <davem@davemloft.net>
65952         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
65954 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
65956         [BZ #3976]
65957         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
65958         (__sin): Save and restore rounding mode and use round-to-nearest
65959         for all computations.
65960         (__cos): Save and restore rounding mode and use round-to-nearest
65961         for all computations.
65962         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
65963         <fenv.h>.
65964         (tan): Save and restore rounding mode and use round-to-nearest for
65965         all computations.
65966         * math/libm-test.inc (cos_test_tonearest): New function.
65967         (cos_test_towardzero): Likewise.
65968         (cos_test_downward): Likewise.
65969         (cos_test_upward): Likewise.
65970         (sin_test_tonearest): Likewise.
65971         (sin_test_towardzero): Likewise.
65972         (sin_test_downward): Likewise.
65973         (sin_test_upward): Likewise.
65974         (tan_test_tonearest): Likewise.
65975         (tan_test_towardzero): Likewise.
65976         (tan_test_downward): Likewise.
65977         (tan_test_upward): Likewise.
65978         (main): Call the new functions.
65979         * sysdeps/i386/fpu/libm-test-ulps: Update.
65980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65982         [BZ #10135]
65983         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
65984         small n, then large n, before computing and testing k+n.
65985         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
65986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
65987         Likewise.
65988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
65989         Likewise.
65990         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
65991         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
65992         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
65993         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
65994         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
65995         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
65996         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
65997         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
65998         * math/libm-test.inc (scalbn_test): Add more tests.
65999         (scalbln_test): Likewise.
66001         * manual/filesys.texi (mode_t): Describe constraints on size and
66002         signedness, not exact equivalence to a particular type.
66003         (ino_t): Likewise.
66004         (ino64_t): Likewise.
66005         (dev_t): Likewise.
66006         (nlink_t): Likewise.
66007         (blkcnt_t): Likewise.
66008         (blkcnt64_t): Likewise.
66009         * manual/llio.texi (off_t): Likewise.
66011         [BZ #3976]
66012         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66013         (__ieee754_exp): Save and restore rounding mode and use
66014         round-to-nearest for all computations.
66015         * math/libm-test.inc (exp_test_tonearest): New function.
66016         (exp_test_towardzero): Likewise.
66017         (exp_test_downward): Likewise.
66018         (exp_test_upward): Likewise.
66019         (main): Call the new functions.
66020         * sysdeps/i386/fpu/libm-test-ulps: Update.
66021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66023 2012-03-01  Chris Demetriou  <cgd@google.com>
66025         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66026         have predictable order.
66028 2012-03-01  David S. Miller  <davem@davemloft.net>
66030         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66032         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66033         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66034         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66035         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66037         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66038         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66039         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66041         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66042         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66043         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66044         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66045         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66049         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66050         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66051         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66053         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66054         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66055         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66056         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66057         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66058         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66059         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66060         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66061         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66062         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66063         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66064         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66066         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66067         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66069         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66070         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66071         * sysdeps/sparc/elf/configure: Regenerated.
66073 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66075         * configure.in (AS, LD): Require binutils 2.20 or later.
66076         * configure: Regenerated.
66077         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66078         as required minimum version.
66079         * INSTALL: Regenerated.
66081         [BZ #2541]
66082         [BZ #4108]
66083         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66084         before squaring exponent.
66085         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66086         bottom long double and 27 bits of top long double before squaring
66087         exponent.
66088         * math/libm-test.inc (erfc_test): Add more tests.
66089         * sysdeps/i386/fpu/libm-test-ulps: Update.
66090         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66093 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66095         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66096         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66097         containing bit-fields.
66098         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66099         * soft-fp/single.h (_FP_UNION_S): Likewise.
66100         * soft-fp/double.h (_FP_UNION_D): Likewise.
66102 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66104         [BZ #13786]
66105         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66106         not include ../strcmp.S.
66107         [USE_AS_STRNCASECMP_L]: Likewise.
66108         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66109         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66110         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66111         (__strncasecmp_l_ia32): Define as alias to
66112         __strncasecmp_l_nonascii.
66114         [BZ #5794]
66115         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66116         * sysdeps/i386/fpu/libm-test-ulps: Update.
66117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66119         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66122 2012-02-29  Jeff Law  <law@redhat.com>
66124         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66125         out of bounds read.
66127 2012-02-29  Marek Polacek  <polacek@redhat.com>
66129         [BZ #13706]
66130         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66131         * elf/Makefile: Add rules to run tst-unused-dep.out.
66133 2012-02-28  David S. Miller  <davem@davemloft.net>
66135         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66136         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66137         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66138         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66139         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66140         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66142 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66144         * math/libm-test.inc (llround_test): Move one test from
66145         lround_test.  Use TEST_f_L in moved test.
66146         (lround_test): Move misplaced test to llround_test.  Add testcase
66147         from bug 2561.
66149 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66151         * sysdeps/x86_64/fpu/e_expf.S: New file.
66152         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66154 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66156         [BZ #13637]
66157         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66158         of remain_len that may cause incomplete multi-byte character and
66159         false match.
66160         * posix/bug-regex33.c: New file.
66161         * posix/Makefile (tests): Add bug-regex33.
66163 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66165         * manual/macros.texi: New file.
66166         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66167         * manual/libc.texinfo: Include macros.texi.
66168         * manual/creatute.texi: Likewise.
66169         * manual/install.texi: Likewise.
66170         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66171         @glibcadj{} in references to the GNU C Library.
66172         * manual/charset.texi: Likewise.
66173         * manual/conf.texi: Likewise.
66174         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66175         when not using those macros.
66176         * manual/creature.texi: Likewise.
66177         * manual/crypt.texi: Likewise.
66178         * manual/errno.texi: Likewise.
66179         * manual/filesys.texi: Likewise.
66180         * manual/header.texi: Likewise.
66181         * manual/install.texi: Likewise.
66182         * manual/intro.texi: Likewise.
66183         * manual/io.texi: Likewise.
66184         * manual/job.texi: Likewise.
66185         * manual/lang.texi: Likewise.
66186         * manual/libc.texiinfo: Likewise.
66187         * manual/llio.texi: Likewise.
66188         * manual/locale.texi: Likewise.
66189         * manual/maint.texi: Likewise.
66190         * manual/math.texi: Likewise.
66191         * manual/memory.texi: Likewise.
66192         * manual/message.texi: Likewise.
66193         * manual/nss.texi: Likewise.
66194         * manual/pattern.texi: Likewise.
66195         * manual/process.texi: Likewise.
66196         * manual/resource.texi: Likewise.
66197         * manual/search.texi: Likewise.
66198         * manual/setjmp.texi: Likewise.
66199         * manual/signal.texi: Likewise.
66200         * manual/socket.texi: Likewise.
66201         * manual/startup.texi: Likewise.
66202         * manual/stdio.texi: Likewise.
66203         * manual/string.texi: Likewise.
66204         * manual/sysinfo.texi: Likewise.
66205         * manual/syslog.texi: Likewise.
66206         * manual/terminal.texi: Likewise.
66207         * manual/time.texi: Likewise.
66208         * manual/users.texi: Likewise.
66209         * INSTALL: Regenerated.
66210         * NOTES: Regenerated.
66211         * sysdeps/gnu/errlist.c: Regenerated.
66213 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66215         * include/dirent.h: Include <dirstream.h> before
66216         <dirent/dirent.h>.
66218 2012-02-28  David S. Miller  <davem@davemloft.net>
66220         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66221         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66222         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66223         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66225 2012-02-27  David S. Miller  <davem@davemloft.net>
66227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66229         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66230         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66233         frame pointer instead of stack pointer relative arg slot.
66234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66235         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66236         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66238 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66240         [BZ #3992]
66241         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66243 2012-02-27  David S. Miller  <davem@davemloft.net>
66245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66249         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66250         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66251         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66252         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66254 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66256         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66257         later.  Allow versions 5-9.
66258         * configure: Regenerated.
66259         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66260         required minimum version and 4.6 as recommended version.  Do not
66261         mention bugs in GCC 2.7 and 2.8.
66262         * INSTALL: Regenerated.
66264 2012-02-27  David S. Miller  <davem@davemloft.net>
66266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66270         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66271         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66272         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66273         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66275         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66276         manipulate bits before adding and subtracting TWO112[sx].
66277         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66279 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66281         [BZ #13775]
66282         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66283         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66284         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66285         being in POSIX, because they are in 1003.1-2008.
66287         * rt/tst-aio.c: Include <fcntl.h>.
66288         * rt/tst-aio7.c: Likewise.
66289         * rt/tst-aio64.c: Likewise.
66291         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66293 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66295         * manual/install.texi (--with-headers): Describe headers as
66296         interface headers, not private headers.
66297         (Specific advice for GNU/Linux systems): Describe use of headers
66298         from "make headers_install", not private headers from older
66299         kernels.
66300         * INSTALL: Regenerated.
66301         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66302         Change to 2.6.19.
66303         * sysdeps/unix/sysv/linux/configure: Regenerated.
66305         * manual/llio.texi (fclean): Remove documentation.
66307         * manual/Makefile (libc-texi-generated): New variable.  Include
66308         version.texi.
66309         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66310         $(libc-texi-generated), not duplicated list of files.
66311         (version.texi, stamp-version): New rules.
66312         (realclean): Remove $(libc-texi-generated), not individual files
66313         from that list.  Do not remove dir-add.texinfo.
66314         * manual/libc.texinfo: Comment out uses of edition numbers and
66315         references to printed manual.  Remove last-updated dates.
66316         (EDITION): Comment out.
66317         (ISBN): Likewise.
66318         (VERSION, UPDATED): Remove.
66319         (version.texi): Include.
66321 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66323         * sysdeps/posix/spawni.c: Include <signal.h>.
66324         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66325         * sysdeps/pthread/aio_fsync.c: Likewise.
66327 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66329         * conform/Makefile (tests): Run only when not cross-compiling and
66330         when fast-check is not defined.
66332         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66333         * conform/data/limits.h-data: Fixes for POSIX2008.
66334         * conform/run-conformtest.sh: Run all tests.
66335         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66336         headers.
66337         * include/bits/dlfcn.h: Likewise.
66338         * include/langinfo.h: Likewise.
66339         * include/monetary.h: Likewise.
66340         * include/sys/poll.h: Likewise.
66342         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66343         for __USE_GNU.
66344         * posix/spawn.h: Define __need_sigset_t.
66345         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66346         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66347         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66348         to get sigevent_t only.
66349         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66350         only for __USE_GNU.
66351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66352         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66353         process_vm_writev only for __USE_GNU.
66354         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66356         * conform/Makefile: For now ignore errors from run-conformtest.
66357         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66358         POSIX to avoid namespace pollution.  Don't prepend headers.
66359         * conform/data/aio.h-data: Fixes for POSIX testing.
66360         * conform/data/fcntl.h-data: Likewise.
66361         * conform/data/glob.h-data: Likewise.
66362         * conform/data/grp.h-data: Likewise.
66363         * conform/data/pthread.h-data: Likewise.
66364         * conform/data/pwd.h-data: Likewise.
66365         * conform/data/signal.h-data: Likewise.
66366         * conform/data/spawn.h-data: Likewise.
66367         * conform/data/stdio.h-data: Likewise.
66368         * conform/data/stdlib.h-data: Likewise.
66369         * conform/data/stropts.h-data: Likewise.
66370         * conform/data/sys/mman.h-data: Likewise.
66371         * conform/data/sys/stat.h-data: Likewise.
66372         * conform/data/sys/types.h-data: Likewise.
66373         * conform/data/sys/wait.h-data: Likewise.
66374         * conform/data/time.h-data: Likewise.
66375         * conform/data/unistd.h-data: Likewise.
66376         * conform/data/utime.h-data: Likewise.
66378         * io/sys/stat.h: fchmod was always in POSIX.
66379         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66380         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66381         * rt/aio.h: Define __need_timespec before including <time.h>.
66382         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66383         struct.  Add forward declaration of pthread_attr_t and use it in
66384         sigevent.
66385         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66386         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66387         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66388         always remove CLK_TCK definition.
66390 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66392         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66394 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66396         * conform/run-conformtest.sh: New file.
66397         * conform/Makefile: Run run-conformtest for tests.
66398         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66399         support.
66401         * conform/data/uchar.h-data: New file.
66402         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66403         * conform/data/arpa/inet.h-data: Likewise.
66404         * conform/data/assert.h-data: Likewise.
66405         * conform/data/complex.h-data: Likewise.
66406         * conform/data/cpio.h-data: Likewise.
66407         * conform/data/ctype.h-data: Likewise.
66408         * conform/data/dirent.h-data: Likewise.
66409         * conform/data/dlfcn.h-data: Likewise.
66410         * conform/data/errno.h-data: Likewise.
66411         * conform/data/fcntl.h-data: Likewise.
66412         * conform/data/float.h-data: Likewise.
66413         * conform/data/fmtmsg.h-data: Likewise.
66414         * conform/data/fnmatch.h-data: Likewise.
66415         * conform/data/ftw.h-data: Likewise.
66416         * conform/data/glob.h-data: Likewise.
66417         * conform/data/grp.h-data: Likewise.
66418         * conform/data/iconv.h-data: Likewise.
66419         * conform/data/inttypes.h-data: Likewise.
66420         * conform/data/langinfo.h-data: Likewise.
66421         * conform/data/libgen.h-data: Likewise.
66422         * conform/data/limits.h-data: Likewise.
66423         * conform/data/locale.h-data: Likewise.
66424         * conform/data/math.h-data: Likewise.
66425         * conform/data/monetary.h-data: Likewise.
66426         * conform/data/mqueue.h-data: Likewise.
66427         * conform/data/ndbm.h-data: Likewise.
66428         * conform/data/net/if.h-data: Likewise.
66429         * conform/data/netdb.h-data: Likewise.
66430         * conform/data/netinet/in.h-data: Likewise.
66431         * conform/data/nl_types.h-data: Likewise.
66432         * conform/data/poll.h-data: Likewise.
66433         * conform/data/pthread.h-data: Likewise.
66434         * conform/data/pwd.h-data: Likewise.
66435         * conform/data/regex.h-data: Likewise.
66436         * conform/data/sched.h-data: Likewise.
66437         * conform/data/search.h-data: Likewise.
66438         * conform/data/semaphore.h-data: Likewise.
66439         * conform/data/setjmp.h-data: Likewise.
66440         * conform/data/signal.h-data: Likewise.
66441         * conform/data/spawn.h-data: Likewise.
66442         * conform/data/stdarg.h-data: Likewise.
66443         * conform/data/stdio.h-data: Likewise.
66444         * conform/data/stdlib.h-data: Likewise.
66445         * conform/data/string.h-data: Likewise.
66446         * conform/data/strings.h-data: Likewise.
66447         * conform/data/stropts.h-data: Likewise.
66448         * conform/data/sys/ipc.h-data: Likewise.
66449         * conform/data/sys/mman.h-data: Likewise.
66450         * conform/data/sys/msg.h-data: Likewise.
66451         * conform/data/sys/resource.h-data: Likewise.
66452         * conform/data/sys/select.h-data: Likewise.
66453         * conform/data/sys/sem.h-data: Likewise.
66454         * conform/data/sys/shm.h-data: Likewise.
66455         * conform/data/sys/socket.h-data: Likewise.
66456         * conform/data/sys/stat.h-data: Likewise.
66457         * conform/data/sys/statvfs.h-data: Likewise.
66458         * conform/data/sys/time.h-data: Likewise.
66459         * conform/data/sys/timeb.h-data: Likewise.
66460         * conform/data/sys/times.h-data: Likewise.
66461         * conform/data/sys/types.h-data: Likewise.
66462         * conform/data/sys/uio.h-data: Likewise.
66463         * conform/data/sys/un.h-data: Likewise.
66464         * conform/data/sys/utsname.h-data: Likewise.
66465         * conform/data/sys/wait.h-data: Likewise.
66466         * conform/data/syslog.h-data: Likewise.
66467         * conform/data/tar.h-data: Likewise.
66468         * conform/data/termios.h-data: Likewise.
66469         * conform/data/utime.h-data: Likewise.
66470         * conform/data/utmpx.h-data: Likewise.
66471         * conform/data/varargs.h-data: Likewise.
66472         * conform/data/wchar.h-data: Likewise.
66473         * conform/data/wctype.h-data: Likewise.
66474         * conform/data/wordexp.h-data: Likewise.
66476         * include/stropts.h: New file.
66477         * include/uchar.h: New file.
66478         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66479         * include/assert.h: Likewise.
66480         * include/ctype.h: Likewise.
66481         * include/dirent.h: Likewise.
66482         * include/dlfcn.h: Likewise.
66483         * include/fcntl.h: Likewise.
66484         * include/fnmatch.h: Likewise.
66485         * include/glob.h: Likewise.
66486         * include/grp.h: Likewise.
66487         * include/libio.h: Likewise.
66488         * include/locale.h: Likewise.
66489         * include/math.h: Likewise.
66490         * include/net/if.h: Likewise.
66491         * include/netdb.h: Likewise.
66492         * include/netinet/in.h: Likewise.
66493         * include/pthread.h: Likewise.
66494         * include/pwd.h: Likewise.
66495         * include/regex.h: Likewise.
66496         * include/sched.h: Likewise.
66497         * include/search.h: Likewise.
66498         * include/setjmp.h: Likewise.
66499         * include/signal.h: Likewise.
66500         * include/stdio.h: Likewise.
66501         * include/stdlib.h: Likewise.
66502         * include/string.h: Likewise.
66503         * include/sys/cdefs.h: Likewise.
66504         * include/sys/mman.h: Likewise.
66505         * include/sys/msg.h: Likewise.
66506         * include/sys/resource.h: Likewise.
66507         * include/sys/select.h: Likewise.
66508         * include/sys/socket.h: Likewise.
66509         * include/sys/stat.h: Likewise.
66510         * include/sys/statvfs.h: Likewise.
66511         * include/sys/time.h: Likewise.
66512         * include/sys/times.h: Likewise.
66513         * include/sys/uio.h: Likewise.
66514         * include/sys/utsname.h: Likewise.
66515         * include/sys/wait.h: Likewise.
66516         * include/termios.h: Likewise.
66517         * include/time.h: Likewise.
66518         * include/ulimit.h: Likewise.
66519         * include/unistd.h: Likewise.
66520         * include/utime.h: Likewise.
66521         * include/wchar.h: Likewise.
66522         * include/wctype.h: Likewise.
66523         * include/wordexp.h: Likewise.
66525         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66527         * time/time.h: TIME_UTC must be a macro.
66528         Make timespec_get available for ISO C11 only as well.
66530 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66532         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66533         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66535 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66537         * configure.in: Use -o not -a in test for unsupported multi-arch.
66539 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66541         * manual/texinfo.tex: Update to version 2012-01-19.16.
66543 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66545         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66547 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66549         [BZ #13738]
66550         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66551         * manual/fdl-1.3.texi: New file.
66552         * manual/fdl-1.1.texi: File removed.
66554         [BZ #13738]
66555         * manual/libc.texinfo (FDL_VERSION): New @set.
66556         Use it for mention of FDL in cover text.
66557         (Documentation License): Use it in @include file name.
66559 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66560             Roland McGrath  <roland@hack.frob.com>
66562         [BZ #5461]
66563         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66564         (not LONG_LONG_MAX and LONG_LONG_MIN.
66565         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66566         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66567         name.
66568         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66570 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66572         [BZ #2547]
66573         [BZ #11365]
66574         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66575         manipulate bits before adding and subtracting TWO23[sx].
66576         * math/libm-test.inc (nearbyint_test): Add more tests.
66578 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66580         [BZ #2548]
66581         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66582         bits before adding and subtracting TWO23[sx].
66583         * math/libm-test.inc (rint_test): Add more tests.
66584         (rint_test_tonearest): Likewise.
66585         (rint_test_towardzero): Likewise.
66586         (rint_test_downward): Likewise.
66587         (rint_test_upward: Likewise.
66589 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66591         [BZ #10110]
66592         * include/stdc-predef.h: New file.  Extracted from features.h.
66593         * include/features.h: Include stdc-predef.h.
66594         * Makefile (headers): Add stdc-predef.h.
66595         * CONFORMANCE (Compiler limitations): Update.
66597 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66599         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66601 2012-02-21  David S. Miller  <davem@davemloft.net>
66603         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66604         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66606 2012-02-20  David S. Miller  <davem@davemloft.net>
66608         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66609         using a normal save/restore sequence, rather than allocating a
66610         dummy stack frame just to store a frame pointer and restore.
66611         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66613 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66615         * manual/install.texi: Fix stray word in line-wrapped comment.
66617 2012-02-20  David S. Miller  <davem@davemloft.net>
66619         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66620         both binutils and gcc support GOTDATA.
66622         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66623         "rd %pc" in the PIC register setup sequences.
66625         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66626         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66627         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66628         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66629         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66630         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66631         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66632         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66634         (SYSCALL_ERROR_HANDLER): Likewise.
66635         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66636         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66637         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66638         (SYSCALL_ERROR_HANDLER): Likewise.
66640         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66641         (HAVE_GCC_GOTDATA): New.
66642         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66643         relocation support in both binutils and gcc.
66644         * sysdeps/sparc/elf/configure: Regenerate.
66646         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66647         * sysdeps/sparc/sparc32/elf/configure: Delete.
66648         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66649         * sysdeps/sparc/sparc64/elf/configure: Delete.
66650         * sysdeps/sparc/elf/configure.in: New file.
66651         * sysdeps/sparc/elf/configure: Generate.
66653         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66654         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66655         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66656         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66657         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66659 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66661         * manual/install.texi: Do not mention specific glibc version
66662         numbers.
66663         * manual/libc.texinfo (VERSION, UPDATED): Update.
66664         (@copying): Use @copyright{} and range of years.
66666 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66668         [BZ #13695]
66669         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66670         [crti.S not in sysdirs] (generated): Do not append.
66671         [crti.S not in sysdirs] (omit-deps): Likewise.
66672         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66673         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66674         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66675         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66676         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66677         Likewise.
66678         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66679         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66680         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66681         * csu/defs.awk: Remove file.
66682         * sysdeps/generic/initfini.c: Likewise.
66683         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66684         variable.
66685         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66686         Likewise.
66688 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66690         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66691         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66692         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66693         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66694         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66695         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66696         <bits/epoll.h>.
66697         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66698         (__EPOLL_PACKED): Define to empty if not defined by
66699         <bits/epoll.h>.
66700         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66701         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66702         bits/epoll.h.
66704 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66706         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66707         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66708         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66709         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66710         <bits/timerfd.h>.
66711         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66712         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66713         bits/timerfd.h.
66715 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66717         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66718         in C locale.
66719         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66720         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66721         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66724 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66726         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66727         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66729 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66731         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66732         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66733         defined.
66734         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66735         Likewise.
66736         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66737         entry for 2.16.
66739 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66741         * math/w_acos.c: Use non-signaling floating-point comparisons.
66742         * math/w_acosf.c: Likewise.
66743         * math/w_acosh.c: Likewise.
66744         * math/w_acoshf.c: Likewise.
66745         * math/w_acoshl.c: Likewise.
66746         * math/w_acosl.c: Likewise.
66747         * math/w_asin.c: Likewise.
66748         * math/w_asinf.c: Likewise.
66749         * math/w_asinl.c: Likewise.
66750         * math/w_atanh.c: Likewise.
66751         * math/w_atanhf.c: Likewise.
66752         * math/w_atanhl.c: Likewise.
66753         * math/w_exp2.c: Likewise.
66754         * math/w_exp2f.c: Likewise.
66755         * math/w_exp2l.c: Likewise.
66756         * math/w_j0.c: Likewise.
66757         * math/w_j0f.c: Likewise.
66758         * math/w_j0l.c: Likewise.
66759         * math/w_j1.c: Likewise.
66760         * math/w_j1f.c: Likewise.
66761         * math/w_j1l.c: Likewise.
66762         * math/w_jn.c: Likewise.
66763         * math/w_jnf.c: Likewise.
66764         * math/w_log.c: Likewise.
66765         * math/w_log10.c: Likewise.
66766         * math/w_log10f.c: Likewise.
66767         * math/w_log10l.c: Likewise.
66768         * math/w_log2.c: Likewise.
66769         * math/w_log2f.c: Likewise.
66770         * math/w_log2l.c: Likewise.
66771         * math/w_logf.c: Likewise.
66772         * math/w_logl.c: Likewise.
66773         * math/w_sqrt.c: Likewise.
66774         * math/w_sqrtf.c: Likewise.
66775         * math/w_sqrtl.c: Likewise.
66776         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66777         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66778         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66779         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66780         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66782 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66784         [BZ #9739]
66785         * manual/string.texi (strnlen): Use correct parameter name in
66786         equivalent expression.
66788 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66790         [BZ #11174]
66791         * manual/users.texi (seteuid): Consistently use neweuid for
66792         argument name.
66794 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66796         [BZ #13704]
66797         * manual/nss.texi (Services in the NSS configuration): Correct
66798         list of services in example configuration file.
66800 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66802         [BZ #11322]
66803         * manual/arith.texi: Remove statements about negative zero
66804         behaving identically to zero.
66806 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66808         [BZ #5993]
66809         * manual/install.texi: Do not document upgrading from libc5.
66811 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66813         [BZ #4596]
66814         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66816 2012-02-18  David S. Miller  <davem@davemloft.net>
66818         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66819         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66820         %o7 across the call.
66821         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66822         instead.
66823         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66824         SETUP_PIC_REG_LEAF.
66825         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66826         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66827         * sysdeps/sparc/crtn.S: Likewise.
66829 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66831         * aout/Makefile: Remove.
66833 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
66835         [BZ #13058]
66836         * manual/examples/argp-ex1.c (main): Format definition in GNU
66837         style.
66838         * manual/examples/argp-ex2.c (main): Likewise.
66839         * manual/examples/argp-ex3.c (main): Likewise.
66840         * manual/examples/argp-ex4.c (main): Likewise.
66841         * manual/examples/longopt.c (main): Use new-style prototype
66842         definition.
66843         * manual/examples/strncat.c (main): Specify return type and use
66844         (void) for arguments.
66845         * manual/examples/subopt.c (main): Use char **argv argument.
66847 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66849         [BZ #5077]
66850         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
66851         rounding modes.
66853 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
66855         [BZ #6907]
66856         * manual/string.texi (strchr): Change when strchrnul is
66857         recommended.
66859 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
66861         [BZ #174]
66862         * manual/locale.texi (setlocale): Document LOCPATH.
66864 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66866         [BZ #10210]
66867         * manual/process.texi (execle): Move @dots{} before last argument.
66869 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
66871         [BZ #12047]
66872         * manual/charset.texi (Generic Charset Conversion): Fix typo
66873         (LC_TYPE -> LC_CTYPE).
66875 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
66877         [BZ #5805]
66878         * manual/arith.texi (scalbn): Use @var{} on parameter names.
66879         (scalbnf): Likewise.
66880         (scalbnl): Likewise.
66881         (scalbln): Likewise.
66882         (scalblnf): Likewise.
66883         (scalblnl): Likewise.
66884         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
66885         (vwarnx): Likewise.
66886         (verr): Likewise.
66887         (verrx): Likewise.
66888         * manual/filesys.texi (telldir): Use braces around return type.
66889         * manual/llio.texi (mmap): Add space after comma.
66890         (mmap64): Likewise.
66891         * manual/math.texi (jn): Use @var{} on parameter names.
66892         (jnf): Likewise.
66893         (jnl): Likewise.
66894         (yn): Likewise.
66895         (ynf): Likewise.
66896         (ynl): Likewise.
66897         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
66898         line.
66899         * manual/resource.texi (ulimit): Use @dots{} instead of literal
66900         "...".
66901         (sched_get_priority_min): Remove semicolon on @deftypefun line.
66902         (sched_get_priority_max): Likewise.
66903         * manual/signal.texi (sigvec): Add space after comma.
66904         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
66905         names.
66906         (if_indextoname): Likewise.
66907         (if_freenameindex): Likewise.
66908         (sendto): Use ',' instead of '.' in prototype.
66909         * manual/startup.texi (syscall): Use @dots{} instead of literal
66910         "...".
66911         * manual/stdio.texi (__fpending): Separate initial words of
66912         paragraph from @deftypefun line.
66913         * manual/syslog.texi (syslog): Use @dots{} instead of literal
66914         "...".
66915         (vsyslog): Use @var{} on parameter names.
66916         * manual/terminal.texi (stty): Use @var{} on parameter names.
66917         * manual/users.texi (getutmp): Use @var{} on parameter names.
66918         (getutmpx): Likewise.
66920 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66922         [BZ #6884]
66923         * manual/stdio.texi (fopen): Fix typos in description of
66924         ",ccs=STRING".
66926 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
66928         [BZ #4026]
66929         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
66930         get clock_id definition.
66932 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
66934         [BZ #4822]
66935         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
66936         (madvise): Cast every argument to void on its own.
66938 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66940         [BZ #9902]
66941         * manual/startup.texi (Exit Status): Fix typo.
66943 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
66945         [BZ #10140]
66946         * manual/examples/argp-ex1.c: Include <stdlib.h>.
66947         * manual/examples/argp-ex2.c: Likewise.
66948         * manual/examples/argp-ex3.c: Likewise.
66950 2012-02-16  Richard Henderson  <rth@redhat.com>
66952         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
66953         * sysdeps/s390/s390-32/initfini.c: Remove.
66954         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
66955         * sysdeps/s390/s390-64/initfini.c: Remove.
66957 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66959         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
66960         compiler output for sysdeps/generic/initfini.c.
66961         * sysdeps/sh/elf/initfini.c: Remove file.
66963 2012-02-16  David S. Miller  <davem@davemloft.net>
66965         [BZ #11494]
66966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
66968         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
66969         * sysdeps/sparc/crti.S: New file.
66970         * sysdeps/sparc/crtn.S: New file.
66971         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
66972         * sysdeps/sparc/sparc64/Makefile: Likewise.
66974 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
66976         [BZ #3335]
66977         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
66979 2012-02-15  Roland McGrath  <roland@hack.frob.com>
66981         [BZ #4822]
66982         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
66984         * mach/devstream.c (cookie_io_functions_t): Macro removed.
66985         (write, read, close): Likewise.
66986         Patch by Aurelien Jarno <aurelien@aurel32.net>.
66988 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
66990         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
66991         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
66992         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
66993         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
66994         <bits/signalfd.h>.
66995         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
66996         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66997         bits/signalfd.h.
66999 2012-02-14  Marek Polacek  <polacek@redhat.com>
67001         * sysdeps/x86_64/crti.S: New file.
67002         * sysdeps/x86_64/crtn.S: New file.
67003         * sysdeps/x86_64/elf/initfini.c: Remove file.
67005 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67007         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67008         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67009         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67010         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67011         <bits/inotify.h>.
67012         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67014         bits/inotify.h.
67016 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67018         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67019         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67020         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67021         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67022         <bits/eventfd.h>.
67023         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67025         bits/eventfd.h.
67027 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67029         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67030         __feraiseexcept instead of feraiseexcept.
67032         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67033         nanosleep invocations.
67034         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67035         strings, and add error checking for a nanosleep invocations.
67037 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67039         Replace FSF snail mail address with URLs, as per GNU coding standards.
67040         Most of the snail mail addresses were wrong anyway, and omitting
67041         them makes the source code easier to maintain.  Almost all of the
67042         changes are to license notices and to locale LC_IDENTIFICATION
67043         addresses, except for this one:
67044         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67045         not its snail mail address.
67047 2012-02-09  Richard Henderson  <rth@twiddle.net>
67049         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67050         of kernel-features.h.
67052         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67054 2012-02-08  Marek Polacek  <polacek@redhat.com>
67056         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67057         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67058         * sysdeps/gnu/_G_config.h: Likewise.
67059         * sysdeps/generic/_G_config.h: Likewise.
67061 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67063         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67064         tests.
67065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67067         * sysdeps/powerpc/powerpc32/crti.S: New file.
67068         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67069         * sysdeps/powerpc/powerpc64/crti.S: New file.
67070         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67072         * Makeconfig (have-initfini): Don't set.
67073         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67074         * configure.in (nopic_initfini): Don't substitute.
67075         * config.h.in (HAVE_INITFINI): Don't #undef.
67076         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67077         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67079 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67081         Support crti.S and crtn.S provided directly by architectures.
67082         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67083         [crti.S in sysdirs] (omit-deps): Likewise.
67084         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67085         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67086         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67087         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67088         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67089         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67090         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67091         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67092         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67093         compiler output for sysdeps/generic/initfini.c.
67094         * sysdeps/i386/elf/Makefile: Remove file.
67095         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67097 2012-02-07  Marek Polacek  <polacek@redhat.com>
67099         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67100         * sysdeps/gnu/_G_config.h: Likewise.
67101         * sysdeps/mach/hurd/_G_config.h: Likewise.
67103 2012-02-07  Marek Polacek  <polacek@redhat.com>
67105         * math/Makefile (tests): Add tst-CMPLX2.
67106         * math/tst-CMPLX2.c: New file.
67108 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67110         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67112         * math/libm-test.inc (jn_test): Add missing L suffix.
67114 2012-02-06  Marek Polacek  <polacek@redhat.com>
67116         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67117         * sysdeps/i386/fpu/e_powf.S: Likewise.
67118         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67119         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67120         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67121         * sysdeps/i386/fpu/e_pow.S: Likewise.
67122         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67123         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67124         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67125         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67126         * sysdeps/i386/fpu/e_log2.S: Likewise.
67127         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67128         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67129         * sysdeps/i386/fpu/e_powl.S: Likewise.
67130         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67131         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67132         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67133         * sysdeps/i386/fpu/e_logl.S: Likewise.
67134         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67135         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67136         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67137         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67138         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67139         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67140         * sysdeps/i386/fpu/e_log.S: Likewise.
67141         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67142         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67143         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67144         * sysdeps/i386/fpu/e_logf.S: Likewise.
67145         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67146         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67147         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67148         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67149         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67150         * sysdeps/i386/fpu/e_log10.S: Likewise.
67151         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67152         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67153         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67154         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67155         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67156         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67157         * sysdeps/i386/asm-syntax.h: Likewise.
67158         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67159         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67160         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67161         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67162         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67163         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67164         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67165         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67166         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67167         * sysdeps/powerpc/sysdep.h: Likewise.
67168         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67169         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67171 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67173         [BZ #411]
67174         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67176 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67178         * sysdeps/i386/sysdep.h: Include <features.h>.
67179         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67180         version.
67182 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67184         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67185         Define.
67186         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67187         LOAD_PIC_REG_STR.
67189 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67191         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67192         (SETUP_PIC_REG): Use GET_PC_THUNK.
67193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67194         macro.
67196 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67198         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67199         for non-PIC compilation.
67200         (SETUP_PIC_REG): Add .p2align directive.
67201         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67202         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67203         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67204         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67205         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67206         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67207         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67208         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67209         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67210         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67211         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67212         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67213         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67214         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67215         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67216         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67217         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67218         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67219         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67220         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67221         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67222         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67223         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67224         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67225         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67227         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67228         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67229         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67230         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67231         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67232         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67233         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67234         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67235         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67236         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67237         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67238         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67239         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67240         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67241         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67243 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67245         * math/tst-CMPLX.c: Include <stdio.h>.
67247 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67249         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67250         float.
67251         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67252         * sysdeps/sparc/bits/mathdef.h: Likewise.
67254 2012-01-31  Marek Polacek  <polacek@redhat.com>
67256         * libio/libio.h: Don't define _PARAMS.
67257         * locale/programs/config.h: Don't define PARAMS.
67258         * stdlib/strtol_l.c: Likewise.
67259         (__strtol_l): Remove PARAMS from the prototype.
67261 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67263         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67264         names.  Just use the correct names.  Remove unnecessary wrapper
67265         functions.
67266         * malloc/arena.c: Likewise.
67267         * malloc/hooks.c: Likewise.
67269         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67270         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67271         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67273 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67275         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67276         into tail calls.
67277         (update_get_addr): New function.
67278         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67279         GET_ADDR_MODULE parameter.
67281 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67283         * crypt/cert.c: Remove __STDC__ conditionals.
67284         * crypt/crypt-entry.c: Likewise.
67285         * crypt/crypt_util.c: Likewise.
67286         * libio/filedoalloc.c: Likewise.
67287         * libio/fileops.c: Likewise.
67288         * libio/genops.c: Likewise.
67289         * libio/iofclose.c: Likewise.
67290         * libio/iofdopen.c: Likewise.
67291         * libio/iofopen.c: Likewise.
67292         * libio/iofopen64.c: Likewise.
67293         * libio/iogetdelim.c: Likewise.
67294         * libio/iopopen.c: Likewise.
67295         * libio/obprintf.c: Likewise.
67296         * libio/oldfileops.c: Likewise.
67297         * libio/oldiofclose.c: Likewise.
67298         * libio/oldiofdopen.c: Likewise.
67299         * libio/oldiofopen.c: Likewise.
67300         * libio/oldiopopen.c: Likewise.
67301         * libio/wfiledoalloc.c: Likewise.
67302         * libio/wgenops.c: Likewise.
67303         * locale/programs/xmalloc.c: Likewise.
67304         * misc/syslog.c: Likewise.
67305         * stdio-common/xbug.c: Likewise.
67306         * string/memchr.c: Likewise.
67307         * string/memcmp.c: Likewise.
67308         * string/memrchr.c: Likewise.
67309         * string/rawmemchr.c: Likewise.
67310         * sysdeps/posix/getcwd.c: Likewise.
67311         * time/strftime_l.c: Likewise.
67313 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67315         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67316         * config.make.in (config-cflags-sse2avx): Define.
67317         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67318         Fix typo.
67320 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67322         * scripts/config.guess: Update from upstream config git repository.
67323         * scripts/config.sub: Likewise.
67325 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67327         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67328         (EM_NUM): Update.
67329         (R_TILEPRO_*, R_TILEGX_*): New macros.
67331         * scripts/firstversions.awk: Fix bug in version range handling.
67333         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67335         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67337         * include/sys/epoll.h: New file.
67338         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67339         libc_hidden_def.
67341 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67343         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67344         Avoid unnecessary __WORDSIZE == 64 test.
67345         (fmaxf): Use VEX format if possible.
67346         (fmax): Likewise.
67347         (fminf): Likewise.
67348         (fmin): Likewise.
67350         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67351         * math/math_private.h: Remove libc_fegetround* and
67352         libc_fesetround*.
67353         * sysdeps/i386/configure.in: Check for -msse2avx.
67354         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67355         also if SSE2AVX is defined.
67356         Remove libc_fegetround* and libc_fesetround*.
67357         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67358         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67359         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67360         of HAS_YMM_USABLE.
67361         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67362         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67363         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67364         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67365         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67367         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67369 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67371         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67372         size is not set.
67373         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67375 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67377         [BZ #13618]
67378         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67379         relocation.
67380         * Makeconfig (libm): Define.
67381         * elf/Makefile: Add rules to build and run tst-relsort1.
67382         * elf/tst-relsort1.c: New file.
67383         * elf/tst-relsort1mod1.c: New file.
67384         * elf/tst-relsort1mod2.c: New file.
67386 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67388         * math/s_ldexp.c: Remove __STDC__ conditionals.
67389         * math/s_ldexpf.c: Likewise.
67390         * math/s_ldexpl.c: Likewise.
67391         * math/s_nextafter.c: Likewise.
67392         * math/s_nexttowardf.c: Likewise.
67393         * math/s_significand.c: Likewise.
67394         * math/s_significandf.c: Likewise.
67395         * math/s_significandl.c: Likewise.
67396         * math/w_jnl.c: Likewise.
67397         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67398         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67399         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67400         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67401         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67402         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67403         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67404         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67405         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67406         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67407         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67408         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67409         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67410         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67411         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67412         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67413         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67414         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67416         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67417         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67418         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67419         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67420         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67421         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67422         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67423         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67424         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67425         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67426         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67427         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67428         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67429         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67430         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67431         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67432         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67433         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67434         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67435         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67436         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67437         * sysdeps/ieee754/k_standard.c: Likewise.
67438         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67440         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67441         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67442         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67443         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67444         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67445         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67446         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67447         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67448         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67449         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67450         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67451         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67452         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67453         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67454         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67455         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67456         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67457         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67458         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67459         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67460         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67461         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67462         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67463         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67464         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67465         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67466         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67467         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67468         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67469         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67470         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67471         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67472         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67473         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67474         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67475         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67476         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67477         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67478         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67479         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67480         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67481         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67482         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67483         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67484         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67485         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67486         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67487         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67488         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67489         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67490         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67491         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67492         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67493         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67494         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67495         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67496         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67497         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67498         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67499         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67500         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67501         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67502         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67503         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67504         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67505         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67506         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67507         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67508         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67509         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67510         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67511         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67512         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67513         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67514         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67515         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67516         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67517         * sysdeps/ieee754/s_matherr.c: Likewise.
67518         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67519         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67520         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67521         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67523 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67525         * crypt/md5.h: Remove __STDC__ conditionals.
67526         * libio/libioP.h: Likewise.
67527         * locale/programs/config.h: Likewise.
67528         * sysdeps/generic/sysdep.h: Likewise.
67529         * sysdeps/i386/asm-syntax.h: Likewise.
67530         * sysdeps/s390/asm-syntax.h: Likewise.
67531         * sysdeps/unix/sysdep.h: Likewise.
67532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67535 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67537         * libio/libio.h: Remove __STDC__ conditionals.
67538         * malloc/obstack.h: Likewise.
67539         * math/complex.h: Likewise.
67540         * math/math.h: Likewise.
67541         * sysdeps/generic/_G_config.h: Likewise.
67542         * sysdeps/gnu/_G_config.h: Likewise.
67543         * sysdeps/mach/hurd/_G_config.h: Likewise.
67544         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67545         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67546         * sysdeps/sparc/bits/mathdef.h: Likewise.
67548 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67550         [BZ #13583]
67551         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67552         Clean up HAS_* macros.
67553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67554         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67555         possible.
67556         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67557         HAS_AVX.
67558         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67559         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67560         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67561         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67562         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67564 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67566         * elf/tst-unique3.cc (gets): Remove declaration.
67567         * elf/tst-unique3lib.cc (gets): Likewise.
67568         * elf/tst-unique3lib2.cc (gets): Likewise.
67569         * elf/tst-unique4.cc (gets): Likewise.
67571 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67573         * include/stdio.h: Add C++ protection.  Add gets declarations and
67574         definitions.
67575         * debug/tst-chk1.c: Don't declare gets here.
67576         * stdio-common/tst-gets.c: Likewise.
67578 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67580         * posix/glob: Remove directory.
67582 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67584         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67586 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67588         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67589         of the non-standard EPFNOSUPPORT.
67591 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67593         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67594         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67595         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67597 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67599         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67601 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67603         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67604         transient errors.
67605         * nscd/grpcache.c (cache_addgr): Likewise.
67606         * nscd/hstcache.c (cache_addhst): Likewise.
67607         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67608         * nscd/pwdcache.c (cache_addpw): Likewise.
67609         * nscd/servicescache.c (cache_addserv): Likewise.
67611 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67613         * malloc/malloc.c: Various cleanups.
67614         * malloc/hooks.c: Likewise.
67616         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67617         * stdlib/bug-fmtmsg1.c: New file.
67619         * stdlib/fmtmsg.c (init): Add missing unlock.
67620         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67622 2012-01-12  Marek Polacek  <polacek@redhat.com>
67624         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67625         and _GNU_SOURCE.
67627 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67629         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67630         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67631         macro to ensure uniqueness of label name.
67632         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67633         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67635 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67637         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67639         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67640         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67641         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67642         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67644 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67646         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67648         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67649         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67650         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67652         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67654         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67655         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67656         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67657         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67659         * math/bits/math-finite.h: Add ldexp support.
67661 2012-01-10  Marek Polacek  <polacek@redhat.com>
67663         * locale/programs/localedef.h (show_archive_content): Add noreturn
67664         attribute.
67666 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67668         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67670 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67672         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67674         * io/Makefile (headers): Add bits/poll2.h.
67676 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67679         typo #include statement.
67681 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67683         * include/sys/cdefs.h: Define __attribute_alloc_size.
67684         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67685         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67686         * elf/pldd.c: Likewise.
67687         * iconv/iconv_charmap.c: Likewise.
67688         * iconv/iconvconfig.c: Likewise.
67689         * iconv/strtab.c: Likewise.
67690         * locale/programs/locale.c: Likewise.
67691         * locale/programs/localedef.h: Likewise.
67692         * locale/programs/simple-hash.c: Likewise.
67693         * nscd/nscd.h: Likewise.
67694         * nss/makedb.c: Likewise.
67695         * sysdeps/generic/ldconfig.h: Likewise.
67696         * locale/programs/localedef.c: Remove xmalloc prototype.
67697         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67699 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67701         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67702         appropriate.
67704 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67706         * math/Makefile (tests): Add tst-CMPLX.
67707         * math/tst-CMPLX.c: New file.
67709         * math/complex.h (CMPLXL): Fix typo.
67711         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67712         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67713         GLIBC_2.16.
67714         * debug/tst-chk1.c: Add poll and ppoll tests.
67715         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67716         * include/sys/poll.h: Add hidden proto for ppoll.
67717         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67718         * sysdeps/mach/hurd/ppoll.c: Likewise.
67719         * io/ppoll.c: Likewise.
67720         * debug/poll_chk.c: New file.
67721         * debug/ppoll_chk.c: New file.
67722         * include/bits/poll2.h: New file.
67723         * io/bits/poll2.h: New file.
67725         [BZ #1350]
67726         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67728         * configure.in: static is always set to yes.  Remove.
67729         * config.make.in: Don't set build-static.
67730         * Makeconfig: Remove use of build-static.
67731         * dlfcn/Makefile: Likewise.
67732         * elf/Makefile: Likewise.
67733         * math/Makefile: Likewise.
67734         * misc/Makefile: Likewise.
67735         * nptl/Makefile: Likewise.
67736         * sysdeps/mach/hurd/Makefile: Likewise.
67738         * configure.in: PWD_P is not used anymore.
67739         * config.make.in: Remove PWD_P entry.
67741         * configure.in: Remove last remnants of RANLIB.
67742         No need to check for signed size_t anymore.
67743         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67744         and IA-64.
67745         Remove __builtin_expect test because we require at least gcc 3.4.
67746         * aclocal.m4: Likewise.
67748         * wcsmbs/mbrtoc16.c: Implement using towc function.
67749         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67750         * wcsmbs/wcsmbsload.c: Likewise.
67751         * iconv/gconv_simple.c: Likewise.
67752         * iconv/gconv_int.h: Likewise.
67753         * iconv/gconv_builtin.h: Likewise.
67754         * iconv/iconv_prog.c: Remove CHAR16 handling.
67756         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67758         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67760         * configure.in: Remove --with-elf and --enable-bounded options.
67761         Dont set base_machine for ia64.  More non-ELF conditions removed.
67762         Remove testing and setting of leading underscore information.
67763         * config.make.in (build-bounded): Set to no.
67764         * config.h.in: Remove NO_UNDERSCORES entry.
67765         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67766         them.
67767         * csu/start.c: Remove !NO_UNDERSCORE code.
67768         * locale/localeinfo.h: Likewise.
67769         * sysdeps/generic/machine-gmon.h: Likewise.
67770         * sysdeps/generic/sysdep.h: Likewise.
67771         * sysdeps/i386/sysdep.h: Likewise.
67772         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67773         * sysdeps/mach/sysdep.h: Likewise.
67774         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67775         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67776         * sysdeps/sh/sysdep.h: Likewise.
67777         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67778         * sysdeps/unix/i386/sysdep.S: Likewise.
67779         * sysdeps/unix/sparc/start.c: Likewise.
67780         * sysdeps/unix/sparc/sysdep.S: Likewise.
67781         * sysdeps/unix/sparc/sysdep.h: Likewise.
67782         * sysdeps/unix/start.c: Likewise.
67783         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67784         * sysdeps/x86_64/sysdep.h: Likewise.
67786 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67788         [BZ #13553]
67789         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67790         for non-gcc.
67791         * argp/argp-fmtstream.h: Use const instead __const.
67792         * argp/argp.h: Likewise.
67793         * assert/assert.h: Likewise.
67794         * bits/fenv.h: Likewise.
67795         * bits/sched.h: Likewise.
67796         * bits/sigset.h: Likewise.
67797         * bits/sigthread.h: Likewise.
67798         * catgets/nl_types.h: Likewise.
67799         * conform/data/pthread.h-data: Likewise.
67800         * crypt/crypt-private.h: Likewise.
67801         * crypt/crypt.h: Likewise.
67802         * crypt/crypt_util.c: Likewise.
67803         * ctype/ctype.h: Likewise.
67804         * debug/execinfo.h: Likewise.
67805         * debug/mbsnrtowcs_chk.c: Likewise.
67806         * debug/mbsrtowcs_chk.c: Likewise.
67807         * debug/wcsnrtombs_chk.c: Likewise.
67808         * debug/wcsrtombs_chk.c: Likewise.
67809         * debug/wcstombs_chk.c: Likewise.
67810         * dirent/dirent.h: Likewise.
67811         * dlfcn/dlfcn.h: Likewise.
67812         * elf/neededtest4.c: Likewise.
67813         * grp/grp.h: Likewise.
67814         * gshadow/gshadow.h: Likewise.
67815         * iconv/gconv.h: Likewise.
67816         * iconv/gconv_int.h: Likewise.
67817         * iconv/gconv_simple.c: Likewise.
67818         * iconv/iconv.h: Likewise.
67819         * iconv/loop.c: Likewise.
67820         * iconv/skeleton.c: Likewise.
67821         * include/aio.h: Likewise.
67822         * include/aliases.h: Likewise.
67823         * include/argz.h: Likewise.
67824         * include/arpa/inet.h: Likewise.
67825         * include/assert.h: Likewise.
67826         * include/dirent.h: Likewise.
67827         * include/dlfcn.h: Likewise.
67828         * include/execinfo.h: Likewise.
67829         * include/fcntl.h: Likewise.
67830         * include/fenv.h: Likewise.
67831         * include/glob.h: Likewise.
67832         * include/grp.h: Likewise.
67833         * include/libintl.h: Likewise.
67834         * include/mntent.h: Likewise.
67835         * include/netdb.h: Likewise.
67836         * include/pwd.h: Likewise.
67837         * include/rpc/netdb.h: Likewise.
67838         * include/sched.h: Likewise.
67839         * include/search.h: Likewise.
67840         * include/shadow.h: Likewise.
67841         * include/signal.h: Likewise.
67842         * include/stdio.h: Likewise.
67843         * include/stdlib.h: Likewise.
67844         * include/string.h: Likewise.
67845         * include/sys/socket.h: Likewise.
67846         * include/sys/stat.h: Likewise.
67847         * include/sys/statfs.h: Likewise.
67848         * include/sys/statvfs.h: Likewise.
67849         * include/sys/syslog.h: Likewise.
67850         * include/sys/time.h: Likewise.
67851         * include/sys/uio.h: Likewise.
67852         * include/time.h: Likewise.
67853         * include/unistd.h: Likewise.
67854         * include/utmp.h: Likewise.
67855         * include/wchar.h: Likewise.
67856         * include/wctype.h: Likewise.
67857         * inet/aliases.h: Likewise.
67858         * inet/arpa/inet.h: Likewise.
67859         * inet/netinet/ether.h: Likewise.
67860         * inet/netinet/in.h: Likewise.
67861         * intl/libintl.h: Likewise.
67862         * io/bits/fcntl2.h: Likewise.
67863         * io/fcntl.h: Likewise.
67864         * io/ftw.h: Likewise.
67865         * io/sys/poll.h: Likewise.
67866         * io/sys/stat.h: Likewise.
67867         * io/sys/statfs.h: Likewise.
67868         * io/sys/statvfs.h: Likewise.
67869         * io/utime.h: Likewise.
67870         * libio/bits/stdio.h: Likewise.
67871         * libio/bits/stdio2.h: Likewise.
67872         * libio/libio.h: Likewise.
67873         * libio/libioP.h: Likewise.
67874         * libio/stdio.h: Likewise.
67875         * locale/lc-ctype.c: Likewise.
67876         * locale/locale.h: Likewise.
67877         * login/utmp.h: Likewise.
67878         * malloc/arena.c: Likewise.
67879         * malloc/malloc.c: Likewise.
67880         * malloc/malloc.h: Likewise.
67881         * malloc/mcheck.c: Likewise.
67882         * malloc/mtrace.c: Likewise.
67883         * math/bits/mathcalls.h: Likewise.
67884         * math/fenv.h: Likewise.
67885         * math/math_private.h: Likewise.
67886         * misc/bits/error.h: Likewise.
67887         * misc/bits/syslog.h: Likewise.
67888         * misc/err.h: Likewise.
67889         * misc/error.h: Likewise.
67890         * misc/fstab.h: Likewise.
67891         * misc/mntent.h: Likewise.
67892         * misc/regexp.h: Likewise.
67893         * misc/search.h: Likewise.
67894         * misc/sgtty.h: Likewise.
67895         * misc/sys/mman.h: Likewise.
67896         * misc/sys/syslog.h: Likewise.
67897         * misc/sys/uio.h: Likewise.
67898         * misc/sys/xattr.h: Likewise.
67899         * misc/ttyent.h: Likewise.
67900         * nis/rpcsvc/ypclnt.h: Likewise.
67901         * nss/nss.h: Likewise.
67902         * posix/bits/unistd.h: Likewise.
67903         * posix/fnmatch.h: Likewise.
67904         * posix/glob.h: Likewise.
67905         * posix/sched.h: Likewise.
67906         * posix/spawn.h: Likewise.
67907         * posix/sys/wait.h: Likewise.
67908         * posix/unistd.h: Likewise.
67909         * posix/wordexp.h: Likewise.
67910         * pwd/pwd.h: Likewise.
67911         * resolv/netdb.h: Likewise.
67912         * resource/sys/resource.h: Likewise.
67913         * rt/aio.h: Likewise.
67914         * rt/bits/mqueue2.h: Likewise.
67915         * rt/mqueue.h: Likewise.
67916         * shadow/shadow.h: Likewise.
67917         * signal/signal.h: Likewise.
67918         * socket/send.c: Likewise.
67919         * socket/sendto.c: Likewise.
67920         * socket/sys/socket.h: Likewise.
67921         * stdio-common/printf.h: Likewise.
67922         * stdlib/bits/stdlib.h: Likewise.
67923         * stdlib/fmtmsg.h: Likewise.
67924         * stdlib/monetary.h: Likewise.
67925         * stdlib/stdlib.h: Likewise.
67926         * stdlib/ucontext.h: Likewise.
67927         * streams/stropts.h: Likewise.
67928         * string/argz.h: Likewise.
67929         * string/bits/string2.h: Likewise.
67930         * string/string.h: Likewise.
67931         * string/strings.h: Likewise.
67932         * sunrpc/rpc/auth.h: Likewise.
67933         * sunrpc/rpc/auth_des.h: Likewise.
67934         * sunrpc/rpc/clnt.h: Likewise.
67935         * sunrpc/rpc/netdb.h: Likewise.
67936         * sunrpc/rpc/pmap_clnt.h: Likewise.
67937         * sunrpc/rpc/xdr.h: Likewise.
67938         * sysdeps/generic/inttypes.h: Likewise.
67939         * sysdeps/generic/net/if.h: Likewise.
67940         * sysdeps/generic/sys/swap.h: Likewise.
67941         * sysdeps/gnu/net/if.h: Likewise.
67942         * sysdeps/gnu/utmpx.h: Likewise.
67943         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
67944         * sysdeps/i386/i486/bits/string.h: Likewise.
67945         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
67946         * sysdeps/s390/bits/string.h: Likewise.
67947         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
67948         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
67949         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
67950         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
67951         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
67952         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
67953         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
67954         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
67955         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
67956         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
67957         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
67958         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67959         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
67960         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67961         * sysdeps/unix/sysv/linux/readv.c: Likewise.
67962         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
67963         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
67964         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67965         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
67966         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
67967         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
67968         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
67969         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
67970         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
67971         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
67972         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
67973         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
67974         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67975         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
67976         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
67977         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
67978         * sysvipc/sys/ipc.h: Likewise.
67979         * sysvipc/sys/msg.h: Likewise.
67980         * sysvipc/sys/sem.h: Likewise.
67981         * sysvipc/sys/shm.h: Likewise.
67982         * termios/termios.h: Likewise.
67983         * time/sys/time.h: Likewise.
67984         * time/time.h: Likewise.
67985         * wcsmbs/bits/wchar2.h: Likewise.
67986         * wcsmbs/uchar.h: Likewise.
67987         * wcsmbs/wchar.h: Likewise.
67988         * wctype/wctype.h: Likewise.
67990         [BZ #13551]
67991         * Makeconfig: Remove all but ELF support including AIX support.
67992         * Makerules: Likewise.
67993         * config.h.in: Likewise.
67994         * config.make.in: Likewise.
67995         * configure: Likewise.
67996         * configure.in: Likewise.
67997         * csu/Makefile: Likewise.
67998         * csu/version.c: Likewise.
67999         * debug/Makefile: Likewise.
68000         * dlfcn/Makefile: Likewise.
68001         * elf/Makefile: Likewise.
68002         * extra-lib.mk: Likewise.
68003         * iconv/Makefile: Likewise.
68004         * include/libc-symbols.h: Likewise.
68005         * include/shlib-compat.h: Likewise.
68006         * resolv/Makefile: Likewise.
68007         * resolv/res_libc.c: Likewise.
68008         * rt/Makefile: Likewise.
68009         * sysdeps/i386/asm-syntax.h: Likewise.
68010         * sysdeps/i386/sysdep.h: Likewise.
68011         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68012         * sysdeps/mach/sysdep.h: Likewise.
68013         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68014         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68015         * sysdeps/s390/asm-syntax.h: Likewise.
68016         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68017         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68018         * sysdeps/sh/sysdep.h: Likewise.
68019         * sysdeps/unix/sparc/sysdep.h: Likewise.
68020         * sysdeps/wordsize-32/divdi3.c: Likewise.
68021         * sysdeps/x86_64/sysdep.h: Likewise.
68023         * argp/Versions: Remove _argp_unlock_xxx.
68025         [BZ #13559]
68026         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68027         * abilist/libBrokenLocale.abilist: Likewise.
68028         * abilist/libanl.abilist: Likewise.
68029         * abilist/libc.abilist: Likewise.
68030         * abilist/libcrypt.abilist: Likewise.
68031         * abilist/libdl.abilist: Likewise.
68032         * abilist/libm.abilist: Likewise.
68033         * abilist/libnsl.abilist: Likewise.
68034         * abilist/libpthread.abilist: Likewise.
68035         * abilist/libresolv.abilist: Likewise.
68036         * abilist/librt.abilist: Likewise.
68037         * abilist/libthread_db.abilist: Likewise.
68038         * abilist/libutil.abilist: Likewise.
68039         * abilist/libnss_db.abilist: New file.
68041         * scripts/abilist.awk: Add support for indirect functions.
68043         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68045         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68047         * shlib-versions: Remove entries for ports architectures.
68049         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68050         files in ports.
68051         * elf/stackguard-macros.h: Remove support for IA-64.
68052         * elf/tst-auditmod1.c: Likewise.
68053         * sysdeps/generic/ldsodefs.h: Likewise.
68055         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68056         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68057         configure files.
68059         [BZ #13552]
68060         * configure.in: Remove --enable-omitfp support.
68061         * FAQ.in: Adjust.
68062         * config.make.in: Likewise.
68063         * Makeconfig: Likewise.
68064         * manual/install.texi: Likewise.
68066         In case anyone cares, the IA-64 architecture could move to ports.
68067         * sysdeps/ia64/*: Removed.
68068         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68069         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68071         [BZ #13555]
68072         * configure.in: Remove entries for unsupported architectures.
68074         [BZ #13533]
68075         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68076         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68077         routines.
68078         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68079         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68080         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68081         fall back to using wcrtomb.
68082         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68083         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68084         renaming.
68085         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68086         * wcsmbs/tst-c16c32-1.c: New file.
68088         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68089         local variable.
68091         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68093         * elf/tst-unique3.cc: Add explicit declaration of gets.
68094         * elf/tst-unique3lib.cc: Likewise.
68095         * elf/tst-unique3lib2.cc: Likewise.
68096         * elf/tst-unique4.cc: Likewise.
68098         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68100 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68102         [BZ #13566]
68103         * assert/assert.h (static_assert): Don't define for C++.
68104         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68105         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68107 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68109         * iconv/loop.c (single loop): Fix assertion in storing of
68110         remaining bytes.
68112         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68114 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68116         * posix/getconf.c: Update copyright year.
68117         * nss/getent.c: Likewise.
68118         * nss/makedb.c: Likewise.
68119         * iconv/iconvconfig.c: Likewise.
68120         * iconv/iconv_prog.c: Likewise.
68121         * elf/ldconfig.c: Likewise.
68122         * elf/pldd.c: Likewise.
68123         * elf/sotruss.ksh: Likewise.
68124         * catgets/gencat.c: Likewise.
68125         * csu/version.c: Likewise.
68126         * elf/ldd.bash.in: Likewise.
68127         * elf/sprof.c (print_version): Likewise.
68128         * locale/programs/locale.c: Likewise.
68129         * locale/programs/localedef.c: Likewise.
68130         * login/programs/pt_chown.c: Likewise.
68131         * nscd/nscd.c (print_version): Likewise.
68132         * debug/xtrace.sh: Likewise.
68133         * malloc/memusage.sh: Likewise.
68134         * malloc/mtrace.pl: Likewise.
68135         * debug/catchsegv.sh: Likewise.
68137 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68139         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68140         pure attribute.
68142 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68144         [BZ #13533]
68145         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68146         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68147         transformations.
68148         * iconv/gconv_int.h: Likewise.
68149         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68150         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68151         from libc for GLIBC_2.16.
68152         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68153         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68154         * wcsmbs/uchar.h: Really define mbstate_t.
68155         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68156         * wcsmbs/c16rtomb.c: New file.
68157         * wcsmbs/mbrtoc16.c: New file.
68158         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68159         for C/POSIX locale.
68160         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68161         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68163         * wcsmbs/wchar.h: Add missing __restrict.
68165 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68167         [BZ #13532]
68168         * time/Makefile (routines): Add timespec_get.
68169         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68170         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68171         timespec for ISO C11.
68172         * time/timespec_get.c: New file.
68173         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68174         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68176         [BZ #13531]
68177         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68178         * stdlib/stdlib.h: Declare aligned_alloc.
68179         * Versions.def: Add GLIBC_2.16 for libc.
68180         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68182         [BZ 13527]
68183         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68184         ISO C11.
68186         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68187         code.
68189         [BZ #13528]
68190         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68192         [BZ #13529]
68193         * assert/assert.h (static_assert): Define.
68195         * version.h: Update for 2.16 development version.
68197         [BZ #13526]
68198         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68199         _ISOC11_SOURCE.
68201         * version.h (RELEASE): Bump for 2.15 release.
68202         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68204         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68205         Patch by Marek Polacek <mpolacek@redhat.com>.
68207         * bits/byteswap.h: Protect long long constants with __extension__.
68208         * sysdeps/i386/bits/byteswap.h: Likewise.
68209         * sysdeps/ia64/bits/byteswap.h: Likewise.
68210         * sysdeps/s390/bits/byteswap.h: Likewise.
68211         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68213 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68215         [BZ #13540]
68216         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68217         destination buffer.
68218         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68220 2011-12-23  Marek Polacek  <polacek@redhat.com>
68222         * elf/dl-addr.c (determine_info): Add inline keyword.
68223         * elf/tst-auditmod4b.c (check_avx): Likewise.
68224         * elf/tst-auditmod6b.c (check_avx): Likewise.
68225         * elf/tst-auditmod6c.c (check_avx): Likewise.
68226         * elf/tst-auditmod7b.c (check_avx): Likewise.
68228 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68230         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68231         !__SSE_MATH__.
68233 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68235         [BZ #13540]
68236         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68237         processing for last bytes.
68239 2011-08-06  Bruno Haible  <bruno@clisp.org>
68241         [BZ #13061]
68242         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68243         U+0385, not to U+1FEE.
68245         [BZ #13062]
68246         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68247         entry for U+00A5 U+0301.
68249 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68251         [BZ #13166]
68252         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68253         buffer for the output is too small.
68255         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68256         optimization.
68258         [BZ #13185]
68259         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68260         SSE flags if possible.
68262 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68264         [BZ #13540]
68265         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68266         processing for last bytes.
68268 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68270         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68271         (syscall-list-default-options, syscall-list-default-condition)
68272         (syscall-list-includes): Define.
68273         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68274         list of ABIs and options and #if conditions for each ABI.  Do not
68275         handle common syscalls between ABIs specially.
68276         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68277         Remove.
68278         (syscall-list-variants, syscall-list-32bit-options)
68279         (syscall-list-32bit-condition, syscall-list-64bit-options)
68280         (syscall-list-64bit-condition): Define.
68281         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68282         (syscall-list-variants, syscall-list-32bit-options)
68283         (syscall-list-32bit-condition, syscall-list-64bit-options)
68284         (syscall-list-64bit-condition): Define.
68285         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68286         Remove.
68287         (syscall-list-variants, syscall-list-32bit-options)
68288         (syscall-list-32bit-condition, syscall-list-64bit-options)
68289         (syscall-list-64bit-condition): Define.
68290         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68291         Remove.
68292         (syscall-list-variants, syscall-list-32bit-options)
68293         (syscall-list-32bit-condition, syscall-list-64bit-options)
68294         (syscall-list-64bit-condition): Define.
68296 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68298         * locale/iso-639.def: Add brx entry.
68300         [BZ #13328]
68301         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68302         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68304         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68305         __feraiseexcept_renamed.
68307 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68309         [BZ #13538]
68310         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68311         EPOLLET with unsigned values.
68312         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68313         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68315         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68316         to large cancellation.
68317         * math/s_cacoshf.c: Likewise.
68318         * math/s_cacoshl.c: Likewise.
68320 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68322         [BZ #13305]
68323         [BZ #12786]
68324         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68325         * math/s_cacoshf.c: Likewise.
68326         * math/s_cacoshl.c: Likewise.
68328 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68330         [BZ #13439]
68331         * iconv/gconv.h: Define __GCONV_SWAP.
68332         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68333         * iconvdata/utf-16.c: Likewise.
68334         * iconvdata/utf-32.c: Likewise.
68336 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68338         [BZ #13524]
68339         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68340         numerator after shifting it by one limb.
68342 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68344         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68345         under [__USE_EXTERN_INLINES].
68347 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68349         [BZ #13446]
68350         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68352 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68354         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68355         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68356         optimized code.
68357         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68358         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68359         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68360         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68361         for strncasecmp/strncasecmp_l compilation.
68362         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68363         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68365 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68367         [BZ #13484]
68368         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68369         of __asm__.
68371 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68373         [BZ #13506]
68374         * time/tzfile.c (__tzfile_read): Check values from file header.
68376 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68378         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68379         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68380         * powerpc/powerpc32/dl-start.S: Likewise.
68381         * powerpc/powerpc32/elf/start.S: Likewise.
68382         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68383         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68384         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68385         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68386         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68387         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68388         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68389         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68390         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68391         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68392         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68393         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68394         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68395         * powerpc/powerpc32/memset.S: Likewise.
68396         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68397         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68398         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68399         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68400         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68401         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68402         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68403         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68404         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68405         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68406         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68407         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68408         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68410 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68412         * math/libm-test.inc: Added more nearbyint tests.
68413         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68414         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68415         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68416         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68418 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68420         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68421         FD_CLOEXEC.
68423 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68425         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68426         Add wcscpy-ssse3 wcscpy-c.
68427         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68428         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68429         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68430         * sysdeps/x86_64/wcschr.S: New file.
68431         * sysdeps/x86_64/wcsrchr.S: New file.
68432         * string/test-strcmp.c: Remove checking of wcscmp function for
68433         wrong alignments.
68434         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68435         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68436         wcsrchr-sse2 wcsrchr-c.
68437         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68438         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68439         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68440         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68441         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68442         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68443         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68444         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68445         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68446         * wcsmbc/wcschr.c (WCSCHR): New macro.
68448 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68450         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68451         * wcsmbs/test-wcsrchr.c: New file.
68452         * string/test-strrchr.c: Add wcsrchr support.
68453         (WIDE): New macro.
68454         * wcsmbs/test-wcscpy.c: New file.
68455         * string/test-strcpy.c: Add wcscpy support.
68456         (WIDE): New macro.
68458 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68460         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68461         the inner loop.
68463 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68465         [BZ #13472]
68466         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68468 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68470         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68471         Minor optimizations.
68473         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68474         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68475         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68477 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68479         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68480         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68481         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68482         for gcc to avoid warnings.
68483         * inet/Makefile (tests): Add tst-checks.
68484         * inet/tst-checks.c: New file.
68486         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68487         warning.
68489         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68490         __wmemcmp_sse2.
68492         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68493         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68495         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68497 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68499         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68500         problem.
68502         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68504 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68506         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68507         conditional on GCC version.
68508         (__arch_compare_and_exchange_val_8_acq)
68509         (__arch_compare_and_exchange_val_16_acq)
68510         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68511         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68512         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68514 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68516         * sysdeps/sh/backtrace.c: New file.
68518 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68520         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68521         parenthesis.
68523 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68525         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68526         falling back to utime.
68528 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68530         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68531         expectations for float.
68533 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68535         * locale/weight.h (findidx): Add parameter len.
68536         * locale/weightwc.h (findidx): Likewise.
68537         * posix/fnmatch_loop.c (FCT): Adjust caller.
68538         * posix/regcomp.c (build_equiv_class): Likewise.
68539         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68540         * posix/regexec.c (check_node_accept_bytes): Likewise.
68541         * string/strcoll_l.c (STRCOLL): Likewise.
68542         * string/strxfrm_l.c (STRXFRM): Likewise.
68544 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68546         * Makefile.in: Remove CVSOPT handling.
68547         * configure.in: Remove use of AC_REVISION.
68548         * iconvdata/Makefile (distribute): No need to filter out CVS.
68549         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68550         handling.
68552 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68555         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68556         [USE_AS_STRNCASECMP_L]: Likewise.
68557         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68558         NO_TLS_DIRECT_SEG_REFS.
68559         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68560         Fix argument offsets for non-PIC.
68561         [USE_AS_STRNCASECMP_L]: Likewise.
68562         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68563         NO_TLS_DIRECT_SEG_REFS.
68565 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68567         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68568         O_CLOEXEC.
68569         * locale/loadlocale.c (_nl_load_locale): Likewise.
68571 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68573         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68574         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68575         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68576         (SYSCALL_GETTIME): Set errno on error.
68578         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68579         count references to noai6ai_cached.
68581 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68583         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68585         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68586         FD_CLOEXEC for /proc/self/maps.
68588         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68589         FD_CLOEXEC for /proc/meminfo.
68591         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68592         gai.conf.
68594         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68595         FD_CLOEXEC for given file.
68597         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68599         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68600         FD_CLOEXEC for /etc/hosts.
68601         (_gethtent): Likewise.
68603         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68605         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68606         cancellation and set FD_CLOEXEC for /etc/netgroup.
68608         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68609         reading /etc/publickey.
68611         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68612         allow cancellation when reading /etc/group.
68614         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68615         cancellation.
68616         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68618         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68619         when using data file.
68621         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68623         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68624         (write_nis_obj): Use "c" and "e" in fopen.
68626         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68628         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68630         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68632         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68634         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68635         locale.alias.
68637         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68639         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68641         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68643         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68644         file parsing and set FD_CLOEXEC.
68646 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68648         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68650 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68652         * malloc/arena.c (arena_get2): Don't call reused_arena when
68653         _int_new_arena failed.
68655 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68657         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68658         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68659         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68660         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68661         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68662         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68663         to compile strcasecmp and strncasecmp.
68664         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68665         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68667         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68669 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68671         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68672         locale-defines.sym to gen-as-const-headers.
68673         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68674         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68676         to compile strcasecmp and strncasecmp.
68677         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68678         strcasecmp_l and strncasecmp_l.
68679         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68680         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68681         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68682         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68683         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68684         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68685         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68686         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68687         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68688         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68689         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68691 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68693         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68694         result of SYSDEP_GETTIME_CPU to retval.
68695         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68696         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68698         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68699         variable.
68701         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68702         mantissa words.
68703         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68705         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68706         from unused variable.
68708         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68709         DWARF definitions.
68710         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68711         for assembling.
68713         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68714         over namespaces.
68716         * sunrpc/rpc_prot.c (rejected): Fix case value.
68718         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68719         unsigned long long int to avoid warnings in shift.
68721         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68722         of use of trans.
68723         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68724         variable tmp.
68726         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68727         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68728         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68730         * nis/nis_table.c (nis_list): Use variable of correct type for
68731         result of __follow_path call.
68733 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68735         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68736         of math functions ceil, trunc, floor, round, and sqrt, when
68737         avaliable on the platform.
68738         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68739         name clash.
68740         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68741         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68742         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68744 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68746         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68747         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68749 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68751         * include/unistd.h: Fix __readlink return type.
68752         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68754 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68756         * stdlib/ucontext.h: Undo last change for makecontext.
68758 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68760         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68762         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68763         * setjmp/setjmp.h: Mark functions as non-leaf.
68764         * setjmp/bits/setjmp2.h: Likewise.
68765         * stdlib/ucontext.h: Likewise.
68767 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68769         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68770         (reused_arena): Don't check arena limit.
68771         (arena_get2): Atomically check arena limit.
68773 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68775         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68776         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68779         instructions.
68781 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68783         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68784         handler when locking.
68786         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68787         Fix size of allocated buffer.
68789 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68791         [BZ #10103]
68792         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68793         declarations for long double functions.
68794         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68796         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68798 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68800         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68801         installed.
68803         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68804         is disabled.
68806 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68808         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68810 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68812         * include/alloca.h (stackinfo_alloca_round): Define.
68813         (extend_alloca): Use it.
68814         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68815         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68816         here.
68818         * scripts/check-local-headers.sh: Ignore libaudit.h.
68820         * nscd/Makefile (extra-objs): Make recursively expanded.
68822 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68824         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68825         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68827         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68828         * posix/tst-rfc3484-2.c: Likewise.
68829         * posix/tst-rfc3484-3.c: Likewise.
68831         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68832         process_vm_writev.
68833         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68834         process_vm_writev.
68835         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
68836         process_vm_writev from libc using GLIBC_2.15 version.
68838         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
68840 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
68842         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
68843         stack usage.
68845 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
68847         [BZ #13367]
68848         * nss/getent.c (initgroups_keys): Show error message in case no group
68849         names are given.
68851         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
68852         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
68853         __bump_nl_timestamp.
68854         * nscd/connections (nscd_init): When host database is served open
68855         netlink socket and request notification about configuration changes.
68856         (main_loop_poll): Track netlink file descriptor and bump timestamp
68857         in case data becomes available.
68858         (main_loop_epoll): Likewise.
68859         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
68860         (database_pers_head): Add extra_data fileds.
68861         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
68862         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
68863         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
68864         Adjust caller.
68865         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
68866         in6ai data, call __free_in6ai.
68867         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
68868         Add -DHAVE_NETLINK.
68869         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
68870         interface information.  Reuse previous data if netlink timestamp
68871         is not changed.
68872         (__bump_nl_timestamp): New function.
68873         (__free_in6ai): New function.
68875 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
68877         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
68878         close_not_cancel_no_status here.
68879         (__check_pf): Reorganize code a bit to not call close twice if OOM.
68881 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68883         [BZ #13276]
68884         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
68885         return value.
68887         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
68888         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
68889         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
68891 2011-07-03  Andreas Jaeger  <aj@suse.de>
68893         [BZ #10709]
68894         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
68895         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
68896         * math/libm-test.inc (sin_test): Add test case.
68898 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
68900         [BZ #13337]
68901         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
68902         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68904         * elf/chroot_canon.c (chroot_canon): Cleanups.
68906         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
68908         [BZ #13335]
68909         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
68910         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
68912         * string/test-strchr.c: Make usable for strchrnul testing.
68913         * string/test-strchrnul.c: New file.
68914         * string/Makefile (strop-tests): Add strchrnul.
68916         * po/it.po: Update from translation team.
68917         * po/es.po: Likewise.
68919 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
68921         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
68922         the three constants needed as parameters.  Drop the others.
68923         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
68924         __m128i_strloadu_tolower.
68925         Create and initialize variable zero and use it in all the places
68926         where _mm_setzero_si128 was used.
68928         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
68929         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
68930         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
68931         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
68932         anymore.
68933         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
68934         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
68935         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
68936         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
68937         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
68938         __mpranred, __mptan.
68939         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
68940         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
68941         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
68942         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
68943         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
68944         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
68945         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
68946         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
68947         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
68949 2011-10-28  Andreas Schwab  <schwab@redhat.com>
68951         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
68952         redefine if SHARED.
68953         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
68955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
68956         wide char related routines to wcsmbs subdir.
68958 2011-10-27  Andreas Schwab  <schwab@redhat.com>
68960         [BZ #13344]
68961         * misc/sys/cdefs.h (__THROWNL): Define.
68962         * posix/unistd.h: Use __THREADNL instead of __THREAD
68963         for memory synchronization functions.
68965 2011-10-26  Roland McGrath  <roland@hack.frob.com>
68967         [BZ #13349]
68968         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
68969         doesn't exist.
68970         * manual/stdio.texi (Obstack Streams): Node removed.
68972 2011-10-26  Andreas Schwab  <schwab@redhat.com>
68974         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
68975         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68976         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68978         * math/math_private.h (math_force_eval): Allow non-addressable
68979         arguments.
68980         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
68982 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
68984         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
68985         file is not needed.
68987         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
68988         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
68989         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68990         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68991         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68993         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68994         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
68995         Add AVX variants.
68996         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
68997         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
68998         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
68999         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69000         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69001         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69002         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69003         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69004         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69005         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69006         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69007         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69008         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69009         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69010         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69011         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69012         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69013         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69014         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69016         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69017         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69019         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69020         place.  Use VEX encoding when compiling for AVX.
69022 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69024         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69025         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69027         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69029 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69031         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69032         useless if() expression.
69033         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69034         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69035         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69036         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69037         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69038         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69039         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69040         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69041         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69042         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69043         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69044         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69045         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69046         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69047         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69048         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69049         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69050         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69051         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69053         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69055 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69057         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69058         condition.
69059         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69061 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69063         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69064         .text section.  Avoid duplicate constants.
69065         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69066         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69067         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69068         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69069         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69070         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69071         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69072         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69073         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69074         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69075         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69076         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69077         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69078         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69079         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69080         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69081         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69082         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69083         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69084         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69085         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69086         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69087         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69088         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69089         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69090         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69091         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69092         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69093         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69094         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69095         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69096         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69097         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69098         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69099         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69100         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69101         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69102         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69103         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69104         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69105         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69106         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69107         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69108         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69109         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69111 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69113         * sysdeps/x86_64/dla.h: Move to ...
69114         * sysdeps/x86_64/fpu/dla.h: ...here.
69115         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69116         situations.  Use __builtin_fma only for gcc 4.6 and up.
69118         * config.make.in: Add have-mfma4 entry.
69119         * configure.in: Substitute libc_cv_cc_fma4.
69120         * math/Makefile (dbl-only-routines): Add sincostab.
69121         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69122         Use __sincostab not sincos.
69123         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69124         name is a macro.
69125         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69127         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69128         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69129         using __copysign.
69130         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69131         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69132         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69133         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69134         and __inv.
69135         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69136         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69137         __copysign.
69138         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69139         define aliases when function name is a macro.
69140         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69141         sysdeps/ieee754/dbl-64/sincos.tbl.
69142         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69143         fma4-enabled routines.
69144         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69145         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69146         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69147         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69148         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69149         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69150         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69151         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69152         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69153         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69154         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69155         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69156         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69157         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69158         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69159         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69160         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69161         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69162         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69163         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69164         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69165         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69166         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69167         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69168         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69169         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69171         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69172         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69173         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69175         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69176         rename.
69177         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69178         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69180         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69181         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69182         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69183         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69184         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69186 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69188         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69190 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69192         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69194         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69195         prediction.
69196         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69198         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69199         Remove unused variable magic_bits.
69200         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69202         * string/strnlen.c: Define and use STRNLEN macro.
69203         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69204         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69205         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69206         * wcsmbs/wcslen.c: Define and use WCSLEN.
69207         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69208         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69209         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69210         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69211         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69212         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69213         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69215 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69218         strnlen-sse2-no-bsf.
69219         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69220         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69221         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69222         Add strnlen support.
69223         (USE_AS_STRNLEN): New macro.
69224         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69225         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69226         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69227         * sysdeps/x86_64/wcslen.S: New file.
69229 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69231         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69232         XMM-moves are used for copying on small sizes.
69234 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69236         * wcsmbs/Makefile (strop-tests): Add wcschr.
69237         * wcsmbs/test-wcschr.c: New file.
69238         * string/test-strchr.c: Update.
69239         Add wcschr support.
69240         (WIDE): New macro.
69242 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69244         * wcsmbs/Makefile (strop-tests): Add wcslen.
69245         * wcsmbs/test-wcslen.c: New file.
69246         * string/test-strlen.c: Update.
69247         Add wcslen support.
69248         (WIDE): New macro.
69250 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69252         * po/it.po: Update from translation team.
69254 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69256         * sysdeps/x86_64/wcscmp.S: Update.
69257         Fix wrong comparison semantics.
69258         wcscmp shall use signed comparison not unsigned.
69259         Don't use substraction to avoid overflow bug.
69260         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69261         * wcsmbc/wcscmp.c: Likewise.
69262         * string/test-strcmp.c: Likewise.
69263         Add new tests to check cases with negative values.
69265 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69267         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69268         * sysdeps/x86_64/dla.h: ...here.  New file.
69269         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69271         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69272         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69273         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69274         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69275         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69276         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69277         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69279 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69282         __ynl_finite aliases.
69284 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69288         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69289         define DLA_FMA.
69290         [DLA_FMA] (EMULV): Use DLA_FMA.
69291         [DLA_FMA] (MUL12): Use EMULV.
69292         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69293         that are not needed.
69294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69298         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69299         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69300         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69302 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69304         * math/s_nan.c: Undef __nan.
69305         * math/s_nanf.c: Undef __nanf.
69306         * math/s_nanl.c: Undef __nanl.
69307         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69308         "math_private.h".
69310 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69312         * math/s_catan.c: Add branch predictions.
69313         * math/s_catanf.c: Likewise.
69314         * math/s_catanh.c: Likewise.
69315         * math/s_catanhf.c: Likewise.
69316         * math/s_catanhl.c: Likewise.
69317         * math/s_catanl.c: Likewise.
69318         * math/s_cexp.c: Likewise.
69319         * math/s_cexpf.c: Likewise.
69320         * math/s_cexpl.c: Likewise.
69321         * math/s_clog.c: Likewise.
69322         * math/s_clog10.c: Likewise.
69323         * math/s_clog10f.c: Likewise.
69324         * math/s_clog10l.c: Likewise.
69325         * math/s_clogf.c: Likewise.
69326         * math/s_clogl.c: Likewise.
69327         * math/s_csqrt.c: Likewise.
69328         * math/s_csqrtf.c: Likewise.
69329         * math/s_csqrtl.c: Likewise.
69330         * math/s_ctanf.c: Likewise.
69331         * math/s_ctanh.c: Likewise.
69332         * math/s_ctanhf.c: Likewise.
69333         * math/s_ctanhl.c: Likewise.
69334         * math/s_ctanl.c: Likewise.
69336         * math/math_private.h: Define __nan, __nanf, __nanl.
69337         * math/s_cacosh.c: Include <math_private.h>.
69338         * math/s_cacoshl.c: Likewise.
69339         * math/s_casinh.c: Likewise.
69340         * math/s_casinhf.c: Likewise.
69341         * math/s_casinhl.c: Likewise.
69342         * math/s_ccos.c: Rely entire on ccosh.
69343         * math/s_ccosf.c: Rely entire on ccoshf.
69344         * math/s_ccosl.c: Rely entirely on ccoshl.
69345         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69346         Remove tests for FE_INVALID.
69347         * math/s_ccoshf.c: Likewise.
69348         * math/s_ccoshl.c: Likewise.
69349         * math/s_csin.c: Likewise.
69350         * math/s_csinf.c: Likewise.
69351         * math/s_csinh.c Likewise.
69352         * math/s_csinhf.c: Likewise.
69353         * math/s_csinhl.c: Likewise.
69354         * math/s_csinl.c: Likewise.
69355         * math/s_ctan.c: Likewise.
69356         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69357         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69358         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69360 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69363         compilation problems.
69365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69366         __builtin_expect.
69368 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69370         * sysdeps/i386/configure.in: Test for -mfma4 option.
69371         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69372         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69373         COMMON_CPUID_INDEX_80000001.
69374         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69375         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69376         use it if FMA3 is not supported.
69377         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69379         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69380         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69382 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69384         [BZ #12892]
69385         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69386         it would create a cycle with a link time dependency.
69388 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69390         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69391         instruction.
69392         * string/Makefile (strop-tests): Add rawmemchr.
69393         * string/test-rawmemchr.c: New file.
69395         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69396         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69397         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69398         when compiling str{,n}casecmp and when AVX is available.  Hook up
69399         new optimized code in initializers.
69401 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69403         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69404         __feraiseexcept instead of feraiseexcept.
69406 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69408         * math/math_private.h: Define defaults for libc_fetestexcept and
69409         libc_feupdateenv.
69410         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69411         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69412         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69413         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69414         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69415         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69416         libc_fetestexcept and libc_feupdateenv.
69418         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69419         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69420         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69421         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69422         libc_feholdexcept_setround.
69424         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69425         Add s_nearbyint-c and s_nearbyintf-c.
69426         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69427         nearbyintf inlines.
69428         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69429         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69430         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69431         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69433         * math/math_private.h: Define defaults for libc_fegetround,
69434         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69435         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69436         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69437         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69438         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69439         standard functions.
69440         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69441         Remove comments and hacks for old compiler versions.
69442         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69443         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69444         libc_feholdexceptl.
69446 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69448         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69449         (__feraiseexcept_renamed): Add __NTH.
69450         (feraiseexcept): Add __NTH.  Rename local variables to fix
69451         namespace violations.
69453 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69455         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69457         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69459         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69460         recently added interfaces.
69461         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69463         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69464         about macro parameter expansion.
69466         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69467         __NO_MATH_INLINES is defined.  Cleanups.
69469         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69470         and __floorf is target has SSE4.1.
69471         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69472         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69473         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69474         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69476         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69477         name.
69478         (floorf): Likewise.
69480         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69482 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69484         * misc/sys/cdefs.h: Fix last change.
69486         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69487         database lookup.
69489 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69491         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69493         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69494         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69495         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69496         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69497         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69498         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69499         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69500         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69501         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69502         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69503         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69504         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69505         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69506         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69507         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69508         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69509         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69510         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69511         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69512         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69513         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69514         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69516         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69517         ceil, ceilf, floor, floorf.
69519         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69520         Perform IRELATIVE relocations last.
69522         * elf/do-rel.h: Add another parameter nrelative, replacing the
69523         local variable with the same name.  Change name of the function
69524         to end in Rel or Rela (uppercase).
69525         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69526         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69527         elf_dynamic_do_##reloc function.
69529 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69531         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69532         is sufficient, at least on modern CPUs.
69534         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69536         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69537         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69539         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69540         __expl_finite.
69541         * math/bits/math-finite.h: Add entries for exp.
69542         * math/e_expl.c: Add __*_finite alias.
69543         * sysdeps/i386/fpu/e_exp.S: Likewise.
69544         * sysdeps/i386/fpu/e_expf.S: Likewise.
69545         * sysdeps/i386/fpu/e_expl.c: Likewise.
69546         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69547         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69548         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69549         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69550         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69551         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69552         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69554         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69555         is sufficient, at least on modern CPUs.
69557         * ctype/ctype-info.c (__ctype_init): Define.
69558         * include/ctype.h (__ctype_init): Declare.
69559         (__ctype_b_loc): The variable is always initialized.
69560         (__ctype_toupper_loc): Likewise.
69561         (__ctype_tolower_loc): Likewise.
69562         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69563         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69565 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69567         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69569         * configure.in: Also look in $cxxmachine/include for C++ system
69570         headers.
69572 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69574         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69575         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69576         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69577         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69578         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69579         (USE_AS_WMEMCMP): New macro.
69580         Fixing indents.
69581         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69582         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69583         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69584         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69585         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69586         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69587         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69588         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69589         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69590         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69591         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69592         (USE_AS_WMEMCMP): New macro.
69593         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69594         * sysdeps/string/test-memcmp.c: Update.
69595         Fix simple_wmemcmp.
69596         Add new tests.
69597         * wcsmbs/wmemcmp.c: Update.
69598         (WMEMCMP): New macro.
69599         Fix overflow bug.
69601 2011-10-12  Andreas Jaeger  <aj@suse.de>
69603         [BZ #13268]
69604         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69606 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69608         * libio/iofwide.c (do_length): Avoid warning.
69610         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69612 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69614         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69616         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69617         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69618         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69619         * sysdeps/i386/i686/fpu/e_log.S: New file.
69620         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69621         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69623         * ctype/ctype.h: Add support for inlined isXXX functions when
69624         compiling C++ code.
69626 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69628         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69630         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69632 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69634         [BZ #13291]
69635         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69637 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69639         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69640         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69641         feraiseexcept.
69643         * sysdeps/x86_64/memrchr.S: Check for zero size.
69645         * string/stratcliff.c: Add memrchr tests.
69647 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69650         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69651         rawmemchr-sse2 rawmemchr-sse2-bsf.
69652         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69653         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69654         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69655         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69656         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69657         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69658         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69659         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69660         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69661         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69662         * string/memrchr.c (MEMRCHR): New macro.
69664 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69666         Add integration with gcc's -ffinite-math-only and optimize wrapper
69667         functions in libm.
69668         * Versions.def: Define GLIBC_2.15 version for libm.
69669         * math/Makefile (headers): Add bits/math-finite.h.
69670         * math/bits/math-finite.h: New file.
69671         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69672         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69673         * math/e_acoshl.c: Add __*_finite alias.
69674         * math/e_acosl.c: Likewise.
69675         * math/e_asinl.c: Likewise.
69676         * math/e_atan2l.c: Likewise.
69677         * math/e_atanhl.c: Likewise.
69678         * math/e_coshl.c: Likewise.
69679         * math/e_exp10.c: Likewise.
69680         * math/e_exp10f.c: Likewise.
69681         * math/e_exp10l.c: Likewise.
69682         * math/e_exp2l.c: Likewise.
69683         * math/e_fmodl.c: Likewise.
69684         * math/e_gammal_r.c: Likewise.
69685         * math/e_hypotl.c: Likewise.
69686         * math/e_j0l.c: Likewise.
69687         * math/e_j1l.c: Likewise.
69688         * math/e_jnl.c: Likewise.
69689         * math/e_lgammal_r.c: Likewise.
69690         * math/e_log10l.c: Likewise.
69691         * math/e_log2l.c: Likewise.
69692         * math/e_logl.c: Likewise.
69693         * math/e_powl.c: Likewise.
69694         * math/e_sinhl.c: Likewise.
69695         * math/e_sqrtl.c: Likewise.
69696         * math/e_scalb.c: Completely rewritten and optimized.
69697         * math/e_scalbf.c: Likewise.
69698         * math/e_scalbl.c: Likewise.
69699         * math/w_acos.c: Likewise.
69700         * math/w_acosf.c: Likewise.
69701         * math/w_acosl.c: Likewise.
69702         * math/w_acosh.c: Likewise.
69703         * math/w_acoshf.c: Likewise.
69704         * math/w_acoshl.c: Likewise.
69705         * math/w_asin.c: Likewise.
69706         * math/w_asinf.c: Likewise.
69707         * math/w_asinl.c: Likewise.
69708         * math/w_atan2.c: Likewise.
69709         * math/w_atan2f.c: Likewise.
69710         * math/w_atan2l.c: Likewise.
69711         * math/w_atanh.c: Likewise.
69712         * math/w_atanhf.c: Likewise.
69713         * math/w_atanhl.c: Likewise.
69714         * math/w_exp10.c: Likewise.
69715         * math/w_exp10f.c: Likewise.
69716         * math/w_exp10l.c: Likewise.
69717         * math/w_fmod.c: Likewise.
69718         * math/w_fmodf.c: Likewise.
69719         * math/w_fmodl.c: Likewise.
69720         * math/w_j0.c: Likewise.
69721         * math/w_j0f.c: Likewise.
69722         * math/w_j0l.c: Likewise.
69723         * math/w_j1.c: Likewise.
69724         * math/w_j1f.c: Likewise.
69725         * math/w_j1l.c: Likewise.
69726         * math/w_jn.c: Likewise.
69727         * math/w_jnf.c: Likewise.
69728         * math/w_log.c: Likewise.
69729         * math/w_logf.c: Likewise.
69730         * math/w_logl.c: Likewise.
69731         * math/w_log10.c: Likewise.
69732         * math/w_log10f.c: Likewise.
69733         * math/w_log10l.c: Likewise.
69734         * math/w_log2.c: Likewise.
69735         * math/w_log2f.c: Likewise.
69736         * math/w_log2l.c: Likewise.
69737         * math/w_pow.c: Likewise.
69738         * math/w_powf.c: Likewise.
69739         * math/w_powl.c: Likewise.
69740         * math/w_remainder.c: Likewise.
69741         * math/w_remainderf.c: Likewise.
69742         * math/w_remainderl.c: Likewise.
69743         * math/w_scalb.c: Likewise.
69744         * math/w_scalbf.c: Likewise.
69745         * math/w_scalbl.c: Likewise.
69746         * math/w_sqrt.c: Likewise.
69747         * math/w_sqrtf.c: Likewise.
69748         * math/w_sqrtl.c: Likewise.
69749         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69750         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69751         used.
69752         * math/math_private.h: Declare __kernel_standard_f.
69753         * math/w_cosh.c: Remove cruft and optimize a bit.
69754         * math/w_coshf.c: Likewise.
69755         * math/w_coshl.c: Likewise.
69756         * math/w_exp2.c: Likewise.
69757         * math/w_exp2f.c: Likewise.
69758         * math/w_exp2l.c: Likewise.
69759         * math/w_hypot.c: Likewise.
69760         * math/w_hypotf.c: Likewise.
69761         * math/w_hypotl.c: Likewise.
69762         * math/w_lgamma.c: Likewise.
69763         * math/w_lgamma_r.c: Likewise.
69764         * math/w_lgammaf.c: Likewise.
69765         * math/w_lgammaf_r.c: Likewise.
69766         * math/w_lgammal.c: Likewise.
69767         * math/w_lgammal_r.c: Likewise.
69768         * math/w_sinh.c: Likewise.
69769         * math/w_sinhf.c: Likewise.
69770         * math/w_sinhl.c: Likewise.
69771         * math/w_tgamma.c: Likewise.
69772         * math/w_tgammaf.c: Likewise.
69773         * math/w_tgammal.c: Likewise.
69774         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69775         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69776         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69777         Minor optimizations.  Pretty printing.  Remove cruft.
69778         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69779         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69780         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69781         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69782         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69783         * sysdeps/i386/fpu/e_asin.S: Likewise.
69784         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69785         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69786         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69787         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69788         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69789         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69790         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69791         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69792         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69793         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69794         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69795         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69796         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69797         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69798         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69799         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69800         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69801         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69802         * sysdeps/i386/fpu/e_log.S: Likewise.
69803         * sysdeps/i386/fpu/e_log10.S: Likewise.
69804         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69805         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69806         * sysdeps/i386/fpu/e_log2.S: Likewise.
69807         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69808         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69809         * sysdeps/i386/fpu/e_logf.S: Likewise.
69810         * sysdeps/i386/fpu/e_logl.S: Likewise.
69811         * sysdeps/i386/fpu/e_pow.S: Likewise.
69812         * sysdeps/i386/fpu/e_powf.S: Likewise.
69813         * sysdeps/i386/fpu/e_powl.S: Likewise.
69814         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69815         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69816         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69817         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69818         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69819         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69820         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69821         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69822         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69823         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69824         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69826         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69827         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69828         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69829         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69830         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69831         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69832         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69833         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69834         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69836         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69837         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69838         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69839         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69840         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69842         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69843         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69844         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69845         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69846         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69847         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69848         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69849         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69850         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69851         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
69852         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69853         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69854         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69855         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69856         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69857         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69858         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69859         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69860         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69861         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69862         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69863         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69864         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69865         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69866         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69867         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69868         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69869         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69870         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69871         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69872         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
69873         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69874         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69875         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69876         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69877         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69878         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69879         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69880         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69881         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69882         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69883         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69884         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69885         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69886         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69887         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69888         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69889         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69890         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69891         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
69892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69893         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69894         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69895         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69896         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69897         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69898         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69899         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69900         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69901         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69902         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69903         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69904         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69905         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
69906         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69907         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69908         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69909         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69910         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69911         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69912         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69913         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69914         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69915         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69916         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
69917         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69918         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69919         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69920         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
69921         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
69922         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
69923         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
69924         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
69925         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
69926         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
69927         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
69928         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
69929         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
69930         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69931         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
69932         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
69933         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
69934         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
69935         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
69936         (__isnanf): Likewise.
69937         (__isinf_ns): Likewise.
69938         (__isinf_nsf): Likewise.
69939         (__finite): Likewise.
69940         (__finitef): Likewise.
69941         (__ieee754_sqrt): Define as macro.
69942         (__ieee754_sqrtf): Define as macro.
69943         (__ieee754_sqrtl): Define as macro.
69944         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
69945         inlined copy.
69946         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
69947         __FINITE_MATH_ONLY__ consistent.
69948         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
69950 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
69952         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
69953         of rawmemchr.
69955         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
69957 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
69959         * po/ja.po: Update from translation team.
69961 2011-10-08  Roland McGrath  <roland@hack.frob.com>
69963         * locale/programs/locarchive.c (prepare_address_space): New function.
69964         (create_archive, enlarge_archive, open_archive): Use it.
69966         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
69967         inside [SHARED], where it is used.
69969         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
69971         * nss/getent.c (netgroup_keys): Remove unused variable.
69972         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69974 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
69976         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
69977         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
69978         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
69979         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
69980         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
69981         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
69982         * math/Makefile (libm-calls): Add s_isinf_ns.
69983         * math/divtc3.c: Use __isinf_nsl instead of isinf.
69984         * math/multc3.c: Likewise.
69985         * math/s_casin.c: Likewise.
69986         * math/s_casinf.c: Likewise.
69987         * math/s_casinl.c: Likewise.
69988         * math/s_ccos.c: Likewise.
69989         * math/s_ccosf.c: Likewise.
69990         * math/s_ccosl.c: Likewise.
69991         * math/s_ctan.c: Likewise.
69992         * math/s_ctanf.c: Likewise.
69993         * math/s_ctanh.c: Likewise.
69994         * math/s_ctanhf.c: Likewise.
69995         * math/s_ctanhl.c: Likewise.
69996         * math/s_ctanl.c: Likewise.
69997         * math/w_fmod.c: Likewise.
69998         * math/w_fmodf.c: Likewise.
69999         * math/w_fmodl.c: Likewise.
70000         * math/w_remainder.c: Likewise.
70001         * math/w_remainderf.c: Likewise.
70002         * math/w_remainderl.c: Likewise.
70003         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70004         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70005         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70007         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70008         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70009         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70010         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70012         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70013         of the number.
70014         * stdio-common/printf_fphex.c: Likewise.
70015         * stdio-common/printf_size.c: Likewise.
70017         * math/e_exp10.c: Include math_private.h using <...> not "...".
70018         * math/e_exp10f.c: Likewise.
70019         * math/e_exp10l.c: Likewise.
70020         * math/e_exp2l.c: Likewise.
70021         * math/e_j0l.c: Likewise.
70022         * math/e_j1l.c: Likewise.
70023         * math/e_jnl.c: Likewise.
70024         * math/e_lgammal_r.c: Likewise.
70025         * math/e_rem_pio2l.c: Likewise.
70026         * math/e_scalb.c: Likewise.
70027         * math/e_scalbf.c: Likewise.
70028         * math/e_scalbl.c: Likewise.
70029         * math/k_cosl.c: Likewise.
70030         * math/k_sinl.c: Likewise.
70031         * math/k_tanl.c: Likewise.
70032         * math/s_cacoshf.c: Likewise.
70033         * math/s_catan.c: Likewise.
70034         * math/s_catanf.c: Likewise.
70035         * math/s_catanh.c: Likewise.
70036         * math/s_catanhf.c: Likewise.
70037         * math/s_catanhl.c: Likewise.
70038         * math/s_catanl.c: Likewise.
70039         * math/s_ccosh.c: Likewise.
70040         * math/s_ccoshf.c: Likewise.
70041         * math/s_ccoshl.c: Likewise.
70042         * math/s_cexp.c: Likewise.
70043         * math/s_cexpf.c: Likewise.
70044         * math/s_cexpl.c: Likewise.
70045         * math/s_clog.c: Likewise.
70046         * math/s_clog10.c: Likewise.
70047         * math/s_clog10f.c: Likewise.
70048         * math/s_clog10l.c: Likewise.
70049         * math/s_clogf.c: Likewise.
70050         * math/s_clogl.c: Likewise.
70051         * math/s_csin.c: Likewise.
70052         * math/s_csinf.c: Likewise.
70053         * math/s_csinh.c: Likewise.
70054         * math/s_csinhf.c: Likewise.
70055         * math/s_csinhl.c: Likewise.
70056         * math/s_csinl.c: Likewise.
70057         * math/s_csqrt.c: Likewise.
70058         * math/s_csqrtf.c: Likewise.
70059         * math/s_csqrtl.c: Likewise.
70060         * math/s_ctan.c: Likewise.
70061         * math/s_ctanf.c: Likewise.
70062         * math/s_ctanh.c: Likewise.
70063         * math/s_ctanhf.c: Likewise.
70064         * math/s_ctanhl.c: Likewise.
70065         * math/s_ctanl.c: Likewise.
70066         * math/s_ldexp.c: Likewise.
70067         * math/s_ldexpf.c: Likewise.
70068         * math/s_ldexpl.c: Likewise.
70069         * math/s_significand.c: Likewise.
70070         * math/s_significandf.c: Likewise.
70071         * math/s_significandl.c: Likewise.
70072         * math/w_acos.c: Likewise.
70073         * math/w_acosf.c: Likewise.
70074         * math/w_acosh.c: Likewise.
70075         * math/w_acoshf.c: Likewise.
70076         * math/w_acoshl.c: Likewise.
70077         * math/w_acosl.c: Likewise.
70078         * math/w_asin.c: Likewise.
70079         * math/w_asinf.c: Likewise.
70080         * math/w_asinl.c: Likewise.
70081         * math/w_atan2.c: Likewise.
70082         * math/w_atan2f.c: Likewise.
70083         * math/w_atan2l.c: Likewise.
70084         * math/w_atanh.c: Likewise.
70085         * math/w_atanhf.c: Likewise.
70086         * math/w_atanhl.c: Likewise.
70087         * math/w_cosh.c: Likewise.
70088         * math/w_coshf.c: Likewise.
70089         * math/w_coshl.c: Likewise.
70090         * math/w_dremf.c: Likewise.
70091         * math/w_exp10.c: Likewise.
70092         * math/w_exp10f.c: Likewise.
70093         * math/w_exp10l.c: Likewise.
70094         * math/w_exp2.c: Likewise.
70095         * math/w_exp2f.c: Likewise.
70096         * math/w_fmod.c: Likewise.
70097         * math/w_fmodf.c: Likewise.
70098         * math/w_fmodl.c: Likewise.
70099         * math/w_hypot.c: Likewise.
70100         * math/w_hypotf.c: Likewise.
70101         * math/w_hypotl.c: Likewise.
70102         * math/w_j0.c: Likewise.
70103         * math/w_j0f.c: Likewise.
70104         * math/w_j0l.c: Likewise.
70105         * math/w_j1.c: Likewise.
70106         * math/w_j1f.c: Likewise.
70107         * math/w_j1l.c: Likewise.
70108         * math/w_jn.c: Likewise.
70109         * math/w_jnf.c: Likewise.
70110         * math/w_jnl.c: Likewise.
70111         * math/w_lgamma.c: Likewise.
70112         * math/w_lgamma_r.c: Likewise.
70113         * math/w_lgammaf.c: Likewise.
70114         * math/w_lgammaf_r.c: Likewise.
70115         * math/w_lgammal.c: Likewise.
70116         * math/w_lgammal_r.c: Likewise.
70117         * math/w_log.c: Likewise.
70118         * math/w_log10.c: Likewise.
70119         * math/w_log10f.c: Likewise.
70120         * math/w_log10l.c: Likewise.
70121         * math/w_log2.c: Likewise.
70122         * math/w_log2f.c: Likewise.
70123         * math/w_log2l.c: Likewise.
70124         * math/w_logf.c: Likewise.
70125         * math/w_logl.c: Likewise.
70126         * math/w_pow.c: Likewise.
70127         * math/w_powf.c: Likewise.
70128         * math/w_powl.c: Likewise.
70129         * math/w_remainder.c: Likewise.
70130         * math/w_remainderf.c: Likewise.
70131         * math/w_remainderl.c: Likewise.
70132         * math/w_scalb.c: Likewise.
70133         * math/w_scalbf.c: Likewise.
70134         * math/w_scalbl.c: Likewise.
70135         * math/w_sinh.c: Likewise.
70136         * math/w_sinhf.c: Likewise.
70137         * math/w_sinhl.c: Likewise.
70138         * math/w_sqrt.c: Likewise.
70139         * math/w_sqrtf.c: Likewise.
70140         * math/w_sqrtl.c: Likewise.
70141         * math/w_tgamma.c: Likewise.
70142         * math/w_tgammaf.c: Likewise.
70143         * math/w_tgammal.c: Likewise.
70145         * po/ja.po: Update from translation team.
70147 2011-09-29  Andreas Jaeger  <aj@suse.de>
70149         [BZ #13179]
70150         * sunrpc/netname.c (netname2host): Fix logic.
70152         [BZ #6779]
70153         [BZ #6783]
70154         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70155         correctly.
70156         * math/w_remainder.c (__remainder): Likewise.
70157         * math/w_remainderf.c (__remainderf): Likewise.
70158         * math/libm-test.inc (remainder_test): Add test cases.
70160 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70162         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70163         sdiv_qrnnd.
70165 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70167         * string/test-memcmp.c: Avoid unncessary #defines.
70168         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70170 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70172         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70173         Use new sse2 version for core i3 - i7 as it's faster
70174         than sse42 version.
70175         (bit_Prefer_PMINUB_for_stringop): New.
70176         * sysdeps/x86_64/rawmemchr.S: Update.
70177         Replace with faster SSE2 version.
70178         * sysdeps/x86_64/memrchr.S: New file.
70179         * sysdeps/x86_64/memchr.S: Update.
70180         Replace with faster SSE2 version.
70182 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70184         * elf/dl-load.c (lose): Add cast to avoid warning.
70186 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70188         * po/ca.po: Update from translation team.
70190         * inet/getnetgrent_r.c: Hook up nscd.
70191         * nscd/Makefile (routines): Add nscd_netgroup.
70192         (nscd-modules): Add netgroupcache.
70193         (CFLAGS-netgroupcache.c): Define.
70194         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70195         (cache_search): Add const to second parameter.
70196         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70197         INNETGR.
70198         (dbs): Add netgrdb entry.
70199         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70200         (verify_persistent_db): Handle netgrdb.
70201         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70202         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70203         GETFDNETGR.
70204         (netgroup_response_header): Define.
70205         (innetgroup_response_header): Define.
70206         (datahead): Add netgroup_response_header and innetgroup_response_header
70207         elements.
70208         * nscd/nscd.conf: Add entries for netgroup cache.
70209         * nscd/nscd.h (dbtype): Add netgrdb.
70210         (_PATH_NSCD_NETGROUP_DB): Define.
70211         (netgroup_iov_disabled): Declare.
70212         (xmalloc, xcalloc, xrealloc): Move declarations here.
70213         (cache_search): Adjust prototype.
70214         Add netgroup-related prototypes.
70215         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70216         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70217         (__nscd_innetgr): Declare.
70218         * nscd/selinux.c (perms): Use access_vector_t as element type and
70219         add netgroup-related initializers.
70220         * nscd/netgroupcache.c: New file.
70221         * nscd/nscd_netgroup.c: New file.
70222         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70223         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70224         For four parameters use innetgr.
70225         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70226         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70227         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70228         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70230         * nscd/connections.c (register_traced_file): Don't register file
70231         for disabled databases.
70233 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70235         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70237         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70238         from tree and freeing node.
70240 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70242         * nss/nsswitch.c (__nss_database_lookup): Handle
70243         nss_parse_service_list out of memory case.
70245 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70247         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70248         out of memory case.
70250 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70252         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70253         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70254         pass it down.
70255         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70256         elf_machine_rela, elf_machine_lazy_rel.
70257         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70258         (ELF_DYNAMIC_DO_REL): Likewise.
70259         (ELF_DYNAMIC_DO_RELA): Likewise.
70260         (ELF_DYNAMIC_RELOCATE): Likewise.
70261         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70262         to ELF_DYNAMIC_DO_REL.
70263         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70264         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70265         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70266         elf_machine_rela.
70267         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70268         skip_ifunc, don't call ifunc function if non-zero.
70269         (elf_machine_rela): Likewise.
70270         (elf_machine_lazy_rel): Likewise.
70271         (elf_machine_lazy_rela): Likewise.
70272         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70273         (elf_machine_lazy_rel): Likewise.
70274         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70275         Likewise.
70276         (elf_machine_lazy_rel): Likewise.
70277         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70278         Likewise.
70279         (elf_machine_lazy_rel): Likewise.
70280         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70281         (elf_machine_lazy_rel): Likewise.
70282         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70283         (elf_machine_lazy_rel): Likewise.
70284         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70285         (elf_machine_lazy_rel): Likewise.
70286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70287         (elf_machine_lazy_rel): Likewise.
70288         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70289         (elf_machine_lazy_rel): Likewise.
70290         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70291         (elf_machine_lazy_rel): Likewise.
70293 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70295         * nss/nss_files/files-init.c (_nss_files_init): Use static
70296         initialization for all the *_traced_file variables.
70298 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70300         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70302 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70304         [BZ #13226]
70305         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70307 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70309         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70310         Reread the line before reparsing it.
70312 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70314         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70316 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70317             Maxim Kuvyrkov  <maxim@codesourcery.com>
70318             Joseph Myers  <joseph@codesourcery.com>
70320         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70321         if needed for __stack_chk_guard.
70323 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70325         * sysdeps/posix/spawni.c (script_execute): Always define it.
70326         It will be optimized away if unused.
70327         (maybe_script_execute): New function.
70328         (__spawni): Call it.
70330         * Makerules: Don't include tls.make.
70331         (config-tls): Always set to thread.
70332         * tls.make.c: File removed.
70334 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70336         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70337         * config.make.in (CPPFLAGS-config): New substituted variable.
70339 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70341         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70343         [BZ #13192]
70344         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70345         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70347 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70349         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70350         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70351         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70352         (CALL_FAIL): Likewise.
70353         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70354         (CALL_FAIL): Macro removed.
70355         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70357 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70359         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70360         for __FINITE_MATH_ONLY__ == 1.
70362 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70364         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70365         __ieee754_sqrt instead of sqrt.
70366         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70367         __ieee754_sqrtf instead of sqrtf.
70368         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70369         __floorf instead of floorf.
70370         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70371         __floorf, __truncf instead of floorf, truncf.
70373 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70375         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70377         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70378         __extern_always_inline.
70379         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70380         32-bit.
70382 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70384         * elf/rtld.c (dl_main): Also relocate in dependency order when
70385         doing symbol dependency testing.
70387 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70390         Always define `refsym'.
70392 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70394         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70395         (__FD_ELT): Renamed from __FDELT.
70396         * misc/bits/select2.h (__FD_ELT): Likewise.
70397         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70398         __FD_MASK instead of __FDELT, __FDMASK.
70399         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70400         Likewise.
70401         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70402         Likewise.
70404         * elf/Makefile (gen-ldd): Fix pattern.
70406         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70407         (init_tls): Likewise.
70409 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70411         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70413 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70415         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70416         `struct cmsghdr *' instead of `void *'.
70417         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70418         Likewise.
70420 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70422         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70423         if non-absolute.
70424         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70425         ldd_rewrite_script.
70427 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70429         * configure.in: Remove --with-tls option.
70430         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70431         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70432         out in case it is missing.
70433         * sysdeps/ia64/elf/configure.in: Likewise.
70434         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70435         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70436         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70437         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70438         * sysdeps/sh/elf/configure.in: Likewise.
70439         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70440         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70441         * sysdeps/x86_64/elf/configure.in: Likewise.
70442         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70443         * sysdeps/mach/hurd/tls.h: Likewise.
70445         [BZ #13067]
70446         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70448         [BZ #13090]
70449         * configure.in: Fix use of AC_INIT.
70451         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70453 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70455         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70456         __set_errno.
70457         * malloc/hooks.c: Likewise.
70459         [BZ #11929]
70460         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70461         variables statically.
70462         (narenas): Initialize.
70463         (list_lock): Initialize.
70464         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70465         initializtion of main_arena and list_lock.  Small cleanups.
70466         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70467         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70468         Add initializers to main_arena and mp_.
70469         (malloc_state): Remove pagesize member.  Change all users to use
70470         GLRO(dl_pagesize).
70472         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70473         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70474         is always initialized.
70476         * malloc/malloc.c: Removed unused configurations and dead code.
70477         * malloc/arena.c: Likewise.
70478         * malloc/hooks.c: Likewise.
70479         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70481         * include/tls.h: Removed.  USE___THREAD must always be defined.
70482         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70483         * elf/dl-libc.c: Likewise.
70484         * elf/dl-tsd.c: Likewise.
70485         * include/errno.h: Likewise.
70486         * include/netdb.h: Likewise.
70487         * include/resolv.h: Likewise.
70488         * inet/herrno-loc.c: Likewise.
70489         * inet/herrno.c: Likewise.
70490         * malloc/arena.c: Likewise.
70491         * malloc/hooks.c: Likewise.
70492         * malloc/malloc.c: Likewise.
70493         * resolv/res-state.c: Likewise.
70494         * resolv/res_libc.c: Likewise.
70495         * sysdeps/i386/dl-machine.h: Likewise.
70496         * sysdeps/ia64/dl-machine.h: Likewise.
70497         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70498         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70499         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70500         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70501         * sysdeps/sh/dl-machine.h: Likewise.
70502         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70503         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70504         * sysdeps/unix/i386/sysdep.S: Likewise.
70505         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70506         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70510         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70511         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70512         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70514         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70515         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70516         * sysdeps/x86_64/dl-machine.h: Likewise.
70517         * tls.make.c: Likewise.
70519         * configure.in: Remove --with-__thread option.  Make tests for
70520         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70521         tls_model attribute fail if no support is available.  Remove
70522         USE_IN_LIBIO.
70523         * Makeconfig: Adjust for dropped configure option.  All features are
70524         now mandatory.
70525         * Makerules: Likewise.
70526         * Versions.def: Likewise.
70527         * argp/argp-fmtstream.c: Likewise.
70528         * argp/argp-fmtstream.h: Likewise.
70529         * argp/argp-help.c: Likewise.
70530         * assert/assert.c: Likewise.
70531         * config.h.in: Likewise.
70532         * config.make.in: Likewise.
70533         * configure: Likewise.
70534         * configure.in: Likewise.
70535         * csu/Versions: Likewise.
70536         * csu/init.c: Likewise.
70537         * elf/tst-audit2.c: Likewise.
70538         * elf/tst-tls10.c: Likewise.
70539         * elf/tst-tls10.h: Likewise.
70540         * elf/tst-tls11.c: Likewise.
70541         * elf/tst-tls12.c: Likewise.
70542         * elf/tst-tls14.c: Likewise.
70543         * elf/tst-tlsmod11.c: Likewise.
70544         * elf/tst-tlsmod12.c: Likewise.
70545         * elf/tst-tlsmod13.c: Likewise.
70546         * elf/tst-tlsmod13a.c: Likewise.
70547         * elf/tst-tlsmod14a.c: Likewise.
70548         * elf/tst-tlsmod15b.c: Likewise.
70549         * elf/tst-tlsmod16a.c: Likewise.
70550         * elf/tst-tlsmod16b.c: Likewise.
70551         * elf/tst-tlsmod7.c: Likewise.
70552         * elf/tst-tlsmod8.c: Likewise.
70553         * elf/tst-tlsmod9.c: Likewise.
70554         * gmon/gmon.c: Likewise.
70555         * grp/fgetgrent_r.c: Likewise.
70556         * grp/putgrent.c: Likewise.
70557         * hurd/fopenport.c: Likewise.
70558         * include/libc-symbols.h: Likewise.
70559         * include/tls.h: Likewise.
70560         * intl/gettextP.h: Likewise.
70561         * intl/loadinfo.h: Likewise.
70562         * locale/global-locale.c: Likewise.
70563         * locale/localeinfo.h: Likewise.
70564         * mach/devstream.c: Likewise.
70565         * malloc/arena.c: Likewise.
70566         * malloc/set-freeres.c: Likewise.
70567         * misc/err.c: Likewise.
70568         * misc/getttyent.c: Likewise.
70569         * misc/mntent_r.c: Likewise.
70570         * posix/getopt.c: Likewise.
70571         * posix/wordexp.c: Likewise.
70572         * pwd/fgetpwent_r.c: Likewise.
70573         * resolv/Versions: Likewise.
70574         * resolv/res_hconf.c: Likewise.
70575         * shadow/fgetspent_r.c: Likewise.
70576         * shadow/putspent.c: Likewise.
70577         * stdio-common/printf_fphex.c: Likewise.
70578         * stdio-common/tmpfile.c: Likewise.
70579         * stdlib/abort.c: Likewise.
70580         * stdlib/fmtmsg.c: Likewise.
70581         * sunrpc/auth_unix.c: Likewise.
70582         * sunrpc/clnt_perr.c: Likewise.
70583         * sunrpc/clnt_tcp.c: Likewise.
70584         * sunrpc/clnt_udp.c: Likewise.
70585         * sunrpc/clnt_unix.c: Likewise.
70586         * sunrpc/openchild.c: Likewise.
70587         * sunrpc/svc_simple.c: Likewise.
70588         * sunrpc/svc_tcp.c: Likewise.
70589         * sunrpc/svc_udp.c: Likewise.
70590         * sunrpc/svc_unix.c: Likewise.
70591         * sunrpc/xdr.c: Likewise.
70592         * sunrpc/xdr_array.c: Likewise.
70593         * sunrpc/xdr_rec.c: Likewise.
70594         * sunrpc/xdr_ref.c: Likewise.
70595         * sunrpc/xdr_stdio.c: Likewise.
70597 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70599         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70601 2011-07-03  Andreas Jaeger  <aj@suse.de>
70603         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70604         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70605         regenerate with gen-libm-tests.pl.
70607 2010-05-12  Petr Baudis  <pasky@suse.cz>
70609         [BZ #11589]
70610         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70611         around j0() zero points by switching to j1().
70612         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70613         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70614         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70615         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70617 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70619         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70620         instead of 0.
70621         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70622         instead of 0.
70623         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70624         Patch in part by Pavel Roskin <proski@gnu.org>.
70626         [BZ #13138]
70627         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70628         realloc.
70629         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70630         Free memory block if necessary.
70632         [BZ #12847]
70633         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70634         be NULL.  Don't lock in this case.
70636 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70638         * elf/elf.h (ELFOSABI_GNU): New macro.
70639         (ELFOSABI_LINUX): Define to that.
70641 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70643         * string/strncat.c (strncat): Undef the symbol in case it has been
70644         defined in bits/string.h.
70646 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70648         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70650         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70651         link map.
70653 2011-08-17  Andreas Jaeger  <aj@suse.de>
70655         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70657 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70658             Ian Lance Taylor  <iant@google.com>
70660         * math/libm-test.inc (lround_test): New testcase.
70661         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70663 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70665         * Makefile: Remove support for automatic cvs check-ins.
70666         * Makerules: Likewise.
70667         * config.make.in: Likewise.
70668         * configure.in: Likewise.
70669         * intl/Makefile: Likewise.
70670         * locale/Makefile: Likewise.
70671         * po/Makefile: Likewise.
70672         * posix/Makefile: Likewise.
70673         * sysdeps/gnu/Makefile: Likewise.
70674         * sysdeps/mach/hurd/Makefile: Likewise.
70675         * sysdeps/sparc/sparc32/Makefile: Likewise.
70677         [BZ #13118]
70678         * posix/Makefile (bug-regex32-ENV): Define.
70679         Patch by John Stanley <jpsinthemix@verizon.net>.
70681         * misc/Makefile (headers): Add bits/select2.h.
70682         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70683         * misc/bits/select2.h: New file.
70684         * include/bits/select2.h: New file.
70685         * debug/Makefile (routines): Add fdelt_chk.
70686         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70687         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70688         FD_ISSET.
70689         * debug/fdelt_chk.c: New file.
70691         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70692         * wcsmbs/test-wmemcmp.c: Likewise.
70693         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70694         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70696 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70698         * string/Makefile (strop-tests): Add memcmp.
70699         * string/test-wmemcmp.c: New file.
70700         * string/test-memcmp.c: Add wmemcmp support.
70702 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70704         [BZ #13153]
70705         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70706         2011-07-19 change.
70708         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70709         garbage value in a __mach_port_mod_refs call in the cases of the
70710         task-self and thread-self ports.
70712 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70714         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70716 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70718         * elf/dl-load.c (lose): Check for non-null L.
70720 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70722         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70724         * elf/dl-libc.c (dlerror_run): Pass back error code from
70725         dl_catch_error.
70727         [BZ #13123]
70728         * elf/dl-load.c (lose): Free l_origin if it is valid.
70730         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70731         names.
70732         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70733         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70734         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70735         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70736         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70737         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70739 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70741         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70742         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70743         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70744         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70745         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70746         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70747         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70748         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70749         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70750         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70752 2011-08-15  Alan Modra  <amodra@gmail.com>
70754         [BZ #13092]
70755         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70756         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70757         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70758         ppc_mcount to static-only-routines.
70759         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70760         __mcount_internal.
70761         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70762         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70764 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70766         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70767         for finite and infinity parameters.
70769 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70771         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70772         and add nop instructions for throughput optimization.
70773         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70775 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70777         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70778         aligned copy for power7 with vector-scalar instructions.
70779         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70781 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70784         AVX check.
70786 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70788         [BZ #13144]
70789         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70790         last change.
70792 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70794         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70795         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70796         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70797         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70798         clock_gettime.
70800 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70802         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70803         Forgot to demangle the pointer.
70805         * sysdeps/i386/sysdep.h: Define atom_text_section.
70806         * sysdeps/x86_64/sysdep.h: Likewise.
70807         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70808         section with atom_text_section.
70809         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70810         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70811         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70812         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70813         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70815         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70816         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70817         already be defined.  Change to take two parameters and don't assign
70818         result to variable.  Adjust all users.
70819         Define INTERNAL_GETTIME if not already defined.
70820         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70821         call.
70822         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70823         HAVE_CLOCK_GETTIME_VSYSCALL.
70824         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70826         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70827         gettimeofday vsyscall, just use time.
70829 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70831         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70832         <errno.h>.
70834 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70836         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
70837         syscall on x86-64.
70838         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
70839         syscall.
70840         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
70841         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
70842         syscall if possible.
70844 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70846         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
70847         e_ident.  Don't pass to find_mapsXX.
70848         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
70850 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70853         strchr-sse2-no-bsf strrchr-sse2-no-bsf
70854         * sysdeps/x86_64/multiarch/strchr.S: Update.
70855         Check bit_slow_BSF bit.
70856         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70857         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
70858         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
70860 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70862         [BZ #13134]
70863         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
70864         before glibc 2.15.
70865         (tryshell): Define.
70866         (__spawni): Change last parameter to be flag.  Test
70867         SPAWN_XFLAGS_USE_PATH flag to use path or not.
70868         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
70869         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
70870         * posix/spawni.c: Likewise.
70871         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
70872         * posix/spawnp.c: Likewise.  Change normal version to use
70873         SPAWN_XFLAGS_USE_PATH.
70874         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
70875         SPAWN_XFLAGS_TRY_SHELL.
70877         [BZ #13150]
70878         * posix/glob.h: Remove gcc 1.x support.
70880         [BZ #13068]
70881         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
70883 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
70885         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70886         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
70887         strrchr-sse2-bsf
70888         * sysdeps/i386/i686/multiarch/strchr.S: New file.
70889         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
70890         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
70891         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
70892         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
70893         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
70895 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70897         * sysdeps/x86_64/wcscmp.S: New file.
70899         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
70900         wcscmp-c wcscmp-sse2
70901         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
70902         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
70903         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
70904         * wcsmbs/wcscmp.c: Allow renaming.
70906 2011-09-05  David S. Miller  <davem@davemloft.net>
70908         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
70909         stack slot, rather than the struct return pointer slot.
70910         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
70911         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
70912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
70913         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
70915 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
70917         * po/ja.po: Update from translation team.
70919         [BZ #13144]
70920         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
70921         kernel in 64-bit binaries.
70923 2011-09-01  David S. Miller  <davem@davemloft.net>
70925         * elf/elf.h (HWCAP_SPARC_*): Move to..
70926         * sysdeps/sparc/sysdep.h: this new file and add new values.
70927         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
70928         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
70929         _DL_HWCAP_COUNT to 24.
70930         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70931         entries.
70932         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
70933         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
70934         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
70935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
70936         instead of magic constants.
70937         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70939 2011-08-31  David S. Miller  <davem@davemloft.net>
70941         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
70942         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
70943         Reimplement to do errno handling inline.
70944         (SYSCALL_ERROR_HANDLER): New macro.
70945         (__SYSCALL_STRING): Do not do errno handling in asm.
70946         (__CLONE_SYSCALL_STRING): Delete.
70947         (__INTERNAL_SYSCALL_STRING): Delete.
70948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
70949         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
70950         (PSEUDO): Reimplement to do errno handling inline.
70951         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
70952         (SYSCALL_ERROR_HANDLER): New macro.
70953         (__SYSCALL_STRING): Do not do errno handling in asm.
70954         (__CLONE_SYSCALL_STRING): Delete.
70955         (__INTERNAL_SYSCALL_STRING): Delete.
70956         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
70957         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
70958         i386.
70959         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
70960         (inline_syscall*): Add 'err' argument.
70961         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
70962         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
70963         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
70964         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
70966         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
70967         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70969 2011-08-30  Andreas Schwab  <schwab@redhat.com>
70971         * elf/rtld.c (dl_main): Relocate objects in dependency order.
70973 2011-08-29  Jiri Olsa <jolsa@redhat.com>
70975         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
70976         directive.
70978 2011-08-24  David S. Miller  <davem@davemloft.net>
70980         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
70982 2011-08-24  Andreas Schwab  <schwab@redhat.com>
70984         * elf/Makefile: Add rules to build and run unload8 test.
70985         * elf/unload8.c: New file.
70986         * elf/unload8mod1.c: New file.
70987         * elf/unload8mod1x.c: New file.
70988         * elf/unload8mod2.c: New file.
70989         * elf/unload8mod3.c: New file.
70991         * elf/dl-close.c (_dl_close_worker): Reset private search list if
70992         it wasn't used.
70994 2011-08-23  David S. Miller  <davem@davemloft.net>
70996         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
70997         subtract stack bias.
70998         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
70999         %sp not %fp in calculations.
71000         (_JMPBUF_UNWINDS_ADJ): Likewise.
71002         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71003         (aio_suspend): Call it to force an exception region around the
71004         AIO_MISC_WAIT() invocation.
71006 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71008         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71009         backslash.
71011 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71013         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71014         protection macro.
71015         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71016         and <dl-machine.h>.
71017         (Elf64_FuncDesc): Remove.
71019 2011-08-22  David S. Miller  <davem@davemloft.net>
71021         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71022         sigaltstack check, add missing cfi directives.
71023         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71024         missing cfi directives, and sigaltstack handling.
71026 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71028         [BZ #11724]
71029         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71030         object is seen twice.
71031         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71033         * elf/Makefile (distribute): Add tst-initorder2.c.
71034         (tests): Add tst-initorder2.
71035         (modules-names): Add tst-initorder2a tst-initorder2b
71036         tst-initorder2c tst-initorder2d.  Add rules to build them.
71037         ($(objpfx)tst-initorder2.out): New rule.
71038         * elf/tst-initorder2.c: New file.
71039         * elf/tst-initorder2.exp: New file.
71041 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71043         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71045         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71046         dependencies back to end of function.
71048         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71049         $(elfobjdir)/ld.so.
71051 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71054         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71055         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71056         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71057         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71058         of __vdso_gettimeofday.
71059         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71060         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71061         attribute_hidden.
71062         (_libc_vdso_platform_setup): Remove initialization of
71063         __vdso_gettimeofday and __vdso_time.
71065 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71067         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71068         and fgetc_unlocked.
71069         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71070         getc_unlocked.
71072         * elf/dl-open.c (add_to_global): Report additions to the global scope
71073         for LD_DEBUG=scopes.
71074         (dl_open_worker): Also print scope of newly loaded dependencies.
71075         (_dl_show_scope): Indicate if there is no scope.
71077         [BZ #13114]
71078         * stdio-common/Makefile (tests): Add bug24.
71079         * stdio-common/bug24.c: New file.
71081 2011-08-19  Andreas Jaeger  <aj@suse.de>
71083         [BZ #13114]
71084         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71085         non-existant file when using close-on-exec mode.
71087 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71089         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71090         the very first instruction.
71092         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71093         the CFI state in the end.
71094         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71095         inclusion of dl-trampoline.h.
71096         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71098 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71100         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71101         expectations for long double.
71103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71104         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71106 2011-08-14  David S. Miller  <davem@davemloft.net>
71108         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71109         artificual limit depends upon the system page size.
71111 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71113         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71114         * resolv/Makefile: Define CFLAGS-libresolv.
71116 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71118         * nss/makedb.c (compute_tables): Make variables used in nested
71119         function static.
71121 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71123         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71124         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71125         if buffer was too small.
71127         * elf/pldd.c (main): Attach to all threads in the process.
71128         Rewrite /proc handling to use *at functions.
71130 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71132         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71133         specifies first scope to show.
71134         (dl_open_worker): Update callers.  Move printing scope of new
71135         object to before the relocation.
71136         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71137         * sysdeps/generic/ldsodefs.h: Update declaration.
71139         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71140         string for the scope number.
71142 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71144         * nscd/servicescache.c (cache_addserv): Make sure written is always
71145         initialized.
71147 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71149         * sysdeps/i386/i486/bits/atomic.h
71150         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71151         statement expression, so as to suppress "set but not used" warning.
71152         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71154         * string/strncat.c (STRNCAT): Use prototype definition.
71156         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71157         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71158         -Iprograms here.
71159         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71160         (localedef-modules): Add localedef.
71161         (locale-modules): Add locale.
71163         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71164         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71165         to avoid a warning.
71167 2011-08-14  David S. Miller  <davem@davemloft.net>
71169         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71170         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71172 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71174         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71175         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71176         * elf/rtld.c (dl_main): Set l_name of vDSO.
71177         Call _dl_show_scope when DL_DEBUG_SCOPES.
71178         (process_dl_debug): Recognize scopes flag and also set it for all.
71179         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71180         Declare _dl_show_scope.
71182         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71183         (do_dlopen): Pass caller_dlopen to dl_open.
71184         (__libc_dlopen_mode): Initialize caller_dlopen.
71186         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71187         of libc.  Make tolower call locale-independent.  Optimize a bit by
71188         using isdigit instead of isalnum.
71189         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71191 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71193         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71194         was a dependency or dynamically loaded.
71196 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71198         * intl/l10nflist.c: Allow architecture-specific pop function.
71199         * sysdeps/x86_64/l10nflist.c: New file.
71201         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71202         classification.
71204 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71206         * include/dirent.h: Add libc_hidden_proto for scandirat and
71207         scandirat64.  Don't declare __scandirat64.
71208         * dirent/scandirat.c: Add libc_hidden_def.
71209         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71210         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71212 2011-08-10  David S. Miller  <davem@davemloft.net>
71214         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71215         enum.
71216         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71217         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71218         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71220 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71222         * Versions.def [libc]: Add GLIBC_2.15.
71223         * dirent/Makefile (routines): Add scandirat and scandirat64.
71224         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71225         GLIBC_2.15.
71226         * dirent/dirent.h: Declare scandirat and scandirat64.
71227         * dirent/scandirat.c: New file.
71228         * dirent/scandirat64.c: New file.
71229         * sysdeps/wordsize-64/scandirat.c: New file.
71230         * sysdeps/wordsize-64/scandirat64.c: New file.
71231         * dirent/opendir.c: Define opendirat.
71232         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71233         using scandirat.
71234         * dirent/scandir64.c: Adjust for scandir.c change.
71235         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71236         __scandirat64, and __scandir_cancel_handler.
71237         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71238         additional parameter and use openat instead of open (outside of ld.so).
71239         Add new __opendir as wrapper around __opendirat.
71240         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71241         here without requiring old scandirat implementation.
71243 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71245         * dirent/scandir.c (cancel_handler): Renamed to
71246         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71247         defined.  Adjust users.
71248         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71249         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71251 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71253         * string/test-string.h (IMPL): Use __STRING to expand name and then
71254         stringify it.
71256         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71257         of cleanups.
71259 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71261         * string/Makefile: Update.
71262         (strop-tests): Append strncat.
71263         * string/test-wcscmp.c: New file.
71264         New comprehensive test for wcscmp.
71265         * string/test-strcmp.c: Update.
71266         (WIDE): New define.
71268 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71270         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71271         line.
71273 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71276         encoding to ACE if AI_IDN.
71278 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71280         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71281         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71283 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71285         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71286         Fix overflow bug in strncat.
71287         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71289         * string/test-strncat.c: Update.
71290         Add new tests for checking overflow bugs.
71292 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71295         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71296         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71297         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71298         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71299         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71300         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71301         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71302         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71304         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71305         (USE_AS_STRCAT): Define.
71306         Add strcat and strncat support.
71307         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71309 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71311         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71312         __n bigger than INT_MAX+1.
71313         (__strncmp_g): Likewise.
71315 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71317         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71318         * libio/stido.h: Likewise.
71320         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71321         (AF_NFC): Define.
71322         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71323         (AF_NFC): Define.
71325         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71326         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71328         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71329         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71331         [BZ #13021]
71332         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71333         installed.
71335         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71336         typo.
71337         (_dl_x86_64_save_sse): Likewise.
71339 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71341         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71342         OSXSAVE.
71343         (_dl_x86_64_save_sse): Likewise.
71345         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71347         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71349 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71352         change.
71353         (_dl_x86_64_save_sse): Use correct AVX check.
71355 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71357         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71358         bug in strncpy/strncat.
71359         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71361 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71363         * string/tester.c (test_strcat): Add tests for different alignments
71364         of source and destination.
71365         (test_strncat): Likewise.
71367 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71369         [BZ #12852]
71370         * posix/glob.c (glob): Check passed in values before using them in
71371         expressions to avoid some overflows.
71372         (glob_in_dir): Likewise.
71374         [BZ #13007]
71375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71376         check for AVX enablement so that we don't crash with old kernels and
71377         new hardware.
71378         * elf/tst-audit4.c: Add same checks here.
71379         * elf/tst-audit6.c: Likewise.
71381         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71383 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71385         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71387 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71389         * po/cs.po: Update from translation team.
71390         * po/bg.po: Likewise.
71392 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71394         * misc/sys/cdefs.h: Add support for const attribute.
71395         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71396         to gnu_dev_{major,minor,makedev} functions.
71398 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71400         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71402 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71404         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71405         strlen results.
71407 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71410         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71411         register in order to avoid conflicts with the soft frame pointer
71412         being held in r11 when necessary.
71413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71414         (INTERNAL_VSYSCALL_NCS): Likewise.
71416 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71418         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71419         * elf/dl-fini.c (_dl_fini): Adjust caller.
71420         * elf/dl-close.c (_dl_close_worker): Likewise.
71421         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71423 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71425         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71426         "aux_cache->nlibs < 0".
71428         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71429         in the reload-count case.
71431 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71434         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71435         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71436         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71437         * sysdeps/x86_64/multiarch/strcat.S: New file.
71438         * sysdeps/x86_64/multiarch/strncat.S: New file.
71439         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71440         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71441         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71442         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71443         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71444         (USE_AS_STRCAT): Define.
71445         Add strcat and strncat support.
71446         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71447         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71448         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71449         * string/strncat.c: Update.
71450         (USE_AS_STRNCAT): Define.
71451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71452         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71453         and i7.
71454         * sysdeps/x86_64/multiarch/init-arch.h
71455         (bit_Prefer_PMINUB_for_stringop): New.
71456         (index_Prefer_PMINUB_for_stringop): Likewise.
71457         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71458         bit_Prefer_PMINUB_for_stringop.
71460 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71462         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71463         buffer64.
71464         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71465         of casting of buffer.
71466         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71467         buffer32 and buffer64.
71468         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71469         writes instead of casting of buffer.
71470         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71471         buffer32.
71472         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71473         casting of buffer.
71475 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71477         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71479 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71481         * nscd/nscd.c (termination_handler): Don't do anything for a database
71482         if it has not yet been initialized.
71484 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71486         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71488 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71490         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71492 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71494         * po/nl.po: Update from translation team.
71495         * po/sv.po: Likewise.
71497 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71499         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71500         now disallowed by GCC.
71502         * configure.in (use-default-link): Default to yes if a test -shared
71503         link meets our qualifications.
71504         * configure: Regenerated.
71506         * config.make.in (output-format): New variable.
71507         * configure.in: Check for ld --print-output-format support.
71508         * configure: Regenerated.
71509         * Makerules ($(common-objpfx)format.lds)
71510         [$(output-format) != unknown]: Just use $(output-format),
71511         instead of the linker-script munging.
71513 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71515         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71516         of $(common-objpfx)shlib.lds.
71517         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71519         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71520         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71522         * configure.in (-z relro check): Adjust test code to add a large
71523         writable data section after it.
71524         * configure: Regenerated.
71526 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71528         * configure.in (-z relro check): Fix test code to make the variable
71529         truly const.
71530         * configure: Regenerated.
71532 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71534         * nscd/nscd.h (struct traced_file): Define.
71535         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71536         elements.  Add traced_files.
71537         (inotify_fd): Declare.
71538         (register_traced_file): Declare.
71539         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71540         (inotify_fd): Export.
71541         (resolv_conf_descr): Remove.
71542         (nscd_init): Move inotify descriptor creation to main.
71543         Don't register files for notification here.
71544         (register_traced_file): New function.
71545         (invalidate_cache): Don't use reset_res to determine whether to call
71546         res_init, go through the list of registered files.
71547         (main_loop_poll): The inotify descriptors are now stored in the
71548         structures for the traced files.
71549         (main_loop_epoll): Likewise.
71550         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71551         to __nss_disable_nscd.
71552         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71553         for a database anymore.  Check the records for all the registered
71554         files instead.
71555         * nss/Makefile (libnss_files-routines): Add files-init.
71556         (libnss_db-routines): Add db-init.
71557         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71558         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71559         * nss/nss_db/db-init.c: New file.
71560         * nss/nss_files/files-init.c: New file.
71561         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71562         __nss_lookup_function.
71563         (__nss_lookup_function): Call nss_load_library.
71564         (nss_load_all_libraries): New function.
71565         (__nss_disable_nscd): Take parameter with callback function for files
71566         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71567         used for the cached services.
71568         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71569         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71570         options for features to all the files in nscd.
71572         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71574 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71576         * csu/elf-init.c (__libc_csu_init): Comment typo.
71578 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71580         * po/pl.po: Update from translation team.
71581         * po/ja.po: Likewise.
71582         * po/ru.po: Likewise.
71583         * po/ko.po: Likewise.
71584         * po/fr.po: Likewise.
71586 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71588         * configure.in (.ctors/.dtors header and trailer check):
71589         Use an empirical test on a built program.
71590         * configure: Regenerated.
71592         * configure.in (-z relro check): Use an empirical test on a built DSO.
71593         Detect, but do not require, on ia64.
71594         * configure: Regenerated.
71596         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71597         Update tests that use readelf to use $READELF instead.
71598         * configure: Regenerated.
71600 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71602         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71603         if the result is not used.
71605 2011-07-05  Andreas Jaeger  <aj@suse.de>
71607         [BZ#9696]
71608         * stdlib/tst-strtod.c: Add testcase.
71610 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71612         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71613         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71614         The latter has a higher limit.  Take additional parameter to pass to
71615         the new function.
71616         (__pathconf): Pass file to __statfs_link_max.
71617         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71618         __statfs_link_max.
71619         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71620         __statfs_link_max.
71622         [BZ #12868]
71623         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71624         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71625         Handle Lustre.
71626         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71627         (__statfs_filesize_max): Likewise.
71628         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71630 2011-07-05  Andreas Jaeger  <aj@suse.de>
71632         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71634 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71636         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71637         `status' variable.
71638         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71639         Likewise.
71641 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71643         * Makefile (strop-tests): Add strncat.
71644         * string/test-strncat.c: New file.
71646 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71648         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71650 2011-06-21  Andreas Jaeger  <aj@suse.de>
71652         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71653         Copy rule from iconvdata/Makefile.
71655 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71657         [BZ #12922]
71658         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71659         but no long options are defined, just return 'W'.
71661 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71663         [BZ #9696]
71664         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71666 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71668         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71669         netgroups to read.
71670         (innetgr): Likewise.
71672 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71674         * config.make.in (install_root): Default to $(DESTDIR).
71676 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71678         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71680 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71682         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71684         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71685         containing directory rather than embedding absolute directory names.
71687         * scripts/check-local-headers.sh: Rewritten using awk.
71688         Match by word, not by line.  Print error messages for matches.
71689         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71691         * Makerules [shlib-lds-flags empty]:
71692         ($(common-objpfx)libc_pic.opts): New target.
71693         ($(common-objpfx)libc_pic.os.clean): New target.
71694         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71696         * config.make.in (OBJCOPY): New variable.
71697         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71698         * configure: Regenerated.
71700         * config.make.in (use-default-link): New variable.
71701         * configure.in (use_default_link): Grok --with-default-link to set it.
71702         * configure: Regenerated.
71703         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71704         (shlib-lds, shlib-lds-flags): Define to empty.
71706         * Makerules (shlib-lds): New variable.
71707         (shlib-lds-flags): New variable.
71708         (build-shlib, build-moduile, build-module-asneeded): Use it.
71709         ($(common-objpfx)libc.so): Use $(shlib-lds).
71710         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71711         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71713         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71714         DT_FLAGS/DT_FLAGS_1 with zero flags.
71716         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71717         linker script munging.
71719 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71721         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71722         as 128-bit value.
71723         * crypt/sha512.c (sha512_process_block): Perform total addition using
71724         128-bit if possible.
71725         (__sha512_finish_ctx): Likewise.
71726         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71727         as 64-bit value.
71728         * crypt/sha256.c (SWAP64): Define.
71729         (sha256_process_block): Perform total addition using 64-bit if
71730         possible.
71731         (__sha256_finish_ctx): Likewise.
71733 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71735         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71736         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71737         * nscd/hstcache.c (cache_addhst): Likewise.
71738         * nscd/grpcache.c (cache_addgr): Likewise.
71739         * nscd/aicache.c (addhstaiX): Likewise.
71740         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71742 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71744         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71745         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71746         * nscd/hstcache.c (cache_addhst): Likewise.
71747         * nscd/grpcache.c (cache_addgr): Likewise.
71748         * nscd/aicache.c (addhstaiX): Likewise.
71750 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71752         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71753         domain only when needed.
71755 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71758         is always restored.
71760 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71762         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71763         are re-adding the entry.
71764         * nscd/servicescache.c (cache_addserv): Likewise.
71766 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71768         * sysdeps/generic/dl-irel.h: fix protection against multiple
71769         inclusions.
71770         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71772 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71774         [BZ #12935]
71775         * malloc/memusage.sh: Fix quoting in message.
71776         * debug/xtrace.sh: Likewise.
71778         * configure.in: Remove support for --experimental-malloc option, make
71779         it the default.
71780         * config.make.in: Likewise.
71781         * malloc/Makefile: Likewise.
71783 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71785         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71786         two-byte characters.
71788 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71790         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71791         AC_CACHE_CHECK invocation.
71792         * configure: Regenerated.
71794         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71796 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71798         [BZ #12350]
71799         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71800         bit from old_res_options.
71802         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71804         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71805         value type for setfct.
71807 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71809         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71810         __gettimeofday instead of gettimeofday.
71812 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71814         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71816 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71818         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71820         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71821         info.
71823 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71826         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71827         strcpy-sse2-unaligned strncpy-sse2-unaligned
71828         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71829         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71830         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71831         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71832         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71833         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71834         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
71835         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
71836         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
71837         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
71838         (STRCPY): Support SSE2 and SSSE3 versions.
71840 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
71842         [BZ #12874]
71843         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
71844         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
71845         kernels which artificially limit size of requests.
71847 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71849         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71850         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71851         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
71852         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
71853         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
71854         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
71855         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
71856         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
71857         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
71858         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
71859         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
71860         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
71861         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
71862         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
71863         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
71864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71865         Enable unaligned load optimization for Intel Core i3, i5 and i7
71866         processors.
71867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
71868         Define.
71869         (index_Fast_Unaligned_Load): Define.
71870         (HAS_FAST_UNALIGNED_LOAD): Define.
71872 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
71874         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
71876 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71878         [BZ #12907]
71879         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
71880         until it is clear that the information is realy needed.
71881         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
71883 2011-06-22  Andreas Schwab  <schwab@redhat.com>
71885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
71887 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
71889         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71890         /sys/devices/system/cpu/online if it is usable.
71892         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
71893         reading the information from the /proc filesystem to once a second.
71895 2011-06-21  Andreas Jaeger  <aj@suse.de>
71897         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
71898         NULL after inclusion of kernel headers.
71900 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
71902         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
71903         calls to internal_setent.
71905         [BZ #12885]
71906         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
71907         addresses using gethostbyname4_r ignore IPv4 addresses.
71909         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
71910         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
71912         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
71914 2011-06-20  David S. Miller  <davem@davemloft.net>
71916         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
71917         inclusions.
71918         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
71920         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
71921         (elf_irel): Use it.
71922         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
71923         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
71924         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
71925         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
71926         * sysdeps/x86_64/dl-irel.h: Likewise.
71928         * elf/dl-runtime.c: Use elf_ifunc_invoke.
71929         * elf/dl-sym.c: Likewise.
71931 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71933         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
71934         need to dereference resplen2.
71936 2011-06-14  Andreas Schwab  <schwab@redhat.com>
71938         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
71940 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
71942         * Makeconfig: Define vardbdir and inst_vardbdir.
71943         * nss/Makefile: Add rules to install db-Makefile.
71945         * nss/nss_db/db-XXX.c: Cleanup.
71947         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
71948         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
71949         GLIBC_PRIVATE.
71950         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
71951         * nss/makedb.c: Implement -g option to specify that value strings
71952         are generated and should not be added to table iterated over for
71953         get*ent calls.
71954         * nss/nss_db/db-initgroups.c: New file.
71956         * nss/getent.c: Add support for initgroups lookups through getgrouplist
71957         interface.
71959         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
71960         (internal_getgrouplist): Adjust to name change.
71961         Update use_initgroups_entry if this is not the first call.
71962         * nss/databases.def: Add initgroups entry.
71964         * nss/makedb.c (compute_tables): Check result of multiple hash table
71965         sizes to minimize maximum chain length.
71967 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
71969         * Versions.def: Add entry for libnss_db.
71970         * shlib-versions: Likewise.
71971         * nss/Makefile: Add rules to build libnss_db.
71972         * nss/Versions: Add libnss_db information.  Organize libnss_files
71973         entries better.
71974         * nss/db-Makefile: Add gshadow support.  Change rules for the new
71975         makedb progra.  Some minor improvements to generate smaller files.
71976         * nss/nss_db/nss_db.h: Move NSS database header data structures to
71977         here from...
71978         * nss/makedb.c: ...here.
71979         Improve database format to be smaller and require less memory at
71980         runtime.
71981         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
71982         db anymore.
71983         * nss/nss_db/db-netgrp.c: Likewise.
71984         * nss/nss_db/db-open.c: Likewise.
71985         * nss/nss_files/flies-XXX.x: Adjust comments.
71986         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
71987         * nss/nss_files/files-grp.c: Likewise.
71988         * nss/nss_files/files-hosts.c: Likewise.
71989         * nss/nss_files/files-network.c: Likewise.
71990         * nss/nss_files/files-proto.c: Likewise.
71991         * nss/nss_files/files-pwd.c: Likewise.
71992         * nss/nss_files/files-rpc.c: Likewise.
71993         * nss/nss_files/files-service.c: Likewise.
71994         * nss/nss_files/files-sgrp.c: Likewise.
71995         * nss/nss_files/files-spwd.c: Likewise.
71996         * nss/nss_db/db-alias.c: Removed.
71997         * nss/nss_db/dummy-db.h: Removed.
71999 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72001         * nss/makedb.c: Rewritten to not use database library.
72002         * nss/Makefile: Update to build new makedb program.
72004 2011-06-14  Andreas Jaeger  <aj@suse.de>
72006         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72007         memset declaration.
72009 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72012         tmpbuf.
72014 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72016         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72017         * elf/Makefile ($(objpfx)ld.so): Likewise.
72019         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72020         Don't list ld.so twice in dependencies.
72022         * posix/bug-regex31.c: Include <stdlib.h>.
72024         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72026         * nis/nss_compat/compat-spwd.c
72027         (getspent_next_nss_netgr): Remove unused variable.
72028         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72030         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72031         nonmembers" output to use the right array.
72033         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72035         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72037         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72038         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72039         * catgets/gencat.c (read_input_file): Likewise.
72040         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72042         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72043         variable definition inside #if's controlling its use.
72045         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72047         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72049         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72051         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72052         unreachable code.
72054         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72056         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72057         * configure: Regenerated.
72059         * Makerules: Revert last change.
72060         * elf/Makefile: Likewise.
72062 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72064         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72065         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72066         (reloc-link): Likewise.
72068 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72070         * elf/Makefile: Add rules to build pldd.
72071         * elf/pldd.c: New file.
72072         * elf/pldd-xx.c: New file.
72074 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72076         * version.h: Update for 2.15 development version.
72078 2011-06-07  David S. Miller  <davem@davemloft.net>
72080         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72081         ifuncs.
72082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72083         elf_machine_lazy_rel): Likewise.
72084         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72086         elf_machine_lazy_rel): Likewise.
72087         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72088         dl_hwcap via passed in argument.
72089         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72090         Likewise.
72092 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72094         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72096 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72098         [BZ #12849]
72099         * manual/fdl-1.1.texi: New file, verbatim from:
72100         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72101         * manual/lgpl-2.1.texi: New file, verbatim from:
72102         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72103         * manual/Makefile (licenses): New variable, list those new file names.
72104         (texis): Use it.
72105         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72107         * manual/fdl.texi: File removed.
72108         * manual/lesser.texi: File removed.
72109         * manual/libc.texinfo (Copying, Documentation License):
72110         Use new @include file names, put @appendix directive before @include.
72112 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72114         [BZ #12841]
72115         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72116         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72117         (mq_open): Add __NTH.
72119 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72122         Assume Intel Core i3/i5/i7 processor if AVX is available.
72124 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72127         typo.
72129 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72131         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72132         memory.  Use alloca_account.  Fix memory leak when retrying.
72134 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72136         * version.h (RELEASE): Bump for 2.14 release.
72137         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72139         * config.make.in (RANLIB): Remove entry.
72141 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72143         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72144         (libc.pot): Work around missing support for .ksh extension in xgettext.
72146         [BZ #12684]
72147         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72148         if both request failed.
72149         (send_dg): In case of server errors clear resplen or *resplen2.
72151         [BZ #12454]
72152         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72153         when there are multiple maps.
72154         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72155         (_dl_fini): Remove test here.
72157         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72159 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72161         [BZ #12350]
72162         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72163         bit from old_res_options.
72164         (gaih_inet): Likewise.
72166         [BZ #11099]
72167         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72168         as signed.
72170         * resolv/res_init.c (res_setoptions): Make the code more compact.
72172         [BZ #11558]
72173         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72174         set RES_USEVC.
72176         [BZ #11634]
72177         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72179         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72181         [BZ #11781]
72182         * malloc/malloc.h: Declare malloc hook variables as volatile.
72184         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72185         in last patch.
72187         [BZ #11799]
72188         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72189         raise in the comment.
72190         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72191         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72192         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72194 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72196         [BZ #12811]
72197         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72198         grow the buffers more if it already has to be sufficient.
72199         (build_wcs_upper_buffer): Likewise.
72200         * posix/regexec.c (check_matching): Likewise.
72201         (clean_state_log_if_needed): Likewise.
72202         (extend_buffers): Don't enlarge buffers beyond size of the input
72203         buffer.
72204         Patches mostly by Emil Wojak <emil@wojak.eu>.
72205         * posix/bug-regex32.c: New file.
72206         * posix/Makefile (tests): Add bug-regex32.
72208         * locale/findlocale.c (_nl_find_locale): Return right away if
72209         _nl_explode_name failed.
72210         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72212         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72214         * debug/xtrace.sh: Unify messages.
72215         * malloc/memusage.sh: Likewise.
72217         [BZ #12813]
72218         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72219         time symbol from vDSO.  Substitute with vsyscall if not available.
72220         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72221         __vdso_time.
72223         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72224         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72225         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72226         Add sendmmsg and internal_sendmmsg.
72227         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72228         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72229         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72231         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72232         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72233         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72235 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72237         [BZ #12813]
72238         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72239         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72240         available.
72241         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72242         __vdso_getcpu.
72244         [BZ #12814]
72245         * iconvdata/Makefile (tests): Add bug-iconv9.
72246         * iconvdata/bug-iconv9.c: New file.
72248 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72250         [BZ #12814]
72251         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72253 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72255         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72256         (struct user_regs_struct): Change intcs field back to cs.
72258 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72260         * po/ja.po: Update from translation team.
72262 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72264         [BZ #12795]
72265         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72266         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72268 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72270         * stdlib/longlong.h: Update from GCC.
72272 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72274         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72275         parameter name.
72276         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72277         Add parameter name.
72278         (__sysconf): Pass it down.
72280 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72282         [BZ #12671]
72283         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72284         some situations.
72285         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72286         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72287         add in in __libc_use_alloca calls.  Adjust callers.
72288         (glob): Use malloc in some situations.
72290         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72291         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72292         pltexit.
72294 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72296         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72297         and CLOCK_BOOTTIME_ALARM.
72299         [BZ #12782]
72300         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72301         is returned.
72303         * string/_strerror.c (__strerror_r): Print negative errors as signed
72304         numbers.
72306         [BZ #12777]
72307         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72308         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72309         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72311         * configure.in: Fix typo in redirection and correct removal of test
72312         files in two cases.
72314         [BZ #12788]
72315         * locale/setlocale.c (new_composite_name): Fix test to check for
72316         identical name of all categories.
72318         [BZ #12792]
72319         * libio/filedoalloc.c (local_isatty): New function.
72320         (_IO_file_doallocate): Use local_isatty.
72321         * stdio-common/perror.c (perror): In case a new stream is used
72322         forward the stream error.
72323         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72324         error flag.
72326 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72328         [BZ #11884]
72329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72330         alloca.
72331         * include/alloca.h (extend_alloca_account): Define.
72333         [BZ #11857]
72334         * posix/regex.h: Fix comments with documentation of user-accessible
72335         fields after compilation and describe correct free'ing of pattern
72336         after re_compile_pattern.
72337         Patch by Reuben Thomas <rrt@sc3d.org>.
72339 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72341         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72342         and -mno-altivec to prevent the compiler from using Altivec and/or
72343         VSX instructions when the corresponding registers are not available.
72345 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72347         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72349 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72351         * libio/freopen.c (freopen): Use __dup2, not dup2.
72352         * libio/freopen64.c (freopen64): Likewise.
72354 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72356         [BZ #12775]
72357         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72358         * math/Makefile (tests): Add test-powl.
72359         (CFLAGS-test-powl.c): Define.
72360         * math/test-powl.c: New file.
72362 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72364         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72366 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72368         [BZ #11837]
72369         * iconvdata/gb18030.c: Update to GB18020-2005.
72371 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72373         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72374         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72375         Patch by Aharon Robbins <arnold@skeeve.com>.
72377         [BZ #11892]
72378         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72379         on the stack.
72381         [BZ #11895]
72382         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72383         through underflows.
72385         [BZ #12766]
72386         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72387         point to strings before performing equality test for error_one_per_line
72388         mode.
72390         [BZ #11697]
72391         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72393         [BZ #11820]
72394         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72395         (struct user_fpregs_struct): Avoid __uint*_t types.
72397         [BZ #6420]
72398         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72399         symbol info.  Use it instead of calling _dl_addr locally.
72400         (lock_and_info): New function.
72401         (tr_freehook): Call lock_and_info and pass symbol info as additional
72402         parameter to tr_where.
72403         (tr_mallochook): Likewise.
72404         (tr_reallochook): Likewise.
72405         (tr_memalignhook): Likewise.
72407         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72408         used and couldn't be at all thread-safe.
72410 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72412         * libio/freopen.c (freopen): Don't close old file descriptor
72413         before the new one is opened.  Instead dup the new file descriptor
72414         to the old one after the new stream is created.
72415         * libio/freopen64.c (freopen64): Likewise.
72416         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72417         * libio/fileops.c (_IO_new_file_close_it): Handle new
72418         _IO_FLAGS2_NOCLOSE flag.
72419         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72420         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72421         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72422         _IO_FLAGS2_NOCLOSE flag.
72423         * include/unistd.h: Add hidden_proto for dup3.
72424         Define __have_dup3.
72425         * io/dup3.c: Define hidden symbol.
72426         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72428         [BZ #7101]
72429         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72430         when an incomplete long option is used.
72431         * posix/tst-getopt_long1.c: New file.
72432         * posix/Makefile (tests): Add tst-getopt_long1.
72434         [BZ #10138]
72435         * scripts/config.guess: Update from autoconf-2.68.
72436         * scripts/config.sub: Likewise.
72438         [BZ #10157]
72439         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72440         tests into ...
72441         (has_cpuclock): ...this.  New function.
72442         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72443         macro here based on has_cpuclock code.
72445         [BZ #10149]
72446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72447         First byte (not low byte) is now always NUL.
72448         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72450         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72451         Use non-cancelable interfaces.
72453         [BZ #9809]
72454         * locale/iso-639.def: Add entry for Sorani.
72456         [BZ #11901]
72457         * include/stdlib.h: Move include protection to the right place.
72458         Define abort_msg_s.  Declare __abort_msg with it.
72459         * stdlib/abort.c (__abort_msg): Adjust type.
72460         * assert/assert.c (__assert_fail_base): New function.  Majority
72461         of code from __assert_fail.  Allocate memory for __abort_msg with
72462         mmap.
72463         (__assert_fail): Now call __assert_fail_base.
72464         * assert/assert-perr.c: Remove bulk of implementation.  Use
72465         __assert_fail_base.
72466         * include/assert.hL Declare __assert_fail_base.
72467         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72468         mmap.
72469         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72471 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72473         [BZ #11952]
72474         [BZ #12453]
72475         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72476         until all modules are registered in the DTV.
72477         * elf/Makefile: Add rules to build and run tst-tls19.
72478         * elf/tst-tls19.c: New file.
72479         * elf/tst-tls19mod1.c: New file.
72480         * elf/tst-tls19mod2.c: New file.
72481         * elf/tst-tls19mod3.c: New file.
72482         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72484         [BZ #12083]
72485         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72486         correctly.
72488         [BZ #12601]
72489         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72490         two-byte sequence errors.
72491         * iconvdata/Makefile (tests): Add bug-iconv8.
72492         * iconvdata/bug-iconv8.c: New file.
72494         [BZ #12626]
72495         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72496         buf2 definition.
72498         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72500         [BZ #12432]
72501         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72502         (dummy_getcfa): New function.
72503         (init): Get _Unwind_GetCFA address, use dummy if not found.
72504         (backtrace_helper): In recursion check, also check whether CFA changes.
72505         (__backtrace): Completely initialize arg.
72507         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72508         storing incomplete byte sequence in state object.  Avoid testing for
72509         guaranteed too small input if we know there is enough data available.
72511 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72513         * Makeconfig (+link-pie): Indent.
72514         * Rules (binaries-pie): Define if $(have-fpie) and
72515         $(build-shared).
72516         (binaries-shared): Also filter out $(binaries-pie).
72517         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72518         * nscd/Makefile (others-pie): Add nscd.
72519         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72520         ($(objpfx)nscd): Remove command override.
72521         * login/Makefile (others-pie): Add pt_chown.
72522         ($(objpfx)pt_chown): Remove command override.
72523         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72524         remove command overrides.
72526 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72528         * libio/tst_putwc.c: Fix error messages.
72530         [BZ #12724]
72531         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72532         currently writing and seek to current position when not.
72533         * libio/Makefile (tests): Add bug-fclose1.
72534         * libio/bug-fclose1.c: New file.
72536 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72538         [BZ #12511]
72539         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72540         don't set DF_1_NODELETE here.
72541         (do_lookup_x): When entering new entry test for copy relocation
72542         and if necessary set DF_1_NODELETE flag.
72543         * elf/tst-unique4.cc: New file.
72544         * elf/tst-unique4.h: New file.
72545         * elf/tst-unique4lib.cc: New file.
72546         * elf/Makefile: Add rules to build and run tst-unique4.
72547         Patch by Piotr Bury <pbury@goahead.com>.
72549 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72551         [BZ #12052]
72552         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72554         [BZ #12625]
72555         * misc/mntent_r.c (addmntent): Flush the stream after the output
72557         [BZ #12393]
72558         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72559         (is_trusted_path_normalize): Skip initial colon.  Append slash
72560         to empty buffer.  Duplicate is_trusted_path code but allow
72561         constructed patch to be prefix.
72562         (is_dst): Allow $ORIGIN followed by /.
72563         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72564         Correct testing of result of is_trusted_path_normalize
72565         (decompose_rpath): Fix warning.
72567 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72569         [BZ #11257]
72570         * grp/initgroups.c (internal_getgrouplist): When we found the service
72571         list through the initgroups entry in nsswitch.conf do not always
72572         continue on a successful lookup.  Don't always use the
72573         __nss_group_database value if it is set.
72574         * nss/nsswitch.conf (initgroups): Change action for successful db
72575         lookup to continue for compatibility.
72577 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72579         [BZ #11532]
72580         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72581         and CP774 modules.
72582         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72583         and CP774 modules.
72584         * iconvdata/tst-tables.sh: Likewise.
72585         * iconvdata/cp770.c: New file.
72586         * iconvdata/cp771.c: New file.
72587         * iconvdata/cp772.c: New file.
72588         * iconvdata/cp773.c: New file.
72589         * iconvdata/cp774.c: New file.
72590         * iconvdata/testdata/CP770: New file.
72591         * iconvdata/testdata/CP770..UTF8: New file.
72592         * iconvdata/testdata/CP771: New file.
72593         * iconvdata/testdata/CP771..UTF8: New file.
72594         * iconvdata/testdata/CP772: New file.
72595         * iconvdata/testdata/CP772..UTF8: New file.
72596         * iconvdata/testdata/CP773: New file.
72597         * iconvdata/testdata/CP773..UTF8: New file.
72598         * iconvdata/testdata/CP774: New file.
72599         * iconvdata/testdata/CP774..UTF8: New file.
72601         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72602         END CHARMAP line.
72603         * iconvdata/gen-8bit-gap.sh: Likewise.
72604         * iconvdata/gen-8bit.sh: Likewise.
72606         * locale/iso-639.def: Add ary entry.
72608         [BZ #11258]
72609         * locale/C-translit.h.in: Add U20A1 transliteration.
72611         [BZ #12178]
72612         * locale/iso-639.def: Add wae entry.
72613         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72615         [BZ #12545]
72616         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72617         for n.
72619         [BZ #12711]
72620         * locale/C-translit.h.in: Add entry for U20B9.
72621         Patch by pravin.d.s@gmail.com.
72623 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72625         [BZ #12713]
72626         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72627         ENAMETOOLONG use generic getcwd.
72628         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72629         in rtld.  Use *stat64.
72630         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72631         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72632         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72633         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72634         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72635         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72636         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72637         __fstatat64 macros.
72638         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72639         * dirent/rewinddir.c: Add libc_hidden_def.
72640         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72641         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72643         * include/dirent.h (__alloc_dir): Add flags parameter.
72644         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72645         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72646         __alloc_dir.
72647         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72648         from fdopendir if O_CLOEXEC is already set.
72650 2011-03-15  Alan Modra  <amodra@gmail.com>
72652         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72653         l_tls_firstbyte_offset non-zero.  Save padding offset in
72654         l_tls_firstbyte_offset for later use.
72655         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72656         freeing static tls block.
72658 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72660         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72661         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72662         being defined by the kernel headers.
72664 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72666         [BZ #12734]
72667         * resolv/resolv.h: Define RES_NOTLDQUERY.
72668         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72669         no-tld-query and set RES_NOTLDQUERY.
72670         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72671         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72672         modern BIND to search name as TLD unless forbidden.
72674 2011-05-07  Petr Baudis  <pasky@suse.cz>
72675             Ulrich Drepper  <drepper@gmail.com>
72677         [BZ #12393]
72678         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72679         (is_trusted_path): ...to here.
72680         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72681         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72682         using is_trusted_path_normalize() in setuid scripts.
72684 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72686         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72687         __BEGIN/__END_DECLS.
72689 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72691         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72692         NSS_STATUS_NOTFOUND if no record was found.
72694 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72696         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72697         (headers-not-in-tirpc): Remove rpc/netdb.h
72698         * resolv/netdb.h: Revert last change.
72700 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72702         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72703         circular dependency between libgcc.a and libc.a.
72705 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72707         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72708         * nis/Makefile: Don't install rpcsvc/*.
72709         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72710         instead of <rpc/types.h>.
72711         (MAXHOSTNAMELEN): Define.
72713 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72715         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72717 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72719         [BZ #12714]
72720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72721         gethostbyname4_r when IPv6 results are possible.
72723 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72725         [BZ #12723]
72726         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72727         _PC_PIPE_BUF handling.
72729 2011-04-30  Bruno Haible  <bruno@clisp.org>
72731         [BZ #12717]
72732         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72733         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72734         to 'int'.
72735         * inet/getnameinfo.c (getnameinfo): Likewise.
72737 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72739         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72740         to groups setting in database lookup.
72741         * nss/nsswitch.conf: Add initgroups entry.
72743 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72745         [BZ #12685]
72746         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72747         mode string.
72748         Patch by Eric Blake <eblake@redhat.com>.
72750 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72752         * sunrpc/Makefile (need-export-routines): Add svc_run.
72753         (routines): Remove svc_run.
72754         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72755         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72756         * sunrpc/svc_run.c (svc_run): Likewise.
72757         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72759 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72761         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72762         problem in reallocation in last patch.
72764 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72766         * sunrpc/Makefile: Move inclusion of Rules.
72768 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72770         * nss/nss_files/files-initgroups.c: New file.
72771         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72772         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72773         _nss_files_initgroups_dyn.
72775 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72777         * elf/elf.h (R_ARM_IRELATIVE): Define.
72779 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72781         * po/ru.po: Update from translation team.
72783 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72785         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72786         dependencies.
72788 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72790         [BZ #12653]
72791         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72792         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72793         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72794         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72795         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72797 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72799         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72800         differing bytes.
72801         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72802         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72803         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72805 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72807         [BZ #12420]
72808         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72809         storing it.
72810         * stdlib/bug-getcontext.c: New file.
72811         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72813 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72815         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72816         instructions into .machine "z9-109".
72817         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72818         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72820 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72822         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72823         between environment variables and auxiliary vector.
72825 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72827         * Makefile: Add rules to build linkobj/libc.so.
72828         * include/libc-symbols.h: Define libc_hidden_nolink.
72829         * include/rpc/auth.h: Mark functions which are to be hidden.
72830         * include/rpc/auth_des.h: Likewise.
72831         * include/rpc/auth_unix.h: Likewise.
72832         * include/rpc/clnt.h: Likewise.
72833         * include/rpc/des_crypt.h: Likewise.
72834         * include/rpc/key_prot.h: Likewise.
72835         * include/rpc/pmap_clnt.h: Likewise.
72836         * include/rpc/pmap_prot.h: Likewise.
72837         * include/rpc/pmap_rmt.h: Likewise.
72838         * include/rpc/rpc_msg.h: Likewise.
72839         * include/rpc/svc.h: Likewise.
72840         * include/rpc/svc_auth.h: Likewise.
72841         * include/rpc/xdr.h: Likewise.
72842         * nis/Makefile: Link all DSOs against linkobj/libc.so.
72843         * nss/Makefile: Likewise.
72844         * sunrpc/Makefile: Don't install headers.  Build library with normal
72845         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
72846         * sunrpc/auth_des.c: Hide exported symbols by default, export some
72847         for the compat linking library.  Remove use of INTDEF/INTUSE.
72848         * sunrpc/auth_none.c: Likewise.
72849         * sunrpc/auth_unix.c: Likewise.
72850         * sunrpc/authdes_prot.c: Likewise.
72851         * sunrpc/authuxprot.c: Likewise.
72852         * sunrpc/clnt_gen.c: Likewise.
72853         * sunrpc/clnt_perr.c: Likewise.
72854         * sunrpc/clnt_raw.c: Likewise.
72855         * sunrpc/clnt_simp.c: Likewise.
72856         * sunrpc/clnt_tcp.c: Likewise.
72857         * sunrpc/clnt_udp.c: Likewise.
72858         * sunrpc/clnt_unix.c: Likewise.
72859         * sunrpc/des_crypt.c: Likewise.
72860         * sunrpc/des_soft.c: Likewise.
72861         * sunrpc/get_myaddr.c: Likewise.
72862         * sunrpc/key_call.c: Likewise.
72863         * sunrpc/key_prot.c: Likewise.
72864         * sunrpc/netname.c: Likewise.
72865         * sunrpc/pm_getmaps.c: Likewise.
72866         * sunrpc/pm_getport.c: Likewise.
72867         * sunrpc/pmap_clnt.c: Likewise.
72868         * sunrpc/pmap_prot.c: Likewise.
72869         * sunrpc/pmap_prot2.c: Likewise.
72870         * sunrpc/pmap_rmt.c: Likewise.
72871         * sunrpc/publickey.c: Likewise.
72872         * sunrpc/rpc_cmsg.c: Likewise.
72873         * sunrpc/rpc_common.c: Likewise.
72874         * sunrpc/rpc_dtable.c: Likewise.
72875         * sunrpc/rpc_prot.c: Likewise.
72876         * sunrpc/rpc_thread.c: Likewise.
72877         * sunrpc/rtime.c: Likewise.
72878         * sunrpc/svc.c: Likewise.
72879         * sunrpc/svc_auth.c: Likewise.
72880         * sunrpc/svc_authux.c: Likewise.
72881         * sunrpc/svc_raw.c: Likewise.
72882         * sunrpc/svc_run.c: Likewise.
72883         * sunrpc/svc_simple.c: Likewise.
72884         * sunrpc/svc_tcp.c: Likewise.
72885         * sunrpc/svc_udp.c: Likewise.
72886         * sunrpc/svc_unix.c: Likewise.
72887         * sunrpc/svcauth_des.c: Likewise.
72888         * sunrpc/xcrypt.c: Likewise.
72889         * sunrpc/xdr.c: Likewise.
72890         * sunrpc/xdr_array.c: Likewise.
72891         * sunrpc/xdr_float.c: Likewise.
72892         * sunrpc/xdr_intXX_t.c: Likewise.
72893         * sunrpc/xdr_mem.c: Likewise.
72894         * sunrpc/xdr_rec.c: Likewise.
72895         * sunrpc/xdr_ref.c: Likewise.
72896         * sunrpc/xdr_sizeof.c: Likewise.
72897         * sunrpc/xdr_stdio.c: Likewise.
72899 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
72901         [BZ #12650]
72902         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
72903         * sysdeps/ia64/dl-tls.h: Likewise.
72904         * sysdeps/powerpc/dl-tls.h: Likewise.
72905         * sysdeps/s390/dl-tls.h: Likewise.
72906         * sysdeps/sh/dl-tls.h: Likewise.
72907         * sysdeps/sparc/dl-tls.h: Likewise.
72908         * sysdeps/x86_64/dl-tls.h: Likewise.
72909         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
72911 2011-03-14  Andreas Schwab  <schwab@redhat.com>
72913         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
72914         rpath element also skip the following colon.
72915         (expand_dynamic_string_token): Add is_path parameter and pass
72916         down to DL_DST_REQUIRED and _dl_dst_substitute.
72917         (decompose_rpath): Call expand_dynamic_string_token with
72918         non-zero is_path.  Ignore empty rpaths.
72919         (_dl_map_object_from_fd): Call expand_dynamic_string_token
72920         with zero is_path.
72922 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
72924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72925         Make cancelable.
72927 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
72929         [BZ #12655]
72930         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
72931         Patch by Filipe David Manana <fdmanana@apache.org>.
72933 2011-04-07  Andreas Schwab  <schwab@redhat.com>
72935         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
72936         Maintain aligned stack.
72937         (CHECK_RSP): Remove unused macro.
72939 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
72941         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
72942         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
72944 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
72946         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
72948         * include/features.h: Mention __USE_XOPEN2K8 in comment.
72950 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
72952         [BZ #12518]
72953         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
72954         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
72955         * sysdeps/x86_64/memmove.c: New file.
72956         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
72957         (memcpy): Renamed to ...
72958         (__new_memcpy): This.
72959         (memcpy): Provide GLIBC_2_14 memcpy.
72960         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
72961         (memcpy): Provide GLIBC_2_2_5 memcpy.
72963 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72965         [BZ #12631]
72966         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
72968 2011-03-30  Andreas Schwab  <schwab@redhat.com>
72970         * misc/syncfs.c: New file.
72971         * misc/Makefile (routines): Add syncfs.
72972         * posix/unistd.h: Declare syncfs.
72973         * sysdeps/unix/syscalls.list: Add syncfs.
72975 2011-04-01  Andreas Schwab  <schwab@redhat.com>
72977         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
72978         open_by_handle_at.
72979         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
72980         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72981         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72982         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72983         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72984         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
72985         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72987 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
72989         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
72990         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
72991         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
72992         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72993         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
72994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72995         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
72997         * io/Makefile: Compile fallocate.c, fallocate64.c, and
72998         sync_file_range.c with -fexceptions.
72999         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73000         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73001         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73002         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73003         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73004         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73006         sync_file_range as cancellation point
73007         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73008         now a wrapper around __call_sync_file_range with cancellation handling.
73009         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73010         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73011         function name to __call_sync_file_range.
73012         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73013         Add call_sync_file_range.
73015 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73017         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73018         bits/timex.h.
73020 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73022         * iconv/iconv.h: Fix typo in comment.
73023         * io/fcntl.h: Likewise.
73024         * libio/stdio.h: Likewise.
73025         * posix/spawn.h: Likewise.
73026         * posix/unistd.h: Likewise.
73027         * stdlib/stdlib.h: Likewise.
73028         * time/time.h: Likewise.
73029         * wcsmbs/wchar.h: Likewise.
73031         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73032         open_by_handle): Add.
73033         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73034         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73035         Augment a few comments.
73036         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73038         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73040         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73041         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73042         open_by_handle.
73044         * io/fcntl.h (AT_EMPTY_PATH): Define.
73046 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73048         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73049         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73050         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73051         to...
73052         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73053         * Versions.def: Add GLIBC_2.14.
73054         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73055         Export.
73057 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73059         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73060         round counter.
73061         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73063 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73065         [BZ #12597]
73066         * string/test-strncmp.c (do_page_test): New function.
73067         (check2): Likewise.
73068         (test_main): Call check2.
73069         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73071 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73073         [BZ #12587]
73074         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73075         Handle cache information in CPU leaf 4.
73076         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73078 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73080         [BZ #12583]
73081         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73082         character representation.
73083         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73085 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73087         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73088         END(__isnan) to END(__isnanf) to match function entry point/label
73089         EALIGN(__isnanf,...).
73091 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73093         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73095 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73097         [BZ #12510]
73098         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73099         copy from the symbol referenced in the relocation to initialize the
73100         used variable.
73101         Patch by Piotr Bury <pbury@goahead.com>.
73102         * elf/Makefile: Add rules to build and tst-unique3.
73103         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73104         * elf/tst-unique3.cc: New file.
73105         * elf/tst-unique3.h: New file.
73106         * elf/tst-unique3lib.cc: New file.
73107         * elf/tst-unique3lib2.cc: New file.
73109         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73111 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73113         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73114         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73115         to _start.
73117 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73119         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73120         to-be-loaded object along a path to loader is ld.so.
73122 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73123             Ulrich Drepper  <drepper@gmail.com>
73125         * sysdeps/x86_64/memset.S: After aligning destination, code
73126         branches to different locations depending on the value of
73127         misalignment, when multiarch is enabled. Fix this.
73129 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73131         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73132         Set _x86_64_preferred_memory_instruction for AMD processsors.
73133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73134         Set bit_Prefer_SSE_for_memop for AMD processors.
73136 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73138         * libio/fmemopen.c (fmemopen): Optimize a bit.
73140 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73142         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73144 2011-03-03  Roland McGrath  <roland@redhat.com>
73146         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73148 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73150         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73151         __bzero_ultra1 instead of __memset_ultra1.
73153 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73154             Ulrich Drepper  <drepper@gmail.com>
73156         [BZ #12509]
73157         * include/link.h (struct link_map): Add l_orig_initfini.
73158         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73159         returning unsuccessfully.
73160         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73161         close of a file loaded at startup, restore the original l_initfini
73162         list.
73163         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73164         list, store the pointer.
73165         * elf/Makefile ($(objpfx)noload-mem): New rule.
73166         (noload-ENV): Define.
73167         (tests): Add $(objpfx)noload-mem.
73168         * elf/noload.c: Include <memcheck.h>.
73169         (main): Call mtrace.  Close all opened handles.
73171 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73173         [BZ #12454]
73174         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73175         dependencies are missing.
73177 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73179         Fix __if_freereq crash: Unlike the generic version which uses free,
73180         Hurd needs munmap.
73181         * sysdeps/mach/hurd/ifreq.h: New file.
73183 2011-01-27  Petr Baudis  <pasky@suse.cz>
73184             Ulrich Drepper  <drepper@gmail.com>
73186         [BZ 12445]#
73187         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73188         to extend_alloca().
73189         * stdio-common/bug23.c: New file.
73190         * stdio-common/Makefile (tests): Add bug23.
73192 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73193             Ulrich Drepper  <drepper@gmail.com>
73195         [BZ #12489]
73196         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73197         before performing relro protection.  At old place add assertion
73198         to make sure nothing changed.
73200 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73201             Glauber de Oliveira Costa  <glommer@gmail.com>
73203         * elf/elf.h: Add new ARM TLS relocs.
73205 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73208         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73209         cast from r3.
73210         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73211         'tests' variable.
73212         * sysdeps/wordsize-64/tst-writev.c: New file.
73214 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73216         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73217         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73218         insns in _dl_start to prevent a TOC reference before relocs are
73219         resolved.
73221 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73223         [BZ #12469]
73224         * Makeconfig: Remove RANLIB definition.
73225         * Makerules: Don't use RANLIB.
73226         * aclocal.m4: Remove ranlib test.
73227         * configure.in: No need to check for ranlib.
73228         * elf/rtld-Rules: Don't use RANLIB.
73230 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73232         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73233         protection macro.
73234         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73235         inclusion protection macro.
73237         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73238         SIGRTMIN and SIGRTMAX and print information in that case only when
73239         SIGRTMIN is defined.
73241 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73243         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73244         arginfo fn returning -1.
73246         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73247         and thousands string is zero terminated.
73249 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73251         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73252         sysdeps/unix/sysv/linux/bits/socket.h.
73254 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73256         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73257         (__CPU_COUNT): Remove old macros.
73258         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73259         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73260         (__CPU_ALLOC, __CPU_FREE): Add macros.
73261         (__sched_cpualloc, __sched_cpufree): Add declarations.
73263 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73265         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73266         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73267         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73268         (readdhstai): Return value of addhstaiX call.
73269         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73270         (addgrbyX): Return value returned by cache_addgr.
73271         (readdgrbyname): Return value returned by addgrbyX.
73272         (readdgrbygid): Likewise.
73273         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73274         (addpwbyX): Return value returned by cache_addpw.
73275         (readdpwbyname): Return value returned by addhstbyX.
73276         (readdpwbyuid): Likewise.
73277         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73278         (addservbyX): Return value returned by cache_addserv.
73279         (readdservbyname): Return value returned by addservbyX:
73280         (readdservbyport): Likewise.
73281         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73282         (addhstbyX): Return value returned by cache_addhst.
73283         (readdhstbyname): Return value returned by addhstbyX.
73284         (readdhstbyaddr): Likewise.
73285         (readdhstbynamev6): Likewise.
73286         (readdhstbyaddrv6): Likewise.
73287         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73288         (readdinitgroups): Return value returned by addinitgroupsX.
73289         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73290         (prune_cache): Keep track of timeout value of re-added entries.
73291         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73292         * nscd/nscd.h: Adjust prototypes of readd* functions.
73294 2011-02-04  Roland McGrath  <roland@redhat.com>
73296         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73297         (nis_stats): Likewise.
73298         * nis/nis_modify.c (nis_modify): Likewise.
73299         * nis/nis_remove.c (nis_remove): Likewise.
73300         * nis/nis_add.c (nis_add): Likewise.
73302         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73304         * posix/fnmatch_loop.c: Add some consts.
73306         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73308 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73310         [BZ #12460]
73311         * config.make.in (config-cflags-novzeroupper): Define.
73312         * configure.in: Substitute libc_cv_cc_novzeroupper.
73313         * elf/Makefile (AVX-CFLAGS): Define.
73314         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73315         (CFLAGS-tst-auditmod4a.c): Likewise.
73316         (CFLAGS-tst-auditmod4b.c): Likewise.
73317         (CFLAGS-tst-auditmod6b.c): Likewise.
73318         (CFLAGS-tst-auditmod6c.c): Likewise.
73319         (CFLAGS-tst-auditmod7b.c): Likewise.
73320         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73322 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73324         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73325         function to the callback.
73326         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73328 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73330         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73331         of errno.
73333 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73335         [BZ #11724]
73336         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73337         of constructors.
73338         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73339         of destructors.
73340         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73342         [BZ #11724]
73343         * elf/Makefile: Add rules to build and run new test.
73344         * elf/tst-initorder.c: New file.
73345         * elf/tst-initorder.exp: New file.
73346         * elf/tst-initordera1.c: New file.
73347         * elf/tst-initordera2.c: New file.
73348         * elf/tst-initordera3.c: New file.
73349         * elf/tst-initordera4.c: New file.
73350         * elf/tst-initorderb1.c: New file.
73351         * elf/tst-initorderb2.c: New file.
73352         * elf/tst-order-a1.c: New file.
73353         * elf/tst-order-a2.c: New file.
73354         * elf/tst-order-a3.c: New file.
73355         * elf/tst-order-a4.c: New file.
73356         * elf/tst-order-b1.c: New file.
73357         * elf/tst-order-b2.c: New file.
73358         * elf/tst-order-main.c: New file.
73359         New test case by George Gensure <werkt0@gmail.com>.
73361 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73364         decoding ACE if AI_CANONIDN.
73366 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73368         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73370 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73372         * version.h (RELEASE): Bump for 2.13 release.
73373         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73375         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73377         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73378         MADV_NOHUGEPAGE.
73379         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73380         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73381         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73382         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73383         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73384         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73386         * posix/getconf.c: Update copyright year.
73387         * catgets/gencat.c: Likewise.
73388         * csu/version.c: Likewise.
73389         * debug/catchsegv.sh: Likewise.
73390         * debug/xtrace.sh: Likewise.
73391         * elf/ldconfig.c: Likewise.
73392         * elf/ldd.bash.in: Likewise.
73393         * elf/sprof.c (print_version): Likewise.
73394         * iconv/iconv_prog.c: Likewise.
73395         * iconv/iconvconfig.c: Likewise.
73396         * locale/programs/locale.c: Likewise.
73397         * locale/programs/localedef.c: Likewise.
73398         * malloc/memusage.sh: Likewise.
73399         * malloc/mtrace.pl: Likewise.
73400         * nscd/nscd.c (print_version): Likewise.
73401         * nss/getent.c: Likewise.
73403         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73404         PF_CAIF, and PF_ALG.
73405         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73407 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73409         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73410         (modules-names): Use them.
73411         (ifunc-test-modules, ifunc-pie-tests): Define.
73412         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73413         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73414         (test-extras): Likewise.
73415         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73416         $(compile-command.c).
73417         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73418         (all-built-dso): Define.
73419         (check-textrel.out, check-execstack.out): Depend on it.
73421         * configure.in: Don't override --enable-multi-arch.
73423 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73425         [BZ #6812]
73426         * nscd/hstcache.c (tryagain): Define.
73427         (cache_addhst): Return tryagain not notfound for temporary errors.
73428         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73429         failed.
73431 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73433         [BZ #10563]
73434         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73435         to make the syscall.
73436         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73438         [BZ #12378]
73439         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73440         and fall back to matching as normal character if the string ends before
73441         the matching ']' is found.  This is what POSIX requires.
73442         * posix/testfnm.c: Adjust test result.
73443         * posix/globtest.sh: Adjust test result.  Add new test.
73444         * posix/tst-fnmatch.input: Likewise.
73445         * posix/tst-fnmatch2.c: Add new test.
73447 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73449         * elf/Makefile (check-execstack): Revert last change.  Depend on
73450         check-execstack.h.
73451         (check-execstack.h): New target.
73452         (generated): Add check-execstack.h.
73453         * elf/check-execstack.c: Include "check-execstack.h".
73454         (main): Revert last change.
73455         (handle_file): Return zero if GNU_STACK is absent and
73456         DEFAULT_STACK_PERMS doesn't include PF_X.
73458 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73460         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73461         in child fails because the descriptor is already closed.
73462         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73463         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73464         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73466         [BZ #12397]
73467         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73468         syscall.
73470         [BZ #10484]
73471         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73472         temporary buffer used to handle multi lookups locally.
73473         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73475 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73477         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73478         loader is ld.so.
73480 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73482         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73483         alignment for SSE2.
73485 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73487         [BZ #12394]
73488         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73489         characters.  When rounding increased number of integer digits recompute
73490         number of groups.
73491         * stdio-common/tst-grouping.c: New file.
73492         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73494 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73496         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73497         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73499         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73500         void.
73501         * bits/select.h: Likewise.
73503 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73505         * po/ja.po: Update from translation team.
73507 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73509         [BZ #11155]
73510         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73511         implementation just like for lxstat, fxstatat, et al.
73513 2010-12-27  Jim Meyering  <meyering@redhat.com>
73515         [BZ #12348]
73516         * posix/regexec.c (build_trtable): Return failure indication upon
73517         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73519 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73521         [BZ #12201]
73522         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73523         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73524         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73525         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73527         [BZ #12207]
73528         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73530         [BZ #12204]
73531         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73532         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73534 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73536         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73537         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73538         script has SORT_BY_INIT_PRIORITY.
73539         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73540         NO_CTORS_DTORS_SECTIONS is defined.
73541         * elf/soinit.c: Likewise.
73542         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73543         NO_CTORS_DTORS_SECTIONS is defined.
73544         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73545         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73546         * sysdeps/sh/init-first.c: Likewise.
73547         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73549 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73551         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73552         always use the slow path.
73554 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73556         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73557         similar rule which adds the sysdep directories to the header search in
73558         order to pick up the correct platform stackinfo.h.
73559         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73560         perform test if it is, otherwise return successfully without testing.
73561         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73562         DEFAULT_STACK_PERMS define in stackinfo.h.
73563         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73564         defined in stackinfo.h.
73565         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73566         DEFAULT_STACK_PERMS defined in stackinfo.h.
73567         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73568         * sysdeps/ia64/stackinfo.h: Likewise.
73569         * sysdeps/s390/stackinfo.h: Likewise.
73570         * sysdeps/sh/stackinfo.h: Likewise.
73571         * sysdeps/sparc/stackinfo.h: Likewise.
73572         * sysdeps/x86_64/stackinfo.h: Likewise.
73573         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73574         PF_X for powerpc64.  Retain PF_X for powerpc32.
73576 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73578         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73579         accurately.
73580         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73581         GETDENTS_64BIT_ALIGNED.
73583 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73585         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73587 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73589         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73590         _GNU_SOURCE.
73592         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73593         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73594         Remove __restrict.
73595         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73596         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73598 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73600         [BZ #11655]
73601         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73602         are initialized.
73604 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73606         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73608 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73610         * po/it.po: Update from translation team.
73612 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73614         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73615         unused codes.
73617 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73619         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73621 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73623         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73624         specially.
73625         (gaih_getanswer_slice): Likewise.
73627 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73629         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73631 2010-05-31  Petr Baudis  <pasky@suse.cz>
73633         [BZ #11149]
73634         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73635         silently even in the chroot mode.
73637 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73639         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73640         last patch a bit.  Pretty printing
73642 2010-05-31  Petr Baudis <pasky@suse.cz>
73644         [BZ #10085]
73645         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73646         initialization of skip_initgroups_dyn.
73648 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73650         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73651         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73653 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73655         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73657 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73659         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73660         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73661         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73662         ($(objpfx)tst-fnmatch-mem): New rule.
73663         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73664         * posix/tst-fnmatch.c (main): Call mtrace.
73666 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73668         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73669         Support Intel processor model 6 and model 0x2c.
73671 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73673         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73674           signed comparison.
73676 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73678         [BZ #12205]
73679         * string/test-strncasecmp.c (check_result): New function.
73680         (do_one_test): Use it.
73681         (check1): New function.
73682         (test_main): Use it.
73683         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73684         Support strcasecmp and strncasecmp.
73686 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73688         [BZ #12194]
73689         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73690         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73692 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73694         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73695         IFUNC support.
73696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73697         memset-x86-64.
73698         * sysdeps/x86_64/multiarch/bzero.S: New file.
73699         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73700         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73701         * sysdeps/x86_64/multiarch/memset.S: New file.
73702         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73704         Set bit_Prefer_SSE_for_memop for Intel processors.
73705         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73706         Define.
73707         (index_Prefer_SSE_for_memop): Define.
73708         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73710 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73712         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73713         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73715 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73717         [BZ #12191]
73718         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73719         (__x86_64_raw_data_cache_size_half): Likewise.
73720         (__x86_64_raw_shared_cache_size): Likewise.
73721         (__x86_64_raw_shared_cache_size_half): Likewise.
73723         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73724         (__x86_64_raw_data_cache_size_half): Likewise.
73725         (__x86_64_raw_shared_cache_size): Likewise.
73726         (__x86_64_raw_shared_cache_size_half): Likewise.
73727         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73728         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73729         and __x86_64_raw_shared_cache_size_half.  Round
73730         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73731         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73732         to multiple of 256 bytes.
73734 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73736         [BZ #12167]
73737         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73738         of inacessible symlinks.  Verify result of symlink before returning it.
73739         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73740         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73742 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73744         * math/math.h (isinf): Fix typo in comment.
73746 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73748         * po/da.po: Update from translation team.
73750 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73752         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73753         is added to the list.
73755 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73756             Ulrich Drepper  <drepper@gmail.com>
73758         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73759         the global list here.  Move code to...
73760         (_dl_add_to_namespace_list): ...here.  New function.
73761         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73762         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73763         * elf/dl-load.c (lose): Don't remove the element from the list.
73764         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73765         (_dl_map_object): Likewise.
73767 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73769         [BZ #12159]
73770         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73771         into all bytes of SSE register.
73772         Patch by Richard Li <richardpku@gmail.com>.
73774 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73776         [BZ #12140]
73777         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73778         perturbing.
73780 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73782         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73783         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73784         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73785         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73787         submachine.
73788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73790 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73792         * include/dlfcn.h (__RTLD_SECURE): Define.
73793         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73794         mode & __RTLD_SECURE instead.
73795         (open_path): Rename preloaded parameter to secure.
73796         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73797         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73798         * elf/dl-deps.c (openaux): Likewise.
73799         * elf/rtld.c (struct map_args): Remove is_preloaded.
73800         (map_doit): Don't use it.
73801         (dl_main): Likewise.
73802         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73803         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73805 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73807         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73808         (sysd-rules-targets): Remove duplicates.
73809         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73810         rtld-%.$o dependency.
73812 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73814         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73815         _dl_map_object do it.
73817 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73819         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73820         fast fma builtins, define the macros in the C99 standard.
73821         (FP_FAST_FMAF): Likewise.
73822         (FP_FAST_FMAL): Likewise.
73823         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73825         * bits/mathdef.h: Update copyright year.
73826         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73828 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73830         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73831         builtins, define the macros in the C99 standard.
73832         (FP_FAST_FMAF): Likewise.
73833         (FP_FAST_FMAL): Likewise.
73834         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
73835         multiply/add.
73836         (FP_FAST_FMAF): Likewise.
73838 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
73840         [BZ #3268]
73841         * math/libm-test.inc (fma_test): Some new testcases.
73842         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
73843         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
73844         y and infinite z.  Do multiplication by C already in long double.
73845         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
73846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
73847         y and infinite z.  Do bitwise or of inexact bit into u.d.
73848         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
73849         * sysdeps/i386/fpu/s_fmaf.S: Removed.
73850         * sysdeps/i386/fpu/s_fma.S: Removed.
73851         * sysdeps/i386/fpu/s_fmal.S: Removed.
73853 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
73855         [BZ #3268]
73856         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
73857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
73858         computation is not scheduled after fetestexcept.  Fix value
73859         of minimum denormal long double.
73861 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
73863         [BZ #3268]
73864         * math/libm-test.inc (fma_test): Add some more tests.
73865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
73866         correctly.
73868 2010-10-15  Andreas Schwab  <schwab@redhat.com>
73870         * scripts/data/localplt-s390-linux-gnu.data: New file.
73871         * scripts/data/localplt-s390x-linux-gnu.data: New file.
73873 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
73875         [BZ #3268]
73876         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
73877         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
73878         instead of dbl-64.
73879         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
73880         inlines.
73881         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
73882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
73883         if one of x and y is very large and the other is subnormal.
73884         * sysdeps/s390/fpu/s_fmaf.c: New file.
73885         * sysdeps/s390/fpu/s_fma.c: New file.
73886         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
73887         * sysdeps/powerpc/fpu/s_fma.S: New file.
73888         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
73889         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
73890         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
73892 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
73894         [BZ #3268]
73895         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
73896         fma tests.
73897         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
73898         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
73899         * sysdeps/i386/i686/multiarch/s_fma.c: Include
73900         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
73901         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
73902         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
73903         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
73905 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
73907         [BZ #12078]
73908         * posix/regcomp.c (parse_branch): One more memory leak plugged.
73909         * posix/bug-regex31.input: Add test case.
73911 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73913         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
73914         * posix/bug-regex31.input: New file.
73916         [BZ #12078]
73917         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
73918         (parse_sub_exp): Fix last change, use postorder.
73920         * posix/bug-regex31.c: New file.
73921         * posix/Makefile: Add rules to build and run bug-regex31.
73923         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
73925         [BZ #12078]
73926         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
73928         [BZ #12108]
73929         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
73930         to have entries in sys_siglist.
73932         [BZ #12093]
73933         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
73934         be NULL.
73936 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
73938         [BZ #3268]
73939         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
73940         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
73941         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
73942         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
73943         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73944         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
73945         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
73946         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
73947         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
73948         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
73949         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
73950         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
73951         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
73952         * math/ftestexcept.c (fetestexcept): Likewise.
73953         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
73954         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
73955         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
73956         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
73957         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
73958         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
73959         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73961 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
73963         [BZ #12107]
73964         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
73965         newline.
73967 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
73969         * string/bug-strstr1.c: New file.
73970         * string/Makefile: Add rules to build and run bug-strstr1.
73972 2010-10-05  Eric Blake  <eblake@redhat.com>
73974         [BZ #12092]
73975         * string/str-two-way.h (two_way_long_needle): Always clear memory
73976         when skipping input due to the shift table.
73978 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
73980         [BZ #12005]
73981         * malloc/mcheck.c: Handle large requests.
73983         [BZ #12077]
73984         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
73985         for strncmp and strncasecmp.
73986         * string/stratcliff.c: Add tests for strcmp and strncmp.
73987         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
73989 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73991         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
73992         __set_fpscr.
73994 2010-09-30  Andreas Jaeger  <aj@suse.de>
73996         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
73997         (CGROUP_SUPER_MAGIC): Define.
73998         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73999         Handle btrfs and cgroup file systems.
74000         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74001         Likewise.
74003 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74005         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74006         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74008 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74010         [BZ #12067]
74011         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74012         trying to locate the ELF header.
74014 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74016         [BZ #11611]
74017         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74018         Mask out sign-bit copies when constructing f_fsid.
74020 2010-09-24  Petr Baudis <pasky@suse.cz>
74022         * debug/stack_chk_fail_local.c: Add missing licence exception.
74023         * debug/warning-nop.c: Likewise.
74025 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74027         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74028         implementing getdents64 using getdents syscall, set d_type if
74029         __ASSUME_GETDENTS32_D_TYPE.
74031 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74033         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74034         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74036 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74038         [BZ #12037]
74039         * posix/unistd.h: Undo change of feature selection for ftruncate from
74040         2010-01-11.
74042 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74044         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74045         detection.
74047 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74049         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74050         fanotify_mark.
74051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74053 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74055         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74056         variables after CHECK_SP call.
74057         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74059 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74060             Ulrich Drepper  <drepper@redhat.com>
74062         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74063         re-relocationg ld.so.
74064         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74065         _dl_init_paths call.
74066         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74067         here anymore.
74069 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74071         * resolv/res_init.c (__res_vinit): Count the default server we added.
74073 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74074             Ulrich Drepper  <drepper@redhat.com>
74076         [BZ #11968]
74077         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74078         (____longjmp_chk): Use %ebx for saving value across system call.
74079         Add unwind info.
74081 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74083         * manual/Makefile: Don't mix pattern rules with normal rules.
74085 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74087         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74088         operation.
74089         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74090         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74091         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74092         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74094         Likewise.
74096 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74098         [BZ #11979]
74099         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74100         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74102 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74104         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74105         * sysdeps/x86_64/addmul_1.S: Likewise.
74106         * sysdeps/x86_64/lshift.S: Likewise.
74107         * sysdeps/x86_64/mul_1.S: Likewise.
74108         * sysdeps/x86_64/rshift.S: Likewise.
74109         * sysdeps/x86_64/sub_n.S: Likewise.
74110         * sysdeps/x86_64/submul_1.S: Likewise.
74112 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74114         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74115         Define __sched_param instead of SCHED_* and sched_param when
74116         <bits/sched.h> is included with __need_schedparam defined.
74117         * bits/sched.h [__need_schedparam]
74118         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74119         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74120         (__defined_schedparam): Define to 1.
74121         (__sched_param): New structure, identical to sched_param.
74122         (__need_schedparam): Undefine.
74124 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74126         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74127         (epoll_create1): Declare.
74129         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74131 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74133         [BZ #7066]
74134         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74135         shifting retval into place.
74137 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74139         * nis/rpcsvc/nis.h: Update copyright notice.
74140         * nis/rpcsvc/nis.x: Likewise.
74141         * nis/rpcsvc/nis_callback.h: Likewise.
74142         * nis/rpcsvc/nis_callback.x: Likewise.
74143         * nis/rpcsvc/nis_object.x: Likewise.
74144         * nis/rpcsvc/nis_tags.h: Likewise.
74145         * nis/rpcsvc/yp.h: Likewise.
74146         * nis/rpcsvc/yp.x: Likewise.
74147         * nis/rpcsvc/ypupd.h: Likewise.
74148         * nis/yp_xdr.c: Likewise.
74149         * nis/ypupdate_xdr.c: Likewise.
74151         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74152         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74153         (pmap_getport): Use __libc_rpc_getport.
74154         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74155         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74156         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74158 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74161         fanotify_mark.
74163 2010-08-27  Roland McGrath  <roland@redhat.com>
74165         * sysdeps/i386/i686/multiarch/Makefile
74166         (CFLAGS-varshift.c): New variable.
74168 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74170         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74171         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74173         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74175         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74177 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74179         * sysdeps/x86_64/strlen.S: Unroll the loop.
74180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74181         strlen-sse2 strlen-sse2-bsf.
74182         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74183         __strlen_no_bsf if bit_Slow_BSF is set.
74184         (__strlen_sse42): Removed.
74185         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74186         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74188 2010-08-25  Roland McGrath  <roland@redhat.com>
74190         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74191         * sysdeps/x86_64/multiarch/varshift.c: New file.
74192         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74193         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74194         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74195         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74197 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74199         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74200         strlen-sse2 strlen-sse2-bsf.
74201         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74202         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74203         (__strlen_sse2): Removed.
74204         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74205         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74207         bit_Slow_BSF for Atom.
74208         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74209         (index_Slow_BSF): Define.
74210         (HAS_SLOW_BSF): Define.
74212 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74214         [BZ #10851]
74215         * resolv/res_init.c (__res_vinit): When no server address at all
74216         is given default to loopback.
74218 2010-08-24  Roland McGrath  <roland@redhat.com>
74220         * configure.in: Remove config-name.h generation.
74221         * configure: Regenerated.
74222         * config-name.in: File removed.
74223         * scripts/config-uname.sh: New file.
74224         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74225         ($(objdir)config-name.h): New target.
74227         * sunrpc/rpc_parse.h: Avoid nested comment.
74229 2010-08-24  Richard Henderson  <rth@redhat.com>
74230             Ulrich Drepper  <drepper@redhat.com>
74231             H.J. Lu  <hongjiu.lu@intel.com>
74233         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74235         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74236         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74237         _mm_alignr_epi8 with _mm_loadu_si128.
74238         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74239         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74240         (__m128i_shift_right): Removed.
74241         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74242         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74243         * sysdeps/x86_64/multiarch/varshift.h: New file.
74244         * sysdeps/x86_64/multiarch/varshift.S: New file.
74246 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74248         * configure.in: Move assembler checks to before sysdep dir checking.
74250 2010-08-20  Petr Baudis  <pasky@suse.cz>
74252         * LICENSES: Sync the sunrpc license.
74254 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74256         * sunrpc/auth_des.c: Update copyright notice once again.
74257         * sunrpc/auth_none.c: Likewise.
74258         * sunrpc/auth_unix.c: Likewise.
74259         * sunrpc/authdes_prot.c: Likewise.
74260         * sunrpc/authuxprot.c: Likewise.
74261         * sunrpc/bindrsvprt.c: Likewise.
74262         * sunrpc/clnt_gen.c: Likewise.
74263         * sunrpc/clnt_perr.c: Likewise.
74264         * sunrpc/clnt_raw.c: Likewise.
74265         * sunrpc/clnt_simp.c: Likewise.
74266         * sunrpc/clnt_tcp.c: Likewise.
74267         * sunrpc/clnt_udp.c: Likewise.
74268         * sunrpc/clnt_unix.c: Likewise.
74269         * sunrpc/des_crypt.c: Likewise.
74270         * sunrpc/des_soft.c: Likewise.
74271         * sunrpc/get_myaddr.c: Likewise.
74272         * sunrpc/getrpcport.c: Likewise.
74273         * sunrpc/key_call.c: Likewise.
74274         * sunrpc/key_prot.c: Likewise.
74275         * sunrpc/openchild.c: Likewise.
74276         * sunrpc/pm_getmaps.c: Likewise.
74277         * sunrpc/pm_getport.c: Likewise.
74278         * sunrpc/pmap_clnt.c: Likewise.
74279         * sunrpc/pmap_prot.c: Likewise.
74280         * sunrpc/pmap_prot2.c: Likewise.
74281         * sunrpc/pmap_rmt.c: Likewise.
74282         * sunrpc/rpc/auth.h: Likewise.
74283         * sunrpc/rpc/auth_unix.h: Likewise.
74284         * sunrpc/rpc/clnt.h: Likewise.
74285         * sunrpc/rpc/des_crypt.h: Likewise.
74286         * sunrpc/rpc/key_prot.h: Likewise.
74287         * sunrpc/rpc/netdb.h: Likewise.
74288         * sunrpc/rpc/pmap_clnt.h: Likewise.
74289         * sunrpc/rpc/pmap_prot.h: Likewise.
74290         * sunrpc/rpc/pmap_rmt.h: Likewise.
74291         * sunrpc/rpc/rpc.h: Likewise.
74292         * sunrpc/rpc/rpc_des.h: Likewise.
74293         * sunrpc/rpc/rpc_msg.h: Likewise.
74294         * sunrpc/rpc/svc.h: Likewise.
74295         * sunrpc/rpc/svc_auth.h: Likewise.
74296         * sunrpc/rpc/types.h: Likewise.
74297         * sunrpc/rpc/xdr.h: Likewise.
74298         * sunrpc/rpc_clntout.c: Likewise.
74299         * sunrpc/rpc_cmsg.c: Likewise.
74300         * sunrpc/rpc_common.c: Likewise.
74301         * sunrpc/rpc_cout.c: Likewise.
74302         * sunrpc/rpc_dtable.c: Likewise.
74303         * sunrpc/rpc_hout.c: Likewise.
74304         * sunrpc/rpc_main.c: Likewise.
74305         * sunrpc/rpc_parse.c: Likewise.
74306         * sunrpc/rpc_parse.h: Likewise.
74307         * sunrpc/rpc_prot.c: Likewise.
74308         * sunrpc/rpc_sample.c: Likewise.
74309         * sunrpc/rpc_scan.c: Likewise.
74310         * sunrpc/rpc_scan.h: Likewise.
74311         * sunrpc/rpc_svcout.c: Likewise.
74312         * sunrpc/rpc_tblout.c: Likewise.
74313         * sunrpc/rpc_util.c: Likewise.
74314         * sunrpc/rpc_util.h: Likewise.
74315         * sunrpc/rpcinfo.c: Likewise.
74316         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74317         * sunrpc/rpcsvc/key_prot.x: Likewise.
74318         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74319         * sunrpc/rpcsvc/mount.x: Likewise.
74320         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74321         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74322         * sunrpc/rpcsvc/rex.x: Likewise.
74323         * sunrpc/rpcsvc/rstat.x: Likewise.
74324         * sunrpc/rpcsvc/rusers.x: Likewise.
74325         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74326         * sunrpc/rpcsvc/spray.x: Likewise.
74327         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74328         * sunrpc/rtime.c: Likewise.
74329         * sunrpc/svc.c: Likewise.
74330         * sunrpc/svc_auth.c: Likewise.
74331         * sunrpc/svc_authux.c: Likewise.
74332         * sunrpc/svc_raw.c: Likewise.
74333         * sunrpc/svc_run.c: Likewise.
74334         * sunrpc/svc_simple.c: Likewise.
74335         * sunrpc/svc_tcp.c: Likewise.
74336         * sunrpc/svc_udp.c: Likewise.
74337         * sunrpc/svc_unix.c: Likewise.
74338         * sunrpc/svcauth_des.c: Likewise.
74339         * sunrpc/xcrypt.c: Likewise.
74340         * sunrpc/xdr.c: Likewise.
74341         * sunrpc/xdr_array.c: Likewise.
74342         * sunrpc/xdr_float.c: Likewise.
74343         * sunrpc/xdr_mem.c: Likewise.
74344         * sunrpc/xdr_rec.c: Likewise.
74345         * sunrpc/xdr_ref.c: Likewise.
74346         * sunrpc/xdr_sizeof.c: Likewise.
74347         * sunrpc/xdr_stdio.c: Likewise.
74349         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74350         handling.
74352 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74354         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74356 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74358         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74360         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74361         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74362         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74363         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74364         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74365         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74366         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74367         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74368         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74369         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74370         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74371         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74373 2010-07-26  Anton Blanchard  <anton@samba.org>
74375         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74376         * malloc/arena.c (heap_trim): Likewise.
74378 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74380         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74381         here.  Not...
74382         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74383         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74385 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74387         * sysdeps/i386/elf/Makefile: New file.
74389 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74391         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74392         from fanotify_init.
74393         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74394         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74396 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74398         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74399         of strncasecmp_l.
74400         * sysdeps/multiarch/strcmp.S: Likewise.
74402 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74404         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74405         strncase_l-nonascii.
74406         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74407         Add strncase_l-ssse3.
74408         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74409         * sysdeps/x86_64/strcmp.S: Likewise.
74410         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74411         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74412         * sysdeps/x86_64/strncase.S: New file.
74413         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74414         * sysdeps/x86_64/strncase_l.S: New file.
74415         * string/Makefile (strop-tests): Add strncasecmp.
74416         * string/test-strncasecmp.c: New file.
74418         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74419         warning.
74421         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74422         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74424 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74426         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74428 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74430         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74431         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74432         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74434 2010-05-01  Alan Modra  <amodra@gmail.com>
74436         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74437         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74438         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74439         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74440         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74441         tidying.  Don't tail-call __sigjmp_save for static lib.
74442         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74443         save location.
74444         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74445         (CALL_MCOUNT): Add eh info, and nop after bl.
74446         (TAIL_CALL_SYSCALL_ERROR): New macro.
74447         (PSEUDO_RET): Use it.
74448         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74449         Correct save location of integer regs and cr.
74450         (_dl_profile_resolve): Correct cr save location.  Delete nops
74451         after bl when SHARED.  Reduce cfi size a little by better
74452         placement of cfi directives.
74453         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74454         make a stack frame.  Instead use parm save area as a temp.
74455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74456         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74458         Don't make a stack frame for parent, use parm save area.
74459         Increase child stack frame to 112 bytes.  Don't save unused reg,
74460         and adjust reg usage.  Set up cfi on error recovery and
74461         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74463         (__makecontext): Add dummy nop after jump to exit.
74464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74465         Use correct parm save area and cr save, reduce stack frame.
74466         Correct cfi for possible PSEUDO_RET frame setup.
74467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74468         Branch to local label emitted by PSEUDO_RET rather than
74469         __syscall_error.
74471 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74473         [BZ #11904]
74474         * locale/programs/locale.c (print_assignment): New function.
74475         (show_locale_vars): Use it.
74477 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74479         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74480         field.
74481         (struct statfs64): Likewise.
74482         (_STATFS_F_FLAGS): Define.
74483         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74484         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74485         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74486         (ST_VALID): Define locally.
74487         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74488         __statvfs_getflags, use the provided value.
74489         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74490         __ASSUME_STATFS_F_FLAGS.
74492         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74494         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74495         Add sys/fanotify.h.
74496         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74497         fanotify_mask for GLIBC_2.13.
74498         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74499         fanotify_init and fanotify_mark.
74500         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74501         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74503         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74504         Add prlimit.
74505         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74506         prlimit64 for GLIBC_2.13.
74507         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74508         prlimit64.
74509         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74510         syscall.
74511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74512         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74513         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74514         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74516         add prlimit alias.
74517         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74519         [BZ #11903]
74520         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74521         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74523         * nss/Makefile: Add rules to build and run tst-nss-test1.
74524         * shlib-versions: Add entry for libnss_test1.
74525         * nss/nss_test1.c: New file.
74526         * nss/tst-nss-test1.c: New file.
74528         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74529         (__nss_configure_lookup): Set appropriate entry in
74530         __nss_configure_lookup to true.
74531         * nss/nsswitch.h: Define enum with indeces of databases in
74532         databases and __nss_database_custom arrays.  Declare
74533         __nss_database_custom.
74534         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74535         to avoid using nscd when custom rules are installed.
74536         * nss/getXXbyYY_r.c: Likewise.
74537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74539         * nss/nss_files/files-parse.c: Whitespace fixes.
74541 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74543         [BZ #11883]
74544         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74545         * posix/fnmatch_loop.c: Likewise.
74547 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74549         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74550         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74551         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74552         * Versions.def [GLIBC_2.13]: Add.
74554 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74556         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74557         Also fail if tpwd after pwuid call is NULL.
74559 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74561         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74562         when converting to ms.
74564 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74566         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74567         EOPNOTSUPP errors with ENOTTY.
74568         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74569         EOPNOTSUPP errors with ENOTTY.
74571 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74573         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74574         Add strcasecmp_l-ssse3.
74575         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74576         strcasecmp.
74577         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74578         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74579         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74581 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74583         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74585         * string/Makefile (strop-tests): Add strcasecmp.
74586         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74587         strcasecmp_l-nonascii.
74588         (gen-as-const-headers): Add locale-defines.sym.
74589         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74590         * sysdeps/x86_64/strcasecmp.S: New file.
74591         * sysdeps/x86_64/strcasecmp_l.S: New file.
74592         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74593         * sysdeps/x86_64/locale-defines.sym: New file.
74594         * string/test-strcasecmp.c: New file.
74596         * string/test-strcasestr.c: Test both ends of the range of characters.
74597         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74599 2010-07-29  Roland McGrath  <roland@redhat.com>
74601         [BZ #11856]
74602         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74604 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74606         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74607         for ld.so.
74609 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74611         * manual/memory.texi (Malloc Tunable Parameters): Document
74612         M_PERTURB.
74614 2010-07-26  Roland McGrath  <roland@redhat.com>
74616         [BZ #11840]
74617         * configure.in (-fgnu89-inline check): Set and substitute
74618         gnu89_inline, not libc_cv_gnu89_inline.
74619         * configure: Regenerated.
74620         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74622 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74624         * string/test-strnlen.c: New file.
74625         * string/Makefile (strop-tests): Add strnlen.
74626         * string/tester.c (test_strnlen): Add a few more test cases.
74627         * string/tst-strlen.c: Better error reporting.
74629         * sysdeps/x86_64/strnlen.S: New file.
74631 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74633         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74634         lower-latency instructions.
74636 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74638         * string/test-strcasestr.c: New file.
74639         * string/test-strstr.c: New file.
74640         * string/Makefile (strop-tests): Add strstr and strcasestr.
74641         * string/str-two-way.h: Don't undefine MAX.
74642         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74644 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74646         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74647         strcasestr-nonascii.
74648         (CFLAGS-strcasestr-nonascii.c): Define.
74649         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74650         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74651         Remove unused attribute.
74653 2010-07-20  Roland McGrath  <roland@redhat.com>
74655         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74656         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74657         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74658         like LD_HWCAP_MASK can disable hwcaps.
74660 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74662         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74664 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74666         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74667         call in strcasestr.
74668         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74669         __strcasestr_sse42_nonascii.
74670         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74671         strcasestr-nonascii.c.
74672         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74674 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74676         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74677         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74678         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74679         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74681 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74683         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74684         fcntl.
74686 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74688         [BZ #11577]
74689         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74690         dl_signal_cerror.
74692 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74694         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74695         _PC_PIPE_BUF using F_GETPIPE_SZ.
74697 2010-07-05  Roland McGrath  <roland@redhat.com>
74699         * manual/arith.texi (Rounding Functions): Fix rint description
74700         implicit in round description.
74702 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74704         * elf/Makefile: Fix linking for a few tests to make recent linker
74705         happy.
74707 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74709         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74710         $(common-objpfx)libc_nonshared.a.
74712 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74714         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74715         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74716         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74717         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74718         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74719         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74720         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74721         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74736         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74737         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74738         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74739         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74740         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74741         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74742         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74743         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74744         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74745         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74746         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74747         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74763 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74765         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74766         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74767         * string/memmove.c (memmove): Renamed to ...
74768         (MEMMOVE): ...this.  Default to memmove.
74769         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74770         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74771         (END_CHK): Define.
74772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74773         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74774         mempcpy-ssse3-back memmove-ssse3-back.
74775         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74776         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74777         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74778         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74779         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74780         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74781         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74782         * sysdeps/x86_64/multiarch/memmove.c: New file.
74783         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74784         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74785         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74786         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74787         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74788         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74789         Define.
74790         (index_Fast_Copy_Backward): Define.
74791         (HAS_ARCH_FEATURE): Define.
74792         (HAS_FAST_REP_STRING): Define.
74793         (HAS_FAST_COPY_BACKWARD): Define.
74795 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74797         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74798         Restore proper fallback handling.
74800 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74802         [BZ #11701]
74803         * posix/group_member.c (__group_member): Correct checking loop.
74805         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74806         OOM in getpwuid_r correctly.  Return error number when the caller
74807         should return, otherwise -1.
74808         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74809         call returning > 0 value.
74810         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74812 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74814         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74815         libc_nonshared.a from targets in modules-names.
74817 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74819         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74820         requires it.
74822 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74824         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74825         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74826         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74827         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74829 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74831         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74833 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
74835         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
74836         and F_GETPIPE_SZ.
74837         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74838         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74841         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74842         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74844 2010-06-14  Roland McGrath  <roland@redhat.com>
74846         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
74848 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
74850         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
74851         __REDIRECT followed by __THROW.
74852         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
74853         * posix/getopt.h (getopt): Likewise.
74855 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74857         * hurd/lookup-at.c (__file_name_lookup_at): Accept
74858         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
74859         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
74860         in AT_FLAGS.
74861         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
74862         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
74864 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
74866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
74868 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
74870         [BZ #11640]
74871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74872         Properly check family and model.
74874 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
74876         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
74878 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
74880         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
74882 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
74884         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
74885         symbol reference.
74887 2010-05-19  Andreas Schwab  <schwab@redhat.com>
74889         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
74890         symbol reference.
74892 2010-05-21  Andreas Schwab  <schwab@redhat.com>
74894         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
74895         and internal_recvmmsg.
74896         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
74897         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
74898         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
74899         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
74901         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
74902         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74903         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74905 2010-05-20  Andreas Schwab  <schwab@redhat.com>
74907         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
74909 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
74911         POWER7 optimizations.
74912         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
74913         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
74915 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
74917         * version.h: Update for 2.13 development version.
74919 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
74921         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
74922         exceptions.  Return 0.
74924 2010-05-07  Roland McGrath  <roland@redhat.com>
74926         * elf/ldconfig.c (main): Add a const.
74928 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
74930         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
74931         (args_options): Add no-idn option.
74932         (ahosts_keys_int): Add idn_flags to ai_flags.
74933         (parse_option): Handle 'i' option to clear idn_flags.
74935         * malloc/malloc.c (_int_free): Possible race in the most recently
74936         added check.  Only act on the data if no current modification
74937         happened.
74939 See ChangeLog.17 for earlier changes.